From 506be89c8a96b449d811ad9be92b017791abf054 Mon Sep 17 00:00:00 2001 From: sowu880 <57981365+sowu880@users.noreply.github.com> Date: Wed, 9 Mar 2022 21:22:17 +0800 Subject: [PATCH 01/15] Update pipeline win host version (#359) * Update release.yml for Azure Pipelines * Update release.yml for Azure Pipelines --- release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.yml b/release.yml index 44c88edea..7e4dd8534 100644 --- a/release.yml +++ b/release.yml @@ -25,7 +25,7 @@ variables: stages: - stage: Build pool: - vmImage: 'windows-latest' + vmImage: 'windows-2019' jobs: - job: Build steps: @@ -169,7 +169,7 @@ stages: jobs: - job: Windows_Functional_Test pool: - vmImage: 'windows-latest' + vmImage: 'windows-2019' continueOnError: false steps: - checkout: none #skip checking out the default repository resource @@ -227,7 +227,7 @@ stages: jobs: - job: publish pool: - vmImage: 'windows-latest' + vmImage: 'windows-2019' steps: - checkout: none #skip checking out the default repository resource - task: DownloadBuildArtifacts@0 From dd5019b80b20a70ec7b636c54b38163429dae5f5 Mon Sep 17 00:00:00 2001 From: Yankun Huang Date: Fri, 11 Mar 2022 18:05:07 +0800 Subject: [PATCH 02/15] Updated the logic of checking the number of default templates --- .../Providers/TemplateCollectionProviderTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Providers/TemplateCollectionProviderTests.cs b/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Providers/TemplateCollectionProviderTests.cs index 259f5e52c..41c8bcea0 100644 --- a/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Providers/TemplateCollectionProviderTests.cs +++ b/src/Microsoft.Health.Fhir.TemplateManagement.UnitTests/Providers/TemplateCollectionProviderTests.cs @@ -208,7 +208,7 @@ public async Task GivenDefaultTemplateReference_WhenGetTemplateCollectionFromTem ImageInfo imageInfo = ImageInfo.CreateFromImageReference(imageReference); var newTemplateCollectionProvider = new TemplateCollectionProvider(imageInfo, _emptyClient, _cache, _defaultConfig); var templateCollection = await newTemplateCollectionProvider.GetTemplateCollectionAsync(); - Assert.Equal(expectedTemplatesCounts, templateCollection.First().Count()); + Assert.True(expectedTemplatesCounts <= templateCollection.First().Count()); } [Fact] From 3bc3440198d08aaaf8e271422a5d471b3b18ea8b Mon Sep 17 00:00:00 2001 From: Boya Wu <38548227+BoyaWu10@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:31:08 +0800 Subject: [PATCH 03/15] Add check for large for loops (#361) * Add check for large for loops * Add unit test --- .../FunctionalTests.cs | 16 ++++---- .../RuleBasedTests.cs | 2 +- ...lth.Fhir.Liquid.Converter.UnitTests.csproj | 2 +- .../Processors/ProcessorTests.cs | 38 +++++++++++++++++++ .../TestTemplates/LargeForLoopTemplate.liquid | 3 ++ .../NestedForLoopTemplate.liquid | 10 +++++ .../Processors/BaseProcessor.cs | 3 +- 7 files changed, 63 insertions(+), 11 deletions(-) create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/LargeForLoopTemplate.liquid create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/NestedForLoopTemplate.liquid diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 449c51fa2..7049a3511 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -78,20 +78,20 @@ public static IEnumerable GetDataForHl7v2() new[] { @"SIU_S26", @"SIU-S26-01.hl7", @"SIU-S26-01-expected.json" }, new[] { @"SIU_S26", @"SIU-S26-02.hl7", @"SIU-S26-02-expected.json" }, - new[] { "ORU_R01", "ORU-R01-01.hl7", @"ORU-R01-01-expected.json"}, + new[] { "ORU_R01", "ORU-R01-01.hl7", @"ORU-R01-01-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-01.hl7", @"ORM-O01-01-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-02.hl7", @"ORM-O01-02-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-03.hl7", @"ORM-O01-03-expected.json" }, - new[] { "MDM_T01", "MDM-T01-01.hl7", @"MDM-T01-01-expected.json"}, - new[] { "MDM_T01", "MDM-T01-02.hl7", @"MDM-T01-02-expected.json"}, - new[] { "MDM_T02", "MDM-T02-01.hl7", @"MDM-T02-01-expected.json"}, - new[] { "MDM_T02", "MDM-T02-02.hl7", @"MDM-T02-02-expected.json"}, - new[] { "MDM_T02", "MDM-T02-03.hl7", @"MDM-T02-03-expected.json"}, + new[] { "MDM_T01", "MDM-T01-01.hl7", @"MDM-T01-01-expected.json" }, + new[] { "MDM_T01", "MDM-T01-02.hl7", @"MDM-T01-02-expected.json" }, + new[] { "MDM_T02", "MDM-T02-01.hl7", @"MDM-T02-01-expected.json" }, + new[] { "MDM_T02", "MDM-T02-02.hl7", @"MDM-T02-02-expected.json" }, + new[] { "MDM_T02", "MDM-T02-03.hl7", @"MDM-T02-03-expected.json" }, - new[] { "OML_O21", "OML-O21-01.hl7", @"OML-O21-01-expected.json"}, - new[] { "OML_O21", "OML-O21-02.hl7", @"OML-O21-02-expected.json"}, + new[] { "OML_O21", "OML-O21-01.hl7", @"OML-O21-01-expected.json" }, + new[] { "OML_O21", "OML-O21-02.hl7", @"OML-O21-02-expected.json" }, new[] { @"ADT_A01", @"ADT01-23.hl7", @"ADT01-23-expected.json" }, new[] { @"ADT_A01", @"ADT01-28.hl7", @"ADT01-28-expected.json" }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs index 552c9ce4d..d6fb22708 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs @@ -454,7 +454,7 @@ internal static class ResourceFilter "resourceType", "type", "fullUrl", "id", "method", "url", "reference", "system", "code", "display", "gender", "use", "preferred", "status", "mode", "div", "valueString", "valueCode", "text", "endpoint", "value", "category", "type", "criticality", "priority", "severity", "description", - "intent", "docStatus", "contentType", "authorString" + "intent", "docStatus", "contentType", "authorString", }; private static readonly HashSet _explicitValues = new HashSet diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj index 31627550d..070470b9b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Microsoft.Health.Fhir.Liquid.Converter.UnitTests.csproj @@ -30,7 +30,7 @@ - + PreserveNewest diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Processors/ProcessorTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Processors/ProcessorTests.cs index 15074933c..6bd35988e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Processors/ProcessorTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Processors/ProcessorTests.cs @@ -79,6 +79,28 @@ public static IEnumerable GetValidInputsWithProcessSettings() }; } + public static IEnumerable GetValidInputsWithLargeForLoop() + { + yield return new object[] + { + new Hl7v2Processor(), + new TemplateProvider(TestConstants.TestTemplateDirectory, DataType.Hl7v2), + _hl7v2TestData, + }; + yield return new object[] + { + new CcdaProcessor(), + new TemplateProvider(TestConstants.TestTemplateDirectory, DataType.Ccda), + _ccdaTestData, + }; + yield return new object[] + { + new JsonProcessor(), + new TemplateProvider(TestConstants.TestTemplateDirectory, DataType.Json), + _jsonTestData, + }; + } + [Theory] [MemberData(nameof(GetValidInputsWithTemplateDirectory))] public void GivenAValidTemplateDirectory_WhenConvert_CorrectResultShouldBeReturned(IFhirConverter processor, ITemplateProvider templateProvider, string data, string rootTemplate) @@ -153,5 +175,21 @@ public void GivenCancellationToken_WhenConvert_CorrectResultsShouldBeReturned(IF cts.Cancel(); Assert.Throws(() => processor.Convert(data, rootTemplate, templateProvider, cts.Token)); } + + [Theory] + [MemberData(nameof(GetValidInputsWithLargeForLoop))] + public void GivenTemplateWithLargeForLoop_WhenConvert_ExceptionShouldBeThrown(IFhirConverter processor, ITemplateProvider templateProvider, string data) + { + var exception = Assert.Throws(() => processor.Convert(data, "LargeForLoopTemplate", templateProvider)); + Assert.Contains("Render Error - Maximum number of iterations 100000 exceeded", exception.Message); + } + + [Theory] + [MemberData(nameof(GetValidInputsWithLargeForLoop))] + public void GivenTemplateWithNestedForLoop_WhenConvert_CorrectResultShouldBeReturned(IFhirConverter processor, ITemplateProvider templateProvider, string data) + { + var result = processor.Convert(data, "NestedForLoopTemplate", templateProvider); + Assert.True(result.Length > 0); + } } } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/LargeForLoopTemplate.liquid b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/LargeForLoopTemplate.liquid new file mode 100644 index 000000000..1a91c0c5e --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/LargeForLoopTemplate.liquid @@ -0,0 +1,3 @@ +{ + "value": [{% for i in (1..10000000) -%}{{ i }},{% endfor -%}] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/NestedForLoopTemplate.liquid b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/NestedForLoopTemplate.liquid new file mode 100644 index 000000000..edc494e19 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/TestTemplates/NestedForLoopTemplate.liquid @@ -0,0 +1,10 @@ +{ + "value": + [ + {% for i in (1..1010) -%} + { + "{{ i }}": [{% for j in (1..1010) -%}{{ j }},{% endfor -%}] + }, + {% endfor -%} + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Processors/BaseProcessor.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Processors/BaseProcessor.cs index 206ae29c7..2162d4101 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Processors/BaseProcessor.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Processors/BaseProcessor.cs @@ -18,6 +18,7 @@ namespace Microsoft.Health.Fhir.Liquid.Converter.Processors public abstract class BaseProcessor : IFhirConverter { private readonly ProcessorSettings _settings; + private const int _maxIterations = 100000; protected BaseProcessor(ProcessorSettings processorSettings = null) { @@ -43,7 +44,7 @@ protected virtual Context CreateContext(ITemplateProvider templateProvider, IDic outerScope: new Hash(), registers: Hash.FromDictionary(new Dictionary { { "file_system", templateProvider.GetTemplateFileSystem() } }), errorsOutputMode: ErrorsOutputMode.Rethrow, - maxIterations: 0, + maxIterations: _maxIterations, timeout: timeout, formatProvider: CultureInfo.InvariantCulture); From b6d5d2bae5b0e455e65a41d9eb48a6c3e7ce4a79 Mon Sep 17 00:00:00 2001 From: shashanknarang27 <75470172+shashanknarang27@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:41:01 +0530 Subject: [PATCH 04/15] Phase2 - Milestone 1&2 Mapping (#354) --- data/SampleData/Hl7v2/ADT-A01-01.hl7 | 20 +- data/SampleData/Hl7v2/ADT-A01-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A02-01.hl7 | 13 +- data/SampleData/Hl7v2/ADT-A02-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A03-01.hl7 | 20 +- data/SampleData/Hl7v2/ADT-A03-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A04-01.hl7 | 20 +- data/SampleData/Hl7v2/ADT-A04-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A05-01.hl7 | 19 +- data/SampleData/Hl7v2/ADT-A05-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A06-01.hl7 | 20 + data/SampleData/Hl7v2/ADT-A06-02.hl7 | 5 + data/SampleData/Hl7v2/ADT-A07-01.hl7 | 20 + data/SampleData/Hl7v2/ADT-A07-02.hl7 | 5 + data/SampleData/Hl7v2/ADT-A08-01.hl7 | 20 +- data/SampleData/Hl7v2/ADT-A08-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A09-01.hl7 | 9 + data/SampleData/Hl7v2/ADT-A09-02.hl7 | 4 + data/SampleData/Hl7v2/ADT-A10-01.hl7 | 9 + data/SampleData/Hl7v2/ADT-A10-02.hl7 | 4 + data/SampleData/Hl7v2/ADT-A11-01.hl7 | 10 +- data/SampleData/Hl7v2/ADT-A11-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A13-01.hl7 | 20 +- data/SampleData/Hl7v2/ADT-A13-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A14-01.hl7 | 21 +- data/SampleData/Hl7v2/ADT-A14-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A15-01.hl7 | 12 +- data/SampleData/Hl7v2/ADT-A15-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A16-01.hl7 | 19 +- data/SampleData/Hl7v2/ADT-A16-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A25-01.hl7 | 10 +- data/SampleData/Hl7v2/ADT-A25-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A26-01.hl7 | 10 +- data/SampleData/Hl7v2/ADT-A26-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A27-01.hl7 | 10 +- data/SampleData/Hl7v2/ADT-A27-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A28-01.hl7 | 19 +- data/SampleData/Hl7v2/ADT-A28-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A29-01.hl7 | 10 +- data/SampleData/Hl7v2/ADT-A29-02.hl7 | 6 +- data/SampleData/Hl7v2/ADT-A31-01.hl7 | 21 +- data/SampleData/Hl7v2/ADT-A40-01.hl7 | 4 + data/SampleData/Hl7v2/ADT-A40-02.hl7 | 6 + data/SampleData/Hl7v2/ADT-A41-01.hl7 | 7 + data/SampleData/Hl7v2/ADT-A41-02.hl7 | 11 + data/SampleData/Hl7v2/ADT-A47-01.hl7 | 4 +- data/SampleData/Hl7v2/ADT-A47-02.hl7 | 4 +- data/SampleData/Hl7v2/ADT-A60-01.hl7 | 8 +- data/SampleData/Hl7v2/ADT-A60-02.hl7 | 4 +- data/SampleData/Hl7v2/ADT01-28.hl7 | 2 +- data/SampleData/Hl7v2/MDM-T01-01.hl7 | 7 +- data/SampleData/Hl7v2/MDM-T01-02.hl7 | 2 +- data/SampleData/Hl7v2/MDM-T02-01.hl7 | 3 +- data/SampleData/Hl7v2/MDM-T02-02.hl7 | 2 +- data/SampleData/Hl7v2/MDM-T05-01.hl7 | 11 + data/SampleData/Hl7v2/MDM-T05-02.hl7 | 12 + data/SampleData/Hl7v2/MDM-T06-01.hl7 | 13 + data/SampleData/Hl7v2/MDM-T06-02.hl7 | 14 + data/SampleData/Hl7v2/MDM-T09-01.hl7 | 11 + data/SampleData/Hl7v2/MDM-T09-02.hl7 | 12 + data/SampleData/Hl7v2/MDM-T10-01.hl7 | 13 + data/SampleData/Hl7v2/MDM-T10-02.hl7 | 14 + data/SampleData/Hl7v2/OML-O21-01.hl7 | 12 +- data/SampleData/Hl7v2/OML-O21-02.hl7 | 10 +- data/SampleData/Hl7v2/OML-O21-03.hl7 | 57 + data/SampleData/Hl7v2/ORM-O01-01.hl7 | 4 +- data/SampleData/Hl7v2/ORM-O01-02.hl7 | 6 +- data/SampleData/Hl7v2/ORM-O01-03.hl7 | 2 +- data/SampleData/Hl7v2/ORM-O01-04.hl7 | 8 + data/SampleData/Hl7v2/ORM-O01-05.hl7 | 9 + data/SampleData/Hl7v2/ORM-O01-06.hl7 | 8 + data/SampleData/Hl7v2/ORU-R01-01.hl7 | 6 +- data/SampleData/Hl7v2/OUL-R22-01.hl7 | 20 + data/SampleData/Hl7v2/OUL-R22-02.hl7 | 25 + data/SampleData/Hl7v2/OUL-R23-01.hl7 | 20 + data/SampleData/Hl7v2/OUL-R23-02.hl7 | 26 + data/SampleData/Hl7v2/OUL-R24-01.hl7 | 20 + data/SampleData/Hl7v2/OUL-R24-02.hl7 | 22 + data/SampleData/Hl7v2/RDE-O11-01.hl7 | 19 + data/SampleData/Hl7v2/RDE-O11-02.hl7 | 24 + data/SampleData/Hl7v2/RDE-O25-01.hl7 | 20 + data/SampleData/Hl7v2/RDE-O25-02.hl7 | 24 + data/SampleData/Hl7v2/RDS-O13-01.hl7 | 19 + data/SampleData/Hl7v2/RDS-O13-02.hl7 | 30 + data/SampleData/Hl7v2/SIU-S12-01.hl7 | 4 +- data/SampleData/Hl7v2/SIU-S12-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S13-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S13-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S14-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S14-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S15-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S15-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S16-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S16-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S17-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S17-02.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S26-01.hl7 | 2 +- data/SampleData/Hl7v2/SIU-S26-02.hl7 | 2 +- data/SampleData/Hl7v2/VXU-V04-01.hl7 | 20 + data/SampleData/Hl7v2/VXU-V04-02.hl7 | 25 + data/Templates/Hl7v2/ADT_A01.liquid | 218 +- data/Templates/Hl7v2/ADT_A02.liquid | 82 +- data/Templates/Hl7v2/ADT_A03.liquid | 204 +- data/Templates/Hl7v2/ADT_A04.liquid | 206 +- data/Templates/Hl7v2/ADT_A05.liquid | 155 +- data/Templates/Hl7v2/ADT_A06.liquid | 653 ++ data/Templates/Hl7v2/ADT_A07.liquid | 654 ++ data/Templates/Hl7v2/ADT_A08.liquid | 210 +- data/Templates/Hl7v2/ADT_A09.liquid | 314 + data/Templates/Hl7v2/ADT_A10.liquid | 314 + data/Templates/Hl7v2/ADT_A11.liquid | 19 +- data/Templates/Hl7v2/ADT_A13.liquid | 211 +- data/Templates/Hl7v2/ADT_A14.liquid | 159 +- data/Templates/Hl7v2/ADT_A15.liquid | 32 +- data/Templates/Hl7v2/ADT_A16.liquid | 158 +- data/Templates/Hl7v2/ADT_A25.liquid | 17 +- data/Templates/Hl7v2/ADT_A26.liquid | 19 +- data/Templates/Hl7v2/ADT_A27.liquid | 19 +- data/Templates/Hl7v2/ADT_A28.liquid | 159 +- data/Templates/Hl7v2/ADT_A29.liquid | 19 +- data/Templates/Hl7v2/ADT_A31.liquid | 159 +- data/Templates/Hl7v2/ADT_A40.liquid | 106 + data/Templates/Hl7v2/ADT_A41.liquid | 107 + data/Templates/Hl7v2/ADT_A47.liquid | 18 +- data/Templates/Hl7v2/ADT_A60.liquid | 31 +- .../Hl7v2/CodeSystem/CodeSystem.json | 9056 ++++++++++------- .../Hl7v2/DataType/_CECodeableConcept.liquid | 28 + .../_CWECodeableConceptInternalValues.liquid | 55 +- .../Hl7v2/DataType/_CWEIdentifier.liquid | 4 - .../Hl7v2/DataType/_CWELocation.liquid | 26 + .../Hl7v2/DataType/_CWEOrganization.liquid | 20 +- .../Hl7v2/DataType/_CWEQuantity.liquid | 2 +- .../DataType/_CWEQuantityInternal.liquid | 16 + .../Hl7v2/DataType/_CWEQuantityUnits.liquid | 32 + .../Hl7v2/DataType/_DLDLocation.liquid | 3 +- .../Hl7v2/DataType/_EIIdentifier.liquid | 12 +- .../_EIIdentifier_InternalValues.liquid | 33 + .../Hl7v2/DataType/_EIPIdentifier.liquid | 39 +- data/Templates/Hl7v2/DataType/_MOMoney.liquid | 8 + .../Hl7v2/DataType/_NMQuantity.liquid | 6 + data/Templates/Hl7v2/DataType/_PLN.liquid | 4 +- .../Hl7v2/DataType/_RPTTiming.liquid | 6 +- .../DataType/_TQ_MedicationRequest.liquid | 56 + .../Hl7v2/DataType/_TQ_NutritionOrder.liquid | 27 + .../Hl7v2/DataType/_TQ_SupplyRequest.liquid | 44 + .../Hl7v2/DataType/_XONOrganization.liquid | 26 + .../Observation/_ObservationExtension.liquid | 6 +- .../Specimen/_SpecimenExtension.liquid | 4 +- .../Extensions/_Observation-Location.liquid | 6 + data/Templates/Hl7v2/ID/_Account.liquid | 10 +- data/Templates/Hl7v2/ID/_ChargeItem.liquid | 8 + data/Templates/Hl7v2/ID/_ClaimResponse.liquid | 6 + data/Templates/Hl7v2/ID/_Condition.liquid | 2 + data/Templates/Hl7v2/ID/_Consent.liquid | 8 + data/Templates/Hl7v2/ID/_Device.liquid | 4 + data/Templates/Hl7v2/ID/_Linkage.liquid | 6 + data/Templates/Hl7v2/ID/_Location.liquid | 14 +- data/Templates/Hl7v2/ID/_Medication.liquid | 16 + .../Hl7v2/ID/_MedicationDispense.liquid | 10 + .../Hl7v2/ID/_MedicationRequest.liquid | 22 + .../Templates/Hl7v2/ID/_NutritionOrder.liquid | 8 + data/Templates/Hl7v2/ID/_Observation.liquid | 20 +- data/Templates/Hl7v2/ID/_Organization.liquid | 6 +- data/Templates/Hl7v2/ID/_Practitioner.liquid | 4 +- .../Hl7v2/ID/_PractitionerRole.liquid | 4 +- data/Templates/Hl7v2/ID/_Procedure.liquid | 8 + data/Templates/Hl7v2/ID/_RelatedPerson.liquid | 2 + data/Templates/Hl7v2/ID/_ResearchStudy.liquid | 8 + .../Templates/Hl7v2/ID/_ServiceRequest.liquid | 24 +- data/Templates/Hl7v2/ID/_Substance.liquid | 8 + data/Templates/Hl7v2/ID/_SupplyRequest.liquid | 10 + data/Templates/Hl7v2/ID/_Task.liquid | 6 +- data/Templates/Hl7v2/MDM_T01.liquid | 95 +- data/Templates/Hl7v2/MDM_T02.liquid | 76 +- data/Templates/Hl7v2/MDM_T05.liquid | 445 + data/Templates/Hl7v2/MDM_T06.liquid | 536 + data/Templates/Hl7v2/MDM_T09.liquid | 445 + data/Templates/Hl7v2/MDM_T10.liquid | 536 + data/Templates/Hl7v2/OML_O21.liquid | 1277 ++- data/Templates/Hl7v2/ORM_O01.liquid | 491 +- data/Templates/Hl7v2/ORU_R01.liquid | 77 +- data/Templates/Hl7v2/OUL_R22.liquid | 813 ++ data/Templates/Hl7v2/OUL_R23.liquid | 815 ++ data/Templates/Hl7v2/OUL_R24.liquid | 903 ++ data/Templates/Hl7v2/RDE_O11.liquid | 820 ++ data/Templates/Hl7v2/RDE_O25.liquid | 823 ++ data/Templates/Hl7v2/RDS_O13.liquid | 722 ++ .../Reference/Condition/_Encounter.liquid | 10 + .../DiagnosticReport/_Encounter.liquid | 10 + .../Reference/Observation/_Encounter.liquid | 10 + .../Reference/Observation/_Specimen.liquid | 10 + .../Reference/Observation/_Subject.liquid | 10 + .../Reference/Patient/_Link_Other.liquid | 3 + .../ServiceRequest/_Encounter.liquid | 10 + data/Templates/Hl7v2/Resource/_Account.liquid | 14 +- .../Hl7v2/Resource/_Appointment.liquid | 36 +- .../Hl7v2/Resource/_ChargeItem.liquid | 99 + .../Hl7v2/Resource/_ClaimResponse.liquid | 147 + .../Hl7v2/Resource/_Condition.liquid | 6 +- data/Templates/Hl7v2/Resource/_Consent.liquid | 63 + data/Templates/Hl7v2/Resource/_Device.liquid | 36 +- .../Hl7v2/Resource/_DiagnosticReport.liquid | 77 +- .../Hl7v2/Resource/_DocumentReference.liquid | 9 +- .../Hl7v2/Resource/_Encounter.liquid | 310 +- .../Hl7v2/Resource/_EpisodeOfCare.liquid | 36 +- .../Hl7v2/Resource/_Immunization.liquid | 258 +- data/Templates/Hl7v2/Resource/_Linkage.liquid | 57 + .../Templates/Hl7v2/Resource/_Location.liquid | 9 + .../Hl7v2/Resource/_Medication.liquid | 92 + .../Hl7v2/Resource/_MedicationDispense.liquid | 234 + .../Hl7v2/Resource/_MedicationRequest.liquid | 652 ++ .../Hl7v2/Resource/_NutritionOrder.liquid | 148 + .../Hl7v2/Resource/_Observation.liquid | 163 +- .../Hl7v2/Resource/_Organization.liquid | 176 +- .../Hl7v2/Resource/_PLLocation.liquid | 75 +- data/Templates/Hl7v2/Resource/_Patient.liquid | 258 +- .../Hl7v2/Resource/_Practitioner.liquid | 114 +- .../Hl7v2/Resource/_PractitionerRole.liquid | 360 +- .../Hl7v2/Resource/_Procedure.liquid | 136 +- .../Hl7v2/Resource/_RelatedPerson.liquid | 14 +- .../Hl7v2/Resource/_ResearchStudy.liquid | 25 + .../Hl7v2/Resource/_ServiceRequest.liquid | 621 +- .../Templates/Hl7v2/Resource/_Specimen.liquid | 225 +- .../Hl7v2/Resource/_Substance.liquid | 67 + .../Hl7v2/Resource/_SupplyRequest.liquid | 149 + data/Templates/Hl7v2/Resource/_Task.liquid | 19 + data/Templates/Hl7v2/SIU_S12.liquid | 47 +- data/Templates/Hl7v2/SIU_S13.liquid | 47 +- data/Templates/Hl7v2/SIU_S14.liquid | 47 +- data/Templates/Hl7v2/SIU_S15.liquid | 47 +- data/Templates/Hl7v2/SIU_S16.liquid | 47 +- data/Templates/Hl7v2/SIU_S17.liquid | 47 +- data/Templates/Hl7v2/SIU_S26.liquid | 47 +- data/Templates/Hl7v2/VXU_V04.liquid | 875 +- release.yml | 2 +- .../FunctionalTests.cs | 55 +- .../RuleBasedTests.cs | 50 +- .../Hl7v2/ADT_A01/ADT-A01-01-expected.json | 1513 ++- .../Hl7v2/ADT_A01/ADT-A01-02-expected.json | 211 +- .../Hl7v2/ADT_A01/ADT01-23-expected.json | 153 +- .../Hl7v2/ADT_A01/ADT01-28-expected.json | 43 +- .../Hl7v2/ADT_A02/ADT-A02-01-expected.json | 813 +- .../Hl7v2/ADT_A02/ADT-A02-02-expected.json | 211 +- .../Hl7v2/ADT_A03/ADT-A03-01-expected.json | 1655 ++- .../Hl7v2/ADT_A03/ADT-A03-02-expected.json | 207 +- .../Hl7v2/ADT_A04/ADT-A04-01-expected.json | 1585 ++- .../Hl7v2/ADT_A04/ADT-A04-02-expected.json | 257 +- .../Hl7v2/ADT_A04/ADT04-23-expected.json | 29 +- .../Hl7v2/ADT_A04/ADT04-251-expected.json | 13 +- .../Hl7v2/ADT_A04/ADT04-28-expected.json | 43 +- .../Hl7v2/ADT_A05/ADT-A05-01-expected.json | 1242 ++- .../Hl7v2/ADT_A05/ADT-A05-02-expected.json | 259 +- .../Hl7v2/ADT_A06/ADT-A06-01-expected.json | 2803 +++++ .../Hl7v2/ADT_A06/ADT-A06-02-expected.json | 1027 ++ .../Hl7v2/ADT_A07/ADT-A07-01-expected.json | 2616 +++++ .../Hl7v2/ADT_A07/ADT-A07-02-expected.json | 993 ++ .../Hl7v2/ADT_A08/ADT-A08-01-expected.json | 1661 ++- .../Hl7v2/ADT_A08/ADT-A08-02-expected.json | 213 +- .../Hl7v2/ADT_A09/ADT-A09-01-expected.json | 1533 +++ .../Hl7v2/ADT_A09/ADT-A09-02-expected.json | 1146 +++ .../Hl7v2/ADT_A10/ADT-A10-01-expected.json | 1533 +++ .../Hl7v2/ADT_A10/ADT-A10-02-expected.json | 1146 +++ .../Hl7v2/ADT_A11/ADT-A11-01-expected.json | 404 +- .../Hl7v2/ADT_A11/ADT-A11-02-expected.json | 259 +- .../Hl7v2/ADT_A13/ADT-A13-01-expected.json | 1585 ++- .../Hl7v2/ADT_A13/ADT-A13-02-expected.json | 257 +- .../Hl7v2/ADT_A14/ADT-A14-01-expected.json | 1246 ++- .../Hl7v2/ADT_A14/ADT-A14-02-expected.json | 259 +- .../Hl7v2/ADT_A15/ADT-A15-01-expected.json | 468 +- .../Hl7v2/ADT_A15/ADT-A15-02-expected.json | 211 +- .../Hl7v2/ADT_A16/ADT-A16-01-expected.json | 1240 ++- .../Hl7v2/ADT_A16/ADT-A16-02-expected.json | 257 +- .../Hl7v2/ADT_A25/ADT-A25-01-expected.json | 402 +- .../Hl7v2/ADT_A25/ADT-A25-02-expected.json | 257 +- .../Hl7v2/ADT_A26/ADT-A26-01-expected.json | 318 +- .../Hl7v2/ADT_A26/ADT-A26-02-expected.json | 173 +- .../Hl7v2/ADT_A27/ADT-A27-01-expected.json | 403 +- .../Hl7v2/ADT_A27/ADT-A27-02-expected.json | 259 +- .../Hl7v2/ADT_A28/ADT-A28-01-expected.json | 1242 ++- .../Hl7v2/ADT_A28/ADT-A28-02-expected.json | 213 +- .../Hl7v2/ADT_A29/ADT-A29-01-expected.json | 404 +- .../Hl7v2/ADT_A29/ADT-A29-02-expected.json | 213 +- .../Hl7v2/ADT_A31/ADT-A31-01-expected.json | 1242 ++- .../Hl7v2/ADT_A31/ADT-A31-02-expected.json | 153 +- .../Hl7v2/ADT_A40/ADT-A40-01-expected.json | 253 + .../Hl7v2/ADT_A40/ADT-A40-02-expected.json | 291 + .../Hl7v2/ADT_A41/ADT-A41-01-expected.json | 526 + .../Hl7v2/ADT_A41/ADT-A41-02-expected.json | 474 + .../Hl7v2/ADT_A47/ADT-A47-01-expected.json | 54 +- .../Hl7v2/ADT_A47/ADT-A47-02-expected.json | 46 +- .../Hl7v2/ADT_A60/ADT-A60-01-expected.json | 422 +- .../Hl7v2/ADT_A60/ADT-A60-02-expected.json | 46 +- .../Hl7v2/MDM_T01/MDM-T01-01-expected.json | 195 +- .../Hl7v2/MDM_T01/MDM-T01-02-expected.json | 156 +- .../Hl7v2/MDM_T02/MDM-T02-01-expected.json | 187 +- .../Hl7v2/MDM_T02/MDM-T02-02-expected.json | 156 +- .../Hl7v2/MDM_T02/MDM-T02-03-expected.json | 58 +- .../Hl7v2/MDM_T05/MDM-T05-01-expected.json | 919 ++ .../Hl7v2/MDM_T05/MDM-T05-02-expected.json | 995 ++ .../Hl7v2/MDM_T06/MDM-T06-01-expected.json | 965 ++ .../Hl7v2/MDM_T06/MDM-T06-02-expected.json | 1076 ++ .../Hl7v2/MDM_T09/MDM-T09-01-expected.json | 919 ++ .../Hl7v2/MDM_T09/MDM-T09-02-expected.json | 995 ++ .../Hl7v2/MDM_T10/MDM-T10-01-expected.json | 965 ++ .../Hl7v2/MDM_T10/MDM-T10-02-expected.json | 1076 ++ .../OML_O21/MDHHS-OML-O21-1-expected.json | 39 +- .../OML_O21/MDHHS-OML-O21-2-expected.json | 143 +- .../Hl7v2/OML_O21/OML-O21-01-expected.json | 454 +- .../Hl7v2/OML_O21/OML-O21-02-expected.json | 452 +- .../Hl7v2/OML_O21/OML-O21-03-expected.json | 4213 ++++++++ .../Hl7v2/ORM_O01/ORM-O01-01-expected.json | 120 +- .../Hl7v2/ORM_O01/ORM-O01-02-expected.json | 226 +- .../Hl7v2/ORM_O01/ORM-O01-03-expected.json | 100 +- .../Hl7v2/ORM_O01/ORM-O01-04-expected.json | 1395 +++ .../Hl7v2/ORM_O01/ORM-O01-05-expected.json | 1432 +++ .../Hl7v2/ORU_R01/LAB-ORU-1-expected.json | 151 +- .../Hl7v2/ORU_R01/LAB-ORU-2-expected.json | 167 +- .../LRI_2.0-NG_CBC_Typ_Message-expected.json | 327 +- .../Hl7v2/ORU_R01/ORU-R01-01-expected.json | 231 +- .../ORU_R01/ORU-R01-RMGEAD-expected.json | 37 +- .../Hl7v2/OUL_R22/OUL-R22-01-expected.json | 1732 ++++ .../Hl7v2/OUL_R22/OUL-R22-02-expected.json | 2244 ++++ .../Hl7v2/OUL_R23/OUL-R23-01-expected.json | 2802 +++++ .../Hl7v2/OUL_R23/OUL-R23-02-expected.json | 3441 +++++++ .../Hl7v2/OUL_R24/OUL-R24-01-expected.json | 2887 ++++++ .../Hl7v2/OUL_R24/OUL-R24-02-expected.json | 3034 ++++++ .../Hl7v2/RDE_O11/RDE-O11-01-expected.json | 3458 +++++++ .../Hl7v2/RDE_O11/RDE-O11-02-expected.json | 3843 +++++++ .../Hl7v2/RDE_O25/RDE-O25-01-expected.json | 3499 +++++++ .../Hl7v2/RDE_O25/RDE-O25-02-expected.json | 3913 +++++++ .../Hl7v2/RDS_O13/RDS-O13-01-expected.json | 2892 ++++++ .../Hl7v2/RDS_O13/RDS-O13-02-expected.json | 3648 +++++++ .../Hl7v2/SIU_S12/SIU-S12-01-expected.json | 179 +- .../Hl7v2/SIU_S12/SIU-S12-02-expected.json | 201 +- .../Hl7v2/SIU_S13/SIU-S13-01-expected.json | 111 +- .../Hl7v2/SIU_S13/SIU-S13-02-expected.json | 201 +- .../Hl7v2/SIU_S14/SIU-S14-01-expected.json | 111 +- .../Hl7v2/SIU_S14/SIU-S14-02-expected.json | 201 +- .../Hl7v2/SIU_S15/SIU-S15-01-expected.json | 111 +- .../Hl7v2/SIU_S15/SIU-S15-02-expected.json | 201 +- .../Hl7v2/SIU_S16/SIU-S16-01-expected.json | 111 +- .../Hl7v2/SIU_S16/SIU-S16-02-expected.json | 201 +- .../Hl7v2/SIU_S17/SIU-S17-01-expected.json | 111 +- .../Hl7v2/SIU_S17/SIU-S17-02-expected.json | 201 +- .../Hl7v2/SIU_S26/SIU-S26-01-expected.json | 111 +- .../Hl7v2/SIU_S26/SIU-S26-02-expected.json | 201 +- ..._1.1_Admin_Child_Max_Message-expected.json | 715 +- .../Hl7v2/VXU_V04/VXU-V04-01-expected.json | 4291 ++++++++ .../Hl7v2/VXU_V04/VXU-V04-02-expected.json | 4458 ++++++++ .../Expected/Hl7v2/VXU_V04/VXU-expected.json | 776 +- 350 files changed, 117363 insertions(+), 17138 deletions(-) create mode 100644 data/SampleData/Hl7v2/ADT-A06-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A06-02.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A07-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A07-02.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A09-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A09-02.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A10-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A10-02.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A40-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A40-02.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A41-01.hl7 create mode 100644 data/SampleData/Hl7v2/ADT-A41-02.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T05-01.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T05-02.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T06-01.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T06-02.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T09-01.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T09-02.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T10-01.hl7 create mode 100644 data/SampleData/Hl7v2/MDM-T10-02.hl7 create mode 100644 data/SampleData/Hl7v2/OML-O21-03.hl7 create mode 100644 data/SampleData/Hl7v2/ORM-O01-04.hl7 create mode 100644 data/SampleData/Hl7v2/ORM-O01-05.hl7 create mode 100644 data/SampleData/Hl7v2/ORM-O01-06.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R22-01.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R22-02.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R23-01.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R23-02.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R24-01.hl7 create mode 100644 data/SampleData/Hl7v2/OUL-R24-02.hl7 create mode 100644 data/SampleData/Hl7v2/RDE-O11-01.hl7 create mode 100644 data/SampleData/Hl7v2/RDE-O11-02.hl7 create mode 100644 data/SampleData/Hl7v2/RDE-O25-01.hl7 create mode 100644 data/SampleData/Hl7v2/RDE-O25-02.hl7 create mode 100644 data/SampleData/Hl7v2/RDS-O13-01.hl7 create mode 100644 data/SampleData/Hl7v2/RDS-O13-02.hl7 create mode 100644 data/SampleData/Hl7v2/VXU-V04-01.hl7 create mode 100644 data/SampleData/Hl7v2/VXU-V04-02.hl7 create mode 100644 data/Templates/Hl7v2/ADT_A06.liquid create mode 100644 data/Templates/Hl7v2/ADT_A07.liquid create mode 100644 data/Templates/Hl7v2/ADT_A09.liquid create mode 100644 data/Templates/Hl7v2/ADT_A10.liquid create mode 100644 data/Templates/Hl7v2/ADT_A40.liquid create mode 100644 data/Templates/Hl7v2/ADT_A41.liquid create mode 100644 data/Templates/Hl7v2/DataType/_CWELocation.liquid create mode 100644 data/Templates/Hl7v2/DataType/_CWEQuantityInternal.liquid create mode 100644 data/Templates/Hl7v2/DataType/_CWEQuantityUnits.liquid create mode 100644 data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid create mode 100644 data/Templates/Hl7v2/DataType/_MOMoney.liquid create mode 100644 data/Templates/Hl7v2/DataType/_NMQuantity.liquid create mode 100644 data/Templates/Hl7v2/DataType/_TQ_MedicationRequest.liquid create mode 100644 data/Templates/Hl7v2/DataType/_TQ_NutritionOrder.liquid create mode 100644 data/Templates/Hl7v2/DataType/_TQ_SupplyRequest.liquid create mode 100644 data/Templates/Hl7v2/Extensions/_Observation-Location.liquid create mode 100644 data/Templates/Hl7v2/ID/_ChargeItem.liquid create mode 100644 data/Templates/Hl7v2/ID/_ClaimResponse.liquid create mode 100644 data/Templates/Hl7v2/ID/_Consent.liquid create mode 100644 data/Templates/Hl7v2/ID/_Linkage.liquid create mode 100644 data/Templates/Hl7v2/ID/_Medication.liquid create mode 100644 data/Templates/Hl7v2/ID/_MedicationDispense.liquid create mode 100644 data/Templates/Hl7v2/ID/_MedicationRequest.liquid create mode 100644 data/Templates/Hl7v2/ID/_NutritionOrder.liquid create mode 100644 data/Templates/Hl7v2/ID/_ResearchStudy.liquid create mode 100644 data/Templates/Hl7v2/ID/_Substance.liquid create mode 100644 data/Templates/Hl7v2/ID/_SupplyRequest.liquid create mode 100644 data/Templates/Hl7v2/MDM_T05.liquid create mode 100644 data/Templates/Hl7v2/MDM_T06.liquid create mode 100644 data/Templates/Hl7v2/MDM_T09.liquid create mode 100644 data/Templates/Hl7v2/MDM_T10.liquid create mode 100644 data/Templates/Hl7v2/OUL_R22.liquid create mode 100644 data/Templates/Hl7v2/OUL_R23.liquid create mode 100644 data/Templates/Hl7v2/OUL_R24.liquid create mode 100644 data/Templates/Hl7v2/RDE_O11.liquid create mode 100644 data/Templates/Hl7v2/RDE_O25.liquid create mode 100644 data/Templates/Hl7v2/RDS_O13.liquid create mode 100644 data/Templates/Hl7v2/Reference/Condition/_Encounter.liquid create mode 100644 data/Templates/Hl7v2/Reference/DiagnosticReport/_Encounter.liquid create mode 100644 data/Templates/Hl7v2/Reference/Observation/_Encounter.liquid create mode 100644 data/Templates/Hl7v2/Reference/Observation/_Specimen.liquid create mode 100644 data/Templates/Hl7v2/Reference/Observation/_Subject.liquid create mode 100644 data/Templates/Hl7v2/Reference/ServiceRequest/_Encounter.liquid create mode 100644 data/Templates/Hl7v2/Resource/_ChargeItem.liquid create mode 100644 data/Templates/Hl7v2/Resource/_ClaimResponse.liquid create mode 100644 data/Templates/Hl7v2/Resource/_Consent.liquid create mode 100644 data/Templates/Hl7v2/Resource/_Linkage.liquid create mode 100644 data/Templates/Hl7v2/Resource/_Medication.liquid create mode 100644 data/Templates/Hl7v2/Resource/_MedicationDispense.liquid create mode 100644 data/Templates/Hl7v2/Resource/_MedicationRequest.liquid create mode 100644 data/Templates/Hl7v2/Resource/_NutritionOrder.liquid create mode 100644 data/Templates/Hl7v2/Resource/_ResearchStudy.liquid create mode 100644 data/Templates/Hl7v2/Resource/_Substance.liquid create mode 100644 data/Templates/Hl7v2/Resource/_SupplyRequest.liquid create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json diff --git a/data/SampleData/Hl7v2/ADT-A01-01.hl7 b/data/SampleData/Hl7v2/ADT-A01-01.hl7 index 4ed139c72..75cd0b45f 100644 --- a/data/SampleData/Hl7v2/ADT-A01-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A01-01.hl7 @@ -1,17 +1,21 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N diff --git a/data/SampleData/Hl7v2/ADT-A01-02.hl7 b/data/SampleData/Hl7v2/ADT-A01-02.hl7 index bed4032e9..e1eb617b5 100644 --- a/data/SampleData/Hl7v2/ADT-A01-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A01-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A02-01.hl7 b/data/SampleData/Hl7v2/ADT-A02-01.hl7 index 6a6cda025..59c5b778c 100644 --- a/data/SampleData/Hl7v2/ADT-A02-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A02-01.hl7 @@ -1,9 +1,12 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A02^ADT_A02|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A02-02.hl7 b/data/SampleData/Hl7v2/ADT-A02-02.hl7 index 980cf0222..ae5a2535c 100644 --- a/data/SampleData/Hl7v2/ADT-A02-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A02-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A02^ADT_A02|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A03-01.hl7 b/data/SampleData/Hl7v2/ADT-A03-01.hl7 index 18337fa66..a4f8ca307 100644 --- a/data/SampleData/Hl7v2/ADT-A03-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A03-01.hl7 @@ -1,17 +1,21 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A03^ADT_A03|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A03-02.hl7 b/data/SampleData/Hl7v2/ADT-A03-02.hl7 index 07996926f..0e6f1820e 100644 --- a/data/SampleData/Hl7v2/ADT-A03-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A03-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A03^ADT_A03|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A04-01.hl7 b/data/SampleData/Hl7v2/ADT-A04-01.hl7 index a4c79baee..6e1ba1700 100644 --- a/data/SampleData/Hl7v2/ADT-A04-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A04-01.hl7 @@ -1,17 +1,21 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A04^ADT_A04|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A04-02.hl7 b/data/SampleData/Hl7v2/ADT-A04-02.hl7 index 159c8a138..8ac580e66 100644 --- a/data/SampleData/Hl7v2/ADT-A04-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A04-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A04^ADT_A04|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A05-01.hl7 b/data/SampleData/Hl7v2/ADT-A05-01.hl7 index 564da192f..3aa70c463 100644 --- a/data/SampleData/Hl7v2/ADT-A05-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A05-01.hl7 @@ -1,17 +1,20 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A05^ADT_A05|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A05-02.hl7 b/data/SampleData/Hl7v2/ADT-A05-02.hl7 index 1898b4772..e0f6b3e79 100644 --- a/data/SampleData/Hl7v2/ADT-A05-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A05-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A05^ADT_A05|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A06-01.hl7 b/data/SampleData/Hl7v2/ADT-A06-01.hl7 new file mode 100644 index 000000000..42c11590a --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A06-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A06^ADT_A06|MSG00006|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215| +MRG|||PACCT001|||| +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^Internet|(555)555-2005^^CP||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^CP|5492308914^^CP| +PV1|1|I|SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| +PV2|WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| +ARV|2|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215| +DB1||PT|DB1456|Y|20210830|20210930| +OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||FairOaks Hspital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0215|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A06-02.hl7 b/data/SampleData/Hl7v2/ADT-A06-02.hl7 new file mode 100644 index 000000000..000a211ba --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A06-02.hl7 @@ -0,0 +1,5 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A06^ADT_A06|MSG00006|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +MRG|||PACCT001|||| +PV1|1|I|SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A07-01.hl7 b/data/SampleData/Hl7v2/ADT-A07-01.hl7 new file mode 100644 index 000000000..ec19269aa --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A07-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A07^ADT_A07|MSG00007|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215| +MRG|||PACCT101|||| +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^Internet|(555)555-2005^^CP||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^CP|5492308914^^CP| +PV1|1|O|OPD^0001^01^GOOD HEALTH HOSPITAL|||SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| +PV2|SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| +ARV|2|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215| +DB1||PT|DB1456|Y|20210830|20210930| +OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||FairOaks Hspital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0215|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A07-02.hl7 b/data/SampleData/Hl7v2/ADT-A07-02.hl7 new file mode 100644 index 000000000..79ca82fe8 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A07-02.hl7 @@ -0,0 +1,5 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A07^ADT_A07|MSG00007|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +MRG|||PACCT101|||| +PV1|1|O|OPD^0001^01^GOOD HEALTH HOSPITAL|||SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A08-01.hl7 b/data/SampleData/Hl7v2/ADT-A08-01.hl7 index 3c4b989f6..26bd5f267 100644 --- a/data/SampleData/Hl7v2/ADT-A08-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A08-01.hl7 @@ -1,17 +1,21 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A08^ADT_A08|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A08-02.hl7 b/data/SampleData/Hl7v2/ADT-A08-02.hl7 index faa950e32..a54be8c6a 100644 --- a/data/SampleData/Hl7v2/ADT-A08-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A08-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A08^ADT_A08|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A09-01.hl7 b/data/SampleData/Hl7v2/ADT-A09-01.hl7 new file mode 100644 index 000000000..ea560f9b6 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A09-01.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A09^ADT_A09|MSG00009|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +EVN|A02|20210115160010+0110||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0110^20200115160010+0110^GP|20210115160010+0110|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +PV1|1|I|OT^ROOM1^^FACILITY1^^^BUILDING1^FLOOR10^^^|||GENROOM^ROOM-2^BED-24^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||OTWAITROOM^ROOM11^^FACI-1^^^BUILD-1^FL-10^^^||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0110| +PV2|^RM1&2.16.840.1.113883.4.642.1.1108&ISO^^F1^^^B1^F10^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| +DB1||PT|DB1456|Y|20210830|20210930| +OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||Good Health Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A09-02.hl7 b/data/SampleData/Hl7v2/ADT-A09-02.hl7 new file mode 100644 index 000000000..fbc1a8a5e --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A09-02.hl7 @@ -0,0 +1,4 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A09^ADT_A09|MSG00009|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|A02|20210115160010+0530||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0530^20200115160010+0530^GP|20210115160010+0530|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PV1|1|I|OT^ROOM1^^FACILITY1^^^BUILDING1^FLOOR10^^^|||GENROOM^ROOM-2^BED-24^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||OTWAITROOM^ROOM11^^FACI-1^^^BUILD-1^FL-10^^^||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0530| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A10-01.hl7 b/data/SampleData/Hl7v2/ADT-A10-01.hl7 new file mode 100644 index 000000000..4ff75a80a --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A10-01.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A10^ADT_A10|MSG00010|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +EVN|A02|20210115160010+0530||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0530^20200115160010+0530^GP|20210115160010+0530|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +PV1|1|I|GENROOM^ROOM-2^BED-24^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|||OT^ROOM1^^FACILITY1^^^BUILDING1^FLOOR10^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||OTWAITROOM^ROOM11^^FACI-1^^^BUILD-1^FL-10^^^||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0530| +PV2|^RM1&2.16.840.1.113883.4.642.1.1108&ISO^^F1^^^B1^F10^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| +DB1||PT|DB1456|Y|20210830|20210930| +OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||Good Health Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A10-02.hl7 b/data/SampleData/Hl7v2/ADT-A10-02.hl7 new file mode 100644 index 000000000..5ab1a6f42 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A10-02.hl7 @@ -0,0 +1,4 @@ +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A10^ADT_A10|MSG00010|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|A02|20210115160010+0530||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0530^20200115160010+0530^GP|20210115160010+0530|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +PV1|1|I|GENROOM^ROOM-2^BED-24^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|||OT^ROOM1^^FACILITY1^^^BUILDING1^FLOOR10^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||OTWAITROOM^ROOM11^^FACI-1^^^BUILD-1^FL-10^^^||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0530| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A11-01.hl7 b/data/SampleData/Hl7v2/ADT-A11-01.hl7 index 56522398b..6498f10c8 100644 --- a/data/SampleData/Hl7v2/ADT-A11-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A11-01.hl7 @@ -1,9 +1,9 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A11^ADT_A11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A11-02.hl7 b/data/SampleData/Hl7v2/ADT-A11-02.hl7 index 8082f8fd4..e623bc172 100644 --- a/data/SampleData/Hl7v2/ADT-A11-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A11-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A11^ADT_A11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A13-01.hl7 b/data/SampleData/Hl7v2/ADT-A13-01.hl7 index f589d8b53..7f11d74b1 100644 --- a/data/SampleData/Hl7v2/ADT-A13-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A13-01.hl7 @@ -1,17 +1,21 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A13^ADT_A13|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A13-02.hl7 b/data/SampleData/Hl7v2/ADT-A13-02.hl7 index d80b03bbf..e381c2c8e 100644 --- a/data/SampleData/Hl7v2/ADT-A13-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A13-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A13^ADT_A13|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150208113419+0110|20150209113419+0110||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150208113419+0110|20150209113419+0110||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A14-01.hl7 b/data/SampleData/Hl7v2/ADT-A14-01.hl7 index 7dbe40ce3..8860bb953 100644 --- a/data/SampleData/Hl7v2/ADT-A14-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A14-01.hl7 @@ -1,17 +1,20 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A14^ADT_A14|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital -PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419|20150209113419||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0530|20150209113419+0530||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A14-02.hl7 b/data/SampleData/Hl7v2/ADT-A14-02.hl7 index b61cd544b..7e5f6de95 100644 --- a/data/SampleData/Hl7v2/ADT-A14-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A14-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A14^ADT_A14|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A15-01.hl7 b/data/SampleData/Hl7v2/ADT-A15-01.hl7 index 95be90cde..c79d61783 100644 --- a/data/SampleData/Hl7v2/ADT-A15-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A15-01.hl7 @@ -1,9 +1,11 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A15^ADT_A15|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A15-02.hl7 b/data/SampleData/Hl7v2/ADT-A15-02.hl7 index c4ea68d86..b57b645ea 100644 --- a/data/SampleData/Hl7v2/ADT-A15-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A15-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A15^ADT_A15|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A16-01.hl7 b/data/SampleData/Hl7v2/ADT-A16-01.hl7 index a3f111acd..7a4fef2e7 100644 --- a/data/SampleData/Hl7v2/ADT-A16-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A16-01.hl7 @@ -1,17 +1,20 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A16^ADT_A16|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||20150210113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A16-02.hl7 b/data/SampleData/Hl7v2/ADT-A16-02.hl7 index 55d80aad3..592adbb4a 100644 --- a/data/SampleData/Hl7v2/ADT-A16-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A16-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A16^ADT_A16|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||20150210113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A25-01.hl7 b/data/SampleData/Hl7v2/ADT-A25-01.hl7 index cf1094892..ee767482f 100644 --- a/data/SampleData/Hl7v2/ADT-A25-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A25-01.hl7 @@ -1,9 +1,9 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A25^ADT_A25|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A25-02.hl7 b/data/SampleData/Hl7v2/ADT-A25-02.hl7 index e68d494a3..a3520cf8b 100644 --- a/data/SampleData/Hl7v2/ADT-A25-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A25-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A25^ADT_A25|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A26-01.hl7 b/data/SampleData/Hl7v2/ADT-A26-01.hl7 index f5899be53..fcb5418c9 100644 --- a/data/SampleData/Hl7v2/ADT-A26-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A26-01.hl7 @@ -1,9 +1,9 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A26^ADT_A26|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A26-02.hl7 b/data/SampleData/Hl7v2/ADT-A26-02.hl7 index 88febdcd2..f5afe8377 100644 --- a/data/SampleData/Hl7v2/ADT-A26-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A26-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A26^ADT_A26|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A27-01.hl7 b/data/SampleData/Hl7v2/ADT-A27-01.hl7 index ac4a4eab9..8fc852394 100644 --- a/data/SampleData/Hl7v2/ADT-A27-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A27-01.hl7 @@ -1,9 +1,9 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A27^ADT_A27|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113420+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113420+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A27-02.hl7 b/data/SampleData/Hl7v2/ADT-A27-02.hl7 index 6ba5fa7e2..71e986381 100644 --- a/data/SampleData/Hl7v2/ADT-A27-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A27-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A27^ADT_A27|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C diff --git a/data/SampleData/Hl7v2/ADT-A28-01.hl7 b/data/SampleData/Hl7v2/ADT-A28-01.hl7 index 69964ba26..ba7b209b2 100644 --- a/data/SampleData/Hl7v2/ADT-A28-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A28-01.hl7 @@ -1,17 +1,20 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A28^ADT_A28|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A28-02.hl7 b/data/SampleData/Hl7v2/ADT-A28-02.hl7 index 7bcb2f6e2..1604ac1c7 100644 --- a/data/SampleData/Hl7v2/ADT-A28-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A28-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A28^ADT_A28|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A29-01.hl7 b/data/SampleData/Hl7v2/ADT-A29-01.hl7 index bc08c368c..1c8b2d705 100644 --- a/data/SampleData/Hl7v2/ADT-A29-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A29-01.hl7 @@ -1,9 +1,9 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A29^ADT_A29|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A29-02.hl7 b/data/SampleData/Hl7v2/ADT-A29-02.hl7 index 0f8e24634..daa844785 100644 --- a/data/SampleData/Hl7v2/ADT-A29-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A29-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A29^ADT_A29|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A31-01.hl7 b/data/SampleData/Hl7v2/ADT-A31-01.hl7 index 212f11620..d3fac8746 100644 --- a/data/SampleData/Hl7v2/ADT-A31-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A31-01.hl7 @@ -1,17 +1,20 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A31^ADT_A31|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^White^HL70005||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -DB1|1|PT|DB123^4^M11^t&1.12&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^UI2^GUID~^^UI1^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse -RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U \ No newline at end of file +RF1|P^Pending^HL7283|A^ASAP^HL7280|EXTERNAL|||123-1^name|||19900501120100+0515|R-1^Reason^C4|123-2^Testname|||Patient has a spinal fracture|||||AuthProvider^L^4.4^3^M10^CMS^LR^^^A|114^Beverly^Crusher^An^Mr^Dr.^AHP^^2.3^B^^^BR^^^^^^19241010^19241015^Al||||Check for metastatic disease|U +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A40-01.hl7 b/data/SampleData/Hl7v2/ADT-A40-01.hl7 new file mode 100644 index 000000000..69f3ac520 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A40-01.hl7 @@ -0,0 +1,4 @@ +MSH|^~\&|Ntierprise|Ntierprise Clinic|Healthmatics EHR|Healthmatics Clinic|20190423150137+0215||ADT^A40^ADT_A40|8919-40|P|2.8|||NE|NE +EVN|A40|20190423150137+0215||01|13^Berry +PID|1||12345^^^BCBS^MR||Test^Test^A||20180205|F|||123 Any Street^^Raleigh^NC^27615||(111)111-1111^^PH^^^111^1111111|||||5027440^^^^AN +MRG|56789^^^BCBS^MR \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A40-02.hl7 b/data/SampleData/Hl7v2/ADT-A40-02.hl7 new file mode 100644 index 000000000..4e6c554ac --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A40-02.hl7 @@ -0,0 +1,6 @@ +MSH|^~\&|Ntierprise|Ntierprise Clinic|Healthmatics EHR|Healthmatics Clinic|20190423150137+0215||ADT^A40^ADT_A40|8919-40|P|2.8|||NE|NE +EVN|A40|20190423150137+0215||01|13^Berry +PID|1||12345^^^BCBS^MR||Test^Test^A||20180205|F|||123 Any Street^^Raleigh^NC^27615||(111)111-1111^^PH^^^111^1111111|||||5027440^^^^AN +MRG|56789^^^BCBS^MR +PID|1||145^^^BCBS^MR||Test^Test^A||20180205|F|||123 Street^^Raleigh^NC^27615||(111)111-1111^^PH^^^111^1111111|||||5027440^^^^AN +MRG|569^^^BCBS^MR \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A41-01.hl7 b/data/SampleData/Hl7v2/ADT-A41-01.hl7 new file mode 100644 index 000000000..661424d74 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A41-01.hl7 @@ -0,0 +1,7 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A41^ADT_A41|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +MRG|||ACC1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A41-02.hl7 b/data/SampleData/Hl7v2/ADT-A41-02.hl7 new file mode 100644 index 000000000..c27e04e27 --- /dev/null +++ b/data/SampleData/Hl7v2/ADT-A41-02.hl7 @@ -0,0 +1,11 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A41^ADT_A41|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +MRG|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PID|1|123^4^M11^test^MR^University Hospital^19241011^19241012|PATID^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +MRG|PATID444^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC1246^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A47-01.hl7 b/data/SampleData/Hl7v2/ADT-A47-01.hl7 index 3bd5545d4..0c010d5bf 100644 --- a/data/SampleData/Hl7v2/ADT-A47-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A47-01.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A47-02.hl7 b/data/SampleData/Hl7v2/ADT-A47-02.hl7 index a3aca9ba9..d3468d97a 100644 --- a/data/SampleData/Hl7v2/ADT-A47-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A47-02.hl7 @@ -1,3 +1,3 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet \ No newline at end of file +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A60-01.hl7 b/data/SampleData/Hl7v2/ADT-A60-01.hl7 index 88ebf7d8c..17de01037 100644 --- a/data/SampleData/Hl7v2/ADT-A60-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A60-01.hl7 @@ -1,9 +1,11 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A60^ADT_A60|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 IAM|1|FA^Food allergy^HL70127|12345^Peanut Allergy^L|||A^Add/Insert^HL70206|56789^Cona_Health^1.3.6.1.4.1.44750.1.4^ISO||SE^Side Effect||201805||202010051600|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse||C^Confirmed or verified||||||9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|202010101600+0215||202010151600+0215|91935009^Allergy to Peanuts^SNM3 NTE|1||Allergy to peanuts observed.||9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|202010101600+0215| IAR|34567^Skin Rashness^L|MI^Mild|AL^Allergy|No Action taken \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A60-02.hl7 b/data/SampleData/Hl7v2/ADT-A60-02.hl7 index 9114d2acb..cada855c4 100644 --- a/data/SampleData/Hl7v2/ADT-A60-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A60-02.hl7 @@ -1,4 +1,4 @@ MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A60^ADT_A60|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet IAM|1|FA^Food allergy^HL70127|12345^Peanut Allergy^L|||A^Add/Insert^HL70206|56789^Cona_Health^1.3.6.1.4.1.44750.1.4^ISO||SE^Side Effect||201805||202010051600|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse||C^Confirmed or verified||||||9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|202010101600+0215||202010151600+0215|91935009^Allergy to Peanuts^SNM3 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT01-28.hl7 b/data/SampleData/Hl7v2/ADT01-28.hl7 index 2c4b5dd17..6a0277165 100644 --- a/data/SampleData/Hl7v2/ADT01-28.hl7 +++ b/data/SampleData/Hl7v2/ADT01-28.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198810181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1|| +MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1|| EVN|A01|200708181123|| PID|1||PATID1234^5^M11^ADT1^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN^ADAM^A^III||19610615|M||C|2222 HOME STREET^^GREENSBORO^NC^27401-1020|GL|(555) 555-2004|(555)555-2004||S||PATID12345001^2^M10^ADT1^AN^A|444333333|987654^NC| NK1|1|NUCLEAR^NELDA^W|SPO^SPOUSE||||NK^NEXT OF KIN diff --git a/data/SampleData/Hl7v2/MDM-T01-01.hl7 b/data/SampleData/Hl7v2/MDM-T01-01.hl7 index ce1a6f9df..8bd6d1334 100644 --- a/data/SampleData/Hl7v2/MDM-T01-01.hl7 +++ b/data/SampleData/Hl7v2/MDM-T01-01.hl7 @@ -1,10 +1,11 @@ -MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T02|PS1-20080131160038|P|2. +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T01^MDM_T01|PS1-20080131160038|P|2.8 SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 ORC|SC|00012345|1-1 -TQ1|1|54^&lbs|ACM&Before Breakfast&HL7xxx^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| -TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 \ No newline at end of file +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/MDM-T01-02.hl7 b/data/SampleData/Hl7v2/MDM-T01-02.hl7 index 563eec6a4..e4e8cb1f3 100644 --- a/data/SampleData/Hl7v2/MDM-T01-02.hl7 +++ b/data/SampleData/Hl7v2/MDM-T01-02.hl7 @@ -4,7 +4,7 @@ EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 ORC|SC|00012345|1-1 -TQ1|1|54^&lbs|ACM&Before Breakfast&HL7xxx^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| ORC|SC|00012367|1-1 diff --git a/data/SampleData/Hl7v2/MDM-T02-01.hl7 b/data/SampleData/Hl7v2/MDM-T02-01.hl7 index 8c41fffac..44290a785 100644 --- a/data/SampleData/Hl7v2/MDM-T02-01.hl7 +++ b/data/SampleData/Hl7v2/MDM-T02-01.hl7 @@ -3,10 +3,11 @@ EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 ORC|SC|00012345|1-1 -TQ1|1|54^&lbs|ACM&Before Breakfast&HL7xxx^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600+0215 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 OBX|1|HD|113014^DICOM Study^DCM||1.2.840.317.5947431.51||||||O NTE|1||Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| OBX|2|ED|02585^TransthoracicEcho^PCV4||^application^pdf^Base64^||||||F diff --git a/data/SampleData/Hl7v2/MDM-T02-02.hl7 b/data/SampleData/Hl7v2/MDM-T02-02.hl7 index 96b76bfcd..b379e44cc 100644 --- a/data/SampleData/Hl7v2/MDM-T02-02.hl7 +++ b/data/SampleData/Hl7v2/MDM-T02-02.hl7 @@ -4,7 +4,7 @@ EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 ORC|SC|00012345|1-1 -TQ1|1|54^&lbs|ACM&Before Breakfast&HL7xxx^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| ORC|SC|00012367|1-1 diff --git a/data/SampleData/Hl7v2/MDM-T05-01.hl7 b/data/SampleData/Hl7v2/MDM-T05-01.hl7 new file mode 100644 index 000000000..f34614978 --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T05-01.hl7 @@ -0,0 +1,11 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T05^MDM_T05|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post after&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/MDM-T05-02.hl7 b/data/SampleData/Hl7v2/MDM-T05-02.hl7 new file mode 100644 index 000000000..75961aabe --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T05-02.hl7 @@ -0,0 +1,12 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T05^MDM_T05|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post after&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +ORC|SC|00012367|1-1 +OBR|1|00012367|1-1|02588^3D echo cardigram^PCV4|||20080131164500+0215|||||||||||||||20080131164500+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/MDM-T06-01.hl7 b/data/SampleData/Hl7v2/MDM-T06-01.hl7 new file mode 100644 index 000000000..0ad6f48a1 --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T06-01.hl7 @@ -0,0 +1,13 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T06^MDM_T06|PS1-20080131160038|P|2.8 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600+0215 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 +OBX|1|HD|113014^DICOM Study^DCM||1.2.840.317.5947431.51||||||O +NTE|1||Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +OBX|2|ED|02585^TransthoracicEcho^PCV4||^application^pdf^Base64^||||||F diff --git a/data/SampleData/Hl7v2/MDM-T06-02.hl7 b/data/SampleData/Hl7v2/MDM-T06-02.hl7 new file mode 100644 index 000000000..5404b9548 --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T06-02.hl7 @@ -0,0 +1,14 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T06^MDM_T06|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +ORC|SC|00012367|1-1 +OBR|1|00012367|1-1|02588^3D echo cardigram^PCV4||20060131164500+0215|20080131164500+0215|||||||||||||||20080131164500+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 +OBX|1|TX|obs-id^obs-text^coding-system^^|1|Toilet cylinder crackers model step-mother visor opening communication||||||F|||||| +OBX|2|TX|obs-id^obs-text^coding-system^^|1|Columnist draft inn brown income ikebana circulation prince||||||F|||||| diff --git a/data/SampleData/Hl7v2/MDM-T09-01.hl7 b/data/SampleData/Hl7v2/MDM-T09-01.hl7 new file mode 100644 index 000000000..3e6b3ca74 --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T09-01.hl7 @@ -0,0 +1,11 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T09^MDM_T09|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/MDM-T09-02.hl7 b/data/SampleData/Hl7v2/MDM-T09-02.hl7 new file mode 100644 index 000000000..ae432150d --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T09-02.hl7 @@ -0,0 +1,12 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T09^MDM_T09|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +ORC|SC|00012367|1-1 +OBR|1|00012367|1-1|02588^3D echo cardigram^PCV4|||20080131164500+0215|||||||||||||||20080131164500+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/MDM-T10-01.hl7 b/data/SampleData/Hl7v2/MDM-T10-01.hl7 new file mode 100644 index 000000000..53f71204e --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T10-01.hl7 @@ -0,0 +1,13 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T10^MDM_T10|PS1-20080131160038|P|2.8 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4||20060131155500|20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600+0215 +CON|1|001|100-2||HIPAA Privacy Form|For Patient privacy|||||A|200801311600||||||||||||Smith^Robert^^Jr^^^B^A|1 +OBX|1|HD|113014^DICOM Study^DCM||1.2.840.317.5947431.51||||||O +NTE|1||Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +OBX|2|ED|02585^TransthoracicEcho^PCV4||^application^pdf^Base64^||||||F diff --git a/data/SampleData/Hl7v2/MDM-T10-02.hl7 b/data/SampleData/Hl7v2/MDM-T10-02.hl7 new file mode 100644 index 000000000..2d81dcdcd --- /dev/null +++ b/data/SampleData/Hl7v2/MDM-T10-02.hl7 @@ -0,0 +1,14 @@ +MSH|^~\&|PROSOLV|XYZHOSPITAL|SYSTEM|XYZHOSPITAL|200801311600+0215||MDM^T10^MDM_T10|PS1-20080131160038|P|2.8 +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|T10|200801311600+0215|||C08^Woolfson^Kathleen +PID|1|987654321|987654321||PROSOLV^SAMPLE||19721201|M||||||||||10000001|111-22-3333 +PV1|1|I|CCU^2000^1|||CCU^2003^1|1234^HIPPOCRATES^KOS|9099^KEVORKIAN^JACK|8888^HOUSE^GREGORY||||||||||10000001 +ORC|SC|00012345|1-1 +TQ1|1|54^&lbs|P&Post (after)&HL7xxx^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBR|1|00012345|1-1|02585^TransthoracicEcho^PCV4|||20080131155500+0215|||||||||||||||200801311600+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +ORC|SC|00012367|1-1 +OBR|1|00012367|1-1|02588^3D echo cardigram^PCV4||20060131164500+0215|20080131164500+0215|||||||||||||||20080131164500+0215|||F||||||796.4^^I9M~786.09^^I9M~414.8^^I9M||||54321^Doctorovich^Ivan^ +TXA|1|DI|TX|200801311555+0215||200801311600+0215|||IvanDoctorovich|||1.2.840.317.5947431.51.20080131160038|1.2.840.317.5947431.51.20080131155715|00012345|1-1||AU|||||54321^Doctorovich^Ivan^^^^^^^^^^^^200801311600 +OBX|1|TX|obs-id^obs-text^coding-system^^|1|Toilet cylinder crackers model step-mother visor opening communication||||||F|||||| +OBX|2|TX|obs-id^obs-text^coding-system^^|1|Columnist draft inn brown income ikebana circulation prince||||||F|||||| diff --git a/data/SampleData/Hl7v2/OML-O21-01.hl7 b/data/SampleData/Hl7v2/OML-O21-01.hl7 index 4b25a8db6..df34a4660 100644 --- a/data/SampleData/Hl7v2/OML-O21-01.hl7 +++ b/data/SampleData/Hl7v2/OML-O21-01.hl7 @@ -1,18 +1,20 @@ MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|OML^O21^OML_O21|MSG00019|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse -GT1|1|1516^^^^LN|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MTH|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^PH^^^608^2719000|19290207^^^^EI|1||N|||| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany AL1|1|FA^Food allergy^HL70127|12345^Peanut Allergy^L|MI^Mild^HL70128|moderate|20210121 -ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O| +ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC|||PAI-8.1^FAI-8.2|202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O||PS-31 TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| NTE|1||Urgent|| CTD|C^Emergency Contact^HL70131|Abbot^Adam^A^III^DR^^L^^^^^^^PHD|1000 Hospital Lane^Ste.123^Ann Arbor ^MI^99999^USA^B^^WA^||^WPN^PH^^^^^^^^^(626)555-1234| DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0215|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0215|DG1002||| -OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^20090731^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^UI2^GUID~^^UI1^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 OBX|1|RP|1063-7^Serum or Plasma^XYZ^^^^2.33^^result1|1|https://testurl.com^^image^PICT||||||O NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| -SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&2.16.840.1.114222&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^SID-32^CLIP +SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&1.3.6.1.4.1.44750.1.2.2&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&426d2726-51fc-89fe-a946-8596e80a80eb&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^1.3.6.1.4.1.44750.1.2.2^CLIP OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I +SAC|1|EA54678|A59032|C487892|||||||||||||||||10|5|7|ML +OBX|1|RP|3DHISTH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT diff --git a/data/SampleData/Hl7v2/OML-O21-02.hl7 b/data/SampleData/Hl7v2/OML-O21-02.hl7 index bf60c3837..e9e8c15c8 100644 --- a/data/SampleData/Hl7v2/OML-O21-02.hl7 +++ b/data/SampleData/Hl7v2/OML-O21-02.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O| TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 @@ -7,11 +7,11 @@ OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0 NTE|1||Urgent|| CTD|C^Emergency Contact^HL70131|Abbot^Adam^A^III^DR^^L^^^^^^^PHD|1000 Hospital Lane^Ste.123^Ann Arbor ^MI^99999^USA^B^^WA^||^WPN^PH^^^^^^^^^(626)555-1234| DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0215|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0215|DG1002||| -OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^20090731^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^UI2^GUID~^^UI1^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| -SPM|1|2545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&2.16.840.1.114222&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^SID-32^CLIP +SPM|1|2545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&1.3.6.1.4.1.44750.1.2.2&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&426d2726-51fc-89fe-a946-8596e80a80eb&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^1.3.6.1.4.1.44750.1.2.2^CLIP ORC|NW|2203^GHHPlacer|2301^GHHFiller||SC||1^^^202110201126+0215^^^||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201300+0215||||||||||||||O| -OBR|1|||24590-2^MR Brain^LN||202110201300+0215|202110201300+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201300+0215^^^||PAI-291^FAI-292|||005454&ROBIN^^^RADUnit02^Room02^^GHH||||||||||||||||||test50 +OBR|1|||24590-2^MR Brain^LN||202110201300+0215|202110201300+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201300+0215^^^||PAI-291^FAI-292|||005454&ROBIN^^^RADUnit02^Room02^^GHH||||||||||||||||||PU-50 OBX|1|RP|1063-7^Serum or Plasma^XYZ^^^^2.33^^result1|1|https://testurl.com^^image^PICT||||||O -SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&2.16.840.1.114222&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^SID-32^CLIP +SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&426d2726-51fc-89fe-a946-8596e80a80eb&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^1.3.6.1.4.1.44750.1.2.2^CLIP OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OML-O21-03.hl7 b/data/SampleData/Hl7v2/OML-O21-03.hl7 new file mode 100644 index 000000000..a98386757 --- /dev/null +++ b/data/SampleData/Hl7v2/OML-O21-03.hl7 @@ -0,0 +1,57 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|OML^O21^OML_O21|MSG00019|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0000^20221118103000+0000| +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| +OBX|1|ED|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|CWE|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|OB-5.1^Test^XYZ||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +NTE|1||Note test|| +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|1|ED|3DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|NM|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SAC||2017-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +OBX|1|RP|3DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ST|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|Observation value||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +ORC|SC|||29adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20180501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| +OBX|1|ED|3DH_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SPM|1|2018-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|1|ED|4DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SAC||2018-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +OBX|1|RP|4DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +ORC|SC|1101^GHHPlacer||29adf2e714c6698063e3ddf5d07^41996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +OBR|1|845439^GHH OE||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +OBX|1|ST|3DHISH_SLD^3DHISTECH Digital Slide^L|1^1^1|Test||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +SPM|1|2019-PAT-1456-1&L|2019-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||50011^^^Acc-Mgr^VN|||||||||||||||||||||||||202110201126+0215| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5d0167^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +OBR|1|||57698-3^Lipid panel with direct LDL - Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Test Note for 3rd ServiceRequest|| +OBX|1|NM|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|80~120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +NTE|1||Test Note OBX1|| +PV1|1|P|Lab01^Room01^^GHH Facility|||Trauma-Centre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5002^^^Account Manager^VN|||||||||||||||||||||||||202110201126+0215| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|CA|NI-2||9adf2339dc6698063e3ddf5d0167^47371996286d40019903e76ba57e49e8|||||||||||||||||Pathology +OBR|1|PO-2|FO-3|57698-3^Lipid panel with direct LDL - Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Test Note for 3rd ServiceRequest|| +OBX|1|NM|7ISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|80~120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +NTE|1||Test Note OBX1|| + diff --git a/data/SampleData/Hl7v2/ORM-O01-01.hl7 b/data/SampleData/Hl7v2/ORM-O01-01.hl7 index 5c37c00da..954db8ce3 100644 --- a/data/SampleData/Hl7v2/ORM-O01-01.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-01.hl7 @@ -1,8 +1,8 @@ MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||2010201200+0215||||||||||||||O| -OBR|1|||24725-4^CT Head^LN|||202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S|||||||005454&ROBIN^^^RADUnit01^Room01^^GHH2|||| +OBR|1|||24725-4^CT Head^LN|||202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S||||^FAI-29|||005454&ROBIN^^^RADUnit01^Room01^^GHH2|||| CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-02.hl7 b/data/SampleData/Hl7v2/ORM-O01-02.hl7 index 92d416838..784b92d77 100644 --- a/data/SampleData/Hl7v2/ORM-O01-02.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-02.hl7 @@ -1,15 +1,15 @@ MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00019|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse -GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||1^^^202110201126+0215^^^||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O| OBR|1|||24725-4^CT Head^LN||202110201200+0215|202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201126+0215^^^|||||005454&ROBIN^^^RADUnit01^Room01^^GHH|||| NTE|1||CT Scan to be done urgent|| CTD|C^Emergency Contact^HL70131|Abbot^Adam^A^III^DR^^L^^^^^^^PHD|1000 Hospital Lane^Ste.123^Ann Arbor ^MI^99999^USA^B^^WA^||^WPN^PH^^^^^^^^^(626)555-1234| DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| -OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^20090731^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^UI2^GUID~^^UI1^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 OBX|1|RP|1063-7^Serum or Plasma^XYZ^^^^2.33^^result1|1|https://testurl.com^^image^PICT||||||O NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| diff --git a/data/SampleData/Hl7v2/ORM-O01-03.hl7 b/data/SampleData/Hl7v2/ORM-O01-03.hl7 index 380797273..e5ad99335 100644 --- a/data/SampleData/Hl7v2/ORM-O01-03.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-03.hl7 @@ -1,5 +1,5 @@ MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||1^^^202110201126+0215^^^||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O| OBR|1|||24725-4^CT Head^LN||202110201200+0215|202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201126+0215^^^|||||005454&ROBIN^^^RADUnit01^Room01^^GHH|||| diff --git a/data/SampleData/Hl7v2/ORM-O01-04.hl7 b/data/SampleData/Hl7v2/ORM-O01-04.hl7 new file mode 100644 index 000000000..074e3fc55 --- /dev/null +++ b/data/SampleData/Hl7v2/ORM-O01-04.hl7 @@ -0,0 +1,8 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21|||2304^ENTER^MARY^C|3301^VERIFY^PETER^K|^SAWYER TOM MD^^^^^^^^L|||||||||MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY^L|307 W MCCARTY ST^^JEFFERSON CITY^MO^65101^USA^B|^WPN^PH^^1^^5555555|St-24, Greenwood^Building2|||||O| +ODS|P||P-1^Preference Code^NDC~P-2^P-code^L|Preference code - 04~Preference Code - IV +CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-05.hl7 b/data/SampleData/Hl7v2/ORM-O01-05.hl7 new file mode 100644 index 000000000..e3e487dc9 --- /dev/null +++ b/data/SampleData/Hl7v2/ORM-O01-05.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +ORC|NW|RQ101^GHHPlacer|986^IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|PGN-04|CA|||212010101700+0215|212010101700+0215|||3850^ORDPROVIDER^JONES^A^^^|||212210121800+0215||||||Good Health Hospital^L^716^9^M10^&Hospital Master.Community Health and Hospitals&L^XX^&Central Offices.Community Health and Hospitals&L^A|1000 Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^B^^WA^|^WPN^PH^^^^^^^^^(626)555-1234 +RQD|1|23455^Implant, Special Hip||I45323^Implant|1|EA^^ACR|||ORSUP^Supply Department|202110201030+0215| +RQ1||GPC^GPC Medical Inc.||||| +CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-06.hl7 b/data/SampleData/Hl7v2/ORM-O01-06.hl7 new file mode 100644 index 000000000..3da0db1ef --- /dev/null +++ b/data/SampleData/Hl7v2/ORM-O01-06.hl7 @@ -0,0 +1,8 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|ORM^O01^ORM_O01|MSG00018|P|2.6|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +ORC|NW|1163422591^EPC|||||50&lb^BID&11:30:05^S50^19240315^19240315^^^Annotation test text^^^^21~12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12||||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORU-R01-01.hl7 b/data/SampleData/Hl7v2/ORU-R01-01.hl7 index 543f20b43..2e0b75699 100644 --- a/data/SampleData/Hl7v2/ORU-R01-01.hl7 +++ b/data/SampleData/Hl7v2/ORU-R01-01.hl7 @@ -8,11 +8,11 @@ TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chr OBR|1|845439^GHH OE|986^IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^Enteric Culture|R|202010101700+0215|200202150730+0215||150^lb&lb&ANSI+|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A||||200202120730+0215|SP15&1.2&L^ACDA^Collection Method^BN&223.3&L|||Placer 1|Placer 2|Filler 1|Filler 2|200203150730+0215||BLB|F||||||444^Reason for study^L^^^^MD|Harry&Raud&Geny&&Mr.&Dr.^^^Poc-32^Room-4^Bed3^Facility-3&1.2&ISO^^^Building-4^FL-2||Richa&&&&Mr.&Md.^^^Poc-34^Rm-4^Bed2^Facility-4&1.22&ISO^^^Building-3^FL-3|35&Samuel^20021111^20021112^Area23||||Collector's comment|||||||PSS-46^Placer service^L|FSS-47^Filler service^L||||||APON-53^4^M11^ORU^MR^University Hospital NTE|1|L|Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 \T\ other STECs, and Aeromonas|RE^Remark^HL70364^^^^2.5.1 NTE|1||Allergy to peanuts observed.||9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|202010101600+0215| -TQ1|1|54^&lbs|ACM&Before Breakfast&HL7xxx^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 -OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^20090731^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^UI2^GUID~^^UI1^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| -SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&2.16.840.1.114222&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^SID-32^CLIP +SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&426d2726-51fc-89fe-a946-8596e80a80eb&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^1.3.6.1.4.1.44750.1.2.2^CLIP OBX|1|RP|1063-7^Serum or Plasma^XYZ^^^^2.33^^result1|1|https://testurl.com^^image^PICT||||||O OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R22-01.hl7 b/data/SampleData/Hl7v2/OUL-R22-01.hl7 new file mode 100644 index 000000000..4ae23878c --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R22-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R22^OUL_R22|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|O|^^^BMGPED||||dszczepaniak +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||||25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 18^Test^XYZ| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R22-02.hl7 b/data/SampleData/Hl7v2/OUL-R22-02.hl7 new file mode 100644 index 000000000..a33980e4a --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R22-02.hl7 @@ -0,0 +1,25 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R22^OUL_R22|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|O|^^^BMGPED||||dszczepaniak +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM|||PAI-8.1^FAI-8.2|||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID|||||||||| +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +SPM|1|2018-PAT-123456-1&L|2018-PAT-123456&L~2018-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Pant specimen^HL70369 +OBX|17|CE|8867-4^heartrate^LN||60|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||20000802|Organization-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2018-PAT-123456^L|2018-PAT-123456-1-2-5|2018-PAT-123456-1-A^L +INV|SI12345^Substance_ID1^HL704512|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBR||5ca95f519414bbcb4be9ca88e9846^L|40bcbe9f8cda8b07403263b92cb4|SCAN^can Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +ORC|SC|||9f2339de714c6698063e3ddf5d0167&L^47371996286d400199036ba57e49e8&L|CM|||PAI-II-8.1|||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|CN||200011101818+0215|Smith|200011030000+0215||200011031346+0215|Rock|Watson||018841|1307507^test|||54402-DEX|AU|R|UN|||||radiology report|string ofCharacters +NTE|1||Submission||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +OBX|1|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT diff --git a/data/SampleData/Hl7v2/OUL-R23-01.hl7 b/data/SampleData/Hl7v2/OUL-R23-01.hl7 new file mode 100644 index 000000000..2eb67910b --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R23-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R23^OUL_R23|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||80|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|27|CWE|8867-4^heartrate^LN||60~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R23-02.hl7 b/data/SampleData/Hl7v2/OUL-R23-02.hl7 new file mode 100644 index 000000000..07aaadb3e --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R23-02.hl7 @@ -0,0 +1,26 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R23^OUL_R23|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|27|CWE|8867-4^heartrate^LN||60~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||PAI-29||||||||||||||||||||RE|PU-50 +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +SPM|1|2018-PAT-123456-1&L|2018-PAT-123456&L~2018-PAT&L|SKBP^Biopsy, Skin^HL70487|||||||P^Pant specimen^HL70369 +OBX|17|CE|8867-4^heartrate^LN||60|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||20000802|Organization-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2018-PAT-123456^L|2018-PAT-123456-1-2-5|2018-PAT-123456-1-A^L +INV|SI12345^Substance_ID1^HL704512|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBR||5ca95f519414bbcb4be9ca88e9846^L|40bcbe9f8cda8b07403263b92cb4|SCAN^can Slide^3DHISTECH|||||||||||||||||||||||||PAI-II-29||||||||||||||||||||RE +ORC|SC|||9f2339de714c6698063e3ddf5d0167&L^47371996286d400199036ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|CN||200011101818+0215|Smith|200011030000+0215||200011031346+0215|Rock|Watson||018841|1307507^test|||54402-DEX|AU|R|UN|||||radiology report|string ofCharacters +NTE|1||Antibodies detected||Mily^Antony^AARON^A^^^MD|202010101600+0215| +OBX|1|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT diff --git a/data/SampleData/Hl7v2/OUL-R24-01.hl7 b/data/SampleData/Hl7v2/OUL-R24-01.hl7 new file mode 100644 index 000000000..db0db137b --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R24-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R24^OUL_R24|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM|||PAI-8.1^FAI-8.2|||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID||||||||||PU_31 +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|7|CWE|8867-4^heartrate^LN||80~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||||25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R24-02.hl7 b/data/SampleData/Hl7v2/OUL-R24-02.hl7 new file mode 100644 index 000000000..f5f12d09b --- /dev/null +++ b/data/SampleData/Hl7v2/OUL-R24-02.hl7 @@ -0,0 +1,22 @@ +MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R24^OUL_R24|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||PAI-29||||||||||||||||||||RE|PU-50 +ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID|||||||||| +OBX||ED|||App5^NS^Octet-stream^Base64| +TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters +NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|7|CWE|8867-4^heartrate^LN||80~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||||25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| +OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBR||5ca95971d414bbcb4be9ca88e9846^L|4be96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||PAI-II-29||||||||||||||||||||RE| +ORC|NM|||9adf9de714c6698063e3ddf5d0167&L^471996286d40019903e76ba57e49e8&L|HD||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID|||||||||| +TQ1|1|12^&lbs|QOD&every other day&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Follow the text instructions||2^hr|5 +OBX|1|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT diff --git a/data/SampleData/Hl7v2/RDE-O11-01.hl7 b/data/SampleData/Hl7v2/RDE-O11-01.hl7 new file mode 100644 index 000000000..9796c755c --- /dev/null +++ b/data/SampleData/Hl7v2/RDE-O11-01.hl7 @@ -0,0 +1,19 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDE^O11^RDE_O11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^IV Infusion +RXC|A|0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|3|BG^Bag^L|5|mg/hr^mg/hr||4|mg/hr^mg/hr +RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +CDO|1|A|100^mg|^PL diff --git a/data/SampleData/Hl7v2/RDE-O11-02.hl7 b/data/SampleData/Hl7v2/RDE-O11-02.hl7 new file mode 100644 index 000000000..aa9f47136 --- /dev/null +++ b/data/SampleData/Hl7v2/RDE-O11-02.hl7 @@ -0,0 +1,24 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDE^O11^RDE_O11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|||2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M||||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^IV Infusion +RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +ORC|NW|1422591^EPC|||||||20221104062726+0215|||||||||ACMS004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1552^Mr. Yardy||FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1|4^&caps|P&Post (after)&HL70335^^^^60^min^^PCM^120^s|11:30:05|3^Hr|17^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXO|01220200105^250 mg capsule^GPI^00047040230^Ampicillin 250 mg caps^NDC|5||caps^capsule|D-5^Dosage Form^L|^Remind the patient to schedule follow up appointment|^1 tablet by oral route 3 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^X|Maryland Heights^Keysville|||8765935243^^PH +RXR|IO^Intraocular|HAND^INHAND|IVP^IV PUSH TEST||| +RXE||2669^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|8||53^mg/hr|128^Dosage^L|Titrate to BP less than 180|||4|bg^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|2|2.5^&cap|P&Post (after)&HL70335^^^^160^min^^PCM^180^s|11:45:05|4.5^Hr|18^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IP^Intraperitoneal|TESTI^Testicle(Testis)|IVP^IV PUSH||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDE-O25-01.hl7 b/data/SampleData/Hl7v2/RDE-O25-01.hl7 new file mode 100644 index 000000000..303e14d12 --- /dev/null +++ b/data/SampleData/Hl7v2/RDE-O25-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDE^O25^RDE_O25|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^IV Infusion +RXC|A|0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|3|BG^Bag^L|5|mg/hr^mg/hr||4|mg/hr^mg/hr +RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +CDO|1|A|100^mg|^M + diff --git a/data/SampleData/Hl7v2/RDE-O25-02.hl7 b/data/SampleData/Hl7v2/RDE-O25-02.hl7 new file mode 100644 index 000000000..a4689b729 --- /dev/null +++ b/data/SampleData/Hl7v2/RDE-O25-02.hl7 @@ -0,0 +1,24 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDE^O25^RDE_O25|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M||||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^IV Infusion +RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +ORC|NW|1422591^EPC|||||||20221104062726+0215|||||||||ACMS004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1552^Mr. Yardy||FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1|4^&caps|P&Post (after)&HL70335^^^^60^min^^PCM^120^s|11:30:05|3^Hr|17^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXO|01220200105^250 mg capsule^GPI^00047040230^Ampicillin 250 mg caps^NDC|5||caps^capsule|D-5^Dosage Form^L|^Remind the patient to schedule follow up appointment|^1 tablet by oral route 3 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^X|Maryland Heights^Keysville|||8765935243^^PH +RXR|IO^Intraocular|HAND^INHAND|IVP^IV PUSH TEST||| +RXE||2669^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|8||53^mg/hr|128^Dosage^L|Titrate to BP less than 180|||4|bg^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|2|2.5^&cap|P&Post (after)&HL70335^^^^160^min^^PCM^180^s|11:45:05|4.5^Hr|18^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IP^Intraperitoneal|Test^HAND|IVP^IV PUSH||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDS-O13-01.hl7 b/data/SampleData/Hl7v2/RDS-O13-01.hl7 new file mode 100644 index 000000000..d027948a3 --- /dev/null +++ b/data/SampleData/Hl7v2/RDS-O13-01.hl7 @@ -0,0 +1,19 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDS^O13^RDS_O13|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||Its a condition text| +RXO|01151327^Doxycycline^NDC|1|2|385055001^Tablet^SCT||^Remind the patient to schedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||6|385055001^Tablet^SCT|1|OP-14^Jane^Warn||||150|mg^mg||||2^tab&tab|||||||||Health Care Dispense Pharmacy|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^Intravenous +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +RXE||01151327^Doxycycline^NDC|1||385055001^Tablet^SCT||^1 tablet by oral route 2 times daily.||G|6|385055001^Tablet^SCT|1|||PN12345|1|||19||||||||3355||||5737Y|||||||||||| +TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||| +RXR|PO^oral^HL70162 +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +RXD|1|01151327^Doxycycline^NDC|20201212|10|385055001^Tablet^SCT|385055001^Tablet^SCT|PN12345||After Food|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^201001151600+0215^202001151600+0215^GP||1^385055001&Tablet&SCT|||||||||||||418739006^Doxycycline 150 mg oral tablet^SCT|||||UNITY^Unity^L|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US||R^Refill - Full Fill^HL70484||RFID12345 +RXR|PO^oral^HL70162 +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +CDO|1|A|100^mg|^O diff --git a/data/SampleData/Hl7v2/RDS-O13-02.hl7 b/data/SampleData/Hl7v2/RDS-O13-02.hl7 new file mode 100644 index 000000000..77c7ad4b4 --- /dev/null +++ b/data/SampleData/Hl7v2/RDS-O13-02.hl7 @@ -0,0 +1,30 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|RDS^O13^RDS_O13|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||Its a condition text| +RXO|01151327^Doxycycline^NDC|1|2|385055001^Tablet^SCT||^Remind the patient to schedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||6|385055001^Tablet^SCT|1|OP-14^Jane^Warn||||150|mg^mg||||2^tab&tab|||||||||Health Care Dispense Pharmacy|Maryland Heights^Keysville|||8765935243^^PH +RXR|IV^Intravenous +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +RXE||01151327^Doxycycline^NDC|1||385055001^Tablet^SCT||^1 tablet by oral route 2 times daily.||G|6|385055001^Tablet^SCT|1|||PN12345|1|||||||||||3355||||5737Y|||||||||||| +TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||| +RXR|PO^oral^HL70162 +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +RXD|1|01151327^Doxycycline^NDC|20201212|10|385055001^Tablet^SCT|385055001^Tablet^SCT|PN12345||After Food|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^201001151600+0215^202001151600+0215^GP||1^385055001&Tablet&SCT|||||||||||||418739006^Doxycycline 150 mg oral tablet^SCT|||||UNITY^Unity^L|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US||R^Refill - Full Fill^HL70484||RFID12345 +RXR|PO^oral^HL70162 +RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y +ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +TQ1|1||P|||3^D&day&ISO|||R^Routine^HL70485||Its a condition text| +RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +RXR|IP^Intraperitoneal|TESTI^Testicle(Testis)|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|3|BG^Bag^L|5|mg/hr^mg/hr||4|mg/hr^mg/hr +RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 +RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +RXD|1|308191^amoxicillin 500 MG Oral Capsule^RXNORM|20201212|10|385049006^Capsule^SCT|385049006^Capsule^SCT|PN12345||After Food|9141339108^Anny&Mr.&Bell^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^201001151600+0215^202001151600+0215^GP||1^385049006&Capsule&SCT|||||||||||||323510009^Amoxicillin 500 mg oral capsule^SCT|||||UNITY^Unity^L|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US||R^Refill - Full Fill^HL70484||RFID12345 +RXR|ADB^Abdomen^HL70162 +RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE diff --git a/data/SampleData/Hl7v2/SIU-S12-01.hl7 b/data/SampleData/Hl7v2/SIU-S12-01.hl7 index 1d5e3717c..f4d7a3827 100644 --- a/data/SampleData/Hl7v2/SIU-S12-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S12-01.hl7 @@ -2,11 +2,11 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE|1||Appointment booked for emergency procedure -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|055^Room01^^GH Clinic^^^|||GENOPD^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| PV2|||116290004^Acute abdominal pain^SCT||||||||||||||||||||||^^^2^Urgent^HL70217|||||||||||||A OBX|1|NM|8867-4^Heart rate^LN||72|beats/min^^ISO|60-120||||F|||20210914||1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud| -DG1|1||64766004^Ulcerative colitis(disorder)^SCT|Ulcerative Colitis|20210825114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^DTUI^CLIP|A|^^UI^CLIP +DG1|1||64766004^Ulcerative colitis(disorder)^SCT|Ulcerative Colitis|20210825114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Booked|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Patient bowel preparation for the procedure| diff --git a/data/SampleData/Hl7v2/SIU-S12-02.hl7 b/data/SampleData/Hl7v2/SIU-S12-02.hl7 index d474ca680..bcdc2fc31 100644 --- a/data/SampleData/Hl7v2/SIU-S12-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S12-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Appointment for annual checkup -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Booked| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S13-01.hl7 b/data/SampleData/Hl7v2/SIU-S13-01.hl7 index 81692e3cb..fb2ee8381 100644 --- a/data/SampleData/Hl7v2/SIU-S13-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S13-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||The patient cannot make previous appointment scheduled on Sept 20.Apointment rescheduled on Sept 24. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Booked|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Patient bowel preparation for the procedure| diff --git a/data/SampleData/Hl7v2/SIU-S13-02.hl7 b/data/SampleData/Hl7v2/SIU-S13-02.hl7 index 98276f9d5..e39ef906c 100644 --- a/data/SampleData/Hl7v2/SIU-S13-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S13-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked TQ1|||||||202108201130+0215|202108201230+0215|A NTE|1||Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Booked| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S14-01.hl7 b/data/SampleData/Hl7v2/SIU-S14-01.hl7 index 413381df1..d893d66a3 100644 --- a/data/SampleData/Hl7v2/SIU-S14-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S14-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||Appointment modified by filler application for change of location from Room01 to Room02. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Booked|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Patient bowel preparation for the procedure| diff --git a/data/SampleData/Hl7v2/SIU-S14-02.hl7 b/data/SampleData/Hl7v2/SIU-S14-02.hl7 index 7d1d909b4..3b55748f0 100644 --- a/data/SampleData/Hl7v2/SIU-S14-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S14-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Booked TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102 -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Booked| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S15-01.hl7 b/data/SampleData/Hl7v2/SIU-S15-01.hl7 index 933350008..f192f6e9c 100644 --- a/data/SampleData/Hl7v2/SIU-S15-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S15-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Cancelled| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||Appointment cancelled. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Cancelled|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Appointment cancelled| diff --git a/data/SampleData/Hl7v2/SIU-S15-02.hl7 b/data/SampleData/Hl7v2/SIU-S15-02.hl7 index 0b6b3adca..07a54ca50 100644 --- a/data/SampleData/Hl7v2/SIU-S15-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S15-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Cancelled TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Appointment for annual checkup cancelled as GP is not available on Aug 18. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S16-01.hl7 b/data/SampleData/Hl7v2/SIU-S16-01.hl7 index 71b944a9d..fc33b835b 100644 --- a/data/SampleData/Hl7v2/SIU-S16-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S16-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Dc| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||Appointment discontinued due to equipment malfunction. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Dc|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Appointment discontinued due to equipment malfunction| diff --git a/data/SampleData/Hl7v2/SIU-S16-02.hl7 b/data/SampleData/Hl7v2/SIU-S16-02.hl7 index 57e82884b..5ac738611 100644 --- a/data/SampleData/Hl7v2/SIU-S16-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S16-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Dc TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Appointment for annual checkup discontinued due to power failure at the facility. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Dc| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S17-01.hl7 b/data/SampleData/Hl7v2/SIU-S17-01.hl7 index 4c842a3be..3fc282c88 100644 --- a/data/SampleData/Hl7v2/SIU-S17-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S17-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Deleted| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||Appointment deleted as it was booked for the wrong patient. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Deleted|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Appointment deleted| diff --git a/data/SampleData/Hl7v2/SIU-S17-02.hl7 b/data/SampleData/Hl7v2/SIU-S17-02.hl7 index fe2d45360..4d5975205 100644 --- a/data/SampleData/Hl7v2/SIU-S17-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S17-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Deleted TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Appointment for annual checkup deleted as it was assigned to wrong patient. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID566^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID566^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Deleted| NTE|1||Fasting for Blood sugar before appointment diff --git a/data/SampleData/Hl7v2/SIU-S26-01.hl7 b/data/SampleData/Hl7v2/SIU-S26-01.hl7 index 11dea2840..6fc7bb5db 100644 --- a/data/SampleData/Hl7v2/SIU-S26-01.hl7 +++ b/data/SampleData/Hl7v2/SIU-S26-01.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|EMERGENCY|Normal|60|s|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Noshow| TQ1|||||||20210924093000+0215|20210924102000+0215|A NTE||Patient did not show up for the appointment. -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|001| AIS|001|A|76164006^Biopsy of colon (procedure)^SCT^1212^Biopsy|20210924093000+0215|||50|min^Minutes^ISO||Noshow|5001^EVIS X12 Video Colonoscope^L|5001^EVIS X12 Video Colonoscope^L NTE|1||Nursing staff instructions - Patient did not show up for the appointment| diff --git a/data/SampleData/Hl7v2/SIU-S26-02.hl7 b/data/SampleData/Hl7v2/SIU-S26-02.hl7 index b007a6a00..8819ca7d4 100644 --- a/data/SampleData/Hl7v2/SIU-S26-02.hl7 +++ b/data/SampleData/Hl7v2/SIU-S26-02.hl7 @@ -2,7 +2,7 @@ MSH|^~\&|SCHApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFac SCH|12345|36996||||Add|CHECKUP|Normal|70|Min|2^^2 hours^202010011126+0215^202010091126+0215^R|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9941339109^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|(608)271-9000^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L|^^^FACILITY2^^^BUILDING2^FLOOR2^^^|9^DENT^COREY^|(610)271-9000^^PH|^^^FACILITY3&1.23&ISO^^^BUILDING2^FLOOR1^^^|||Noshow TQ1|||||||202108181130+0215|202108181230+0215|A NTE|1||Patient did not show up for the annual checkup -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet RGS|1|| AIS|1||58410-2^CBC Panel-Blood by Automated Count^LN|||||||Noshow| NTE|1||Lab Staff Instructions - Patient did not show up diff --git a/data/SampleData/Hl7v2/VXU-V04-01.hl7 b/data/SampleData/Hl7v2/VXU-V04-01.hl7 new file mode 100644 index 000000000..d5433ea31 --- /dev/null +++ b/data/SampleData/Hl7v2/VXU-V04-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|VXU^V04^VXU_V04|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-00fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +ORC|RE|4422^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|13696^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|||||||7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN||654^Thomas^Wilma^Elizabeth^^^^^NIST-PI-1^L^^^MD|||202108181126||NISTEHRFAC^NISTEHRFacility^HL70362| +TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 +RXA|0|1|20210818||49281021588^TENIVAC^NDC|0.5|mL^mL^UCUM||00^New Record^NIP001|7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN|^^^NIST-Clinic-1||||315841|20211216|PMC^Sanofi Pasteur^MVX|||CP|A||||||HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|0007&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway +RXR|C28161^Intramuscular^NCIT|RD^Right Deltoid^HL70163 +OBX|1|CE|30963-3^Vaccine Funding Source^LN|1|PHC70^Private^CDCPHINVS||||||F|||20210818 +OBX|2|CE|64994-7^Vaccine Funding Program Eligibility^LN|2|V01^Not VFC Eligible^HL70064||||||F|||20210818|||VXC40^per immunization^CDCPHINVS +OBX|3|CE|69764-9^Document Type^LN|3|253088698300028811170411^Tetanus/Diphtheria (Td) Vaccine VIS^cdcgs1vis||||||F|||20210818 +OBX|4|DT|29769-7^Date Vis Presented^LN|3|20210818||||||F|||20210818 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/VXU-V04-02.hl7 b/data/SampleData/Hl7v2/VXU-V04-02.hl7 new file mode 100644 index 000000000..9330ee770 --- /dev/null +++ b/data/SampleData/Hl7v2/VXU-V04-02.hl7 @@ -0,0 +1,25 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|VXU^V04^VXU_V04|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-00fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +ORC|RE|4422^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|13696^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|||||||7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN||654^Thomas^Wilma^Elizabeth^^^^^NIST-PI-1^L^^^MD|||||NISTEHRFAC^NISTEHRFacility^HL70362| +RXA|0|1|20210818||49281021588^TENIVAC^NDC|0.5|mL^mL^UCUM||00^New Record^NIP001|7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN|^^^NIST-Clinic-1||||315841|20211216|PMC^Sanofi Pasteur^MVX|||CP|A||||||HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|0007&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway +RXR|C28161^Intramuscular^NCIT|RD^Right Deltoid^HL70163 +OBX|1|CE|30963-3^Vaccine Funding Source^LN|1|PHC70^Private^CDCPHINVS||||||F|||20210818 +OBX|2|CE|64994-7^Vaccine Funding Program Eligibility^LN|2|V01^Not VFC Eligible^HL70064||||||F|||20210818|||VXC40^per immunization^CDCPHINVS +OBX|3|CE|69764-9^Document Type^LN|3|253088698300028811170411^Tetanus/Diphtheria (Td) Vaccine VIS^cdcgs1vis||||||F|||20210818 +OBX|4|DT|29769-7^Date Vis Presented^LN|3|20210818||||||F|||20210818 +ORC|RE||38760^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|||||||7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN|||||||NISTEHRFAC^NISTEHRFacility^HL70362 +RXA|0|1|20141012||88^influenza, unspecified formulation^CVX|999|||01^Historical Administration^NIP001|||||||||||CP|A +OBX|1|CE|64994-7^Vaccine Funding Program Eligibility^LN|1|V01^Not VFC Eligible^HL70064||||||F|||20210818|||VXC40^per immunization^CDCPHINVS +ORC|RE||35508^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|||||||7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN|||||||NISTEHRFAC^NISTEHRFacility^HL70362 +RXA|0|1|20131112||88^influenza, unspecified formulation^CVX|999|||01^Historical Administration^NIP001|||||||||||CP|A +OBX|1|CE|29769-7^Vaccine Funding Source^LN^30963-3|1|PHC70^Private^CDCPHINVS||||||F|||20210818 + diff --git a/data/Templates/Hl7v2/ADT_A01.liquid b/data/Templates/Hl7v2/ADT_A01.liquid index d93d25b87..8098d99be 100644 --- a/data/Templates/Hl7v2/ADT_A01.liquid +++ b/data/Templates/Hl7v2/ADT_A01.liquid @@ -1,4 +1,4 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} @@ -15,10 +15,8 @@ {% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} -{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} {% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} {% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} -{% assign pdaSegmentLists = hl7v2Data | get_segment_lists: 'PDA' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { @@ -43,14 +41,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -92,21 +82,29 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -119,11 +117,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -137,18 +134,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -192,7 +189,7 @@ {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} {% endif -%} - + {% if firstSegments.PV1 -%} {% if firstSegments.PV1.5 -%} {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} @@ -279,6 +276,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -302,15 +303,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A01' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A01' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -490,27 +504,7 @@ {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} {% endif -%} {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} - - {% endfor -%} - - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} + {% endfor -%} {% for in1Segment in in1SegmentLists.IN1 -%} @@ -621,8 +615,126 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} - + + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A02.liquid b/data/Templates/Hl7v2/ADT_A02.liquid index d09ffaf9e..a00f3095f 100644 --- a/data/Templates/Hl7v2/ADT_A02.liquid +++ b/data/Templates/Hl7v2/ADT_A02.liquid @@ -1,10 +1,9 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|ARV|MSH|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|ARV|MSH|EVN|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign uacSegmentLists = hl7v2Data | get_segment_lists: 'UAC' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} -{% assign pdaSegmentLists = hl7v2Data | get_segment_lists: 'PDA' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { @@ -73,11 +72,13 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} - {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} - {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} - + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, pda_seg: checkPDASeg, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -216,6 +217,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -239,15 +244,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A02' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A02' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A02', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A02', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -324,5 +342,53 @@ {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} {% endfor -%} + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A03.liquid b/data/Templates/Hl7v2/ADT_A03.liquid index 4a0f7ea5a..f4f6f25e0 100644 --- a/data/Templates/Hl7v2/ADT_A03.liquid +++ b/data/Templates/Hl7v2/ADT_A03.liquid @@ -1,4 +1,4 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} @@ -15,8 +15,6 @@ {% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} -{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} -{% assign pdaSegmentLists = hl7v2Data | get_segment_lists: 'PDA' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { @@ -84,9 +82,11 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} - + {% if firstSegments.PID.18 -%} {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} @@ -95,10 +95,16 @@ {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -111,11 +117,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -129,18 +134,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -271,6 +276,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -294,15 +303,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A03' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A03' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A03', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A03', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -479,24 +501,7 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} + {% for in1Segment in in1SegmentLists.IN1 -%} @@ -607,7 +612,126 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A04.liquid b/data/Templates/Hl7v2/ADT_A04.liquid index f4f623a49..97e58eeb3 100644 --- a/data/Templates/Hl7v2/ADT_A04.liquid +++ b/data/Templates/Hl7v2/ADT_A04.liquid @@ -1,4 +1,4 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|PDA|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} @@ -15,10 +15,8 @@ {% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} -{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} {% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} {% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} -{% assign pdaSegmentLists = hl7v2Data | get_segment_lists: 'PDA' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { @@ -85,22 +83,30 @@ {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} - + + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -113,11 +119,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -131,18 +136,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -273,6 +278,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -296,15 +305,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A04' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A04' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A04', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A04', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -480,25 +502,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -608,7 +611,126 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A05.liquid b/data/Templates/Hl7v2/ADT_A05.liquid index 01c1542a5..87835a156 100644 --- a/data/Templates/Hl7v2/ADT_A05.liquid +++ b/data/Templates/Hl7v2/ADT_A05.liquid @@ -1,4 +1,4 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} @@ -15,7 +15,6 @@ {% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} -{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} {% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} {% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -88,17 +87,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} - {% endif -%} + {% endif -%} + {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -111,11 +116,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -129,18 +133,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -271,6 +275,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -294,15 +302,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A05' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A05' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A05', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A05', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -477,25 +498,6 @@ {% endif -%} {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} - {% endfor -%} - - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} {% endfor -%} {% for in1Segment in in1SegmentLists.IN1 -%} @@ -607,7 +609,78 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A06.liquid b/data/Templates/Hl7v2/ADT_A06.liquid new file mode 100644 index 000000000..af564c319 --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A06.liquid @@ -0,0 +1,653 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|MRG|ACC' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} +{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign drgSegmentLists = hl7v2Data | get_segment_lists: 'DRG' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} +{% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} +{% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A06', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A06' -%} + {% endif -%} + + {% if firstSegments.MRG.3 -%} + {% evaluate accountIdMrg using 'ID/Account' CX: firstSegments.MRG.3, baseId: patientId -%} + {% assign fullAccountIdMrg = accountIdMrg | prepend: 'Account/' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A06', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Reference/Encounter/Account' ID: encounterId, REF: fullAccountIdMrg -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% endfor -%} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% include 'Reference/Observation/Subject' ID: observationId, REF: fullPatientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endfor -%} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A07.liquid b/data/Templates/Hl7v2/ADT_A07.liquid new file mode 100644 index 000000000..b66a728cb --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A07.liquid @@ -0,0 +1,654 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|MRG|ACC' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} +{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign drgSegmentLists = hl7v2Data | get_segment_lists: 'DRG' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} +{% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} +{% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A07', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A07' -%} + {% endif -%} + + {% if firstSegments.MRG.3 -%} + {% evaluate accountIdMrg using 'ID/Account' CX: firstSegments.MRG.3, baseId: patientId -%} + {% assign fullAccountIdMrg = accountIdMrg | prepend: 'Account/' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A07', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Reference/Encounter/Account' ID: encounterId, REF: fullAccountIdMrg -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% endfor -%} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + {% for obxSegment in obxSegmentLists.OBX -%} + + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% include 'Reference/Observation/Subject' ID: observationId, REF: fullPatientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endfor -%} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A08.liquid b/data/Templates/Hl7v2/ADT_A08.liquid index ec606d1be..c06a72a70 100644 --- a/data/Templates/Hl7v2/ADT_A08.liquid +++ b/data/Templates/Hl7v2/ADT_A08.liquid @@ -1,4 +1,4 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|PDA|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} @@ -15,10 +15,8 @@ {% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} -{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} {% assign ub1SegmentLists = hl7v2Data | get_segment_lists: 'UB1' -%} -{% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} -{% assign pdaSegmentLists = hl7v2Data | get_segment_lists: 'PDA' -%} +{% assign ub2SegmentLists = hl7v2Data | get_segment_lists: 'UB2' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { "resourceType": "Bundle", @@ -85,20 +83,29 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} - + {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -111,11 +118,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -129,18 +135,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -271,6 +277,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -294,15 +304,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2,, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A08', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A08', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -480,25 +503,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -608,7 +612,127 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A09.liquid b/data/Templates/Hl7v2/ADT_A09.liquid new file mode 100644 index 000000000..7b17c46d2 --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A09.liquid @@ -0,0 +1,314 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A09', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A09' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A09', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endfor -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A10.liquid b/data/Templates/Hl7v2/ADT_A10.liquid new file mode 100644 index 000000000..f5d5ae18b --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A10.liquid @@ -0,0 +1,314 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A10', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A10' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A10', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endfor -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A11.liquid b/data/Templates/Hl7v2/ADT_A11.liquid index efaf3ee68..5e45609a9 100644 --- a/data/Templates/Hl7v2/ADT_A11.liquid +++ b/data/Templates/Hl7v2/ADT_A11.liquid @@ -23,14 +23,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A11', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A11', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -71,7 +64,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -209,6 +202,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -232,11 +229,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A11' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A11' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A11', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A11', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} diff --git a/data/Templates/Hl7v2/ADT_A13.liquid b/data/Templates/Hl7v2/ADT_A13.liquid index 3200fc91f..f85e3ecef 100644 --- a/data/Templates/Hl7v2/ADT_A13.liquid +++ b/data/Templates/Hl7v2/ADT_A13.liquid @@ -35,14 +35,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A13', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A13', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -79,21 +72,29 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign checkPDASeg = hl7v2Data | has_segments: 'PDA' -%} + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} - + {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -106,11 +107,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -124,18 +124,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -266,6 +266,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -289,15 +293,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A13' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A13' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A13', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A13', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -475,25 +492,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -603,7 +601,126 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.PDA %} + {% if firstSegments.PDA.2 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PDA.2-%} + {% endif -%} + {% if firstSegments.PDA.5 -%} + {% if firstSegments.PDA.5.9.1 != "" and firstSegments.PDA.5.9.1 != null and firstSegments.PDA.5.9.2 != "" and firstSegments.PDA.5.9.2 != null and firstSegments.PDA.5.9.3 != "" and firstSegments.PDA.5.9.3 != null -%} + {% evaluate Organization_ID_pda_5 using 'ID/Organization' HDORG: firstSegments.PDA.5.9 -%} + {% include 'Resource/Organization' PDA_5: firstSegments.PDA.5, ID: Organization_ID_pda_5 -%} + {% endif -%} + {% evaluate practitionerId_PDA_5 using 'ID/Practitioner' XCN: firstSegments.PDA.5 -%} + {% include 'Resource/Practitioner' PDA_5: firstSegments.PDA.5, ID: practitionerId_PDA_5 -%} + {% endif -%} + {% if firstSegments.PDA.8 -%} + {% if firstSegments.PDA.8.9.1 != "" and firstSegments.PDA.8.9.1 != null and firstSegments.PDA.8.9.2 != "" and firstSegments.PDA.8.9.2 != null and firstSegments.PDA.8.9.3 != "" and firstSegments.PDA.8.9.3 != null -%} + {% evaluate Organization_ID_pda_8 using 'ID/Organization' HDORG: firstSegments.PDA.8.9 -%} + {% include 'Resource/Organization' PDA_8: firstSegments.PDA.8, ID: Organization_ID_pda_8 -%} + {% endif -%} + {% evaluate practitionerId_PDA_8 using 'ID/Practitioner' XCN: firstSegments.PDA.8 -%} + {% include 'Resource/Practitioner' PDA_8: firstSegments.PDA.8, ID: practitionerId_PDA_8 -%} + {% endif -%} + {% if firstSegments.PDA.1 %} + {% for PDA_1 in firstSegments.PDA.1.Repeats %} + {% evaluate condition_PDA_1_ID using 'ID/Condition' PDA: PDA_1, baseId: patientId -%} + {% include 'Resource/Condition' PDA_1: PDA_1, Condition_Subject_ID: fullPatientId, ID: condition_PDA_1_ID -%} + {% endfor %} + {% endif %} + {% if firstSegments.PDA.4 and firstSegments.PDA.5.1 %} + {% evaluate procedure_1_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_death: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_1: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_1_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.7 and firstSegments.PDA.8.1 %} + {% evaluate procedure_2_PDA_ID using 'ID/Procedure' PID_3: firstSegments.PID.3.Repeats[0], PDA_autopsy: firstSegments.PDA, baseId: patientId -%} + {% include 'Resource/Procedure' PDA_proc_2: firstSegments.PDA, Procedure_Subject_ID: fullPatientId, ID: procedure_2_PDA_ID -%} + {% endif %} + {% if firstSegments.PDA.3 and firstSegments.PDA.4 and firstSegments.PDA.5.1 -%} + {% evaluate observation_PDA_3_ID using 'ID/Observation' PDA_death: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_3: firstSegments.PDA.3, Observation_Subject_ID: fullPatientId, ID: observation_PDA_3_ID -%} + {% endif %} + {% if firstSegments.PDA.6 and firstSegments.PDA.7 and firstSegments.PDA.8.1 -%} + {% evaluate observation_PDA_6_ID using 'ID/Observation' PDA_autopsy: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_6: firstSegments.PDA.6, Observation_Subject_ID: fullPatientId, ID: observation_PDA_6_ID -%} + {% endif %} + {% if firstSegments.PDA.9 -%} + {% evaluate observation_PDA_9_ID using 'ID/Observation' PDA_coroner: firstSegments.PDA -%} + {% include 'Resource/Observation' PDA_9: firstSegments.PDA.9, Observation_Subject_ID: fullPatientId, ID: observation_PDA_9_ID -%} + {% endif %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A14.liquid b/data/Templates/Hl7v2/ADT_A14.liquid index abb4f00ff..0886750b6 100644 --- a/data/Templates/Hl7v2/ADT_A14.liquid +++ b/data/Templates/Hl7v2/ADT_A14.liquid @@ -35,14 +35,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A14', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A14', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -83,17 +76,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -106,11 +105,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -124,18 +122,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -266,6 +264,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -289,15 +291,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A14' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A14' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A14', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A14', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -474,25 +489,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -602,8 +598,79 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A15.liquid b/data/Templates/Hl7v2/ADT_A15.liquid index 3cd61fbf8..9d783dcd8 100644 --- a/data/Templates/Hl7v2/ADT_A15.liquid +++ b/data/Templates/Hl7v2/ADT_A15.liquid @@ -25,14 +25,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A15', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A15', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -73,7 +66,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -212,6 +205,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -235,15 +232,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A15' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A15' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A15', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A15', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} diff --git a/data/Templates/Hl7v2/ADT_A16.liquid b/data/Templates/Hl7v2/ADT_A16.liquid index cf34823b3..99420d33a 100644 --- a/data/Templates/Hl7v2/ADT_A16.liquid +++ b/data/Templates/Hl7v2/ADT_A16.liquid @@ -35,14 +35,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A16', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A16', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -83,17 +76,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -106,11 +105,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -124,17 +122,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -265,6 +264,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -288,15 +291,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A16' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A16' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A16', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A16', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -473,25 +489,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -601,7 +598,78 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A25.liquid b/data/Templates/Hl7v2/ADT_A25.liquid index 5cbebb62d..1d6076f48 100644 --- a/data/Templates/Hl7v2/ADT_A25.liquid +++ b/data/Templates/Hl7v2/ADT_A25.liquid @@ -24,13 +24,6 @@ {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A25', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A25', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -71,7 +64,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -209,6 +202,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -232,11 +229,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A25' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A25' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A25', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A25', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} diff --git a/data/Templates/Hl7v2/ADT_A26.liquid b/data/Templates/Hl7v2/ADT_A26.liquid index e862d9216..b9ea774d1 100644 --- a/data/Templates/Hl7v2/ADT_A26.liquid +++ b/data/Templates/Hl7v2/ADT_A26.liquid @@ -23,14 +23,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A26', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A26', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -71,7 +64,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -209,6 +202,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -235,11 +232,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A26' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A26' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A26', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A26', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} diff --git a/data/Templates/Hl7v2/ADT_A27.liquid b/data/Templates/Hl7v2/ADT_A27.liquid index 284f537d2..41c09dced 100644 --- a/data/Templates/Hl7v2/ADT_A27.liquid +++ b/data/Templates/Hl7v2/ADT_A27.liquid @@ -23,14 +23,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A27', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A27', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -72,7 +65,7 @@ {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -210,6 +203,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -233,11 +230,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A27' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A27' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A27', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A27', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} diff --git a/data/Templates/Hl7v2/ADT_A28.liquid b/data/Templates/Hl7v2/ADT_A28.liquid index cf13199a4..5300828f4 100644 --- a/data/Templates/Hl7v2/ADT_A28.liquid +++ b/data/Templates/Hl7v2/ADT_A28.liquid @@ -35,14 +35,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A28', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A28', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -83,17 +76,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -106,11 +105,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -124,18 +122,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -266,6 +264,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -289,15 +291,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A28', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A28', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -474,25 +489,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -602,7 +598,78 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A29.liquid b/data/Templates/Hl7v2/ADT_A29.liquid index 3dfc73bcd..f63dabc12 100644 --- a/data/Templates/Hl7v2/ADT_A29.liquid +++ b/data/Templates/Hl7v2/ADT_A29.liquid @@ -23,14 +23,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId, Root_Template: 'ADT_A29' -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A29', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId, Root_Template_1: 'ADT_A29' -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A29', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -71,7 +64,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId, Root_Template: 'ADT_A29' -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -209,6 +202,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6, Root_Template: 'ADT_A29' -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11, Root_Template: 'ADT_A29'-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37, Root_Template: 'ADT_A29' -%} @@ -232,11 +229,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4, Root_Template: 'ADT_A29' -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A29' -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A29' -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A29', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A29', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} diff --git a/data/Templates/Hl7v2/ADT_A31.liquid b/data/Templates/Hl7v2/ADT_A31.liquid index 731d86135..c4b6238a6 100644 --- a/data/Templates/Hl7v2/ADT_A31.liquid +++ b/data/Templates/Hl7v2/ADT_A31.liquid @@ -35,14 +35,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A31', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A31', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -84,17 +76,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -107,11 +105,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -125,19 +122,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -268,6 +264,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -291,15 +291,28 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A31', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A31', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -476,25 +489,6 @@ {% endfor -%} - {% for rf1Segment in rf1SegmentLists.RF1 -%} - {% if rf1Segment.19 -%} - {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} - {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} - {% endif -%} - - {% if rf1Segment.20 -%} - {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} - {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} - {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} - {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} - {% endif -%} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} - {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId -%} - {% endfor -%} - {% for in1Segment in in1SegmentLists.IN1 -%} {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} @@ -604,8 +598,79 @@ {% endif -%} {% endif -%} {% endfor -%} - + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_in1_4 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% include 'Reference/ClaimResponse/Insurer' ID: claimResponse_ID_AUT_6, REF: full_Organization_ID_in1_4 -%} + {% endif %} + {% endfor %} + {% for rf1Segment in rf1SegmentLists.RF1 -%} + {% if rf1Segment.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: rf1Segment.19 -%} + {% include 'Resource/Organization' RF1: rf1Segment.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if rf1Segment.20 -%} + {% if rf1Segment.20.9.1 != "" and rf1Segment.20.9.1 != null and rf1Segment.20.9.2 != "" and rf1Segment.20.9.2 != null and rf1Segment.20.9.3 != "" and rf1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: rf1Segment.20.9 -%} + {% include 'Resource/Organization', RF1_20: rf1Segment.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: rf1Segment.20 -%} + {% include 'Resource/Practitioner' RF1: rf1Segment.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' RF1: rf1Segment, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/ServiceRequest' RF1: rf1Segment, ID: serviceRequestId, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "ADT", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endfor -%} {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A40.liquid b/data/Templates/Hl7v2/ADT_A40.liquid new file mode 100644 index 000000000..ecf25361a --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A40.liquid @@ -0,0 +1,106 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|EVN' -%} +{% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign mrgSegmentLists = hl7v2Data | get_segment_lists: 'MRG' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + {% evaluate patientId using 'ID/Patient' PID: pidSegmentLists.PID[0], type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A40', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% evaluate linkageId using 'ID/Linkage' MRG: mrgSegmentLists.MRG[0] -%} + + {% for pidSegment in pidSegmentLists.PID -%} + + {% assign mrgSegmentLists1 = hl7v2Data | get_related_segment_list: pidSegment, 'MRG' -%} + {% assign mrgSegment = mrgSegmentLists1.MRG[0] %} + + {% include 'Resource/Linkage' PID: pidSegment, MRG: mrgSegment, ID: linkageId -%} + + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% for mrg in mrgSegment.1.Repeats -%} + {% if mrg.4.1 != "" and mrg.4.1 != null and mrg.4.2 != "" and mrg.4.2 != null and mrg.4.3 != "" and mrg.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: mrg.4 -%} + {% include 'Resource/Organization', PID: mrg, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% endfor %} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A41.liquid b/data/Templates/Hl7v2/ADT_A41.liquid new file mode 100644 index 000000000..17d4215bb --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A41.liquid @@ -0,0 +1,107 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|EVN' -%} +{% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign mrgSegmentLists = hl7v2Data | get_segment_lists: 'MRG' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + {% evaluate patientId using 'ID/Patient' PID: pidSegmentLists.PID[0], type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A41', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% evaluate linkageId using 'ID/Linkage' MRG: mrgSegmentLists.MRG[0] -%} + + {% for pidSegment in pidSegmentLists.PID -%} + + {% assign mrgSegmentLists1 = hl7v2Data | get_related_segment_list: pidSegment, 'MRG' -%} + {% assign mrgSegment = mrgSegmentLists1.MRG[0] %} + + {% include 'Resource/Linkage' PID_A41: pidSegment, MRG_A41: mrgSegment, ID: linkageId -%} + + {% if pidSegment.18 -%} + {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pidSegment.18.4 -%} + {% include 'Resource/Organization', PID: pidSegment.18, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endif -%} + + {% if mrgSegment.3 -%} + {% if mrgSegment.3.4.1 != "" and mrgSegment.3.4.1 != null and mrgSegment.3.4.2 != "" and mrgSegment.3.4.2 != null and mrgSegment.3.4.3 != "" and mrgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: mrgSegment.3.4 -%} + {% include 'Resource/Organization', PID: mrgSegment.3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endif -%} + + {% endfor %} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A47.liquid b/data/Templates/Hl7v2/ADT_A47.liquid index 7ed5333f6..2edc05a73 100644 --- a/data/Templates/Hl7v2/ADT_A47.liquid +++ b/data/Templates/Hl7v2/ADT_A47.liquid @@ -22,14 +22,7 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A47', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A47', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} + {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -70,7 +63,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -123,6 +116,13 @@ {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} diff --git a/data/Templates/Hl7v2/ADT_A60.liquid b/data/Templates/Hl7v2/ADT_A60.liquid index 0943f03d4..d43d6dd55 100644 --- a/data/Templates/Hl7v2/ADT_A60.liquid +++ b/data/Templates/Hl7v2/ADT_A60.liquid @@ -26,14 +26,6 @@ {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ADT_A60', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A60', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} - {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} @@ -74,7 +66,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -198,6 +190,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -221,11 +217,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ADT_A60', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A60', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} @@ -247,6 +243,19 @@ {% endif -%} {% endif -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' IAM: firstSegments.IAM, baseId: patientId -%} {% include 'Resource/AllergyIntolerance' IAR: iarSegmentLists.IAR[0] , IAM: firstSegments.IAM, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, PatientBase: patientId -%} {% if firstSegments.IAM.23 -%} diff --git a/data/Templates/Hl7v2/CodeSystem/CodeSystem.json b/data/Templates/Hl7v2/CodeSystem/CodeSystem.json index 0ea369d43..5dd28bd40 100644 --- a/data/Templates/Hl7v2/CodeSystem/CodeSystem.json +++ b/data/Templates/Hl7v2/CodeSystem/CodeSystem.json @@ -105,7 +105,7 @@ }, "GUID": { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" }, "UUID": { @@ -478,1887 +478,2685 @@ "system" : "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } }, - "CodeSystem/AccessRestrictionValue": { - "JurisCUI": { + "CodeSystem/AccessRestrictionValue": { + "LOC": { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DEM": { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SMD": { + "code": "R", + "display": "restricted", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "DRG": { + "code": "DRGIS", + "display": "drug information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HIV": { + "code": "HIV", + "display": "HIV/AIDS information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "NO": { + "code": "U", + "display": "unrestricted", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "STD": { + "code": "STD", + "display": "sexually transmitted disease information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "OO": { + "code": "OPTR", + "display": "Opt out all registries(HIPAA)", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-AccessRestrictionValue" + }, + "ALL": { + "code": "R", + "display": "restricted", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "PID-7": { + "code": "DOB", + "display": "date of birth information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "PID-17": { + "code": "REL", + "display": "religion information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "PSY": { + "code": "PSY", + "display": "psychiatry disorder information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + }, + "CodeSystem/EncounterPriority": { + "1": { + "code": "EM", + "display": "emergency", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" + }, + "3": { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" + }, + "2": { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" + } + }, + "CodeSystem/PriceType_AdjudicationCategory": { + "AP": { + "code": "AP", + "display": "administrative price or handling fee", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "DC": { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "IC": { + "code": "IC", + "display": "indirect unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "PF": { + "code": "PF", + "display": "professional fee for performing provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "TF": { + "code": "TF", + "display": "technology fee for use of equipment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "TP": { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + }, + "UP": { + "code": "UR", + "display": "unit price, may be based on length of procedure or service", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + }, + "CodeSystem/PV1_ClaimResponseType": { + "I": { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + }, + "O": { + "code": "professional", + "display": "Professional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + }, + "CodeSystem/AccessRestrictionReason": { + "PAT": { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "PHY": { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "REG": { + "code": "CPLYJPP", + "display": "comply with jurisdictional privacy policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "ORG": { + "code": "CPLY0SP", + "display": "comply with organisation security policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "EMP": { + "code": "EMP", + "display": "employee information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DIA": { + "code": "DIA", + "display": "diagnosis information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "VIP": { + "code": "CEL", + "display": "celebrity information sennsitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + }, + "CodeSystem/AddressType": { + "C": { "code": "", "display": "", "system": "" }, - "LOC": { + "B": { "code": "", "display": "", "system": "" }, - "HIPAAROACD": { + "BA": { "code": "", "display": "", "system": "" }, - "OPTIN": { + "F": { "code": "", "display": "", "system": "" }, - "PersNSI": { + "BDL": { "code": "", "display": "", "system": "" }, - "42CFRPart2CD": { + "V": { "code": "", "display": "", "system": "" }, - "42CFRPart2": { + "M": { + "code": "postal", + "display": "Postal", + "system": "http://hl7.org/fhir/address-type" + }, + "BI": { "code": "", "display": "", "system": "" }, - "PersPI": { + "O": { "code": "", "display": "", "system": "" }, - "GDPRPUBLICHEALTH": { + "N": { "code": "", "display": "", "system": "" }, - "GDPRLEGALOBL": { + "P": { "code": "", "display": "", "system": "" }, - "DEM": { + "S": { "code": "", "display": "", "system": "" }, - "HIPAAConsentCD": { + "SH": { + "code": "postal", + "display": "Postal", + "system": "http://hl7.org/fhir/address-type" + }, + "BR": { "code": "", "display": "", "system": "" }, - "SMD": { + "H": { "code": "", "display": "", "system": "" }, - "OrgLDS": { + "RH": { "code": "", "display": "", "system": "" }, - "DRG": { + "TM": { "code": "", "display": "", "system": "" }, - "OrgIP": { + "L": { "code": "", "display": "", "system": "" + } + }, + "CodeSystem/AddressUse": { + "H": { + "code": "home", + "display": "Home", + "system": "http://hl7.org/fhir/address-use" }, - "OPTOUTE": { + "BI": { + "code": "billing", + "display": "Billing", + "system": "http://hl7.org/fhir/address-use" + }, + "BA": { + "code": "old", + "display": "Old / Incorrect", + "system": "http://hl7.org/fhir/address-use" + }, + "C": { + "code": "temp", + "display": "Temporary", + "system": "http://hl7.org/fhir/address-use" + }, + "B": { + "code": "work", + "display": "Work", + "system": "http://hl7.org/fhir/address-use" + }, + "O": { + "code": "work", + "display": "Work", + "system": "http://hl7.org/fhir/address-use" + }, + "__default__": { "code": "", "display": "", "system": "" + } + }, + "CodeSystem/OrderType": { + "I": { + "code": "HOSP", + "display": "Hospital", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" }, - "JurisUUI": { + "O": { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + }, + "CodeSystem/ValueType": { + "EIP": { "code": "", "display": "", "system": "" }, - "JurisPI": { + "DIN": { "code": "", "display": "", "system": "" }, - "HIV": { + "SNM": { "code": "", "display": "", "system": "" }, - "NO": { - "code": "", + "FT": { + "code": "valueString", "display": "", "system": "" }, - "GDPRCONSENT": { + "DTN": { "code": "", "display": "", "system": "" }, - "OrgDEID": { - "code": "", + "DTM": { + "code": "valueDateTime", "display": "", "system": "" }, - "GDPRVITALINTEREST": { + "RFR": { "code": "", "display": "", "system": "" }, - "HIPAAConsent": { + "JCC": { "code": "", "display": "", "system": "" }, - "IMPLIEDD": { + "CCP": { "code": "", "display": "", "system": "" }, - "JurisNSI": { + "VH": { "code": "", "display": "", "system": "" }, - "HIPAAAuth": { + "CNN": { "code": "", "display": "", "system": "" }, - "OrgPI": { + "FC": { "code": "", "display": "", "system": "" }, - "JurisIP": { + "ERL": { "code": "", "display": "", "system": "" }, - "HIPAAResearchAuthCD": { + "CCD": { "code": "", "display": "", "system": "" }, - "OrgCUI": { - "code": "", + "DT": { + "code": "valueDateTime", "display": "", "system": "" }, - "GDPRCONTRACT": { - "code": "", + "ST": { + "code": "valueString", "display": "", "system": "" }, - "COMMONRULE": { - "code": "", + "DR": { + "code": "valuePeriod", "display": "", "system": "" }, - "STD": { + "LA1": { "code": "", "display": "", "system": "" }, - "JurisDEID": { + "HD": { "code": "", "display": "", "system": "" }, - "HIPAAPsyNotes": { + "XPN": { "code": "", "display": "", "system": "" }, - "GRANTORCHOICE": { + "RP": { "code": "", "display": "", "system": "" }, - "GDPRRESEARCH": { - "code": "", + "NM": { + "code": "valueInteger or valueQuantity", "display": "", "system": "" }, - "EMRGONLY": { + "PT": { "code": "", "display": "", "system": "" }, - "PersIP": { + "NA": { "code": "", "display": "", "system": "" }, - "HIPAANOPP": { + "RCD": { "code": "", "display": "", "system": "" }, - "GDPRResearchCD": { + "PPN": { "code": "", "display": "", "system": "" }, - "Title38Section7332": { + "PTA": { "code": "", "display": "", "system": "" }, - "GDPRPUBLICINTEREST": { + "RMC": { "code": "", "display": "", "system": "" }, - "IMPLIED": { - "code": "", + "TM": { + "code": "valueTime", "display": "", "system": "" }, - "GDPRCD": { + "LA2": { "code": "", "display": "", "system": "" }, - "GDPRHLTHSOCSY": { - "code": "", + "TX": { + "code": "valueString", "display": "", "system": "" }, - "OrgNSI": { + "PIP": { "code": "", "display": "", "system": "" }, - "GDPRLEGALCLAIM": { - "code": "", + "NR": { + "code": "valueRange", "display": "", "system": "" }, - "JurisLDS": { + "SCV": { "code": "", "display": "", "system": "" }, - "HIPAAAuthCD": { + "SPD": { "code": "", "display": "", "system": "" }, - "OPTINR": { + "QIP": { "code": "", "display": "", "system": "" }, - "HIPAAROA": { + "PL": { "code": "", "display": "", "system": "" }, - "OO": { + "XAD": { "code": "", "display": "", "system": "" }, - "ALL": { + "QSC": { "code": "", "display": "", "system": "" }, - "OrgUUI": { + "EI": { "code": "", "display": "", "system": "" }, - "NOCONSENT": { + "NDL": { "code": "", "display": "", "system": "" }, - "OI": { + "ICD": { "code": "", "display": "", "system": "" }, - "PersDEID": { + "DLD": { "code": "", "display": "", "system": "" }, - "OPTOUT": { + "AUI": { "code": "", "display": "", "system": "" }, - "PersLDS": { + "ED": { "code": "", "display": "", "system": "" }, - "NOPP": { - "code": "", + "IS": { + "code": "valueCodeableConcept", "display": "", "system": "" }, - "OIC": { - "code": "", + "CF": { + "code": "valueCodeableConcept", "display": "", "system": "" }, - "CompoundResearchCD": { + "DLN": { "code": "", "display": "", "system": "" }, - "PSY": { + "DDI": { "code": "", "display": "", "system": "" }, - "GDPRLEGITINTEREST": { + "CX": { "code": "", "display": "", "system": "" }, - "OOS": { + "SRT": { "code": "", "display": "", "system": "" }, - "OOC": { + "DLT": { "code": "", "display": "", "system": "" }, - "OIS": { + "CSU": { "code": "", "display": "", "system": "" }, - "HIPAASelfPay": { + "XTN": { "code": "", "display": "", "system": "" - } - }, - "CodeSystem/EncounterPriority": { - "1": { - "code": "EM", - "display": "emergency", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" - }, - "3": { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" }, - "2": { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" - } - }, - "CodeSystem/AddressType": { - "C": { + "GTS": { "code": "", "display": "", "system": "" }, - "B": { + "CP": { "code": "", "display": "", "system": "" }, - "BA": { - "code": "", + "CWE": { + "code": "valueCodeableConcept", "display": "", "system": "" }, - "F": { + "RPT": { "code": "", "display": "", "system": "" }, - "BDL": { + "OCD": { "code": "", "display": "", "system": "" }, - "V": { + "WVS": { "code": "", "display": "", "system": "" }, - "M": { - "code": "postal", - "display": "Postal", - "system": "http://hl7.org/fhir/address-type" - }, - "BI": { + "UVC": { "code": "", "display": "", "system": "" }, - "O": { + "MA": { "code": "", "display": "", "system": "" }, - "N": { + "PRL": { "code": "", "display": "", "system": "" }, - "P": { + "VID": { "code": "", "display": "", "system": "" }, - "S": { + "MO": { "code": "", "display": "", "system": "" }, - "SH": { - "code": "postal", - "display": "Postal", - "system": "http://hl7.org/fhir/address-type" - }, - "BR": { + "MOP": { "code": "", "display": "", "system": "" }, - "H": { + "XCN": { "code": "", "display": "", "system": "" }, - "RH": { - "code": "", + "VR": { + "code": "valueRange", "display": "", "system": "" }, - "TM": { + "RI": { "code": "", "display": "", "system": "" }, - "L": { + "CD": { "code": "", "display": "", "system": "" - } - }, - "CodeSystem/AddressUse": { - "H": { - "code": "home", - "display": "Home", - "system": "http://hl7.org/fhir/address-use" }, - "BI": { - "code": "billing", - "display": "Billing", - "system": "http://hl7.org/fhir/address-use" - }, - "BA": { - "code": "old", - "display": "Old / Incorrect", - "system": "http://hl7.org/fhir/address-use" - }, - "C": { - "code": "temp", - "display": "Temporary", - "system": "http://hl7.org/fhir/address-use" - }, - "B": { - "code": "work", - "display": "Work", - "system": "http://hl7.org/fhir/address-use" - }, - "O": { - "code": "work", - "display": "Work", - "system": "http://hl7.org/fhir/address-use" - }, - "__default__": { - "code": "", + "CNE": { + "code": "valueCodeableConcept", "display": "", "system": "" - } - }, - "CodeSystem/OrderType": { - "I": { - "code": "HOSP", - "display": "Hospital", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" }, - "O": { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - }, - "CodeSystem/ValueType": { - "EIP": { + "WVI": { "code": "", "display": "", "system": "" }, - "DIN": { - "code": "", + "SN": { + "code": "valueInteger, valueRange or valueRatio", "display": "", "system": "" }, - "SNM": { + "OSP": { "code": "", "display": "", "system": "" }, - "FT": { - "code": "valueString", - "display": "", - "system": "" - }, - "DTN": { + "MOC": { "code": "", "display": "", "system": "" }, - "DTM": { - "code": "valueDateTime", - "display": "", - "system": "" - }, - "RFR": { + "PLN": { "code": "", "display": "", "system": "" }, - "JCC": { + "XON": { "code": "", "display": "", "system": "" }, - "CCP": { + "MSG": { "code": "", "display": "", "system": "" + } + }, + "CodeSystem/CollectionMethodModifier": { + "R": { + "code": "COOL", + "display": "Cool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" }, - "VH": { - "code": "", - "display": "", + "F": { + "code": "FROZ", + "display": "Frozen", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + }, + "CodeSystem/Operation": { + "A": { + "code": "POST", + "display": "Create", "system": "" }, - "CNN": { + "X": { "code": "", "display": "", "system": "" }, - "FC": { - "code": "", + "U": { + "code": "PATCH", "display": "", "system": "" }, - "ERL": { - "code": "", - "display": "", + "D": { + "code": "DELETE", + "display": "Delete", "system": "" + } + }, + "CodeSystem/PractitionerRole_Participation": { + "AD": { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "AI": { + "code": "AI", + "display": "Assistant/Alternate Interpreter", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "AP": { + "code": "AP", + "display": "Administering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "ARI": { + "code": "ARI", + "display": "Assistant Result Interpreter", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "AT": { + "code": "AT", + "display": "Attending Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "AUT": { + "code": "AUT", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "CP": { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "DP": { + "code": "DP", + "display": "Dispensing Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "EP": { + "code": "EP", + "display": "Entering Provider (probably not the same as transcriptionist)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "EQUIP": { + "code": "EQUIP", + "display": "Equipment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "FHCP": { + "code": "FHCP", + "display": "Family Health Care Professional", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "MDIR": { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "OP": { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PB": { + "code": "PB", + "display": "Packed by", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PH": { + "code": "PH", + "display": "Pharmacist (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PI": { + "code": "PI", + "display": "Primary Interpreter", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PO": { + "code": "PO", + "display": "Performing Organization", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "POMD": { + "code": "POMD", + "display": "Performing Organization Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PP": { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "PRI": { + "code": "PRI", + "display": "Principal Result Interpreter", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "RCT": { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "RO": { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "RP": { + "code": "RP", + "display": "Referring Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "RT": { + "code": "RT", + "display": "Referred to Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "SB": { + "code": "SB", + "display": "Send by", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "SC": { + "code": "SC", + "display": "Specimen Collector", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "TN": { + "code": "TN", + "display": "Technician", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "TR": { + "code": "TR", + "display": "Transcriptionist", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "VP": { + "code": "VP", + "display": "Verifying Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "VPS": { + "code": "VPS", + "display": "Verifying Pharmaceutical Supplier (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "VTS": { + "code": "VTS", + "display": "Verifying Treatment Supplier (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "WAY": { + "code": "WAY", + "display": "Waypoint", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + }, + "WAYR": { + "code": "WAYR", + "display": "Waypoint Recipient", + "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + } + }, + "CodeSystem/ReadmissionIndicator": { + "R": { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + }, + "CodeSystem/CodeSystemUrl": { + "I9C": { + "system": "http://hl7.org/fhir/sid/icd-9-cm" }, - "CCD": { - "code": "", - "display": "", - "system": "" + "LN": { + "system": "http://loinc.org" }, - "DT": { - "code": "valueDateTime", - "display": "", - "system": "" + "SNM": { + "system": "http://terminology.hl7.org/CodeSystem/snm" }, - "ST": { - "code": "valueString", - "display": "", - "system": "" + "I10": { + "system": "http://hl7.org/fhir/sid/icd-10" + }, + "ALPHAID2006": { + "system": "urn:oid:1.2.276.0.76.5.309" }, - "DR": { - "code": "valuePeriod", - "display": "", - "system": "" + "ALPHAID2007": { + "system": "urn:oid:1.2.276.0.76.5.316" }, - "LA1": { - "code": "", - "display": "", - "system": "" + "ALPHAID2008": { + "system": "urn:oid:1.2.276.0.76.5.329" }, - "HD": { - "code": "", - "display": "", - "system": "" + "ALPHAID2009": { + "system": "urn:oid:1.2.276.0.76.5.355" }, - "XPN": { - "code": "", - "display": "", - "system": "" + "ALPHAID20010": { + "system": "urn:oid:1.2.276.0.76.5.383" }, - "RP": { - "code": "", - "display": "", - "system": "" + "ALPHAID20011": { + "system": "urn:oid:1.2.276.0.76.5.387" }, - "NM": { - "code": "valueInteger or valueQuantity", - "display": "", - "system": "" + "C4": { + "system": "http://www.ama-assn.org/go/cpt" }, - "PT": { - "code": "", - "display": "", - "system": "" + "I9": { + "system": "http://hl7.org/fhir/sid/icd-9" + }, + "ICD10CA": { + "system": "http://hl7.org/fhir/sid/icd-10-ca" }, - "NA": { - "code": "", - "display": "", - "system": "" + "ICD10GM2007": { + "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" }, - "RCD": { - "code": "", - "display": "", - "system": "" + "ICD10GM2008": { + "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" }, - "PPN": { - "code": "", - "display": "", - "system": "" + "ICD10GM2009": { + "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" }, - "PTA": { - "code": "", - "display": "", - "system": "" + "ICD10GM2010": { + "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" }, - "RMC": { - "code": "", - "display": "", - "system": "" + "ICD10GM2011": { + "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" }, - "TM": { - "code": "valueTime", - "display": "", - "system": "" + "ICDO": { + "system": "http://terminology.hl7.org/CodeSystem/icd-o" }, - "LA2": { - "code": "", - "display": "", - "system": "" + "ICDO3": { + "system": "http://terminology.hl7.org/CodeSystem/icd-o-3" }, - "TX": { - "code": "valueString", - "display": "", - "system": "" + "ICCS": { + "system": "http://terminology.hl7.org/CodeSystem/ics" }, - "PIP": { - "code": "", - "display": "", - "system": "" + "ISO": { + "system": "urn:iso:std:iso:3986" }, - "NR": { - "code": "valueRange", - "display": "", - "system": "" + "ISO3166_1": { + "system": "urn:iso:std:iso:3166" }, - "SCV": { - "code": "", - "display": "", - "system": "" + "ISO3166_2": { + "system": "urn:iso:std:iso:3166:-2" }, - "SPD": { - "code": "", - "display": "", - "system": "" + "ISO4217": { + "system": "http://terminology.hl7.org/CodeSystem/iso4217" }, - "QIP": { - "code": "", - "display": "", - "system": "" + "MDC": { + "system": "urn:iso:std:iso:11073:10101" }, - "PL": { - "code": "", - "display": "", - "system": "" + "NAICS": { + "system": "http://terminology.hl7.org/CodeSystem/naics" }, - "XAD": { - "code": "", - "display": "", - "system": "" + "NDC": { + "system": "http://hl7.org/fhir/sid/ndc" }, - "QSC": { - "code": "", - "display": "", - "system": "" + "NDFRT": { + "system": "http://hl7.org/fhir/ndfrt" }, - "EI": { - "code": "", - "display": "", - "system": "" + "NPI": { + "system": "http://hl7.org/fhir/sid/us-npi" }, - "NDL": { - "code": "", - "display": "", - "system": "" + "NUBC": { + "system": "http://www.nubc.org/patient-discharge" }, - "ICD": { - "code": "", - "display": "", - "system": "" + "NULLFL": { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" }, - "DLD": { - "code": "", - "display": "", - "system": "" + "RXNORM": { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" }, - "AUI": { - "code": "", - "display": "", - "system": "" + "SCT": { + "system": "http://snomed.info/sct" }, - "ED": { - "code": "", - "display": "", - "system": "" + "SCT2": { + "system": "http://snomed.info/sct" }, - "IS": { - "code": "valueCodeableConcept", - "display": "", - "system": "" + "SDM": { + "system": "http://terminology.hl7.org/NamingSystem/SDM" + }, + "SNM3": { + "system": "http://snomed.info/sct" }, - "CF": { - "code": "valueCodeableConcept", - "display": "", - "system": "" + "SNT": { + "system": "http://terminology.hl7.org/CodeSystem/SNT" }, - "DLN": { - "code": "", - "display": "", - "system": "" + "UB04FL14": { + "system": "https://www.nubc.org/CodeSystem/PriorityTypeOfAdmitOrVisit" }, - "DDI": { - "code": "", + "UB04FL15": { + "system": "https://www.nubc.org/CodeSystem/PointOfOrigin" + }, + "UB04FL17": { + "system": "https://www.nubc.org/CodeSystem/PatDischargeStatus" + }, + "UCUM": { + "system": "http://unitsofmeasure.org" + }, + "UMD": { + "system": "http://terminology.hl7.org/CodeSystem/UMD" + }, + "UML": { + "system": "http://terminology.hl7.org/CodeSystem/UML" + } + + }, + "CodeSystem/SpecimenAvailability": { + "Y": { + "code": "available", + "display": "Available", + "system": "http://hl7.org/fhir/specimen-status" + }, + "N": { + "code": "unavailable", + "display": "Unavailable", + "system": "http://hl7.org/fhir/specimen-status" + } + }, + "CodeSystem/SpecimenCondition": { + "AUT": { + "code": "AUT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "CFU": { + "code": "CFU", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "LIVE": { + "code": "LIVE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "CLOT": { + "code": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "CON": { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "COOL": { + "code": "COOL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "FROZ": { + "code": "FROZ", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "HEM": { + "code": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "ROOM": { + "code": "ROOM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + "SNR": { + "code": "SNR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + }, + "CodeSystem/ContainerTreatmentProcessing": { + "ACID": { + "code": "ACID", + "display": "Acidification", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "ALK": { + "code": "ALK", + "display": "Alkalization", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "DEFB": { + "code": "DEFB", + "display": "Defibrination", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "FILT": { + "code": "FILT", + "display": "Filtration", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "LDLP": { + "code": "LDLP", + "display": "LDL Precipitation", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "NEUT": { + "code": "NEUT", + "display": "Neutralization", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "RECA": { + "code": "RECA", + "display": "Recalification", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + }, + "UFIL": { + "code": "UFIL", + "display": "Ultrafiltration", + "system": "http://terminology.hl7.org/CodeSystem/v2-0373" + } + }, + "CodeSystem/SecurityLabelHandlingInstructions": {}, + "CodeSystem/Yes_No": { + "Y": { + "code": "true", "display": "", "system": "" }, - "CX": { - "code": "", + "N": { + "code": "false", "display": "", "system": "" }, - "SRT": { - "code": "", - "display": "", - "system": "" - }, - "DLT": { - "code": "", - "display": "", - "system": "" - }, - "CSU": { - "code": "", - "display": "", + "__default__": { + "code": "false", + "display": "", "system": "" + } + }, + "CodeSystem/Language": { + "ara": { + "code" : "ar", + "display" : "Arabic", + "system" : "urn:ietf:bcp:47" + }, + "ben":{ + "code" : "bn", + "display" : "Bengali", + "system" : "urn:ietf:bcp:47" + }, + "cze": { + "code" : "cs", + "display" : "Czech", + "system" : "urn:ietf:bcp:47" + }, + "dan": { + "code" : "da", + "display" : "Danish", + "system" : "urn:ietf:bcp:47" + }, + "ger": { + "code" : "de", + "display" : "German", + "system" : "urn:ietf:bcp:47" + }, + "gre": { + "code" : "el", + "display" : "Greek", + "system" : "urn:ietf:bcp:47" + }, + "eng":{ + "code" : "en", + "display" : "English", + "system" : "urn:ietf:bcp:47" + }, + "spa":{ + "code" : "es", + "display" : "Spanish", + "system" : "urn:ietf:bcp:47" + }, + "fin":{ + "code" : "fi", + "display" : "Finnish", + "system" : "urn:ietf:bcp:47" + }, + "fre":{ + "code" : "fr", + "display" : "French", + "system" : "urn:ietf:bcp:47" + }, + "hin":{ + "code" : "hi", + "display" : "Hindi", + "system" : "urn:ietf:bcp:47" + }, + "hrv":{ + "code" : "hr", + "display" : "Croatian", + "system" : "urn:ietf:bcp:47" + }, + "ita":{ + "code" : "it", + "display" : "Italian", + "system" : "urn:ietf:bcp:47" + }, + "jpn":{ + "code" : "ja", + "display" : "Japanese", + "system" : "urn:ietf:bcp:47" + }, + "kor":{ + "code" : "ko", + "display" : "Korean", + "system" : "urn:ietf:bcp:47" + }, + "dut":{ + "code" : "nl", + "display" : "Dutch", + "system" : "urn:ietf:bcp:47" + }, + "nor":{ + "code" : "no", + "display" : "Norwegian", + "system" : "urn:ietf:bcp:47" + }, + "pan":{ + "code" : "pa", + "display" : "Punjabi", + "system" : "urn:ietf:bcp:47" + }, + "pol":{ + "code" : "pl", + "display" : "Polish", + "system" : "urn:ietf:bcp:47" + }, + "por":{ + "code" : "pt", + "display" : "Portuguese", + "system" : "urn:ietf:bcp:47" + }, + "rus":{ + "code" : "ru", + "display" : "Russian", + "system" : "urn:ietf:bcp:47" + }, + "srp":{ + "code" : "sr", + "display" : "Serbian", + "system" : "urn:ietf:bcp:47" + }, + "swe":{ + "code" : "sv", + "display" : "Swedish", + "system" : "urn:ietf:bcp:47" + }, + "tel":{ + "code" : "te", + "display" : "Telegu", + "system" : "urn:ietf:bcp:47" + }, + "chi":{ + "code" : "zh", + "display" : "Chinese", + "system" : "urn:ietf:bcp:47" + } + }, + "CodeSystem/OrderStatus": { + "RP": { + "code": "revoked", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "XTN": { - "code": "", - "display": "", - "system": "" + "CM": { + "code": "completed", + "display": "Completed", + "system": "http://hl7.org/fhir/request-status" }, - "GTS": { - "code": "", - "display": "", - "system": "" + "IP": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "CP": { - "code": "", - "display": "", - "system": "" + "CA": { + "code": "revoked", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "CWE": { - "code": "valueCodeableConcept", - "display": "", - "system": "" + "DC": { + "code": "revoked", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "RPT": { - "code": "", - "display": "", - "system": "" + "SC": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "OCD": { - "code": "", - "display": "", - "system": "" + "HD": { + "code": "on-hold", + "display": "On Hold", + "system": "http://hl7.org/fhir/request-status" }, - "WVS": { - "code": "", - "display": "", - "system": "" + "ER": { + "code": "entered-in-error", + "display": "Entered in Error", + "system": "http://hl7.org/fhir/request-status" + }, + "__default__": { + "code" : "unknown", + "display" : "Unknown", + "system" : "" + } + }, + "CodeSystem/MedicationOrderStatus": { + "RP": { + "code": "stopped", + "display": "Stopped", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "UVC": { - "code": "", - "display": "", - "system": "" + "CM": { + "code": "completed", + "display": "Completed", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "MA": { - "code": "", - "display": "", - "system": "" + "IP": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "PRL": { - "code": "", - "display": "", - "system": "" + "CA": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "VID": { - "code": "", - "display": "", - "system": "" + "DC": { + "code": "stopped", + "display": "Stopped", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "MO": { - "code": "", - "display": "", - "system": "" + "SC": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "MOP": { - "code": "", - "display": "", - "system": "" + "HD": { + "code": "on-hold", + "display": "On Hold", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "XCN": { - "code": "", - "display": "", - "system": "" + "ER": { + "code": "entered-in-error", + "display": "Entered in Error", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" + }, + "A": { + "code" : "active", + "display" : "Active", + "system" : "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" + } + }, + "CodeSystem/Relationship": { + "EXF": { + "code": "EXT", + "display": "extended family member", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" }, - "VR": { - "code": "valueRange", + "SIS": { + "code": "SIS", + "display": "sister", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "PAR": { + "code": "PRN", + "display": "parent", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "OAD": { + "code": "", "display": "", "system": "" }, - "RI": { + "EMC": { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "DOM": { + "code": "SIGOTHR", + "display": "significant other", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "DEP": { "code": "", "display": "", "system": "" }, - "CD": { + "C": { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "SIB": { + "code": "SIB", + "display": "sibling", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "FND": { + "code": "FRND", + "display": "unrelated friend", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "EMR": { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "E": { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "S": { + "code": "S", + "display": "State Agency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "NCH": { + "code": "NCHILD", + "display": "natural child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "OWN": { "code": "", "display": "", "system": "" }, - "CNE": { - "code": "valueCodeableConcept", + "SCH": { + "code": "STPCHLD", + "display": "step child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "ASC": { + "code": "", "display": "", "system": "" }, - "WVI": { + "I": { + "code": "I", + "display": "Insurance Company", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "SPO": { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "FCH": { + "code": "CHLDFOST", + "display": "foster child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "SEL": { + "code": "ONESELF", + "display": "self", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "CGV": { "code": "", "display": "", "system": "" }, - "SN": { - "code": "valueInteger, valueRange or valueRatio", + "WRD": { + "code": "", "display": "", "system": "" }, - "OSP": { + "CHD": { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "GRP": { + "code": "GRPRN", + "display": "grandparent", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "F": { + "code": "F", + "display": "Federal Agency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "TRA": { "code": "", "display": "", "system": "" }, - "MOC": { + "GCH": { + "code": "GRNDCHILD", + "display": "grandchild", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "O": { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "N": { + "code": "N", + "display": "Next-of-Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "GRD": { "code": "", "display": "", "system": "" }, - "PLN": { + "U": { + "code": "U", + "display": "Unknown", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "FTH": { + "code": "FTH", + "display": "father", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "UNK": { + "code": "U", + "display": "Unknown", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "OTH": { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "NON": { "code": "", "display": "", "system": "" }, - "XON": { + "EME": { "code": "", "display": "", "system": "" }, - "MSG": { + "MTH": { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "BRO": { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "MGR": { "code": "", "display": "", "system": "" } }, - "CodeSystem/CollectionMethodModifier": { - "R": { - "code": "COOL", - "display": "Cool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "F": { - "code": "FROZ", - "display": "Frozen", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - }, - "CodeSystem/Operation": { + "CodeSystem/Priority": { "A": { - "code": "POST", - "display": "Create", - "system": "" + "code": "asap", + "display": "ASAP", + "system": "http://hl7.org/fhir/request-priority" }, - "X": { + "C": { "code": "", "display": "", "system": "" }, - "U": { - "code": "PATCH", + "PRN": { + "code": "", "display": "", "system": "" }, - "D": { - "code": "DELETE", - "display": "Delete", + "P": { + "code": "", + "display": "", "system": "" - } - }, - "CodeSystem/ReadmissionIndicator": { + }, + "S": { + "code": "stat", + "display": "STAT", + "system": "http://hl7.org/fhir/request-priority" + }, "R": { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "code": "routine", + "display": "Routine", + "system": "http://hl7.org/fhir/request-priority" + }, + "T": { + "code": "", + "display": "", + "system": "" } }, - "CodeSystem/CodeSystemUrl": { - "I9C": { - "system": "http://hl7.org/fhir/sid/icd-9-cm" + "CodeSystem/Countries": {}, + "CodeSystem/NameType": { + "BAD": { + "code": "old", + "display": "Old", + "system": "http://hl7.org/fhir/name-use" }, - "LN": { - "system": "http://loinc.org" + "MSK": { + "code": "anonymous", + "display": "Anonymous", + "system": "http://hl7.org/fhir/name-use" }, - "SNM": { - "system": "http://terminology.hl7.org/CodeSystem/snm" + "REL": { + "code": "", + "display": "", + "system": "" }, - "I10": { - "system": "http://hl7.org/fhir/sid/icd-10" - }, - "ALPHAID2006": { - "system": "urn:oid:1.2.276.0.76.5.309" - }, - "ALPHAID2007": { - "system": "urn:oid:1.2.276.0.76.5.316" + "TEMP": { + "code": "temp", + "display": "Temp", + "system": "http://hl7.org/fhir/name-use" }, - "ALPHAID2008": { - "system": "urn:oid:1.2.276.0.76.5.329" + "NB": { + "code": "", + "display": "", + "system": "" }, - "ALPHAID2009": { - "system": "urn:oid:1.2.276.0.76.5.355" + "NOUSE": { + "code": "", + "display": "", + "system": "" }, - "ALPHAID20010": { - "system": "urn:oid:1.2.276.0.76.5.383" + "A": { + "code": "", + "display": "", + "system": "" }, - "ALPHAID20011": { - "system": "urn:oid:1.2.276.0.76.5.387" + "C": { + "code": "", + "display": "", + "system": "" }, - "C4": { - "system": "http://www.ama-assn.org/go/cpt" + "B": { + "code": "", + "display": "", + "system": "" }, - "I9": { - "system": "http://hl7.org/fhir/sid/icd-9" - }, - "ICD10CA": { - "system": "http://hl7.org/fhir/sid/icd-10-ca" + "D": { + "code": "usual", + "display": "Usual", + "system": "http://hl7.org/fhir/name-use" }, - "ICD10GM2007": { - "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" + "F": { + "code": "", + "display": "", + "system": "" }, - "ICD10GM2008": { - "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" + "I": { + "code": "", + "display": "", + "system": "" }, - "ICD10GM2009": { - "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" + "K": { + "code": "", + "display": "", + "system": "" }, - "ICD10GM2010": { - "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" + "M": { + "code": "maiden", + "display": "Maiden", + "system": "http://hl7.org/fhir/name-use" }, - "ICD10GM2011": { - "system": "http://terminology.hl7.org/CodeSystem/dmdICD10" + "L": { + "code": "official", + "display": "Official", + "system": "http://hl7.org/fhir/name-use" }, - "ICDO": { - "system": "http://terminology.hl7.org/CodeSystem/icd-o" + "N": { + "code": "nickname", + "display": "Nickname", + "system": "http://hl7.org/fhir/name-use" }, - "ICDO3": { - "system": "http://terminology.hl7.org/CodeSystem/icd-o-3" + "P": { + "code": "", + "display": "", + "system": "" }, - "ICCS": { - "system": "http://terminology.hl7.org/CodeSystem/ics" + "S": { + "code": "", + "display": "", + "system": "" }, - "ISO": { - "system": "urn:iso:std:iso:3986" + "R": { + "code": "official", + "display": "Official", + "system": "http://hl7.org/fhir/name-use" }, - "ISO3166_1": { - "system": "urn:iso:std:iso:3166" + "U": { + "code": "", + "display": "", + "system": "" }, - "ISO3166_2": { - "system": "urn:iso:std:iso:3166:-2" + "T": { + "code": "", + "display": "", + "system": "" }, - "ISO4217": { - "system": "http://terminology.hl7.org/CodeSystem/iso4217" + "NAV": { + "code": "temp", + "display": "temp", + "system": "http://hl7.org/fhir/name-use" + } + }, + "CodeSystem/SegmentActionCode": { + "A": { + "code": "POST", + "display": "Create", + "system": "" }, - "MDC": { - "system": "urn:iso:std:iso:11073:10101" + "X": { + "code": "", + "display": "", + "system": "" }, - "NAICS": { - "system": "http://terminology.hl7.org/CodeSystem/naics" + "U": { + "code": "PATCH", + "display": "", + "system": "" }, - "NDA": { - "system": "http://hl7.org/fhir/sid/ndc" + "D": { + "code": "DELETE", + "display": "Delete", + "system": "" + } + }, + "CodeSystem/PreferredMethodofContact": { + "C": { + "code": "C", + "display": "Cellular Phone Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" }, - "NDFRT": { - "system": "http://hl7.org/fhir/ndfrt" + "B": { + "code": "B", + "display": "Beeper Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" }, - "NPI": { - "system": "http://hl7.org/fhir/sid/us-npi" + "E": { + "code": "E", + "display": "E-Mail Address (for backward compatibility)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" }, - "NUBC": { - "system": "http://www.nubc.org/patient-discharge" + "F": { + "code": "F", + "display": "FAX Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" }, - "NULLFL": { - "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" + "H": { + "code": "H", + "display": "Home Phone Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" }, - "RXNORM": { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + "O": { + "code": "O", + "display": "Office Phone Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + } + }, + "CodeSystem/AdmissionType": { + "A": { + "code": "A", + "display": "Accident", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "SCT": { - "system": "http://snomed.info/sct" + "C": { + "code": "C", + "display": "Elective", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "SCT2": { - "system": "http://snomed.info/sct" + "E": { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "SDM": { - "system": "http://terminology.hl7.org/NamingSystem/SDM" - }, - "SNM3": { - "system": "http://snomed.info/sct" + "L": { + "code": "L", + "display": "Labor and Delivery", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "SNT": { - "system": "http://terminology.hl7.org/CodeSystem/SNT" + "N": { + "code": "N", + "display": "Newborn (Birth in healthcare facility)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "UB04FL14": { - "system": "https://www.nubc.org/CodeSystem/PriorityTypeOfAdmitOrVisit" + "R": { + "code": "R", + "display": "Routine", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" }, - "UB04FL15": { - "system": "https://www.nubc.org/CodeSystem/PointOfOrigin" - }, - "UB04FL17": { - "system": "https://www.nubc.org/CodeSystem/PatDischargeStatus" - }, - "UCUM": { - "system": "http://unitsofmeasure.org" - }, - "UMD": { - "system": "http://terminology.hl7.org/CodeSystem/UMD" - }, - "UML": { - "system": "http://terminology.hl7.org/CodeSystem/UML" + "U": { + "code": "U", + "display": "Urgent", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" } - }, - "CodeSystem/SpecimenAvailability": { - "Y": { - "code": "available", - "display": "Available", - "system": "http://hl7.org/fhir/specimen-status" + "CodeSystem/ContactRole": { + "C": { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "N": { - "code": "unavailable", - "display": "Unavailable", - "system": "http://hl7.org/fhir/specimen-status" - } - }, - "CodeSystem/SpecimenCondition": { - "AUT": { - "code": "AUT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "CFU": { - "code": "CFU", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "LIVE": { - "code": "LIVE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "CLOT": { - "code": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "CON": { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + "E": { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "COOL": { - "code": "COOL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "FROZ": { - "code": "FROZ", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + "F": { + "code": "F", + "display": "Federal Agency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "HEM": { - "code": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - "ROOM": { - "code": "ROOM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + "I": { + "code": "I", + "display": "Insurance Company", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "SNR": { - "code": "SNR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - }, - "CodeSystem/SecurityLabelHandlingInstructions": {}, - "CodeSystem/Yes_No": { - "Y": { - "code": "true", - "display": "", - "system": "" + "O": { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, "N": { - "code": "false", - "display": "", - "system": "" + "code": "N", + "display": "Next-of-Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "__default__": { - "code": "false", - "display": "", - "system": "" + "S": { + "code": "S", + "display": "State Agency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + "U": { + "code": "U", + "display": "Unknown", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" } }, - "CodeSystem/Language": { - "ara": { - "code" : "ar", - "display" : "Arabic", - "system" : "urn:ietf:bcp:47" - }, - "ben":{ - "code" : "bn", - "display" : "Bengali", - "system" : "urn:ietf:bcp:47" - }, - "cze": { - "code" : "cs", - "display" : "Czech", - "system" : "urn:ietf:bcp:47" - }, - "dan": { - "code" : "da", - "display" : "Danish", - "system" : "urn:ietf:bcp:47" - }, - "ger": { - "code" : "de", - "display" : "German", - "system" : "urn:ietf:bcp:47" - }, - "gre": { - "code" : "el", - "display" : "Greek", - "system" : "urn:ietf:bcp:47" - }, - "eng":{ - "code" : "en", - "display" : "English", - "system" : "urn:ietf:bcp:47" - }, - "spa":{ - "code" : "es", - "display" : "Spanish", - "system" : "urn:ietf:bcp:47" + "CodeSystem/TQ_DurationUnits": { + "S": { + "code": "s", + "display": "second", + "system": "http://unitsofmeasure.org" }, - "fin":{ - "code" : "fi", - "display" : "Finnish", - "system" : "urn:ietf:bcp:47" + "M": { + "code": "min", + "display": "minute", + "system": "http://unitsofmeasure.org" }, - "fre":{ - "code" : "fr", - "display" : "French", - "system" : "urn:ietf:bcp:47" + "H": { + "code": "h", + "display": "hour", + "system": "http://unitsofmeasure.org" }, - "hin":{ - "code" : "hi", - "display" : "Hindi", - "system" : "urn:ietf:bcp:47" + "D": { + "code": "d", + "display": "day", + "system": "http://unitsofmeasure.org" }, - "hrv":{ - "code" : "hr", - "display" : "Croatian", - "system" : "urn:ietf:bcp:47" + "W": { + "code": "wk", + "display": "week", + "system": "http://unitsofmeasure.org" }, - "ita":{ - "code" : "it", - "display" : "Italian", - "system" : "urn:ietf:bcp:47" + "L": { + "code": "mo", + "display": "month", + "system": "http://unitsofmeasure.org" }, - "jpn":{ - "code" : "ja", - "display" : "Japanese", - "system" : "urn:ietf:bcp:47" + "T": { + "code": "a", + "system": "http://unitsofmeasure.org" + } + }, + "CodeSystem/DurationUnit": { + "s": { + "code": "s", + "display": "second", + "system": "http://unitsofmeasure.org" }, - "kor":{ - "code" : "ko", - "display" : "Korean", - "system" : "urn:ietf:bcp:47" + "Min": { + "code": "min", + "display": "minute", + "system": "http://unitsofmeasure.org" }, - "dut":{ - "code" : "nl", - "display" : "Dutch", - "system" : "urn:ietf:bcp:47" + "Hr": { + "code": "h", + "display": "hour", + "system": "http://unitsofmeasure.org" }, - "nor":{ - "code" : "no", - "display" : "Norwegian", - "system" : "urn:ietf:bcp:47" + "d": { + "code": "d", + "display": "day", + "system": "http://unitsofmeasure.org" }, - "pan":{ - "code" : "pa", - "display" : "Punjabi", - "system" : "urn:ietf:bcp:47" + "wk": { + "code": "wk", + "display": "week", + "system": "http://unitsofmeasure.org" }, - "pol":{ - "code" : "pl", - "display" : "Polish", - "system" : "urn:ietf:bcp:47" + "mo": { + "code": "mo", + "display": "month", + "system": "http://unitsofmeasure.org" }, - "por":{ - "code" : "pt", - "display" : "Portuguese", - "system" : "urn:ietf:bcp:47" + "yr": { + "code": "a", + "display": "year", + "system": "http://unitsofmeasure.org" }, - "rus":{ - "code" : "ru", - "display" : "Russian", - "system" : "urn:ietf:bcp:47" + "ann": { + "code": "a", + "display": "year", + "system": "http://unitsofmeasure.org" }, - "srp":{ - "code" : "sr", - "display" : "Serbian", - "system" : "urn:ietf:bcp:47" + "sec": { + "code": "s", + "display": "second", + "system": "http://unitsofmeasure.org" }, - "swe":{ - "code" : "sv", - "display" : "Swedish", - "system" : "urn:ietf:bcp:47" + "min": { + "code": "min", + "display": "minute", + "system": "http://unitsofmeasure.org" }, - "tel":{ - "code" : "te", - "display" : "Telegu", - "system" : "urn:ietf:bcp:47" - }, - "chi":{ - "code" : "zh", - "display" : "Chinese", - "system" : "urn:ietf:bcp:47" + "hr": { + "code": "h", + "display": "hour", + "system": "http://unitsofmeasure.org" } }, - "CodeSystem/OrderStatus": { - "RP": { - "code": "revoked", - "display": "Revoked", - "system": "http://hl7.org/fhir/request-status" + "CodeSystem/AllergyType": { + "AA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "CM": { - "code": "completed", - "display": "Completed", - "system": "http://hl7.org/fhir/request-status" + "MA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "IP": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/request-status" + "MC": { + "code": "", + "display": "", + "system": "" }, - "CA": { - "code": "revoked", - "display": "Revoked", - "system": "http://hl7.org/fhir/request-status" + "LA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "DC": { - "code": "revoked", - "display": "Revoked", - "system": "http://hl7.org/fhir/request-status" + "EA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "SC": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/request-status" + "DA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "HD": { - "code": "on-hold", - "display": "On Hold", - "system": "http://hl7.org/fhir/request-status" + "FA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" }, - "ER": { - "code": "entered-in-error", - "display": "Entered in Error", - "system": "http://hl7.org/fhir/request-status" - }, - "__default__": { - "code" : "unknown", - "display" : "Unknown", - "system" : "" + "PA": { + "code": "allergy", + "display": "Allergy", + "system": "http://hl7.org/fhir/allergy-intolerance-type" } - }, - "CodeSystem/Relationship": { - "EXF": { - "code": "EXT", - "display": "extended family member", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "CodeSystem/AllergyActionCode": { + "A": { + "code" : "A", + "display" : "Add/Insert", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" }, - "SIS": { - "code": "SIS", - "display": "sister", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "D": { + "code" : "D", + "display" : "Delete", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" }, - "PAR": { - "code": "PRN", - "display": "parent", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "U": { + "code" : "U", + "display" : "Update", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" }, - "OAD": { + "X": { + "code" : "X", + "display" : "No Change", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" + } + }, + "CodeSystem/AllergyIntoleranceTypeCode": { + "AD": { + "code" : "adverse-reaction", + "display" : "Adverse Reaction (Not otherwise classified)", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + }, + "CT": { + "code" : "contraindication", + "display" : "Contraindication", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + }, + "SE": { + "code" : "side-effect", + "display" : "Side Effect", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + } + }, + "CodeSystem/Role": { + "DP": { "code": "", "display": "", "system": "" }, - "EMC": { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "DOM": { - "code": "SIGOTHR", - "display": "significant other", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "DEP": { + "RT": { "code": "", "display": "", "system": "" }, - "C": { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "SIB": { - "code": "SIB", - "display": "sibling", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "FND": { - "code": "FRND", - "display": "unrelated friend", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "EMR": { - "code": "E", - "display": "Employer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "E": { - "code": "E", - "display": "Employer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "S": { - "code": "S", - "display": "State Agency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "NCH": { - "code": "NCHILD", - "display": "natural child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "OWN": { + "PP": { "code": "", "display": "", "system": "" }, - "SCH": { - "code": "STPCHLD", - "display": "step child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "RP": { + "code": "REF", + "display": "referrer", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" }, - "ASC": { + "VPS": { "code": "", "display": "", "system": "" }, - "I": { - "code": "I", - "display": "Insurance Company", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "TR": { + "code": "", + "display": "", + "system": "" }, - "SPO": { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "TN": { + "code": "", + "display": "", + "system": "" }, - "FCH": { - "code": "CHLDFOST", - "display": "foster child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "FHCP": { + "code": "", + "display": "", + "system": "" }, - "SEL": { - "code": "ONESELF", - "display": "self", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "MDIR": { + "code": "", + "display": "", + "system": "" }, - "CGV": { + "PH": { "code": "", "display": "", "system": "" }, - "WRD": { + "RO": { "code": "", "display": "", "system": "" }, - "CHD": { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "AD": { + "code": "ADM", + "display": "admitter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" }, - "GRP": { - "code": "GRPRN", - "display": "grandparent", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "AI": { + "code": "", + "display": "", + "system": "" }, - "F": { - "code": "F", - "display": "Federal Agency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "IP": { + "code": "", + "display": "", + "system": "" }, - "TRA": { + "VP": { "code": "", "display": "", "system": "" }, - "GCH": { - "code": "GRNDCHILD", - "display": "grandchild", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "O": { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "N": { - "code": "N", - "display": "Next-of-Kin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "GRD": { + "AP": { "code": "", "display": "", "system": "" }, - "U": { - "code": "U", - "display": "Unknown", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - }, - "FTH": { - "code": "FTH", - "display": "father", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "VTS": { + "code": "", + "display": "", + "system": "" }, - "UNK": { - "code": "U", - "display": "Unknown", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "AT": { + "code": "ATND", + "display": "attender", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" }, - "OTH": { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "CP": { + "code": "CON", + "display": "consultant", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" }, - "NON": { + "CLP": { "code": "", "display": "", "system": "" }, - "EME": { + "EP": { "code": "", "display": "", "system": "" }, - "MTH": { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "BRO": { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "PI": { + "code": "translator", + "display": "Translator", + "system": "http://terminology.hl7.org/CodeSystem/participant-type" }, - "MGR": { + "OP": { "code": "", "display": "", "system": "" } }, - "CodeSystem/Priority": { + "CodeSystem/ConsentStatus": { "A": { - "code": "asap", - "display": "ASAP", - "system": "http://hl7.org/fhir/request-priority" + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "C": { + "B": { "code": "", "display": "", "system": "" }, - "PRN": { - "code": "", - "display": "", - "system": "" + "L": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" }, "P": { - "code": "", - "display": "", - "system": "" - }, - "S": { - "code": "stat", - "display": "STAT", - "system": "http://hl7.org/fhir/request-priority" + "code": "proposed", + "display": "Proposed", + "system": "http://hl7.org/fhir/consent-state-codes" }, "R": { - "code": "routine", - "display": "Routine", - "system": "http://hl7.org/fhir/request-priority" + "code": "rejected", + "display": "Rejected", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "T": { - "code": "", - "display": "", - "system": "" + "X": { + "code": "inactive", + "display": "Inactivated", + "system": "http://hl7.org/fhir/consent-state-codes" } }, - "CodeSystem/Countries": {}, - "CodeSystem/NameType": { - "BAD": { - "code": "old", - "display": "Old", - "system": "http://hl7.org/fhir/name-use" + "CodeSystem/StudentStatus": { + "P": { + "code": "P", + "display": "Part-time student", + "system": "http://terminology.hl7.org/CodeSystem/v2-0231" }, - "MSK": { - "code": "anonymous", - "display": "Anonymous", - "system": "http://hl7.org/fhir/name-use" + "N": { + "code": "N", + "display": "Not a student", + "system": "http://terminology.hl7.org/CodeSystem/v2-0231" }, - "REL": { - "code": "", - "display": "", - "system": "" + "F": { + "code": "F", + "display": "Full-time student", + "system": "http://terminology.hl7.org/CodeSystem/v2-0231" + } + }, + "CodeSystem/Acknowledgements": { + "ER": { + "code": "on-error", + "display": "Error/reject conditions only", + "system": "http://hl7.org/fhir/messageheader-response-request" }, - "TEMP": { - "code": "temp", - "display": "Temp", - "system": "http://hl7.org/fhir/name-use" + "AL": { + "code": "always", + "display": "Always", + "system": "http://hl7.org/fhir/messageheader-response-request" }, - "NB": { - "code": "", - "display": "", - "system": "" + "SU": { + "code": "on-success", + "display": "Successful completion only", + "system": "http://hl7.org/fhir/messageheader-response-request" }, - "NOUSE": { - "code": "", - "display": "", - "system": "" + "NE": { + "code": "never", + "display": "Never", + "system": "http://hl7.org/fhir/messageheader-response-request" + } + }, + "CodeSystem/CompletionStatus": { + "RE": { + "code": "not-done", + "display": "Not Done", + "system": "http://hl7.org/fhir/event-status" }, - "A": { + "CP": { + "code": "completed", + "display": "Completed", + "system": "http://hl7.org/fhir/event-status" + }, + "PA": { + "code": "completed", + "display": "Completed", + "system": "http://hl7.org/fhir/event-status" + }, + "NA": { + "code": "not-done", + "display": "Not Done", + "system": "http://hl7.org/fhir/event-status" + } + }, + "CodeSystem/OrganizationUnitType": { + "H": { + "code": "H", + "display": "Home", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "O": { + "code": "O", + "display": "Office", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "1": { + "code": "1", + "display": "Hospital", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "3": { + "code": "3", + "display": "Long Term Care", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "2": { + "code": "2", + "display": "Physician Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "5": { + "code": "5", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + }, + "4": { + "code": "4", + "display": "Acute Care", + "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + } + }, + "CodeSystem/TelecomUseCode": { + "PRN": { + "code": "home", + "display": "Home", + "system": "http://hl7.org/fhir/contact-point-use" + }, + "BPN": { "code": "", "display": "", "system": "" }, - "C": { + "ORN": { "code": "", "display": "", "system": "" }, - "B": { + "WPN": { + "code": "work", + "display": "Work", + "system": "http://hl7.org/fhir/contact-point-use" + }, + "VHN": { "code": "", "display": "", "system": "" }, - "D": { - "code": "usual", - "display": "Usual", - "system": "http://hl7.org/fhir/name-use" + "PRS": { + "code": "mobile", + "display": "Mobile", + "system": "http://hl7.org/fhir/contact-point-use" }, - "F": { + "EMR": { "code": "", "display": "", "system": "" }, - "I": { + "NET": { "code": "", "display": "", "system": "" }, - "K": { + "ASN": { "code": "", "display": "", "system": "" + } + }, + "CodeSystem/InterpretationCode": { + "AA": { + "code": "AA", + "display": "Critical abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "M": { - "code": "maiden", - "display": "Maiden", - "system": "http://hl7.org/fhir/name-use" - }, - "L": { - "code": "official", - "display": "Official", - "system": "http://hl7.org/fhir/name-use" - }, - "N": { - "code": "nickname", - "display": "Nickname", - "system": "http://hl7.org/fhir/name-use" - }, - "P": { + "TOX": { "code": "", "display": "", "system": "" }, - "S": { + "W": { + "code": "W", + "display": "Worse", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "CAR": { + "code": "CAR", + "display": "Carrier", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "DET": { + "code": "DET", + "display": "Detected", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "HU": { + "code": "HU", + "display": "Significantly high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "HH": { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "QCF": { "code": "", "display": "", "system": "" }, - "R": { - "code": "official", - "display": "Official", - "system": "http://hl7.org/fhir/name-use" + "EXP": { + "code": "EXP", + "display": "Expected", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "U": { + "HM": { "code": "", "display": "", "system": "" }, - "T": { + "null": { "code": "", "display": "", "system": "" }, - "NAV": { - "code": "temp", - "display": "temp", - "system": "http://hl7.org/fhir/name-use" - } - }, - "CodeSystem/SegmentActionCode": { - "A": { - "code": "POST", - "display": "Create", - "system": "" + "RR": { + "code": "RR", + "display": "Reactive", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "X": { - "code": "", - "display": "", - "system": "" + "LL": { + "code": "LL", + "display": "Critical low", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "U": { - "code": "PATCH", - "display": "", - "system": "" + "ND": { + "code": "ND", + "display": "Not detected", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "D": { - "code": "DELETE", - "display": "Delete", - "system": "" - } - }, - "CodeSystem/PreferredMethodofContact": { - "C": { - "code": "C", - "display": "Cellular Phone Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + "POS": { + "code": "POS", + "display": "Positive", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "B": { - "code": "B", - "display": "Beeper Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + "LU": { + "code": "LU", + "display": "Significantly low", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "E": { - "code": "E", - "display": "E-Mail Address (for backward compatibility)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + "NEG": { + "code": "NEG", + "display": "Negative", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "F": { - "code": "F", - "display": "FAX Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + "NR": { + "code": "NR", + "display": "Non-reactive", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "H": { - "code": "H", - "display": "Home Phone Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" + "NS": { + "code": "NS", + "display": "Non-susceptible", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "O": { - "code": "O", - "display": "Office Phone Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0185" - } - }, - "CodeSystem/AdmissionType": { "A": { "code": "A", - "display": "Accident", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "C": { - "code": "C", - "display": "Elective", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "AC": { + "code": "AC", + "display": "Anti-complementary substances present", + "system": "Get the pattern/value" + }, + "B": { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, "E": { "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "display": "Equivocal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "D": { + "code": "D", + "display": "Significant change down", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "I": { + "code": "I", + "display": "Intermediate", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "H": { + "code": "H", + "display": "High", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, "L": { "code": "L", - "display": "Labor and Delivery", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "display": "Low", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, "N": { "code": "N", - "display": "Newborn (Birth in healthcare facility)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "S": { + "code": "S", + "display": "Susceptible", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, "R": { "code": "R", - "display": "Routine", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + "display": "Resistant", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, "U": { "code": "U", - "display": "Urgent", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - }, - "CodeSystem/ContactRole": { - "C": { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "display": "Significant change up", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "E": { - "code": "E", - "display": "Employer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "EX": { + "code": "EX", + "display": "outside threshold", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "F": { - "code": "F", - "display": "Federal Agency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "OBX": { + "code": "", + "display": "", + "system": "" }, - "I": { - "code": "I", - "display": "Insurance Company", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "IE": { + "code": "IE", + "display": "Insufficient evidence", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "O": { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "WR": { + "code": "WR", + "display": "Weakly reactive", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "N": { - "code": "N", - "display": "Next-of-Kin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "SDD": { + "code": "SDD", + "display": "Susceptible-dose dependent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" }, - "S": { - "code": "S", - "display": "State Agency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "VS": { + "code": "", + "display": "", + "system": "" }, - "U": { - "code": "U", - "display": "Unknown", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "NCL": { + "code": "NCL", + "display": "No CLSI defined breakpoint", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "MS": { + "code": "", + "display": "", + "system": "" + }, + "IND": { + "code": "IND", + "display": "Indeterminate", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "UNE": { + "code": "UNE", + "display": "Unexpected", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" } }, - "CodeSystem/DurationUnit": { - "s": { - "code": "s", - "display": "second", - "system": "http://unitsofmeasure.org" - }, - "Min": { - "code": "min", - "display": "minute", - "system": "http://unitsofmeasure.org" - }, - "Hr": { - "code": "h", - "display": "hour", - "system": "http://unitsofmeasure.org" - }, - "d": { - "code": "d", - "display": "day", - "system": "http://unitsofmeasure.org" + "CodeSystem/ObservationStatus": { + "A": { + "code": "amended" + }, + "B": { + "code": "unknown" }, - "wk": { - "code": "wk", - "display": "week", - "system": "http://unitsofmeasure.org" + "C": { + "code": "corrected" + }, + "D": { + "code": "entered-in-error" + }, + "F": { + "code": "final" + }, + "I": { + "code": "unknown" + }, + "N": { + "code": "unknown" + }, + "O": { + "code": "unknown" + }, + "P": { + "code": "preliminary" + }, + "R": { + "code": "unknown" + }, + "S": { + "code": "unknown" + }, + "U": { + "code": "unknown" + }, + "V": { + "code": "unknown" + }, + "W": { + "code": "entered-in-error" }, - "mo": { - "code": "mo", - "display": "month", - "system": "http://unitsofmeasure.org" + "X": { + "code": "cancelled" }, - "yr": { - "code": "a", - "display": "year", - "system": "http://unitsofmeasure.org" + "__default__": { + "code": "unknown" + } + }, + "CodeSystem/ObservationStatus-ext": { + "A": { + "code": "A", + "display": "Ammended", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "B": { + "code": "B", + "display": "Appended", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" }, - "ann": { - "code": "a", - "display": "year", - "system": "http://unitsofmeasure.org" + "C": { + "code": "C", + "display": "Correction", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "D": { + "code": "D", + "display": "Deleted", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "F": { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "I": { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "N": { + "code": "N", + "display": "Not Asked", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "O": { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "P": { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "R": { + "code": "R", + "display": "Entered - Not Verified", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" }, - "sec": { - "code": "s", - "display": "second", - "system": "http://unitsofmeasure.org" + "S": { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "U": { + "code": "U", + "display": "Status Change to Final Without Retransmission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "V": { + "code": "V", + "display": "Verified", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + }, + "W": { + "code": "W", + "display": "Original Posted as Wrong", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" }, - "min": { - "code": "min", - "display": "minute", - "system": "http://unitsofmeasure.org" + "X": { + "code": "X", + "display": "Cannot be Obtained", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" }, - "hr": { - "code": "h", - "display": "hour", - "system": "http://unitsofmeasure.org" + "__default__": { + "code": "", + "display": "Unknown", + "system": "" } }, - "CodeSystem/AllergyType": { + "CodeSystem/AccessRestrictionReasonCode": {}, + "CodeSystem/AllergyCategory": { "AA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "environment", + "display": "Environment", + "system": "http://hl7.org/fhir/allergy-intolerance-category" }, "MA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "", + "display": "", + "system": "" }, "MC": { "code": "", @@ -2366,3307 +3164,3671 @@ "system": "" }, "LA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "environment", + "display": "Environment", + "system": "http://hl7.org/fhir/allergy-intolerance-category" }, "EA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "environment", + "display": "Environment", + "system": "http://hl7.org/fhir/allergy-intolerance-category" }, "DA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "medication", + "display": "Medication", + "system": "http://hl7.org/fhir/allergy-intolerance-category" }, "FA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "food", + "display": "Food", + "system": "http://hl7.org/fhir/allergy-intolerance-category" }, "PA": { - "code": "allergy", - "display": "Allergy", - "system": "http://hl7.org/fhir/allergy-intolerance-type" + "code": "environment", + "display": "Environment", + "system": "http://hl7.org/fhir/allergy-intolerance-category" } - }, - "CodeSystem/AllergyActionCode": { - "A": { - "code" : "A", - "display" : "Add/Insert", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" + }, + "CodeSystem/NameAssemblyOrder": { + "G": { + "code": "G", + "display": "Prefix Given Family Suffix", + "system": "http://terminology.hl7.org/CodeSystem/v2-0444" }, - "D": { - "code" : "D", - "display" : "Delete", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" - }, - "U": { - "code" : "U", - "display" : "Update", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" - }, - "X": { - "code" : "X", - "display" : "No Change", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0206" - } - }, - "CodeSystem/AllergyIntoleranceTypeCode": { - "AD": { - "code" : "adverse-reaction", - "display" : "Adverse Reaction (Not otherwise classified)", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" - }, - "CT": { - "code" : "contraindication", - "display" : "Contraindication", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" - }, - "SE": { - "code" : "side-effect", - "display" : "Side Effect", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + "F": { + "code": "F", + "display": "Prefix Family Given Suffix", + "system": "http://terminology.hl7.org/CodeSystem/v2-0444" } }, - "CodeSystem/Role": { - "DP": { - "code": "", - "display": "", - "system": "" - }, - "RT": { - "code": "", - "display": "", - "system": "" + "CodeSystem/MaritalStatus": { + "A": { + "code": "L", + "display": "Legally Separated", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "PP": { - "code": "", - "display": "", - "system": "" + "C": { + "code": "C", + "display": "Common Law", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "RP": { - "code": "REF", - "display": "referrer", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "B": { + "code": "U", + "display": "unmarried", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "VPS": { - "code": "", - "display": "", - "system": "" + "E": { + "code": "L", + "display": "Legally Separated", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "TR": { - "code": "", - "display": "", - "system": "" + "D": { + "code": "D", + "display": "Divorced", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "TN": { - "code": "", - "display": "", - "system": "" + "G": { + "code": "T", + "display": "Domestic partner", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "FHCP": { - "code": "", - "display": "", - "system": "" + "I": { + "code": "I", + "display": "Interlocutory", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "MDIR": { - "code": "", - "display": "", - "system": "" + "M": { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "PH": { + "O": { "code": "", "display": "", "system": "" }, - "RO": { + "N": { "code": "", "display": "", "system": "" }, - "AD": { - "code": "ADM", - "display": "admitter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - }, - "AI": { - "code": "", - "display": "", - "system": "" + "P": { + "code": "T", + "display": "Domestic partner", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "IP": { - "code": "", - "display": "", - "system": "" + "S": { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "VP": { - "code": "", - "display": "", - "system": "" + "R": { + "code": "T", + "display": "Domestic partner", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" }, - "AP": { - "code": "", - "display": "", - "system": "" + "U": { + "code": "UNK", + "display": "unknown", + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" }, - "VTS": { + "T": { "code": "", "display": "", "system": "" }, - "AT": { - "code": "ATND", - "display": "attender", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "W": { + "code": "W", + "display": "Widowed", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + }, + "CodeSystem/Gender": { + "A": { + "code": "other", + "display": "Other", + "system": "http://hl7.org/fhir/administrative-gender" }, - "CP": { - "code": "CON", - "display": "consultant", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "F": { + "code": "female", + "display": "Female", + "system": "http://hl7.org/fhir/administrative-gender" }, - "CLP": { - "code": "", - "display": "", - "system": "" + "M": { + "code": "male", + "display": "Male", + "system": "http://hl7.org/fhir/administrative-gender" }, - "EP": { - "code": "", - "display": "", - "system": "" + "O": { + "code": "other", + "display": "Other", + "system": "http://hl7.org/fhir/administrative-gender" }, - "PI": { - "code": "translator", - "display": "Translator", - "system": "http://terminology.hl7.org/CodeSystem/participant-type" + "N": { + "code": "other", + "display": "Other", + "system": "http://hl7.org/fhir/administrative-gender" }, - "OP": { - "code": "", - "display": "", - "system": "" + "U": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/administrative-gender" } }, - "CodeSystem/ConsentStatus": { - "A": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/consent-state-codes" + "CodeSystem/ConfidentialityClassification": {}, + "CodeSystem/EncounterClass": { + "C": { + "code" : "PBILLACCT", + "display" : "patient billing account", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, "B": { - "code": "", - "display": "", - "system": "" + "code" : "OBS", + "display" : "obstetrics", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "L": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/consent-state-codes" + "E": { + "code": "EMER", + "display": "emergency", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "I": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "O": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "N": { + "code" : "NAP", + "display" : "not applicable", + "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" }, "P": { - "code": "proposed", - "display": "Proposed", - "system": "http://hl7.org/fhir/consent-state-codes" + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, "R": { - "code": "rejected", - "display": "Rejected", - "system": "http://hl7.org/fhir/consent-state-codes" + "code" : "REPAT", + "display" : "recurring patient", + "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" }, - "X": { - "code": "inactive", - "display": "Inactivated", - "system": "http://hl7.org/fhir/consent-state-codes" + "U": { + "code" : "UNK", + "display" : "unkown", + "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" } }, - "CodeSystem/StudentStatus": { - "P": { - "code": "P", - "display": "Part-time student", - "system": "http://terminology.hl7.org/CodeSystem/v2-0231" + "CodeSystem/LivingWill": { + "Y": { + "code": "Y", + "display": "Yes, patient has a living will", + "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + }, + "I": { + "code": "I", + "display": "No, patient does not have a living will but information was provided", + "system": "http://terminology.hl7.org/CodeSystem/v2-0315" }, "N": { "code": "N", - "display": "Not a student", - "system": "http://terminology.hl7.org/CodeSystem/v2-0231" + "display": "No, patient does not have a living will and no information was provided", + "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + }, + "U": { + "code": "U", + "display": "Unknown", + "system": "http://terminology.hl7.org/CodeSystem/v2-0315" }, "F": { "code": "F", - "display": "Full-time student", - "system": "http://terminology.hl7.org/CodeSystem/v2-0231" + "display": "Yes, patient has a living will but it is not on file", + "system": "http://terminology.hl7.org/CodeSystem/v2-0315" } }, - "CodeSystem/Acknowledgements": { - "ER": { - "code": "on-error", - "display": "Error/reject conditions only", - "system": "http://hl7.org/fhir/messageheader-response-request" + "CodeSystem/DiagnosticReportStatus": { + "C": { + "code": "corrected", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "AL": { - "code": "always", - "display": "Always", - "system": "http://hl7.org/fhir/messageheader-response-request" + "D": { + "code": "cancelled", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "SU": { - "code": "on-success", - "display": "Successful completion only", - "system": "http://hl7.org/fhir/messageheader-response-request" + "F": { + "code": "final", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "NE": { - "code": "never", - "display": "Never", - "system": "http://hl7.org/fhir/messageheader-response-request" - } - }, - "CodeSystem/CompletionStatus": { - "RE": { - "code": "not-done", - "display": "Not Done", - "system": "http://hl7.org/fhir/event-status" + "I": { + "code": "preliminary", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "N": { + "code": "unknown" }, - "CP": { - "code": "completed", - "display": "Completed", - "system": "http://hl7.org/fhir/event-status" + "O": { + "code": "unknown" }, - "PA": { - "code": "completed", - "display": "Completed", - "system": "http://hl7.org/fhir/event-status" + "P": { + "code": "preliminary", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "S": { + "code": "partial", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "NA": { - "code": "not-done", - "display": "Not Done", - "system": "http://hl7.org/fhir/event-status" + "R": { + "code": "unknown" + }, + "X": { + "code": "cancelled", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "U": { + "code": "unknown" + }, + "W": { + "code": "entered-in-error", + "system": "http://hl7.org/fhir/diagnostic-report-status" } }, - "CodeSystem/OrganizationUnitType": { - "H": { - "code": "H", - "display": "Home", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "CodeSystem/ResultStatus": { + "A": { + "code": "partial", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "C": { + "code": "corrected", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "F": { + "code": "final", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "I": { + "code": "registered", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, "O": { - "code": "O", - "display": "Office", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "code": "registered", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "1": { - "code": "1", - "display": "Hospital", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "P": { + "code": "preliminary", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "3": { - "code": "3", - "display": "Long Term Care", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "S": { + "code": "registered", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "2": { - "code": "2", - "display": "Physician Clinic", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "R": { + "code": "partial", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "5": { - "code": "5", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "Y": { + "code": "unknown", + "system": "http://hl7.org/fhir/diagnostic-report-status" }, - "4": { - "code": "4", - "display": "Acute Care", - "system": "http://terminology.hl7.org/CodeSystem/v2-0406" + "X": { + "code": "cancelled", + "system": "http://hl7.org/fhir/diagnostic-report-status" + }, + "Z": { + "code": "unknown", + "system": "http://hl7.org/fhir/diagnostic-report-status" } }, - "CodeSystem/TelecomUseCode": { - "PRN": { - "code": "home", - "display": "Home", - "system": "http://hl7.org/fhir/contact-point-use" + + "CodeSystem/DiagnosticServiceSection": { + "AU": { + "code": "AU", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "BPN": { - "code": "", - "display": "", - "system": "" + "BG": { + "code": "BG", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "ORN": { - "code": "", - "display": "", - "system": "" + "BLB": { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "WPN": { - "code": "work", - "display": "Work", - "system": "http://hl7.org/fhir/contact-point-use" + "CG": { + "code": "CG", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "VHN": { - "code": "", - "display": "", - "system": "" + "CUS": { + "code": "CUS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "PRS": { - "code": "mobile", - "display": "Mobile", - "system": "http://hl7.org/fhir/contact-point-use" + "CTH": { + "code": "CTH", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "EMR": { - "code": "", - "display": "", - "system": "" + "CT": { + "code": "CH", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "NET": { - "code": "", - "display": "", - "system": "" + "CP": { + "code": "CP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "ASN": { - "code": "", - "display": "", - "system": "" - } - }, - "CodeSystem/InterpretationCode": { - "AA": { - "code": "AA", - "display": "Critical abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "EC": { + "code": "EC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "TOX": { - "code": "", - "display": "", - "system": "" + "EN": { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "W": { - "code": "W", - "display": "Worse", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "GE": { + "code": "GE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "CAR": { - "code": "CAR", - "display": "Carrier", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "HM": { + "code": "HM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "DET": { - "code": "DET", - "display": "Detected", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "ICU": { + "code": "ICU", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "HU": { - "code": "HU", - "display": "Significantly high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "IMM": { + "code": "IMM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "HH": { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "LAB": { + "code": "LAB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "QCF": { - "code": "", - "display": "", - "system": "" + "MB": { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "EXP": { - "code": "EXP", - "display": "Expected", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "MCB": { + "code": "MCB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "HM": { - "code": "", - "display": "", - "system": "" + "MYC": { + "code": "MYC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "null": { - "code": "", - "display": "", - "system": "" + "NMS": { + "code": "NMS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "RR": { - "code": "RR", - "display": "Reactive", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "NMR": { + "code": "NMR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "LL": { - "code": "LL", - "display": "Critical low", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "NRS": { + "code": "NRS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "ND": { - "code": "ND", - "display": "Not detected", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "OUS": { + "code": "OUS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "POS": { - "code": "POS", - "display": "Positive", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "OT": { + "code": "OT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "LU": { - "code": "LU", - "display": "Significantly low", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "OTH": { + "code": "OTH", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "NEG": { - "code": "NEG", - "display": "Negative", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "OSL": { + "code": "OSL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "NR": { - "code": "NR", - "display": "Non-reactive", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "PHR": { + "code": "PHR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "NS": { - "code": "NS", - "display": "Non-susceptible", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "PT": { + "code": "PT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "A": { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "PHY": { + "code": "PHY", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "AC": { - "code": "AC", - "display": "Anti-complementary substances present", - "system": "Get the pattern/value" + "PF": { + "code": "PF", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "B": { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "RAD": { + "code": "RAD", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "E": { - "code": "E", - "display": "Equivocal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "RX": { + "code": "RX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "D": { - "code": "D", - "display": "Significant change down", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "RUS": { + "code": "RUS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "I": { - "code": "I", - "display": "Intermediate", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "RC": { + "code": "RC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "H": { - "code": "H", - "display": "High", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "RT": { + "code": "RT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "L": { - "code": "L", - "display": "Low", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "SR": { + "code": "SR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "N": { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "SP": { + "code": "SP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "S": { - "code": "S", - "display": "Susceptible", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "TX": { + "code": "TX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "R": { - "code": "R", - "display": "Resistant", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "VUS": { + "code": "VUS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "U": { - "code": "U", - "display": "Significant change up", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "VR": { + "code": "VR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" }, - "EX": { - "code": "EX", - "display": "outside threshold", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "VXC": { + "code": "VXC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + }, + + "CodeSystem/ConsentRelationship": { + "3": { + "code": "N", + "display": "Next-of-Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "OBX": { - "code": "", - "display": "", - "system": "" + "2": { + "code": "PRN", + "display": "Parent", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" }, - "IE": { - "code": "IE", - "display": "Insufficient evidence", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "5": { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" }, - "WR": { - "code": "WR", - "display": "Weakly reactive", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "4": { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + }, + "CodeSystem/IDType": { + "WC": { + "code": "WC", + "display": "WIC identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "SDD": { - "code": "SDD", - "display": "Susceptible-dose dependent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "BA": { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "VS": { - "code": "", - "display": "", - "system": "" + "BC": { + "code": "BC", + "display": "Bank Card Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "NCL": { - "code": "NCL", - "display": "No CLSI defined breakpoint", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "BR": { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MS": { - "code": "", - "display": "", - "system": "" + "SID": { + "code": "SID", + "display": "Specimen ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "IND": { - "code": "IND", - "display": "Indeterminate", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + "CONM": { + "code": "CONM", + "display": "Change of Name Document", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "UNE": { - "code": "UNE", - "display": "Unexpected", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - }, - "CodeSystem/ObservationStatus": { - "A": { - "code": "amended" + "PRC": { + "code": "PRC", + "display": "Permanent Resident Card Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "B": { - "code": "unknown" - }, - "C": { - "code": "corrected" - }, - "D": { - "code": "entered-in-error" + "PC": { + "code": "PC", + "display": "Parole Card", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "final" + "PRN": { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "unknown" + "TAX": { + "code": "TAX", + "display": "Tax ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "N": { - "code": "unknown" + "RN": { + "code": "RN", + "display": "Registered Nurse Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "unknown" + "XX": { + "code": "XX", + "display": "Organization identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "preliminary" + "RI": { + "code": "RI", + "display": "Resource identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code": "unknown" + "MRT": { + "code": "MRT", + "display": "Temporary Medical Record Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "S": { - "code": "unknown" - }, - "U": { - "code": "unknown" + "APRN": { + "code": "APRN", + "display": "Advanced Practice Registered Nurse number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "V": { - "code": "unknown" + "LACSN": { + "code": "LACSN", + "display": "Laboratory Accession ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "W": { - "code": "entered-in-error" - }, - "X": { - "code": "cancelled" - }, - "__default__": { - "code": "unknown" - } - }, - "CodeSystem/ObservationStatus-ext": { - "A": { - "code": "A", - "display": "Ammended", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "TPR": { + "code": "TPR", + "display": "Temporary Permanent Resident (Canada)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "B": { - "code": "B", - "display": "Appended", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "C": { - "code": "C", - "display": "Correction", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "D": { - "code": "D", - "display": "Deleted", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "GN": { + "code": "GN", + "display": "Guarantor external identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "GL": { + "code": "GL", + "display": "General ledger number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "GI": { + "code": "GI", + "display": "Guarantor internal identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "N": { - "code": "N", - "display": "Not Asked", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "NII": { + "code": "NII", + "display": "National Insurance Organization Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "NPI": { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "OD": { + "code": "OD", + "display": "Optometrist license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code": "R", - "display": "Entered - Not Verified", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "S": { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "U": { - "code": "U", - "display": "Status Change to Final Without Retransmission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "SP": { + "code": "SP", + "display": "Study Permit", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "V": { - "code": "V", - "display": "Verified", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "WP": { + "code": "WP", + "display": "Work Permit", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "W": { - "code": "W", - "display": "Original Posted as Wrong", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "X": { - "code": "X", - "display": "Cannot be Obtained", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - }, - "__default__": { - "code": "", - "display": "Unknown", - "system": "" - } - }, - "CodeSystem/AccessRestrictionReasonCode": {}, - "CodeSystem/AllergyCategory": { - "AA": { - "code": "environment", - "display": "Environment", - "system": "http://hl7.org/fhir/allergy-intolerance-category" + "PCN": { + "code": "PCN", + "display": "Penitentiary/correctional institution Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MA": { - "code": "", - "display": "", - "system": "" + "DEA": { + "code": "DEA", + "display": "Drug Enforcement Administration registration number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MC": { - "code": "", - "display": "", - "system": "" + "PT": { + "code": "PT", + "display": "Patient external identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "LA": { - "code": "environment", - "display": "Environment", - "system": "http://hl7.org/fhir/allergy-intolerance-category" - }, - "EA": { - "code": "environment", - "display": "Environment", - "system": "http://hl7.org/fhir/allergy-intolerance-category" + "BRN": { + "code": "BRN", + "display": "Breed Registry Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "DA": { - "code": "medication", - "display": "Medication", - "system": "http://hl7.org/fhir/allergy-intolerance-category" + "AMA": { + "code": "AMA", + "display": "American Medical Association Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "FA": { - "code": "food", - "display": "Food", - "system": "http://hl7.org/fhir/allergy-intolerance-category" + "NNxxx": { + "code": "NNxxx", + "display": "National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, "PA": { - "code": "environment", - "display": "Environment", - "system": "http://hl7.org/fhir/allergy-intolerance-category" - } - }, - "CodeSystem/NameAssemblyOrder": { - "G": { - "code": "G", - "display": "Prefix Given Family Suffix", - "system": "http://terminology.hl7.org/CodeSystem/v2-0444" + "code": "PA", + "display": "Physician Assistant number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "F", - "display": "Prefix Family Given Suffix", - "system": "http://terminology.hl7.org/CodeSystem/v2-0444" - } - }, - "CodeSystem/MaritalStatus": { - "A": { - "code": "L", - "display": "Legally Separated", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "PE": { + "code": "PE", + "display": "Living Subject Enterprise Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "C": { - "code": "C", - "display": "Common Law", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "PI": { + "code": "PI", + "display": "Patient internal identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "B": { - "code": "U", - "display": "unmarried", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "PN": { + "code": "PN", + "display": "Person number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "E": { - "code": "L", - "display": "Legally Separated", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "EN": { + "code": "EN", + "display": "Employer number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "D": { - "code": "D", - "display": "Divorced", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "EI": { + "code": "EI", + "display": "Employee number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "G": { - "code": "T", - "display": "Domestic partner", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "DDS": { + "code": "DDS", + "display": "Dentist license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "I", - "display": "Interlocutory", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "AND": { + "code": "AND", + "display": "Account number debitor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "M": { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "MD": { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "", - "display": "", - "system": "" + "MA": { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "N": { - "code": "", - "display": "", - "system": "" + "RR": { + "code": "RR", + "display": "Railroad Retirement number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "T", - "display": "Domestic partner", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "MC": { + "code": "MC", + "display": "Patient\u2019s Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "S": { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "ANC": { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code": "T", - "display": "Domestic partner", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "MI": { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "U": { - "code": "UNK", - "display": "unknown", - "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor" + "ANT": { + "code": "ANT", + "display": "Temporary Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "T": { - "code": "", - "display": "", - "system": "" + "ANON": { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "W": { - "code": "W", - "display": "Widowed", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - }, - "CodeSystem/Gender": { - "A": { - "code": "other", - "display": "Other", - "system": "http://hl7.org/fhir/administrative-gender" + "MS": { + "code": "MS", + "display": "MasterCard", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "female", - "display": "Female", - "system": "http://hl7.org/fhir/administrative-gender" + "MR": { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "M": { - "code": "male", - "display": "Male", - "system": "http://hl7.org/fhir/administrative-gender" + "IND": { + "code": "IND", + "display": "Indigenous/Aboriginal", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "other", - "display": "Other", - "system": "http://hl7.org/fhir/administrative-gender" + "UPIN": { + "code": "UPIN", + "display": "Medicare/CMS (formerly HCFA)\u2019s Universal Physician Identification numbers", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "N": { - "code": "other", - "display": "Other", - "system": "http://hl7.org/fhir/administrative-gender" + "PEN": { + "code": "PEN", + "display": "Pension Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "U": { - "code": "unknown", - "display": "Unknown", - "system": "http://hl7.org/fhir/administrative-gender" - } - }, - "CodeSystem/ConfidentialityClassification": {}, - "CodeSystem/EncounterClass": { - "C": { - "code" : "PBILLACCT", - "display" : "patient billing account", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "BCT": { + "code": "BCT", + "display": "Birth Certificate", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "B": { - "code" : "OBS", - "display" : "obstetrics", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "FI": { + "code": "FI", + "display": "Facility ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "E": { - "code": "EMER", - "display": "emergency", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "NH": { + "code": "NH", + "display": "National Health Plan Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "NI": { + "code": "NI", + "display": "National unique individual identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "N": { - "code" : "NAP", - "display" : "not applicable", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" + "RRI": { + "code": "RRI", + "display": "Regional registry ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "NE": { + "code": "NE", + "display": "National employer identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code" : "REPAT", - "display" : "recurring patient", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" + "LANR": { + "code": "LANR", + "display": "Lifelong physician number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "U": { - "code" : "UNK", - "display" : "unkown", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" - } - }, - "CodeSystem/LivingWill": { - "Y": { - "code": "Y", - "display": "Yes, patient has a living will", - "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + "NP": { + "code": "NP", + "display": "Nurse practitioner number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "I", - "display": "No, patient does not have a living will but information was provided", - "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + "RRP": { + "code": "RRP", + "display": "Railroad Retirement Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "N": { - "code": "N", - "display": "No, patient does not have a living will and no information was provided", - "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + "CC": { + "code": "CC", + "display": "Cost Center number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "U": { - "code": "U", - "display": "Unknown", - "system": "http://terminology.hl7.org/CodeSystem/v2-0315" + "CZ": { + "code": "CZ", + "display": "Citizenship Card", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "F", - "display": "Yes, patient has a living will but it is not on file", - "system": "http://terminology.hl7.org/CodeSystem/v2-0315" - } - }, - "CodeSystem/DiagnosticReportStatus": { - "C": { - "code": "corrected", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "CY": { + "code": "CY", + "display": "County number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "D": { - "code": "cancelled", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DFN": { + "code": "DFN", + "display": "Drug Furnishing or prescriptive authority Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "final", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "SS": { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "preliminary", - "system": "http://hl7.org/fhir/diagnostic-report-status" - }, - "N": { - "code": "unknown" + "SR": { + "code": "SR", + "display": "State registry ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "unknown" + "MB": { + "code": "MB", + "display": "Member Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "preliminary", - "system": "http://hl7.org/fhir/diagnostic-report-status" - }, - "S": { - "code": "partial", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "PPIN": { + "code": "PPIN", + "display": "Medicare/CMS Performing Provider Identification Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code": "unknown" + "NIIP": { + "code": "NIIP", + "display": "National Insurance Payor Identifier (Payor)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "X": { - "code": "cancelled", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "SN": { + "code": "SN", + "display": "Subscriber Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "U": { - "code": "unknown" + "SL": { + "code": "SL", + "display": "State license", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "W": { - "code": "entered-in-error", - "system": "http://hl7.org/fhir/diagnostic-report-status" - } - }, - "CodeSystem/ResultStatus": { - "A": { - "code": "partial", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DN": { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "C": { - "code": "corrected", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DO": { + "code": "DO", + "display": "Osteopathic License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "F": { - "code": "final", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DL": { + "code": "DL", + "display": "Driver\u2019s license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "I": { - "code": "registered", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "BSNR": { + "code": "BSNR", + "display": "Primary physician office number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "O": { - "code": "registered", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DI": { + "code": "DI", + "display": "Diner\u2019s Club card", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "P": { - "code": "preliminary", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "JHN": { + "code": "JHN", + "display": "Jurisdictional health number (Canada)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "S": { - "code": "registered", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "HC": { + "code": "HC", + "display": "Health Card Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "R": { - "code": "partial", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DPM": { + "code": "DPM", + "display": "Podiatrist license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "Y": { - "code": "unknown", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DR": { + "code": "DR", + "display": "Donor Registration Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "X": { - "code": "cancelled", - "system": "http://hl7.org/fhir/diagnostic-report-status" + "DS": { + "code": "DS", + "display": "Discover Card", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "Z": { - "code": "unknown", - "system": "http://hl7.org/fhir/diagnostic-report-status" - } - }, - - "CodeSystem/DiagnosticServiceSection": { - "AU": { - "code": "AU", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "DP": { + "code": "DP", + "display": "Diplomatic Passport", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "BG": { - "code": "BG", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "USID": { + "code": "USID", + "display": "Unique Specimen ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "BLB": { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "LN": { + "code": "LN", + "display": "License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "CG": { - "code": "CG", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "ASID": { + "code": "ASID", + "display": "Ancestor Specimen ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "CUS": { - "code": "CUS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "PPN": { + "code": "PPN", + "display": "Passport number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "CTH": { - "code": "CTH", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - }, - "CT": { - "code": "CH", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - }, - "CP": { - "code": "CP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - }, - "EC": { - "code": "EC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "LI": { + "code": "LI", + "display": "Labor and industries number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "EN": { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "TN": { + "code": "TN", + "display": "Treaty Number/ (Canada)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "GE": { - "code": "GE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "ACSN": { + "code": "ACSN", + "display": "Accession ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "HM": { - "code": "HM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "LR": { + "code": "LR", + "display": "Local Registry ID", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "ICU": { - "code": "ICU", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "RPH": { + "code": "RPH", + "display": "Pharmacist license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "IMM": { - "code": "IMM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "NBSNR": { + "code": "NBSNR", + "display": "Secondary physician office number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "LAB": { - "code": "LAB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "AM": { + "code": "AM", + "display": "American Express", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MB": { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "VN": { + "code": "VN", + "display": "Visit number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MCB": { - "code": "MCB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "AN": { + "code": "AN", + "display": "Account number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "MYC": { - "code": "MYC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "VP": { + "code": "VP", + "display": "Visitor Permit", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "NMS": { - "code": "NMS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "VS": { + "code": "VS", + "display": "VISA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "NMR": { - "code": "NMR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "U": { + "code": "U", + "display": "Unspecified identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "NRS": { - "code": "NRS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "ESN": { + "code": "ESN", + "display": "Staff Enterprise Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "OUS": { - "code": "OUS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "WCN": { + "code": "WCN", + "display": "Workers\u2019 Comp Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "OT": { - "code": "OT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "MCN": { + "code": "MCN", + "display": "Microchip Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "OTH": { - "code": "OTH", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "MCD": { + "code": "MCD", + "display": "Practitioner Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "OSL": { - "code": "OSL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "NCT": { + "code": "NCT", + "display": "Naturalization Certificate", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "PHR": { - "code": "PHR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "PNT": { + "code": "PNT", + "display": "Temporary Living Subject Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "PT": { - "code": "PT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "QA": { + "code": "QA", + "display": "QA number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "PHY": { - "code": "PHY", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "MCT": { + "code": "MCT", + "display": "Marriage Certificate", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" }, - "PF": { - "code": "PF", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "MCR": { + "code": "MCR", + "display": "Practitioner Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + }, + "CodeSystem/RegistryStatus": { + "A": { + "code": "true", + "display": "", + "system": "" }, - "RAD": { - "code": "RAD", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "I": { + "code": "false", + "display": "", + "system": "" }, - "RX": { - "code": "RX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "M": { + "code": "false", + "display": "", + "system": "" }, - "RUS": { - "code": "RUS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "L": { + "code": "false", + "display": "", + "system": "" }, - "RC": { - "code": "RC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "O": { + "code": "", + "display": "", + "system": "" }, - "RT": { - "code": "RT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "P": { + "code": "false", + "display": "", + "system": "" }, - "SR": { - "code": "SR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "U": { + "code": "", + "display": "", + "system": "" + } + }, + "CodeSystem/Race": { + "1002-5": { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "SP": { - "code": "SP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "2028-9": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "TX": { - "code": "TX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "2054-5": { + "code": "2054-5", + "display": "Black or African American", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "VUS": { - "code": "VUS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "2076-8": { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "VR": { - "code": "VR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "2106-3": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "VXC": { - "code": "VXC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + "2131-1": { + "code": "2131-1", + "display": "Other Race", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, + }, - "CodeSystem/ConsentRelationship": { - "3": { - "code": "N", - "display": "Next-of-Kin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "CodeSystem/Ethnicity": { + "H": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" }, - "2": { - "code": "PRN", - "display": "Parent", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "N": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + "CodeSystem/EventReason": { + "01": { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" }, - "5": { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "02": { + "code": "TREAT", + "display": "treatment", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + }, + "03": { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" }, - "4": { + "O": { "code": "O", "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "system": "HL70062" + }, + "U": { + "code": "unknown", + "display": "", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" } - }, - "CodeSystem/IDType": { - "WC": { - "code": "WC", - "display": "WIC identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BA": { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BC": { - "code": "BC", - "display": "Bank Card Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BR": { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "SID": { - "code": "SID", - "display": "Specimen ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "CONM": { - "code": "CONM", - "display": "Change of Name Document", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PRC": { - "code": "PRC", - "display": "Permanent Resident Card Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PC": { - "code": "PC", - "display": "Parole Card", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PRN": { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "CodeSystem/TelecomEquipmentType": { + "PH": { + "code" : "phone", + "display" : "Phone", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "TAX": { - "code": "TAX", - "display": "Tax ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "FX": { + "code" : "fax", + "display" : "Fax", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "RN": { - "code": "RN", - "display": "Registered Nurse Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "MD": { + "code" : "other", + "display" : "Other", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "XX": { - "code": "XX", - "display": "Organization identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "CP": { + "code" : "phone", + "display" : "Phone", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "RI": { - "code": "RI", - "display": "Resource identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "SAT": { + "code" : "other", + "display" : "Other", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "MRT": { - "code": "MRT", - "display": "Temporary Medical Record Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "BP": { + "code" : "pager", + "display" : "Pager", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "APRN": { - "code": "APRN", - "display": "Advanced Practice Registered Nurse number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "Internet": { + "code" : "email", + "display" : "email", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "LACSN": { - "code": "LACSN", - "display": "Laboratory Accession ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "X.400": { + "code" : "email", + "display" : "email", + "system" : "http://hl7.org/fhir/contact-point-system" }, - "TPR": { - "code": "TPR", - "display": "Temporary Permanent Resident (Canada)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "TDD": { + "code" : "other", + "display" : "Other", + "system" : "http://hl7.org/fhir/contact-point-system" + }, + "TYD" : { + "code" : "other", + "display" : "Other", + "system" : "http://hl7.org/fhir/contact-point-system" + } + }, + "CodeSystem/EncounterStatus": { + "E": { + "code": "in-progress", + "display": "In Progress", + "system": "http://hl7.org/fhir/encounter-status" }, - "GN": { - "code": "GN", - "display": "Guarantor external identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "I": { + "code": "in-progress", + "display": "in-progress", + "system": "http://hl7.org/fhir/encounter-status" }, - "GL": { - "code": "GL", - "display": "General ledger number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "O": { + "code": "in-progress", + "display": "In Progress", + "system": "http://hl7.org/fhir/encounter-status" }, - "GI": { - "code": "GI", - "display": "Guarantor internal identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "P": { + "code": "planned", + "display": "Planned", + "system": "http://hl7.org/fhir/encounter-status" }, - "NII": { - "code": "NII", - "display": "National Insurance Organization Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "R": { + "code": "in-progress", + "display": "In Progress", + "system": "http://hl7.org/fhir/encounter-status" + }, + "B": { + "code": "in-progress", + "display": "In Progress", + "system": "http://hl7.org/fhir/encounter-status" + }, + "C": { + "code": "in-progress", + "display": "In Progress", + "system": "http://hl7.org/fhir/encounter-status" + }, + "N": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://hl7.org/fhir/encounter-status" + }, + "U": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/encounter-status" + } + }, + "CodeSystem/EpisodeOfCareStatus": { + "E": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" }, - "NPI": { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "I": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" }, - "OD": { - "code": "OD", - "display": "Optometrist license number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "O": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" }, - "SP": { - "code": "SP", - "display": "Study Permit", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "WP": { - "code": "WP", - "display": "Work Permit", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PCN": { - "code": "PCN", - "display": "Penitentiary/correctional institution Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DEA": { - "code": "DEA", - "display": "Drug Enforcement Administration registration number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PT": { - "code": "PT", - "display": "Patient external identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BRN": { - "code": "BRN", - "display": "Breed Registry Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "AMA": { - "code": "AMA", - "display": "American Medical Association Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NNxxx": { - "code": "NNxxx", - "display": "National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PA": { - "code": "PA", - "display": "Physician Assistant number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PE": { - "code": "PE", - "display": "Living Subject Enterprise Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PI": { - "code": "PI", - "display": "Patient internal identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PN": { - "code": "PN", - "display": "Person number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "EN": { - "code": "EN", - "display": "Employer number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "EI": { - "code": "EI", - "display": "Employee number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DDS": { - "code": "DDS", - "display": "Dentist license number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "AND": { - "code": "AND", - "display": "Account number debitor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MD": { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MA": { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "RR": { - "code": "RR", - "display": "Railroad Retirement number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MC": { - "code": "MC", - "display": "Patient\u2019s Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ANC": { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MI": { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ANT": { - "code": "ANT", - "display": "Temporary Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ANON": { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MS": { - "code": "MS", - "display": "MasterCard", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MR": { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "IND": { - "code": "IND", - "display": "Indigenous/Aboriginal", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "UPIN": { - "code": "UPIN", - "display": "Medicare/CMS (formerly HCFA)\u2019s Universal Physician Identification numbers", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PEN": { - "code": "PEN", - "display": "Pension Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BCT": { - "code": "BCT", - "display": "Birth Certificate", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "FI": { - "code": "FI", - "display": "Facility ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NH": { - "code": "NH", - "display": "National Health Plan Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NI": { - "code": "NI", - "display": "National unique individual identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "RRI": { - "code": "RRI", - "display": "Regional registry ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NE": { - "code": "NE", - "display": "National employer identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "LANR": { - "code": "LANR", - "display": "Lifelong physician number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NP": { - "code": "NP", - "display": "Nurse practitioner number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "RRP": { - "code": "RRP", - "display": "Railroad Retirement Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "CC": { - "code": "CC", - "display": "Cost Center number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "CZ": { - "code": "CZ", - "display": "Citizenship Card", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "CY": { - "code": "CY", - "display": "County number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DFN": { - "code": "DFN", - "display": "Drug Furnishing or prescriptive authority Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "SS": { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "SR": { - "code": "SR", - "display": "State registry ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MB": { - "code": "MB", - "display": "Member Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PPIN": { - "code": "PPIN", - "display": "Medicare/CMS Performing Provider Identification Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NIIP": { - "code": "NIIP", - "display": "National Insurance Payor Identifier (Payor)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "SN": { - "code": "SN", - "display": "Subscriber Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "SL": { - "code": "SL", - "display": "State license", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DN": { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DO": { - "code": "DO", - "display": "Osteopathic License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DL": { - "code": "DL", - "display": "Driver\u2019s license number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "BSNR": { - "code": "BSNR", - "display": "Primary physician office number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DI": { - "code": "DI", - "display": "Diner\u2019s Club card", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "JHN": { - "code": "JHN", - "display": "Jurisdictional health number (Canada)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "HC": { - "code": "HC", - "display": "Health Card Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DPM": { - "code": "DPM", - "display": "Podiatrist license number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DR": { - "code": "DR", - "display": "Donor Registration Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DS": { - "code": "DS", - "display": "Discover Card", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "DP": { - "code": "DP", - "display": "Diplomatic Passport", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "USID": { - "code": "USID", - "display": "Unique Specimen ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "LN": { - "code": "LN", - "display": "License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ASID": { - "code": "ASID", - "display": "Ancestor Specimen ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PPN": { - "code": "PPN", - "display": "Passport number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "LI": { - "code": "LI", - "display": "Labor and industries number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "TN": { - "code": "TN", - "display": "Treaty Number/ (Canada)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ACSN": { - "code": "ACSN", - "display": "Accession ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "LR": { - "code": "LR", - "display": "Local Registry ID", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "RPH": { - "code": "RPH", - "display": "Pharmacist license number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NBSNR": { - "code": "NBSNR", - "display": "Secondary physician office number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "AM": { - "code": "AM", - "display": "American Express", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "VN": { - "code": "VN", - "display": "Visit number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "AN": { - "code": "AN", - "display": "Account number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "VP": { - "code": "VP", - "display": "Visitor Permit", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "VS": { - "code": "VS", - "display": "VISA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "P": { + "code": "planned", + "display": "Planned", + "system": "http://hl7.org/fhir/encounter-status" }, + "R": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" + }, + "B": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" + }, + "C": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/encounter-status" + }, + "N": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://hl7.org/fhir/encounter-status" + }, "U": { - "code": "U", - "display": "Unspecified identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "ESN": { - "code": "ESN", - "display": "Staff Enterprise Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "WCN": { - "code": "WCN", - "display": "Workers\u2019 Comp Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MCN": { - "code": "MCN", - "display": "Microchip Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MCD": { - "code": "MCD", - "display": "Practitioner Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "NCT": { - "code": "NCT", - "display": "Naturalization Certificate", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "PNT": { - "code": "PNT", - "display": "Temporary Living Subject Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "QA": { - "code": "QA", - "display": "QA number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MCT": { - "code": "MCT", - "display": "Marriage Certificate", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - }, - "MCR": { - "code": "MCR", - "display": "Practitioner Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "", + "display": "", + "system": "http://hl7.org/fhir/encounter-status" + } + }, + "CodeSystem/AllergyIntoleranceCriticality": { + "SV": { + "code" : "high", + "display" : "High Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "MO": { + "code" : "", + "display" : "", + "system" : "" + }, + "MI": { + "code" : "low", + "display" : "Low Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "U": { + "code" : "", + "display" : "", + "system" : "" + }, + "399166001" : { + "code" : "high", + "display" : "High Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "442452003" : { + "code" : "high", + "display" : "High Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "255604002" : { + "code" : "low", + "display" : "Low Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "371923003": { + "code" : "low", + "display" : "Low Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "371924009" : { + "code" : "high", + "display" : "High Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + }, + "24484000" : { + "code" : "high", + "display" : "High Risk", + "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + } + }, + "CodeSystem/AllergyIntoleranceSeverity": { + "SV": { + "code" : "severe", + "display" : "Severe", + "system" : "http://hl7.org/fhir/reaction-event-severity" + }, + "MO": { + "code" : "moderate", + "display" : "Moderate", + "system" : "http://hl7.org/fhir/reaction-event-severity" + }, + "MI": { + "code" : "mild", + "display" : "Mild", + "system" : "http://hl7.org/fhir/reaction-event-severity" + }, + "U": { + "code" : "", + "display" : "", + "system" : "" + } + }, + "CodeSystem/AllergySensitivity": { + "AD": { + "code" : "", + "display" : "", + "system" : "" + }, + "AL": { + "code" : "allergy", + "display" : "Allergy", + "system" : "http://hl7.org/fhir/allergy-intolerance-type" + }, + "CT": { + "code" : "", + "display" : "", + "system" : "" + }, + "IN": { + "code" : "intolerance", + "display" : "Intolerance", + "system" : "http://hl7.org/fhir/allergy-intolerance-type" + }, + "SE": { + "code" : "", + "display" : "", + "system" : "" + } + }, + "CodeSystem/AllergyVerificationStatus": { + "C": { + "code" : "confirmed", + "display" : "Confirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "D": { + "code" : "unconfirmed", + "display" : "Unconfirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "E": { + "code" : "entered-in-error", + "display" : "Entered in Error", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "I": { + "code" : "confirmed", + "display" : "Confirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "P": { + "code" : "unconfirmed", + "display" : "Unconfirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "S": { + "code" : "unconfirmed", + "display" : "Unconfirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + }, + "U": { + "code" : "unconfirmed", + "display" : "Unconfirmed", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" } - }, - "CodeSystem/RegistryStatus": { - "A": { - "code": "true", - "display": "", - "system": "" - }, + }, + "CodeSystem/AllergyClinicalStatus": { + "C": { + "code" : "active", + "display" : "Active", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, + "D": { + "code" : "active", + "display" : "Active", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, + "E": { + "code" : "", + "display" : "", + "system" : "" + }, "I": { - "code": "false", - "display": "", - "system": "" - }, - "M": { - "code": "false", - "display": "", - "system": "" - }, - "L": { - "code": "false", - "display": "", - "system": "" - }, - "O": { - "code": "", - "display": "", - "system": "" - }, + "code" : "inactive", + "display" : "Inactive", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, "P": { - "code": "false", - "display": "", - "system": "" - }, + "code" : "active", + "display" : "Active", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, + "S": { + "code" : "active", + "display" : "Active", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + }, "U": { - "code": "", + "code" : "active", + "display" : "Active", + "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + }, + "CodeSystem/RequestStatus": { + "A": { + "code" : "active", + "display" : "Active", + "system" : "http://hl7.org/fhir/request-status" + }, + "E": { + "code" : "entered-in-error", + "display" : "Entered in Error", + "system" : "http://hl7.org/fhir/request-status" + }, + "P": { + "code" : "on-hold", + "display" : "On Hold", + "system" : "http://hl7.org/fhir/request-status" + }, + "R": { + "code" : "revoked", + "display" : "Revoked", + "system" : "http://hl7.org/fhir/request-status" + }, + "__default__": { + "code": "unknown", + "display": "unknown", + "system": "http://hl7.org/fhir/request-status" + } + }, + "CodeSystem/RequestPriority": { + "A": { + "code" : "asap", + "display" : "ASAP", + "system" : "http://hl7.org/fhir/request-priority" + }, + "R": { + "code" : "routine", + "display" : "Routine", + "system" : "http://hl7.org/fhir/request-priority" + }, + "S": { + "code" : "stat", + "display" : "STAT", + "system" : "http://hl7.org/fhir/request-priority" + }, + "__default__": { + "code" : "routine", + "display" : "Routine", + "system" : "http://hl7.org/fhir/request-priority" + } + }, + "CodeSystem/AnimalSpecies": { + "125097000": { + "code": "125097000", + "display" : "goat", + "system" : "http://hl7.org/fhir/animal-species" + }, + "125099002": { + "code": "125099002", + "display" : "sheep", + "system" : "http://hl7.org/fhir/animal-species" + }, + "34618005":{ + "code" : "34618005", + "display" : "cow", + "system" : "http://hl7.org/fhir/animal-species" + }, + "425134008":{ + "code" : "425134008", + "display" : "turkey", + "system" : "http://hl7.org/fhir/animal-species" + }, + "47290002":{ + "code" : "47290002", + "display" : "chicken", + "system" : "http://hl7.org/fhir/animal-species" + }, + "15778005":{ + "code" : "15778005", + "display" : "goose", + "system" : "http://hl7.org/fhir/animal-species" + }, + "396620009":{ + "code" : "396620009", + "display" : "duck", + "system" : "http://hl7.org/fhir/animal-species" + }, + "388445009":{ + "code" : "396620009", + "display" : "horse", + "system" : "http://hl7.org/fhir/animal-species" + }, + "85626006":{ + "code" : "85626006", + "display" : "donkey", + "system" : "http://hl7.org/fhir/animal-species" + }, + "132950000":{ + "code" : "132950000", + "display" : "mule", + "system" : "http://hl7.org/fhir/animal-species" + } + }, + "CodeSystem/EncounterSecurity": { + "Y": { + "code" : "R", + "display" : "restricted", + "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "N": { + "code" : "N", + "display" : "normal", + "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + }, + "CodeSystem/DisabilityIndicator": { + "Y": { + "code" : "true", + "display" : "", + "system" : "" + }, + "N": { + "code" : "false", + "display" : "", + "system" : "" + }, + "__default__": { + "code": "false", "display": "", "system": "" } }, - "CodeSystem/Race": { - "1002-5": { - "code": "1002-5", - "display": "American Indian or Alaska Native", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "2028-9": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "2054-5": { - "code": "2054-5", - "display": "Black or African American", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "2076-8": { - "code": "2076-8", - "display": "Native Hawaiian or Other Pacific Islander", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "2106-3": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "2131-1": { - "code": "2131-1", - "display": "Other Race", - "system": "urn:oid:2.16.840.1.113883.6.238" + "CodeSystem/ProcedureStatus": { + "planned": { + "code" : "preparation" + }, + "arrived": { + "code" : "on-hold" + }, + "triaged": { + "code" : "on-hold" + }, + "in-progress": { + "code" : "in-progress" + }, + "onleave": { + "code" : "stopped" + }, + "finished": { + "code" : "completed" + }, + "cancelled": { + "code" : "cancelled" + }, + "enetered-in error": { + "code" : "enetered-in error" + }, + "unknown": { + "code" : "unknown" } }, - - "CodeSystem/Ethnicity": { - "H": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - }, - "N": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" + "CodeSystem/DiagnosisType": { + "A": { + "code" : "AD", + "display" : "Admission Diagnosis", + "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + }, + "W": { + "code" : "CC", + "display" : "Chief Complaint", + "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + }, + "F": { + "code" : "DD", + "display" : "Discharge Diagnosis", + "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + }, + "CodeSystem/PlanType": { + "pay": { + "code" : "pay", + "display" : "Pay", + "system" : "http://terminology.hl7.org/CodeSystem/coverage-selfpay" + }, + "EHCPOL": { + "code" : "EHCPOL", + "display" : "extended healthcare", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HSAPOL": { + "code" : "HSAPOL", + "display" : "health spending account", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "AUTOPOL": { + "code" : "AUTOPOL", + "display" : "automobile", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "COL": { + "code" : "COL", + "display" : "collision coverage policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "UNINSMOT" : { + "code" : "UNINSMOT", + "display" : "uninsured motorist policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "PUBLICPOL" : { + "code" : "PUBLICPOL", + "display" : "public healthcare", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DENTPRG" : { + "code" : "DENTPRG", + "display" : "dental program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DISEASEPRG" : { + "code" : "DISEASEPRG", + "display" : "public health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "CANPRG" : { + "code" : "CANPRG", + "display" : "women's cancer detection program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "ENDRENAL": { + "code" : "ENDRENAL", + "display" : "end renal program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HIVAIDS" : { + "code" : "HIVAIDS", + "display" : "HIV-AIDS program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "MANDPOL" : { + "code" : "MANDPOL", + "display" : "mandatory health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "MENTPRG" : { + "code" : "MENTPRG", + "display" : "mental health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SAFNET" : { + "code" : "SAFNET", + "display" : "safety net clinic program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SUBPRG" : { + "code" : "SUBPRG", + "display" : "substance use program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SUBSIDIZ" : { + "code" : "SUBSIDIZ", + "display" : "subsidized health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SUBSIDMC" : { + "code" : "SUBSIDMC", + "display" : "subsidized managed care program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SUBSUPP" : { + "code" : "SUBSUPP", + "display" : "subsidized supplemental health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "WCBPOL" : { + "code" : "WCBPOL", + "display" : "worker's compensation", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DENTAL" : { + "code" : "DENTAL", + "display" : "dental care policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DISEASE" : { + "code" : "DISEASE", + "display" : "disease specific policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DRUGPOL" : { + "code" : "DRUGPOL", + "display" : "drug policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HIP" : { + "code" : "HIP", + "display" : "health insurance plan policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "LTC" : { + "code" : "LTC", + "display" : "long term care policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "MCPOL" : { + "code" : "MCPOL", + "display" : "managed care policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "POS" : { + "code" : "POS", + "display" : "point of service policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HMO" : { + "code" : "HMO", + "display" : "health maintenance organization policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "PPO" : { + "code" : "PPO", + "display" : "preferred provider organization policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "MENTPOL" : { + "code" : "MENTPOL", + "display" : "mental health policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SUBPOL" : { + "code" : "SUBPOL", + "display" : "substance use policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "VISPOL" : { + "code" : "VISPOL", + "display" : "vision care policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "DIS" : { + "code" : "DIS", + "display" : "disability insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "EWB" : { + "code" : "EWB", + "display" : "employee welfare benefit plan policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "FLEXP" : { + "code" : "FLEXP", + "display" : "flexible benefit plan policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "LIFE" : { + "code" : "LIFE", + "display" : "life insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "ANNU" : { + "code" : "ANNU", + "display" : "annuity policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "TLIFE" : { + "code" : "TLIFE", + "display" : "term life insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "ULIFE" : { + "code" : "ULIFE", + "display" : "universal life insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "PNC" : { + "code" : "PNC", + "display" : "property and casualty insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "REI" : { + "code" : "REI", + "display" : "reinsurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SURPL" : { + "code" : "SURPL", + "display" : "surplus line insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "UMBRL" : { + "code" : "UMBRL", + "display" : "umbrella liability insurance policy", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "CHAR" : { + "code" : "CHAR", + "display" : "charity program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "CRIME" : { + "code" : "CRIME", + "display" : "crime victim program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "EAP" : { + "code" : "EAP", + "display" : "employee assistance program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "GOVEMP" : { + "code" : "GOVEMP", + "display" : "government employee health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "HIRISK" : { + "code" : "HIRISK", + "display" : "high risk pool program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "IND" : { + "code" : "IND", + "display" : "indigenous peoples health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "MILITARY" : { + "code" : "MILITARY", + "display" : "military health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "RETIRE" : { + "code" : "RETIRE", + "display" : "retiree health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "SOCIAL" : { + "code" : "SOCIAL", + "display" : "social service program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "VET" : { + "code" : "VET", + "display" : "veteran health program", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" } }, - "CodeSystem/EventReason": { - "01": { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - }, - "02": { - "code": "TREAT", - "display": "treatment", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + "CodeSystem/PriceType": { + "AP" : { + "code" : "AP", + "display" : "administrative price or handling fee", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" }, - "03": { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - }, - "O": { - "code": "O", - "display": "Other", - "system": "HL70062" + "DC" : { + "code" : "DC", + "display" : "direct unit cost", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" }, - "U": { - "code": "unknown", - "display": "", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + "IC" : { + "code" : "IC", + "display" : "indirect unit cost", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "PF" : { + "code" : "PF", + "display" : "professional fee for performing provider", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "TF" : { + "code" : "TF", + "display" : "technology fee for use of equipment", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "TP" : { + "code" : "TP", + "display" : "total price", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + "UP" : { + "code" : "UP", + "display" : "unit price, may be based on length of procedure or service", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" } }, - "CodeSystem/TelecomEquipmentType": { - "PH": { - "code" : "phone", - "display" : "Phone", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "FX": { - "code" : "fax", - "display" : "Fax", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "MD": { - "code" : "other", - "display" : "Other", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "CP": { - "code" : "phone", - "display" : "Phone", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "SAT": { - "code" : "other", - "display" : "Other", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "BP": { - "code" : "pager", - "display" : "Pager", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "Internet": { - "code" : "email", - "display" : "email", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "X.400": { - "code" : "email", - "display" : "email", - "system" : "http://hl7.org/fhir/contact-point-system" - }, - "TDD": { - "code" : "other", - "display" : "Other", - "system" : "http://hl7.org/fhir/contact-point-system" + "CodeSystem/CoverageType": { + "B" : { + "code" : "B", + "display" : "Both hospital and physician", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" }, - "TYD" : { - "code" : "other", - "display" : "Other", - "system" : "http://hl7.org/fhir/contact-point-system" + "H" : { + "code" : "H", + "display" : "Hospital/institutional", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" + }, + "P" : { + "code" : "P", + "display" : "Physician/professional", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" } }, - "CodeSystem/EncounterStatus": { - "E": { - "code": "in-progress", - "display": "In Progress", - "system": "http://hl7.org/fhir/encounter-status" - }, - "I": { - "code": "in-progress", - "display": "in-progress", - "system": "http://hl7.org/fhir/encounter-status" - }, - "O": { - "code": "in-progress", - "display": "In Progress", - "system": "http://hl7.org/fhir/encounter-status" - }, - "P": { - "code": "planned", - "display": "Planned", - "system": "http://hl7.org/fhir/encounter-status" - }, - "R": { - "code": "in-progress", - "display": "In Progress", - "system": "http://hl7.org/fhir/encounter-status" + "CodeSystem/PatientRelationship": { + "01" : { + "code" : "self", + "display" : "Self", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + "02" : { + "code" : "spouse", + "display" : "Spouse", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + "03" : { + "code" : "child", + "display" : "Child", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + "04" : { + "code" : "child", + "display" : "Child", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + "05": { + "code" : "05", + "display" : "Step child", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "06" : { + "code" : "06", + "display" : "Foster child", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "07" : { + "code" : "07", + "display" : "Ward of the court", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "08" : { + "code" : "08", + "display" : "Employee", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "09" : { + "code" : "09", + "display" : "Unknown", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "10" : { + "code" : "10", + "display" : "Handicapped dependent", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "11" : { + "code" : "11", + "display" : "Organ donor", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "12" : { + "code" : "12", + "display" : "Cadaver donor", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "13" : { + "code" : "13", + "display" : "Grandchild", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "14" : { + "code" : "14", + "display" : "Niece/nephew", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" }, - "B": { - "code": "in-progress", - "display": "In Progress", - "system": "http://hl7.org/fhir/encounter-status" + "15" : { + "code" : "injured", + "display" : "Injured Party", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" }, - "C": { - "code": "in-progress", - "display": "In Progress", - "system": "http://hl7.org/fhir/encounter-status" + "16" : { + "code" : "16", + "display" : "Sponsored dependent", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" }, - "N": { - "code": "cancelled", - "display": "Cancelled", - "system": "http://hl7.org/fhir/encounter-status" - }, - "U": { - "code": "unknown", - "display": "Unknown", - "system": "http://hl7.org/fhir/encounter-status" + "17" : { + "code" : "17", + "display" : "Minor dependent of a minor dependent", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + }, + "18" : { + "code" : "parent", + "display" : "Parent", + "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + }, + "19" : { + "code" : "19", + "display" : "Grandparent", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" } }, - "CodeSystem/EpisodeOfCareStatus": { - "E": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" - }, - "I": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" - }, - "O": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" - }, - "P": { - "code": "planned", - "display": "Planned", - "system": "http://hl7.org/fhir/encounter-status" - }, - "R": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" + "CodeSystem/FillerStatusServiceRequestStatus": { + "Pending" : { + "code" : "draft", + "display" : "Draft", + "system" : "http://hl7.org/fhir/request-status" }, - "B": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" + "Waitlist" : { + "code" : "draft", + "display" : "Draft", + "system" : "http://hl7.org/fhir/request-status" + }, + "Booked" : { + "code" : "active", + "display" : "Active", + "system" : "http://hl7.org/fhir/request-status" }, - "C": { - "code": "active", - "display": "Active", - "system": "http://hl7.org/fhir/encounter-status" + "Started" : { + "code" : "active", + "display" : "Active", + "system" : "http://hl7.org/fhir/request-status" + }, + "Complete" : { + "code" : "completed", + "display" : "Completed", + "system" : "http://hl7.org/fhir/request-status" + }, + "Cancelled" : { + "code" : "revoked", + "display" : "Revoked", + "system" : "http://hl7.org/fhir/request-status" + }, + "Dc" : { + "code" : "revoked", + "display" : "Revoked", + "system" : "http://hl7.org/fhir/request-status" + }, + "Deleted" : { + "code" : "entered-in-error", + "display" : "Entered In Error", + "system" : "http://hl7.org/fhir/request-status" + }, + "Blocked" : { + "code" : "draft", + "display" : "Draft", + "system" : "http://hl7.org/fhir/request-status" + }, + "Overbook" : { + "code" : "draft", + "display" : "Draft", + "system" : "http://hl7.org/fhir/request-status" + }, + "Noshow" : { + "code" : "revoked", + "display" : "Revoked", + "system" : "http://hl7.org/fhir/request-status" + } + }, + "CodeSystem/FillerStatusAppointmentParticipantStatus": { + "Pending" : { + "code" : "tentative", + "display" : "Tentative", + "system" : "http://hl7.org/fhir/participationstatus" }, - "N": { - "code": "cancelled", - "display": "Cancelled", - "system": "http://hl7.org/fhir/encounter-status" - }, - "U": { - "code": "", - "display": "", - "system": "http://hl7.org/fhir/encounter-status" - } + "Waitlist" : { + "code" : "tentative", + "display" : "Tentative", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Booked" : { + "code" : "accepted", + "display" : "Accepted", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Started" : { + "code" : "accepted", + "display" : "Accepted", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Complete" : { + "code" : "accepted", + "display" : "Accepted", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Cancelled" : { + "code" : "declined", + "display" : "Declined", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Dc" : { + "code" : "declined", + "display" : "Declined", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Deleted" : { + "code" : "declined", + "display" : "Declined", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Blocked" : { + "code" : "needs-action", + "display" : "Needs Action", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Overbook" : { + "code" : "needs-action", + "display" : "Needs Action", + "system" : "http://hl7.org/fhir/participationstatus" + }, + "Noshow" : { + "code" : "declined", + "display" : "Declined", + "system" : "http://hl7.org/fhir/participationstatus" + } }, - "CodeSystem/AllergyIntoleranceCriticality": { - "SV": { - "code" : "high", - "display" : "High Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "CodeSystem/LocationRoleType": { + "C" : { + "code" : "C", + "display" : "Clinic", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" }, - "MO": { - "code" : "", - "display" : "", - "system" : "" + "D" : { + "code" : "D", + "display" : "Department", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + }, + "H" : { + "code" : "H", + "display" : "Home", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" }, - "MI": { - "code" : "low", - "display" : "Low Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "N" : { + "code" : "N", + "display" : "Nursing Unit", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + }, + "O" : { + "code" : "PROFF", + "display" : "Provider's Office", + "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "P" : { + "code" : "P", + "display" : "Phone", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + }, + "S" : { + "code" : "SNF", + "display" : "Skilled nursing facility", + "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + }, + "CodeSystem/PractitionerIDNumberType": { + "CY" : { + "code" : "CY", + "display" : "County Number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "DEA" : { + "code" : "DEA", + "display" : "Drug Enforcement Agency no.", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "GL" : { + "code" : "GL", + "display" : "General ledger number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "LI" : { + "code" : "LI", + "display" : "Labor and industries number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "L&I" : { + "code" : "LI", + "display" : "Labor and industries number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "MCD" : { + "code" : "MCD", + "display" : "Practitioner Medicaid Number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "MCR" : { + "code" : "MCR", + "display" : "Practitioner Medicare Nuber", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "QA" : { + "code" : "QA", + "display" : "QA Number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "SL" : { + "code" : "SL", + "display" : "State license number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "TAX" : { + "code" : "TAX", + "display" : "Tax ID number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "TRL" : { + "code" : "TRL", + "display" : "Training license number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + "UPIN" : { + "code" : "UPIN", + "display" : "Medicare/CMS Univeral Physician Identification Number", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0203" + } + }, + "CodeSystem/ProviderRole_PractitionerRole": { + "CP" : { + "code" : "consulting-provider", + "display" : "Consulting Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + }, + "PP" : { + "code" : "primarycare-provider", + "display" : "Primary Care Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + }, + "RP" : { + "code" : "referring-provider", + "display" : "Referring Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + }, + "RT" : { + "code" : "referredto-provider", + "display" : "Referred To Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + } + }, + "CodeSystem/AppointmentType": { + "ROUTINE" : { + "code" : "ROUTINE", + "display" : "Routine appointment - default if not valued", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + }, + "WALKIN" : { + "code" : "WALKIN", + "display" : "A previously unscheduled walk-in visit", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + }, + "CHECKUP" : { + "code" : "CHECKUP", + "display" : "A routine check-up, such as an annual physical", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" }, - "U": { - "code" : "", - "display" : "", - "system" : "" + "FOLLOWUP" : { + "code" : "FOLLOWUP", + "display" : "A follow up visit from a previous appointment", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + }, + "EMERGENCY" : { + "code" : "EMERGENCY", + "display" : "Emergency appointment", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + } + }, + "CodeSystem/FillerStatus" : { + "Pending" : { + "code" : "pending", + "display" : "Proposed", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "399166001" : { - "code" : "high", - "display" : "High Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Waitlist" : { + "code" : "waitlist", + "display" : "Waitlisted", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + }, + "Booked" : { + "code" : "booked", + "display" : "Booked", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "442452003" : { - "code" : "high", - "display" : "High Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Started" : { + "code" : "checked-in", + "display" : "Checked In", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + }, + "Complete" : { + "code" : "fulfilled", + "display" : "Fulfilled", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + }, + "Cancelled" : { + "code" : "cancelled", + "display" : "Cancelled", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "255604002" : { - "code" : "low", - "display" : "Low Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Dc" : { + "code" : "cancelled", + "display" : "Cancelled", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "371923003": { - "code" : "low", - "display" : "Low Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Deleted" : { + "code" : "entered-in-error", + "display" : "Entered In Error", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "371924009" : { - "code" : "high", - "display" : "High Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Blocked" : { + "code" : "waitlist", + "display" : "Waitlisted", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" }, - "24484000" : { - "code" : "high", - "display" : "High Risk", - "system" : "http://hl7.org/fhir/allergy-intolerance-criticality" + "Overbook" : { + "code" : "waitlist", + "display" : "Waitlisted", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + }, + "Noshow" : { + "code" : "noshow", + "display" : "No Show", + "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" } }, - "CodeSystem/AllergyIntoleranceSeverity": { - "SV": { - "code" : "severe", - "display" : "Severe", - "system" : "http://hl7.org/fhir/reaction-event-severity" + "CodeSystem/DocumentAvailabilityStatus" : { + "AV" : { + "code" : "current", + "display" : "Current", + "system" : "http://hl7.org/fhir/document-reference-status" }, - "MO": { - "code" : "moderate", - "display" : "Moderate", - "system" : "http://hl7.org/fhir/reaction-event-severity" + "CA" : { + "code" : "entered-in-error", + "display" : "Entered in Error", + "system" : "http://hl7.org/fhir/document-reference-status" }, - "MI": { - "code" : "mild", - "display" : "Mild", - "system" : "http://hl7.org/fhir/reaction-event-severity" + "OB" : { + "code" : "entered-in-error", + "display" : "Entered in Error", + "system" : "http://hl7.org/fhir/document-reference-status" }, - "U": { - "code" : "", - "display" : "", - "system" : "" + "UN" : { + "code" : "current", + "display" : "Current", + "system" : "http://hl7.org/fhir/document-reference-status" } }, - "CodeSystem/AllergySensitivity": { - "AD": { - "code" : "", - "display" : "", - "system" : "" - }, - "AL": { - "code" : "allergy", - "display" : "Allergy", - "system" : "http://hl7.org/fhir/allergy-intolerance-type" - }, - "CT": { - "code" : "", - "display" : "", - "system" : "" + "CodeSystem/SecurityLableHandingInstructions": { + "R" : { + "code" : "R", + "display" : "restricted", + "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" }, - "IN": { - "code" : "intolerance", - "display" : "Intolerance", - "system" : "http://hl7.org/fhir/allergy-intolerance-type" + "U" : { + "code" : "U", + "display" : "unrestricted", + "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" }, - "SE": { - "code" : "", - "display" : "", - "system" : "" + "V" : { + "code" : "V", + "display" : "very restricted", + "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" } }, - "CodeSystem/AllergyVerificationStatus": { - "C": { - "code" : "confirmed", - "display" : "Confirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "CodeSystem/DocumentCompletionStatus" : { + "AU" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" }, - "D": { - "code" : "unconfirmed", - "display" : "Unconfirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "DI" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" }, - "E": { - "code" : "entered-in-error", - "display" : "Entered in Error", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "DO" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" }, - "I": { - "code" : "confirmed", - "display" : "Confirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "IN" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" }, - "P": { - "code" : "unconfirmed", - "display" : "Unconfirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "IP" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" }, - "S": { - "code" : "unconfirmed", - "display" : "Unconfirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "LA" : { + "code" : "final", + "display" : "Final", + "system" : "http://hl7.org/fhir/composition-status" }, - "U": { - "code" : "unconfirmed", - "display" : "Unconfirmed", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + "PA" : { + "code" : "preliminary", + "display" : "Preliminary", + "system" : "http://hl7.org/fhir/composition-status" } }, - "CodeSystem/AllergyClinicalStatus": { - "C": { - "code" : "active", - "display" : "Active", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "CodeSystem/MimeType": { + "AP" : { + "code" : "application", + "display" : "pdf", + "system" : "urn:ietf:bcp:13" }, - "D": { - "code" : "active", - "display" : "Active", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "AU" : { + "code" : "audio", + "display" : "basic", + "system" : "urn:ietf:bcp:13" + }, + "FT" : { + "code" : "text", + "display" : "x-hl7-ft", + "system" : "urn:ietf:bcp:13" + }, + "IM" : { + "code" : "image", + "display" : "jpeg", + "system" : "urn:ietf:bcp:13" + }, + "NS" : { + "code" : "image", + "display" : "jpeg", + "system" : "urn:ietf:bcp:13" + }, + "SD" : { + "code" : "image", + "display" : "jpeg", + "system" : "urn:ietf:bcp:13" }, - "E": { - "code" : "", - "display" : "", - "system" : "" + "SI" : { + "code" : "image", + "display" : "jpeg", + "system" : "urn:ietf:bcp:13" }, - "I": { - "code" : "inactive", - "display" : "Inactive", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "TX" : { + "code" : "text", + "display" : "plain", + "system" : "urn:ietf:bcp:13" }, - "P": { - "code" : "active", - "display" : "Active", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "application" : { + "code" : "application", + "display" : "pdf", + "system" : "urn:ietf:bcp:13" }, - "S": { - "code" : "active", - "display" : "Active", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "audio" : { + "code" : "audio", + "display" : "basic", + "system" : "urn:ietf:bcp:13" }, - "U": { - "code" : "active", - "display" : "Active", - "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - }, - "CodeSystem/RequestStatus": { - "A": { - "code" : "active", - "display" : "Active", - "system" : "http://hl7.org/fhir/request-status" + "image" : { + "code" : "image", + "display" : "jpeg", + "system" : "urn:ietf:bcp:13" }, - "E": { - "code" : "entered-in-error", - "display" : "Entered in Error", - "system" : "http://hl7.org/fhir/request-status" + "model" : { + "code" : "model", + "display" : "vrml", + "system" : "urn:ietf:bcp:13" }, - "P": { - "code" : "on-hold", - "display" : "On Hold", - "system" : "http://hl7.org/fhir/request-status" + "multipart" : { + "code" : "multipart", + "display" : "x-hl7-cda-level-one", + "system" : "urn:ietf:bcp:13" }, - "R": { - "code" : "revoked", - "display" : "Revoked", - "system" : "http://hl7.org/fhir/request-status" + "text" : { + "code" : "text", + "display" : "plain", + "system" : "urn:ietf:bcp:13" + }, + "video" : { + "code" : "video", + "display" : "mpeg", + "system" : "urn:ietf:bcp:13" } }, - "CodeSystem/RequestPriority": { - "A": { - "code" : "asap", - "display" : "ASAP", - "system" : "http://hl7.org/fhir/request-priority" + "CodeSystem/MimeSubType": { + "BASIC" : { + "code" : "basic", + "display" : "Basic", + "system" : "urn:ietf:bcp:13" }, - "R": { - "code" : "routine", - "display" : "Routine", - "system" : "http://hl7.org/fhir/request-priority" + "DICOM" : { + "code" : "dicom", + "display" : "DICOM", + "system" : "urn:ietf:bcp:13" }, - "S": { - "code" : "stat", - "display" : "STAT", - "system" : "http://hl7.org/fhir/request-priority" - } - }, - "CodeSystem/AnimalSpecies": { - "125097000": { - "code": "125097000", - "display" : "goat", - "system" : "http://hl7.org/fhir/animal-species" + "FAX" : { + "code" : "g3fax", + "display" : "", + "system" : "urn:ietf:bcp:13" }, - "125099002": { - "code": "125099002", - "display" : "sheep", - "system" : "http://hl7.org/fhir/animal-species" + "GIF" : { + "code" : "gif", + "display" : "GIF", + "system" : "urn:ietf:bcp:13" }, - "34618005":{ - "code" : "34618005", - "display" : "cow", - "system" : "http://hl7.org/fhir/animal-species" + "HTML" : { + "code" : "html", + "display" : "HTML", + "system" : "urn:ietf:bcp:13" }, - "425134008":{ - "code" : "425134008", - "display" : "turkey", - "system" : "http://hl7.org/fhir/animal-species" + "JOT" : { + "code" : "jpeg", + "display" : "", + "system" : "urn:ietf:bcp:13" }, - "47290002":{ - "code" : "47290002", - "display" : "chicken", - "system" : "http://hl7.org/fhir/animal-species" + "JPEG" : { + "code" : "jpeg", + "display" : "JPEG", + "system" : "urn:ietf:bcp:13" }, - "15778005":{ - "code" : "15778005", - "display" : "goose", - "system" : "http://hl7.org/fhir/animal-species" + "Octet-stream" : { + "code" : "", + "display" : "", + "system" : "urn:ietf:bcp:13" }, - "396620009":{ - "code" : "396620009", - "display" : "duck", - "system" : "http://hl7.org/fhir/animal-species" + "PICT" : { + "code" : "pict", + "display" : "", + "system" : "urn:ietf:bcp:13" }, - "388445009":{ - "code" : "396620009", - "display" : "horse", - "system" : "http://hl7.org/fhir/animal-species" + "PostScript" : { + "code" : "", + "display" : "", + "system" : "urn:ietf:bcp:13" }, - "85626006":{ - "code" : "85626006", - "display" : "donkey", - "system" : "http://hl7.org/fhir/animal-species" + "RTF" : { + "code" : "rtf", + "display" : "RTF", + "system" : "urn:ietf:bcp:13" }, - "132950000":{ - "code" : "132950000", - "display" : "mule", - "system" : "http://hl7.org/fhir/animal-species" - } - }, - "CodeSystem/EncounterSecurity": { - "Y": { - "code" : "R", - "display" : "restricted", - "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + "TIFF" : { + "code" : "tiff", + "display" : "TIFF", + "system" : "urn:ietf:bcp:13" }, - "N": { - "code" : "N", - "display" : "normal", - "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + "x-hl7-cda-level-one" : { + "code" : "x-hl7-cda-level-one", + "display" : "", + "system" : "urn:ietf:bcp:13" } }, - "CodeSystem/DisabilityIndicator": { - "Y": { - "code" : "true", - "display" : "", - "system" : "" + "CodeSystem/EventTiming": { + "AC" : { + "code" : "AC", + "display" : "AC", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "N": { - "code" : "false", - "display" : "", - "system" : "" + "ACD" : { + "code" : "ACD", + "display" : "ACD", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "__default__": { - "code": "false", - "display": "", - "system": "" - } - }, - "CodeSystem/ProcedureStatus": { - "planned": { - "code" : "preparation" + "ACM" : { + "code" : "ACM", + "display" : "ACM", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "arrived": { - "code" : "on-hold" + "ACV" : { + "code" : "ACV", + "display" : "ACV", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "triaged": { - "code" : "on-hold" + "HS" : { + "code" : "HS", + "display" : "HS", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "in-progress": { - "code" : "in-progress" + "IC" : { + "code" : "C", + "display" : "C", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + }, + "ICD" : { + "code" : "CD", + "display" : "CD", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + }, + "ICM" : { + "code" : "CM", + "display" : "CM", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + }, + "ICV" : { + "code" : "CV", + "display" : "CV", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "onleave": { - "code" : "stopped" + "PC" : { + "code" : "PC", + "display" : "PC", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "finished": { - "code" : "completed" + "PCD" : { + "code" : "PCD", + "display" : "PCD", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "cancelled": { - "code" : "cancelled" + "PCM" : { + "code" : "PCM", + "display" : "PCM", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "enetered-in error": { - "code" : "enetered-in error" + "PCV" : { + "code" : "PCV", + "display" : "PCV", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" }, - "unknown": { - "code" : "unknown" + "WAKE" : { + "code" : "WAKE", + "display" : "WAKE", + "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" } }, - "CodeSystem/DiagnosisType": { - "A": { - "code" : "AD", - "display" : "Admission Diagnosis", - "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" - }, - "W": { - "code" : "CC", - "display" : "Chief Complaint", - "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + "CodeSystem/PatientStatus": { + "AI" : { + "code" : "active", + "display" : "Active", + "system" : "http://hl7.org/fhir/episode-of-care-status" }, - "F": { - "code" : "DD", - "display" : "Discharge Diagnosis", - "system" : "http://terminology.hl7.org/CodeSystem/diagnosis-role" + "DI" : { + "code" : "finished", + "display" : "Finished", + "system" : "http://hl7.org/fhir/episode-of-care-status" } }, - "CodeSystem/PlanType": { - "pay": { - "code" : "pay", - "display" : "Pay", - "system" : "http://terminology.hl7.org/CodeSystem/coverage-selfpay" - }, - "EHCPOL": { - "code" : "EHCPOL", - "display" : "extended healthcare", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "HSAPOL": { - "code" : "HSAPOL", - "display" : "health spending account", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "CodeSystem/YesNo-Indicator": { + "Y" : { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + }, + "N" : { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + }, + "CodeSystem/ConsentScope": { + "001": { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + }, + "003": { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + }, + "092": { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" }, - "AUTOPOL": { - "code" : "AUTOPOL", - "display" : "automobile", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "__default__": { + "code": "treatment", + "display": "Treatment", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + }, + "CodeSystem/ConsentStatusCode": { + "A": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "COL": { - "code" : "COL", - "display" : "collision coverage policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "B": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "UNINSMOT" : { - "code" : "UNINSMOT", - "display" : "uninsured motorist policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "L": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "PUBLICPOL" : { - "code" : "PUBLICPOL", - "display" : "public healthcare", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "P": { + "code": "draft", + "display": "Draft", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "DENTPRG" : { - "code" : "DENTPRG", - "display" : "dental program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "R": { + "code": "rejected", + "display": "Rejected", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "DISEASEPRG" : { - "code" : "DISEASEPRG", - "display" : "public health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "X": { + "code": "rejected", + "display": "Rejected", + "system": "http://hl7.org/fhir/consent-state-codes" }, - "CANPRG" : { - "code" : "CANPRG", - "display" : "women's cancer detection program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "__default__": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/consent-state-codes" + } + }, + "CodeSystem/OrderControlCode": { + "AF": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "ENDRENAL": { - "code" : "ENDRENAL", - "display" : "end renal program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "CA": { + "code": "revoked", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "HIVAIDS" : { - "code" : "HIVAIDS", - "display" : "HIV-AIDS program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "CH": { + "code": "active", + "display": "Completed", + "system": "http://hl7.org/fhir/request-status" }, - "MANDPOL" : { - "code" : "MANDPOL", - "display" : "mandatory health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "CN": { + "code": "active", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "MENTPRG" : { - "code" : "MENTPRG", - "display" : "mental health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "CR": { + "code": "revoked", + "display": "Entered-In-Error", + "system": "http://hl7.org/fhir/request-status" }, - "SAFNET" : { - "code" : "SAFNET", - "display" : "safety net clinic program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "DC": { + "code": "revoked", + "display": "On-Hold", + "system": "http://hl7.org/fhir/request-status" }, - "SUBPRG" : { - "code" : "SUBPRG", - "display" : "substance use program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "DE": { + "code": "entered-in-error", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "SUBSIDIZ" : { - "code" : "SUBSIDIZ", - "display" : "subsidized health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "DF": { + "code": "revoked", + "display": "Revoked", + "system": "http://hl7.org/fhir/request-status" }, - "SUBSIDMC" : { - "code" : "SUBSIDMC", - "display" : "subsidized managed care program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "DR": { + "code": "revoked", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "SUBSUPP" : { - "code" : "SUBSUPP", - "display" : "subsidized supplemental health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "FU": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/request-status" }, - "WCBPOL" : { - "code" : "WCBPOL", - "display" : "worker's compensation", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "HD": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "DENTAL" : { - "code" : "DENTAL", - "display" : "dental care policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "HR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "DISEASE" : { - "code" : "DISEASE", - "display" : "disease specific policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "LI": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "DRUGPOL" : { - "code" : "DRUGPOL", - "display" : "drug policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "MC": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "HIP" : { - "code" : "HIP", - "display" : "health insurance plan policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "NA": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "LTC" : { - "code" : "LTC", - "display" : "long term care policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "NW": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "MCPOL" : { - "code" : "MCPOL", - "display" : "managed care policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OC": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "POS" : { - "code" : "POS", - "display" : "point of service policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OD": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "HMO" : { - "code" : "HMO", - "display" : "health maintenance organization policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OE": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "PPO" : { - "code" : "PPO", - "display" : "preferred provider organization policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OF": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "MENTPOL" : { - "code" : "MENTPOL", - "display" : "mental health policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OH": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "SUBPOL" : { - "code" : "SUBPOL", - "display" : "substance use policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OK": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "VISPOL" : { - "code" : "VISPOL", - "display" : "vision care policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OP": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "DIS" : { - "code" : "DIS", - "display" : "disability insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "OR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "EWB" : { - "code" : "EWB", - "display" : "employee welfare benefit plan policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "PA": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "FLEXP" : { - "code" : "FLEXP", - "display" : "flexible benefit plan policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "PR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "LIFE" : { - "code" : "LIFE", - "display" : "life insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "PY": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "ANNU" : { - "code" : "ANNU", - "display" : "annuity policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RE": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "TLIFE" : { - "code" : "TLIFE", - "display" : "term life insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RF": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "ULIFE" : { - "code" : "ULIFE", - "display" : "universal life insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RL": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "PNC" : { - "code" : "PNC", - "display" : "property and casualty insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RO": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "REI" : { - "code" : "REI", - "display" : "reinsurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RP": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "SURPL" : { - "code" : "SURPL", - "display" : "surplus line insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RQ": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "UMBRL" : { - "code" : "UMBRL", - "display" : "umbrella liability insurance policy", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "CHAR" : { - "code" : "CHAR", - "display" : "charity program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "RU": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "CRIME" : { - "code" : "CRIME", - "display" : "crime victim program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "SC": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "EAP" : { - "code" : "EAP", - "display" : "employee assistance program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "SN": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "GOVEMP" : { - "code" : "GOVEMP", - "display" : "government employee health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "SR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "HIRISK" : { - "code" : "HIRISK", - "display" : "high risk pool program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "SS": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "IND" : { - "code" : "IND", - "display" : "indigenous peoples health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "UA": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "MILITARY" : { - "code" : "MILITARY", - "display" : "military health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "UC": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "RETIRE" : { - "code" : "RETIRE", - "display" : "retiree health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "UD": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "SOCIAL" : { - "code" : "SOCIAL", - "display" : "social service program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "UF": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "VET" : { - "code" : "VET", - "display" : "veteran health program", - "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - }, - "CodeSystem/PriceType": { - "AP" : { - "code" : "AP", - "display" : "administrative price or handling fee", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "UH": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "DC" : { - "code" : "DC", - "display" : "direct unit cost", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "UM": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "IC" : { - "code" : "IC", - "display" : "indirect unit cost", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "UN": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "PF" : { - "code" : "PF", - "display" : "professional fee for performing provider", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "UR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "TF" : { - "code" : "TF", - "display" : "technology fee for use of equipment", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "UX": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "TP" : { - "code" : "TP", - "display" : "total price", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "XO": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" }, - "UP" : { - "code" : "UP", - "display" : "unit price, may be based on length of procedure or service", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0205" + "XR": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" + }, + "XX": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/request-status" } }, - "CodeSystem/CoverageType": { - "B" : { - "code" : "B", - "display" : "Both hospital and physician", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" + "CodeSystem/AllowSubstitution": { + "R": { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + }, + "G": { + "code": "G", + "display": "Allow generic substitutions", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" }, - "H" : { - "code" : "H", - "display" : "Hospital/institutional", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" + "N": { + "code": "N", + "display": "Substitutions are NOT authorized. (This is the default - null.)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" }, - "P" : { - "code" : "P", - "display" : "Physician/professional", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0309" + "T": { + "code": "T", + "display": "Allow therapeutic substitutions", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" } }, - "CodeSystem/PatientRelationship": { - "01" : { - "code" : "self", - "display" : "Self", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - }, - "02" : { - "code" : "spouse", - "display" : "Spouse", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - }, - "03" : { - "code" : "child", - "display" : "Child", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + "CodeSystem/SupplyRequestStatus": { + "A": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "04" : { - "code" : "child", - "display" : "Child", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + "CA": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "05": { - "code" : "05", - "display" : "Step child", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "CM": { + "code": "completed", + "display": "Completed", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "06" : { - "code" : "06", - "display" : "Foster child", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "DC": { + "code": "suspended", + "display": "Suspended", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "07" : { - "code" : "07", - "display" : "Ward of the court", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "ER": { + "code": "entered-in-error", + "display": "Entered In Error", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "08" : { - "code" : "08", - "display" : "Employee", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "HD": { + "code": "suspended", + "display": "Suspended", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "09" : { - "code" : "09", - "display" : "Unknown", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "IP": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "10" : { - "code" : "10", - "display" : "Handicapped dependent", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "RP": { + "code": "unknown", + "display": "Unknown", + "system": "http://hl7.org/fhir/supplyrequest-status" }, - "11" : { - "code" : "11", - "display" : "Organ donor", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "SC": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/supplyrequest-status" + } + }, + "CodeSystem/OrderControlCode_RequestStatus": { + "AF": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "12" : { - "code" : "12", - "display" : "Cadaver donor", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "CA": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "13" : { - "code" : "13", - "display" : "Grandchild", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "CH": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "14" : { - "code" : "14", - "display" : "Niece/nephew", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "CN": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "15" : { - "code" : "injured", - "display" : "Injured Party", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + "CR": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "16" : { - "code" : "16", - "display" : "Sponsored dependent", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "DC": { + "code": "stopped", + "display": "Stopped", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "17" : { - "code" : "17", - "display" : "Minor dependent of a minor dependent", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" + "DE": { + "code": "entered-in-error", + "display": "Error", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "18" : { - "code" : "parent", - "display" : "Parent", - "system" : "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + "DF": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "19" : { - "code" : "19", - "display" : "Grandparent", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0344" - } - }, - "CodeSystem/FillerStatusServiceRequestStatus": { - "Pending" : { - "code" : "draft", - "display" : "Draft", - "system" : "http://hl7.org/fhir/request-status" + "DR": { + "code": "stopped", + "display": "Stopped", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Waitlist" : { - "code" : "draft", - "display" : "Draft", - "system" : "http://hl7.org/fhir/request-status" - }, - "Booked" : { - "code" : "active", - "display" : "Active", - "system" : "http://hl7.org/fhir/request-status" + "FU": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Started" : { - "code" : "active", - "display" : "Active", - "system" : "http://hl7.org/fhir/request-status" - }, - "Complete" : { - "code" : "completed", - "display" : "Completed", - "system" : "http://hl7.org/fhir/request-status" - }, - "Cancelled" : { - "code" : "revoked", - "display" : "Revoked", - "system" : "http://hl7.org/fhir/request-status" - }, - "Dc" : { - "code" : "revoked", - "display" : "Revoked", - "system" : "http://hl7.org/fhir/request-status" - }, - "Deleted" : { - "code" : "entered-in-error", - "display" : "Entered In Error", - "system" : "http://hl7.org/fhir/request-status" - }, - "Blocked" : { - "code" : "draft", - "display" : "Draft", - "system" : "http://hl7.org/fhir/request-status" - }, - "Overbook" : { - "code" : "draft", - "display" : "Draft", - "system" : "http://hl7.org/fhir/request-status" - }, - "Noshow" : { - "code" : "revoked", - "display" : "Revoked", - "system" : "http://hl7.org/fhir/request-status" - } - }, - "CodeSystem/FillerStatusAppointmentParticipantStatus": { - "Pending" : { - "code" : "tentative", - "display" : "Tentative", - "system" : "http://hl7.org/fhir/participationstatus" + "HD": { + "code": "on-hold", + "display": "On Hold", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Waitlist" : { - "code" : "tentative", - "display" : "Tentative", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Booked" : { - "code" : "accepted", - "display" : "Accepted", - "system" : "http://hl7.org/fhir/participationstatus" + "HR": { + "code": "on-hold", + "display": "On Hold", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Started" : { - "code" : "accepted", - "display" : "Accepted", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Complete" : { - "code" : "accepted", - "display" : "Accepted", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Cancelled" : { - "code" : "declined", - "display" : "Declined", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Dc" : { - "code" : "declined", - "display" : "Declined", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Deleted" : { - "code" : "declined", - "display" : "Declined", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Blocked" : { - "code" : "needs-action", - "display" : "Needs Action", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Overbook" : { - "code" : "needs-action", - "display" : "Needs Action", - "system" : "http://hl7.org/fhir/participationstatus" - }, - "Noshow" : { - "code" : "declined", - "display" : "Declined", - "system" : "http://hl7.org/fhir/participationstatus" - } - }, - "CodeSystem/LocationRoleType": { - "C" : { - "code" : "C", - "display" : "Clinic", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "LI": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "D" : { - "code" : "D", - "display" : "Department", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - }, - "H" : { - "code" : "H", - "display" : "Home", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "MC": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "N" : { - "code" : "N", - "display" : "Nursing Unit", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - }, - "O" : { - "code" : "PROFF", - "display" : "Provider's Office", - "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - }, - "P" : { - "code" : "P", - "display" : "Phone", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - }, - "S" : { - "code" : "SNF", - "display" : "Skilled nursing facility", - "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - }, - "CodeSystem/AppointmentType": { - "ROUTINE" : { - "code" : "ROUTINE", - "display" : "Routine appointment - default if not valued", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + "NA": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "WALKIN" : { - "code" : "WALKIN", - "display" : "A previously unscheduled walk-in visit", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" - }, - "CHECKUP" : { - "code" : "CHECKUP", - "display" : "A routine check-up, such as an annual physical", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" + "NW": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "FOLLOWUP" : { - "code" : "FOLLOWUP", - "display" : "A follow up visit from a previous appointment", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" - }, - "EMERGENCY" : { - "code" : "EMERGENCY", - "display" : "Emergency appointment", - "system" : "http://terminology.hl7.org/CodeSystem/v2-0276" - } - }, - "CodeSystem/FillerStatus" : { - "Pending" : { - "code" : "pending", - "display" : "Proposed", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OC": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Waitlist" : { - "code" : "waitlist", - "display" : "Waitlisted", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" - }, - "Booked" : { - "code" : "booked", - "display" : "Booked", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OD": { + "code": "stopped", + "display": "Stopped", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Started" : { - "code" : "checked-in", - "display" : "Checked In", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" - }, - "Complete" : { - "code" : "fulfilled", - "display" : "Fulfilled", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" - }, - "Cancelled" : { - "code" : "cancelled", - "display" : "Cancelled", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OE": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Dc" : { - "code" : "cancelled", - "display" : "Cancelled", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OF": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Deleted" : { - "code" : "entered-in-error", - "display" : "Entered In Error", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OH": { + "code": "completed", + "display": "Completed", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Blocked" : { - "code" : "waitlist", - "display" : "Waitlisted", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OK": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Overbook" : { - "code" : "waitlist", - "display" : "Waitlisted", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" + "OP": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "Noshow" : { - "code" : "noshow", - "display" : "No Show", - "system" : "http://hl7.org/fhir/R4/codesystem-appointmentstatus.html" - } - }, - "CodeSystem/DocumentAvailabilityStatus" : { - "AV" : { - "code" : "current", - "display" : "Current", - "system" : "http://hl7.org/fhir/document-reference-status" + "OR": { + "code": "completed", + "display": "Completed", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "CA" : { - "code" : "entered-in-error", - "display" : "Entered in Error", - "system" : "http://hl7.org/fhir/document-reference-status" + "PA": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "OB" : { - "code" : "entered-in-error", - "display" : "Entered in Error", - "system" : "http://hl7.org/fhir/document-reference-status" + "PR": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "UN" : { - "code" : "current", - "display" : "Current", - "system" : "http://hl7.org/fhir/document-reference-status" - } - }, - "CodeSystem/SecurityLableHandingInstructions": { - "R" : { - "code" : "R", - "display" : "restricted", - "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + "PY": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "U" : { - "code" : "U", - "display" : "unrestricted", - "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + "RE": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "V" : { - "code" : "V", - "display" : "very restricted", - "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - }, - "CodeSystem/DocumentCompletionStatus" : { - "AU" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" + "RF": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "DI" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" + "RL": { + "code": "active", + "display": "Active", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "DO" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" + "RO": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "IN" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" + "RP": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "IP" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" + "RQ": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "LA" : { - "code" : "final", - "display" : "Final", - "system" : "http://hl7.org/fhir/composition-status" + "RR": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "PA" : { - "code" : "preliminary", - "display" : "Preliminary", - "system" : "http://hl7.org/fhir/composition-status" - } - }, - "CodeSystem/MimeType": { - "AP" : { - "code" : "application", - "display" : "pdf", - "system" : "urn:ietf:bcp:13" + "RU": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "AU" : { - "code" : "audio", - "display" : "basic", - "system" : "urn:ietf:bcp:13" + "SC": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "FT" : { - "code" : "text", - "display" : "x-hl7-ft", - "system" : "urn:ietf:bcp:13" + "SN": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "IM" : { - "code" : "image", - "display" : "jpeg", - "system" : "urn:ietf:bcp:13" + "SR": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" + }, + "SS": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" + }, + "UA": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "NS" : { - "code" : "image", - "display" : "jpeg", - "system" : "urn:ietf:bcp:13" + "UC": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "SD" : { - "code" : "image", - "display" : "jpeg", - "system" : "urn:ietf:bcp:13" + "UD": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "SI" : { - "code" : "image", - "display" : "jpeg", - "system" : "urn:ietf:bcp:13" + "UF": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "TX" : { - "code" : "text", - "display" : "plain", - "system" : "urn:ietf:bcp:13" + "UH": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "application" : { - "code" : "application", - "display" : "pdf", - "system" : "urn:ietf:bcp:13" + "UM": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "audio" : { - "code" : "audio", - "display" : "basic", - "system" : "urn:ietf:bcp:13" + "UN": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "image" : { - "code" : "image", - "display" : "jpeg", - "system" : "urn:ietf:bcp:13" + "UR": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "model" : { - "code" : "model", - "display" : "vrml", - "system" : "urn:ietf:bcp:13" + "UX": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "multipart" : { - "code" : "multipart", - "display" : "x-hl7-cda-level-one", - "system" : "urn:ietf:bcp:13" + "XO": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "text" : { - "code" : "text", - "display" : "plain", - "system" : "urn:ietf:bcp:13" + "XR": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" }, - "video" : { - "code" : "video", - "display" : "mpeg", - "system" : "urn:ietf:bcp:13" + "XX": { + "code": "unknown", + "display": "Unknown", + "system": "http://www.hl7.org/fhir/valueset-medicationrequest-status.html" } }, - "CodeSystem/MimeSubType": { - "BASIC" : { - "code" : "basic", - "display" : "Basic", - "system" : "urn:ietf:bcp:13" + "CodeSystem/RepeatPattern": { + "A": { + "code": "A", + "display": "Ante (before)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "DICOM" : { - "code" : "dicom", - "display" : "DICOM", - "system" : "urn:ietf:bcp:13" + "BID": { + "code": "BID", + "display": "twice a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "FAX" : { - "code" : "g3fax", - "display" : "", - "system" : "urn:ietf:bcp:13" + "C": { + "code": "C", + "display": "service is provided continuously between start time and stop time", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "GIF" : { - "code" : "gif", - "display" : "GIF", - "system" : "urn:ietf:bcp:13" + "D": { + "code": "D", + "display": "Cibus Diurnus (lunch)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "HTML" : { - "code" : "html", - "display" : "HTML", - "system" : "urn:ietf:bcp:13" + "I": { + "code": "I", + "display": "Inter", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "JOT" : { - "code" : "jpeg", - "display" : "", - "system" : "urn:ietf:bcp:13" + "M": { + "code": "M", + "display": "Cibus Matutinus (breakfast)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Meal Related Timings": { + "code": "Meal Related Timings", + "display": "C cum meal>", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "JPEG" : { - "code" : "jpeg", - "display" : "JPEG", - "system" : "urn:ietf:bcp:13" + "Once": { + "code": "Once", + "display": "one time only.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "Octet-stream" : { - "code" : "", - "display" : "", - "system" : "urn:ietf:bcp:13" + "P": { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "PICT" : { - "code" : "pict", - "display" : "", - "system" : "urn:ietf:bcp:13" + "PRN": { + "code": "PRN", + "display": "given as needed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "PRNxxx": { + "code": "PRNxxx", + "display": "where xxx is some frequency code", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QD": { + "code": "QD", + "display": "every days", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QD": { + "code": "QD", + "display": "", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QH": { + "code": "QH", + "display": "every hours", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q1H": { + "code": "Q1H", + "display": "Q1H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q2H": { + "code": "Q2H", + "display": "Q2H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q3H": { + "code": "Q3H", + "display": "Q3H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q4H": { + "code": "Q4H", + "display": "Q4H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q6H": { + "code": "Q6H", + "display": "Q6H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "Q8H": { + "code": "Q8H", + "display": "Q8H", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QJ": { + "code": "QJ", + "display": "repeats on a particular day of the week", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QL": { + "code": "QL", + "display": "every months (Lunar cycle)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QM": { + "code": "QM", + "display": "every minutes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QS": { + "code": "QS", + "display": "every seconds", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QW": { + "code": "QW", + "display": "every weeks", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QAM": { + "code": "QAM", + "display": "in the morning at institution-specified time", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QHS": { + "code": "QHS", + "display": "every day before the hour of sleep", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QID": { + "code": "QID", + "display": "four times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QOD": { + "code": "QOD", + "display": "every other day", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QPM": { + "code": "QPM", + "display": "in the evening at institution-specified time", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "QSHIFT": { + "code": "QSHIFT", + "display": "during each of three eight-hour shifts at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "TID": { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "U ": { + "code": "U ", + "display": "for future use, where is an interval specification as defined by the UNIX cron specification", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "PostScript" : { - "code" : "", - "display" : "", - "system" : "urn:ietf:bcp:13" + "V": { + "code": "V", + "display": "Cibus Vespertinus (dinner)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" }, - "RTF" : { - "code" : "rtf", - "display" : "RTF", - "system" : "urn:ietf:bcp:13" + "xID": { + "code": "xID", + "display": "x times per day at institution-specified times, where X is a numeral 5 or greater.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + }, + "CodeSystem/DispenseType": { + "B": { + "code": "B", + "display": "Trial Quantity Balance", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" }, - "TIFF" : { - "code" : "tiff", - "display" : "TIFF", - "system" : "urn:ietf:bcp:13" + "C": { + "code": "C", + "display": "Compassionate Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" }, - "x-hl7-cda-level-one" : { - "code" : "x-hl7-cda-level-one", - "display" : "", - "system" : "urn:ietf:bcp:13" + "N": { + "code": "N", + "display": "New/Renew - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "P": { + "code": "P", + "display": "New/Renew - Part Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "Q": { + "code": "Q", + "display": "Refill - Part Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "R": { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "S": { + "code": "S", + "display": "Manufacturer Sample", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "T": { + "code": "T", + "display": "Trial Quantity", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + }, + "Z": { + "code": "Z", + "display": "Non-Prescription Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" } }, - "CodeSystem/EventTiming": { - "AC" : { - "code" : "AC", - "display" : "AC", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "CodeSystem/MedicationDispenseStatus": { + "A": { + "code": "preparation", + "display": "Preparation", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ACD" : { - "code" : "ACD", - "display" : "ACD", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "CA": { + "code": "cancelled", + "display": "Cancelled", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ACM" : { - "code" : "ACM", - "display" : "ACM", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "CM": { + "code": "completed", + "display": "Completed", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ACV" : { - "code" : "ACV", - "display" : "ACV", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "DC": { + "code": "stopped", + "display": "Stopped", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "HS" : { - "code" : "HS", - "display" : "HS", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "ER": { + "code": "entered-in-error", + "display": "Entered In Error", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "IC" : { - "code" : "C", - "display" : "C", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "HD": { + "code": "on-hold", + "display": "On Hold", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ICD" : { - "code" : "CD", - "display" : "CD", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "IP": { + "code": "preparation", + "display": "Preparation", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ICM" : { - "code" : "CM", - "display" : "CM", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "RP": { + "code": "stopped", + "display": "Stopped", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" }, - "ICV" : { - "code" : "CV", - "display" : "CV", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "SC": { + "code": "in-progress", + "display": "In Progress", + "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-status" + } + }, + "CodeSystem/SubstanceStatus": { + "CE": { + "code": "inactive", + "display": "Inactive", + "system": "http://hl7.org/fhir/substance-status" }, - "PC" : { - "code" : "PC", - "display" : "PC", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "CW": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/substance-status" }, - "PCD" : { - "code" : "PCD", - "display" : "PCD", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "EE": { + "code": "inactive", + "display": "Inactive", + "system": "http://hl7.org/fhir/substance-status" }, - "PCM" : { - "code" : "PCM", - "display" : "PCM", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "EW": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/substance-status" }, - "PCV" : { - "code" : "PCV", - "display" : "PCV", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "NE": { + "code": "inactive", + "display": "Inactive", + "system": "http://hl7.org/fhir/substance-status" }, - "WAKE" : { - "code" : "WAKE", - "display" : "WAKE", - "system" : "http://terminology.hl7.org/CodeSystem/v3-TimingEvent" + "NW": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/substance-status" + }, + "OE": { + "code": "inactive", + "display": "Inactive", + "system": "http://hl7.org/fhir/substance-status" + }, + "OK": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/substance-status" + }, + "OW": { + "code": "active", + "display": "Active", + "system": "http://hl7.org/fhir/substance-status" } } + } } \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_CECodeableConcept.liquid b/data/Templates/Hl7v2/DataType/_CECodeableConcept.liquid index 53a5014eb..8d9b37851 100644 --- a/data/Templates/Hl7v2/DataType/_CECodeableConcept.liquid +++ b/data/Templates/Hl7v2/DataType/_CECodeableConcept.liquid @@ -29,5 +29,33 @@ "version":"{{ CE.7.Value }}", {% endif -%} }, + { + {% if mapping -%} + "code":"{{ CE.4.Value | get_property: mapping, 'code' }}", + {% capture displayURL %}{{ CE.4.Value | get_property: mapping, 'display' }}{% endcapture %} + "display":"{{ displayURL }}", + {% if displayURL == CE.4.Value %} + "display":"{{ CE.5.Value }}", + {% endif %} + {% if CE.6 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CE.6.Value | replace: ' ', '-'}}", + {% endif %} + "system":"{{ CE.4.Value | get_property: mapping, 'system' }}", + "version":"{{ CE.4.Value | get_property: mapping, 'version' }}", + "version":"{{ CE.7.Value }}", + {% else -%} + "code":"{{ CE.4.Value }}", + "display":"{{ CE.5.Value }}", + + {% if CE.6 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CE.6.Value | replace: ' ', '-'}}", + {% endif %} + {% capture temp %}{{ CE.6.Value | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp%} + "system":"{{temp}}", + {% endif %} + "version":"{{ CE.7.Value }}", + {% endif -%} + }, ], {% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_CWECodeableConceptInternalValues.liquid b/data/Templates/Hl7v2/DataType/_CWECodeableConceptInternalValues.liquid index 77d4fc35c..cc7670085 100644 --- a/data/Templates/Hl7v2/DataType/_CWECodeableConceptInternalValues.liquid +++ b/data/Templates/Hl7v2/DataType/_CWECodeableConceptInternalValues.liquid @@ -2,41 +2,94 @@ "coding": [ { + {% if mapping -%} + "code":"{{ CWE.1 | get_property: mapping, 'code' }}", + {% capture displayURL %}{{ CWE.1 | get_property: mapping, 'display' }}{% endcapture %} + "display":"{{ displayURL }}", + {% if displayURL == CWE.1 %} + "display":"{{ CWE.2 }}", + {% endif %} + {% if CWE.3 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3 | replace: ' ', '-'}}", + {% endif %} + "system":"{{ CWE.1 | get_property: mapping, 'system' }}", + "version":"{{ CWE.1 | get_property: mapping, 'version' }}", + "version":"{{ CWE.7 }}", + {% else %} "code":"{{ CWE.1 }}", "display":"{{ CWE.2 }}", - {% if CWE.3 %} "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3 | replace: ' ', '-'}}", {% endif %} + {% if CWE.3 and TQ1 %} + "system":"http://terminology.hl7.org/CodeSystem/v2-0335", + {% endif %} {% capture temp %}{{ CWE.3 | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} {% if temp%} "system":"{{temp}}", {% endif %} "version":"{{ CWE.7 }}", + {% endif -%} }, { + {% if mapping -%} + "code":"{{ CWE.4 | get_property: mapping, 'code' }}", + {% capture displayURL %}{{ CWE.4 | get_property: mapping, 'display' }}{% endcapture %} + "display":"{{ displayURL }}", + {% if displayURL == CWE.4 %} + "display":"{{ CWE.5 }}", + {% endif %} + {% if CWE.6 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.6 | replace: ' ', '-'}}", + {% endif %} + "system":"{{ CWE.4 | get_property: mapping, 'system' }}", + "version":"{{ CWE.4 | get_property: mapping, 'version' }}", + "version":"{{ CWE.8 }}", + {% else -%} "code":"{{ CWE.4 }}", "display":"{{ CWE.5 }}", {% if CWE.6 %} "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.6 | replace: ' ', '-'}}", {% endif %} + {% if CWE.6 and TQ1 %} + "system":"http://terminology.hl7.org/CodeSystem/v2-0335", + {% endif %} {% capture temp %}{{ CWE.6 | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} {% if temp%} "system":"{{temp}}", {% endif %} "version":"{{ CWE.8 }}", + {% endif -%} }, { + {% if mapping -%} + "code":"{{ CWE.10 | get_property: mapping, 'code' }}", + {% capture displayURL %}{{ CWE.10 | get_property: mapping, 'display' }}{% endcapture %} + "display":"{{ displayURL }}", + {% if displayURL == CWE.10 %} + "display":"{{ CWE.11 }}", + {% endif %} + {% if CWE.12 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.12 | replace: ' ', '-'}}", + {% endif %} + "system":"{{ CWE.10 | get_property: mapping, 'system' }}", + "version":"{{ CWE.10 | get_property: mapping, 'version' }}", + "version":"{{ CWE.13 }}", + {% else -%} "code":"{{ CWE.10 }}", "display":"{{ CWE.11 }}", {% if CWE.12 %} "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.12 | replace: ' ', '-'}}", {% endif %} + {% if CWE.12 and TQ1 %} + "system":"http://terminology.hl7.org/CodeSystem/v2-0335", + {% endif %} {% capture temp %}{{ CWE.12 | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} {% if temp%} "system":"{{temp}}", {% endif %} "version":"{{ CWE.13 }}", + {% endif -%} }, ], "text":"{{ CWE.9 }}", diff --git a/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid b/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid index c019f392f..b4da42bcf 100644 --- a/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid +++ b/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid @@ -1,5 +1,4 @@ {% if CWE -%} -"identifier" : [ { "value": "{{CWE.1}}", {% if CWE.3 %} @@ -18,10 +17,8 @@ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.12}}", {% endif %} }, -], {% endif -%} {% if CWE_InternalValue -%} -"identifier" : [ { "value": "{{CWE_InternalValue.1.Value}}", {% if CWE_InternalValue.3.Value %} @@ -40,5 +37,4 @@ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE_InternalValue.12.VAlue}}", {% endif %} }, -], {% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_CWELocation.liquid b/data/Templates/Hl7v2/DataType/_CWELocation.liquid new file mode 100644 index 000000000..bf16b32e5 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_CWELocation.liquid @@ -0,0 +1,26 @@ +{% assign textstring = "" -%} +{% if CWE -%} + "identifier": + [ + { + "value":"{{ CWE.1.Value }}", + {% if CWE.3 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.3.Value | replace: ' ', '-'}}", + {% endif -%} + }, + { + "value":"{{ CWE.4.Value }}", + {% if CWE.6 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.6.Value | replace: ' ', '-'}}", + {% endif -%} + }, + { + "value":"{{ CWE.10.Value }}", + {% if CWE.12 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.12.Value | replace: ' ', '-'}}", + {% endif -%} + }, + ], + {% capture textstring %}{{ textstring | append: CWE.2.Value | append: ":" | append: CWE.5.Value | append: ":"| append: CWE.9.Value | append: ":"| append: CWE.11.Value }}{% endcapture -%} + "name":"{{ textstring | split: ":" | join: "--" }}", +{% endif -%} diff --git a/data/Templates/Hl7v2/DataType/_CWEOrganization.liquid b/data/Templates/Hl7v2/DataType/_CWEOrganization.liquid index ee447b2b8..bf16b32e5 100644 --- a/data/Templates/Hl7v2/DataType/_CWEOrganization.liquid +++ b/data/Templates/Hl7v2/DataType/_CWEOrganization.liquid @@ -1,10 +1,26 @@ +{% assign textstring = "" -%} {% if CWE -%} "identifier": [ { "value":"{{ CWE.1.Value }}", - "system":"{{ CWE.3.Value }}", + {% if CWE.3 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.3.Value | replace: ' ', '-'}}", + {% endif -%} + }, + { + "value":"{{ CWE.4.Value }}", + {% if CWE.6 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.6.Value | replace: ' ', '-'}}", + {% endif -%} + }, + { + "value":"{{ CWE.10.Value }}", + {% if CWE.12 -%} + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{CWE.12.Value | replace: ' ', '-'}}", + {% endif -%} }, ], - "name":"{{ CWE.2.Value }}", + {% capture textstring %}{{ textstring | append: CWE.2.Value | append: ":" | append: CWE.5.Value | append: ":"| append: CWE.9.Value | append: ":"| append: CWE.11.Value }}{% endcapture -%} + "name":"{{ textstring | split: ":" | join: "--" }}", {% endif -%} diff --git a/data/Templates/Hl7v2/DataType/_CWEQuantity.liquid b/data/Templates/Hl7v2/DataType/_CWEQuantity.liquid index f6281afb0..fccd024bf 100644 --- a/data/Templates/Hl7v2/DataType/_CWEQuantity.liquid +++ b/data/Templates/Hl7v2/DataType/_CWEQuantity.liquid @@ -2,7 +2,7 @@ {% if CWE.1 and CWE.3 -%} "code":"{{ CWE.1.Value }}", {% endif -%} - {% if CWE.2 == null -%} + {% if CWE.2 == null and CWE.3 == null -%} "unit":"{{ CWE.1.Value }}", {% endif -%} "unit":"{{ CWE.2.Value }}", diff --git a/data/Templates/Hl7v2/DataType/_CWEQuantityInternal.liquid b/data/Templates/Hl7v2/DataType/_CWEQuantityInternal.liquid new file mode 100644 index 000000000..8776b30c5 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_CWEQuantityInternal.liquid @@ -0,0 +1,16 @@ +{% if CWE -%} + {% if CWE.1 and CWE.3 -%} + "code":"{{ CWE.1}}", + {% endif -%} + {% if CWE.2 == null and CWE.3 == null -%} + "unit":"{{ CWE.1 }}", + {% endif -%} + "unit":"{{ CWE.2 }}", + {% if CWE.1 and CWE.3 -%} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3}}", + {% endif %} + {% capture temp %}{{ CWE.3 | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp %} + "system":"{{temp}}", + {% endif %} +{% endif -%} diff --git a/data/Templates/Hl7v2/DataType/_CWEQuantityUnits.liquid b/data/Templates/Hl7v2/DataType/_CWEQuantityUnits.liquid new file mode 100644 index 000000000..e203801fc --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_CWEQuantityUnits.liquid @@ -0,0 +1,32 @@ +{% if CWE -%} + {% if mapping -%} + {% if CWE.3 %} + "code": "{{ CWE.1.Value }}", + "unit": "{{ CWE.2.Value }}", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3.Value | replace: ' ', '-'}}", + {% else %} + {% if CWE.1 and CWE.2 == null -%} + "unit":"{{ CWE.1.Value }}", + {% elsif CWE.2 -%} + "unit":"{{ CWE.2.Value }}", + {% endif %} + {% endif %} + "system":"{{ CWE.1.Value | get_property: mapping, 'system' }}", + {% else %} + {% if CWE.3 %} + "code": "{{ CWE.1.Value }}", + "unit": "{{ CWE.2.Value }}", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3.Value | replace: ' ', '-'}}", + {% else %} + {% if CWE.1 and CWE.2 == null -%} + "unit":"{{ CWE.1.Value }}", + {% elsif CWE.2 -%} + "unit":"{{ CWE.2.Value }}", + {% endif %} + {% endif %} + {% capture temp %}{{ CWE.3.Value | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp%} + "system":"{{temp}}", + {% endif %} + {% endif %} +{% endif -%} diff --git a/data/Templates/Hl7v2/DataType/_DLDLocation.liquid b/data/Templates/Hl7v2/DataType/_DLDLocation.liquid index 3c24ca5cd..ee0db02e8 100644 --- a/data/Templates/Hl7v2/DataType/_DLDLocation.liquid +++ b/data/Templates/Hl7v2/DataType/_DLDLocation.liquid @@ -18,8 +18,9 @@ {% endif %} "name": "{{ textstring }}", - + "identifier" : [ {% include 'DataType/CWEIdentifier' CWE: DLD.1 -%} + ], "physicalType": { "coding": diff --git a/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid b/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid index e0c3e7ed0..c96cdb8da 100644 --- a/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid +++ b/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid @@ -6,9 +6,9 @@ {% if EI -%} "value":"{{ EI.1.Value }}", {% unless EI.3.Value and EI.4.Value -%} - {% if EI.2 %} - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-{{EI.2.Value | replace: ' ', '-'}}", - {% endif %} + {% if EI.2 %} + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-{{EI.2.Value | replace: ' ', '-'}}", + {% endif %} {% endunless -%} {% if EI.4.Value -%} {% if EI.4.Value == "URI" -%} @@ -23,9 +23,9 @@ "type":{ "coding": [ { - "code": "{{ EI.4.Value | get_property: 'CodeSystem/UniversalIDType', 'code' }}", - "display": "{{ EI.4.Value | get_property: 'CodeSystem/UniversalIDType', 'display' }}", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "{{ EI.4.Value | get_property: 'CodeSystem/UniversalIDType', 'code' }}", + "display": "{{ EI.4.Value | get_property: 'CodeSystem/UniversalIDType', 'display' }}", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", } ] }, diff --git a/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid b/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid new file mode 100644 index 000000000..ee9fcf75f --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid @@ -0,0 +1,33 @@ +{% comment -%} +{% if EI -%} + "value":"{{ EI.1 }}", +{% endif -%} +{% endcomment -%} +{% if EI -%} + "value":"{{ EI.1 }}", + {% unless EI.3 and EI.4 -%} + {% if EI.2 %} + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-{{EI.2 | replace: ' ', '-'}}", + {% endif %} + {% endunless -%} + {% if EI.4 -%} + {% if EI.4 == "URI" -%} + "system": "{{ EI.3 }}", + {% elsif EI.4 == "ISO" or EI.4 == "CLIA" or EI.4 == "CLIP" -%} + "system": "urn:oid:{{ EI.3 }}", + {% elsif EI.4 == "UUID" or EI.4 == "GUID" -%} + "system": "urn:uuid:{{ EI.3 }}", + {% else -%} + "system": "http://example.com/v2-to-fhir-converter/universal-entity-identifier-{{EI.4 | replace: ' ', '-' }}", + {% endif -%} + "type":{ + "coding": [ + { + "code": "{{ EI.4 | get_property: 'CodeSystem/UniversalIDType', 'code' }}", + "display": "{{ EI.4 | get_property: 'CodeSystem/UniversalIDType', 'display' }}", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + } + ] + }, + {% endif -%} +{% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_EIPIdentifier.liquid b/data/Templates/Hl7v2/DataType/_EIPIdentifier.liquid index f8e631ced..6631774cc 100644 --- a/data/Templates/Hl7v2/DataType/_EIPIdentifier.liquid +++ b/data/Templates/Hl7v2/DataType/_EIPIdentifier.liquid @@ -1,26 +1,21 @@ {% if EIP -%} - "value":"{{ EIP.1.1 }}", - "value":"{{ EIP.2.1 }}", - "type": - { - "coding": - [ - { - {% if EIP.1 -%} - "code":"PLAC", - {% endif -%} - {% if EIP.2 -%} - "code":"FILL", - {% endif -%} - {% if EIP.1 -%} - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} - {% if EIP.2 -%} - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} - }, - ], - }, + {% if EIP.1 or EIP.1 and EIP.2 %} + {% include 'DataType/EIIdentifier_InternalValues' EI: EIP.1 %} + "type": { + "coding": { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + }, + {% elsif EIP.2 %} + {% include 'DataType/EIIdentifier_InternalValues' EI: EIP.2 %} + "type": { + "coding": { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + }, + {% endif %} {% endif -%} {% if EIP_Specimen_child1 -%} "value":"{{ EIP_Specimen_child1.1 }}", diff --git a/data/Templates/Hl7v2/DataType/_MOMoney.liquid b/data/Templates/Hl7v2/DataType/_MOMoney.liquid new file mode 100644 index 000000000..5e052248f --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_MOMoney.liquid @@ -0,0 +1,8 @@ +{% if MO %} + {% if MO.1 %} + "value": {{MO.1}}, + {% endif %} + {% if MO.2 %} + "currency": "{{MO.2}}", + {% endif %} +{% endif %} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_NMQuantity.liquid b/data/Templates/Hl7v2/DataType/_NMQuantity.liquid new file mode 100644 index 000000000..10fdeb9e7 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_NMQuantity.liquid @@ -0,0 +1,6 @@ +{% if NM_val %} + "value": {{ NM_val.Value }}, +{% endif %} +{% if NM_unit %} + {% include 'DataType/CWEQuantityUnits' CWE: NM_unit -%} +{% endif %} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_PLN.liquid b/data/Templates/Hl7v2/DataType/_PLN.liquid index 8d6ffd07e..459b2306d 100644 --- a/data/Templates/Hl7v2/DataType/_PLN.liquid +++ b/data/Templates/Hl7v2/DataType/_PLN.liquid @@ -1,8 +1,8 @@ {% if PLN -%} "value":"{{ PLN.1.Value }}", {% comment -%} Placeholder provided for customization by users. If left empty, it will be removed in post-processing. {% endcomment -%} - "type": - { + "type": { + {% include 'DataType/CWECodeableConceptInternalValues' mapping: 'CodeSystem/PractitionerIDNumberType', CWE: PLN.2 %} }, "period": { diff --git a/data/Templates/Hl7v2/DataType/_RPTTiming.liquid b/data/Templates/Hl7v2/DataType/_RPTTiming.liquid index 237e531f6..dd27edd18 100644 --- a/data/Templates/Hl7v2/DataType/_RPTTiming.liquid +++ b/data/Templates/Hl7v2/DataType/_RPTTiming.liquid @@ -1,8 +1,10 @@ {% if RPT -%} {% if RPT.5 -%} "period" : {{ RPT.5.Value }}, - {% endif -%} - "periodUnit" : {% include 'DataType/CWECode' mapping: 'CodeSystem/DurationUnit', CWE_internal: RPT.6 -%}, + {% endif -%} + {% if RPT.6 -%} + "periodUnit" : {% include 'DataType/CWECode' mapping: 'CodeSystem/DurationUnit', CWE_internal: RPT.6 -%}, + {% endif -%} "when" : [ "{{ RPT.8.Value | get_property: 'CodeSystem/EventTiming', 'code' }}", ], diff --git a/data/Templates/Hl7v2/DataType/_TQ_MedicationRequest.liquid b/data/Templates/Hl7v2/DataType/_TQ_MedicationRequest.liquid new file mode 100644 index 000000000..119fd6200 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_TQ_MedicationRequest.liquid @@ -0,0 +1,56 @@ +"timing": +{ + "repeat": + { + {% if TQ.2.2 %} + "timeOfDay": + [ + "{{ TQ.2.2 }}", + ], + {% endif %} + "boundsPeriod" : { + "start" : "{{ TQ.4.Value | format_as_date_time }}", + "end" : "{{ TQ.5.Value | format_as_date_time }}", + }, + {% if TQ.12 -%} + "count" : {{ TQ.12.Value}}, + {% endif -%} + + {% if TQ.3 -%} + {% assign durationUnitsValue = TQ.3.Value | slice: 0 -%} + {% assign durationUnits = durationUnitsValue | get_property: 'CodeSystem/DurationUnit', 'code' %} + {% if durationUnits == 'd' %} + {% assign durationValue = TQ..3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnits == 's' or durationUnits == 'mo' or durationUnits == 'wk' or durationUnits == 'min' or durationUnits == 'h' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnitsValue == 'X' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "frequency": "{{durationValue}}", + {% else %} + {% assign durationValue = TQ.3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% endif %} + {% endif %} + }, + "code": + { + "coding": + [ + {% if TQ.2.1 -%} + { + "code": "{{TQ.2.1}}", + "display": "{{ TQ.2.1 | get_property: 'CodeSystem/RepeatPattern', 'display' }}", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335", + }, + {% endif -%} + ], + }, +}, +{%- comment -%} +"text": "{{TQ.Value}}", +{%- endcomment -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_TQ_NutritionOrder.liquid b/data/Templates/Hl7v2/DataType/_TQ_NutritionOrder.liquid new file mode 100644 index 000000000..477124bb6 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_TQ_NutritionOrder.liquid @@ -0,0 +1,27 @@ +{% if TQ -%} + "repeat" : { + "boundsPeriod" : { + "start": "{{ TQ.4.Value | format_as_date_time }}", + "end": "{{ TQ.5.Value | format_as_date_time }}", + }, + {% if TQ.3 %} + {% assign durationUnitsValue = TQ.3.Value | slice: 0 -%} + {% assign durationUnits = durationUnitsValue | get_property: 'CodeSystem/DurationUnit_new', 'code' -%} + {% if durationUnits == 'd' %} + {% assign durationValue = TQ.3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnits == 's' or durationUnits == 'mo' or durationUnits == 'wk' or durationUnits == 'min' or durationUnits == 'h' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnitsValue == 'X' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "frequency": "{{durationValue}}", + {% endif %} + {% endif %} + {% if TQ.12 %} + "count": {{ TQ.12.Value }}, + {% endif %} + }, +{% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_TQ_SupplyRequest.liquid b/data/Templates/Hl7v2/DataType/_TQ_SupplyRequest.liquid new file mode 100644 index 000000000..d4716aab6 --- /dev/null +++ b/data/Templates/Hl7v2/DataType/_TQ_SupplyRequest.liquid @@ -0,0 +1,44 @@ + +"repeat" : { + "boundsPeriod" : { + "start" : "{{ TQ.4.Value | format_as_date_time }}", + "end" : "{{ TQ.5.Value | format_as_date_time }}", + }, + {% if TQ.12 -%} + "count" : {{ TQ.12.Value}}, + {% endif -%} + + + {% if TQ.3 -%} + {% assign durationUnitsValue = TQ.3.Value | slice: 0 -%} + {% assign durationUnits = durationUnitsValue | get_property: 'CodeSystem/DurationUnit', 'code' %} + {% if durationUnits == 'd' %} + {% assign durationValue = TQ..3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnits == 's' or durationUnits == 'mo' or durationUnits == 'wk' or durationUnits == 'min' or durationUnits == 'h' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnitsValue == 'X' %} + {% assign durationValue = TQ.3.Value | slice: 1,2 -%} + "frequency": "{{durationValue}}", + {% else %} + {% assign durationValue = TQ.3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% endif %} + {% endif %} +}, +"code" : { + "coding": + [ + {% if TQ.2.1 -%} + { + "code": "{{TQ.2.1}}", + "display": "{{ TQ.2.1 | get_property: 'CodeSystem/RepeatPattern', 'display' }}", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335", + }, + {% endif -%} + ], +}, diff --git a/data/Templates/Hl7v2/DataType/_XONOrganization.liquid b/data/Templates/Hl7v2/DataType/_XONOrganization.liquid index 4b382e9e8..de4f5b8ac 100644 --- a/data/Templates/Hl7v2/DataType/_XONOrganization.liquid +++ b/data/Templates/Hl7v2/DataType/_XONOrganization.liquid @@ -23,3 +23,29 @@ }, ], {% endif -%} +{% if XON_PRT -%} + "identifier": + [ + {% for PRT_8 in XON_PRT.Repeats %} + { + {% if PRT_8.10 -%} + "value":"{{ PRT_8.10.Value }}", + {% else -%} + "value":"{{ PRT_8.3.Value }}", + {% endif -%} + "type": + { + "coding": + [ + { + {% if PRT_8.7 -%} + "code":"{{ PRT_8.7.Value }}", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% endif -%} + }, + ], + }, + }, + {% endfor %} + ], +{% endif -%} diff --git a/data/Templates/Hl7v2/Extensions/Observation/_ObservationExtension.liquid b/data/Templates/Hl7v2/Extensions/Observation/_ObservationExtension.liquid index 2e4e385f6..c94c48e18 100644 --- a/data/Templates/Hl7v2/Extensions/Observation/_ObservationExtension.liquid +++ b/data/Templates/Hl7v2/Extensions/Observation/_ObservationExtension.liquid @@ -13,7 +13,11 @@ {%- endcomment -%} {% if OBX.11 %} {% include 'Extensions/ObservationStatus' ID: OBX.11 -%}, - {% endif %} + {% endif %} + {% if locationId %} + {% include 'Extensions/Observation-Location' locationId: locationId -%}, + {% endif %} + ], }, }, \ No newline at end of file diff --git a/data/Templates/Hl7v2/Extensions/Specimen/_SpecimenExtension.liquid b/data/Templates/Hl7v2/Extensions/Specimen/_SpecimenExtension.liquid index 935b5a316..7d8941542 100644 --- a/data/Templates/Hl7v2/Extensions/Specimen/_SpecimenExtension.liquid +++ b/data/Templates/Hl7v2/Extensions/Specimen/_SpecimenExtension.liquid @@ -5,8 +5,8 @@ "collection": { "extension": [ - {% if SPM.15 -%} - {% include 'Extensions/Specimen-SpecialHandling' SPL_HANDLING: SPM.15 -%}, + {% if SPL_HANDLING -%} + {% include 'Extensions/Specimen-SpecialHandling' SPL_HANDLING: SPL_HANDLING -%}, {% endif -%} ], }, diff --git a/data/Templates/Hl7v2/Extensions/_Observation-Location.liquid b/data/Templates/Hl7v2/Extensions/_Observation-Location.liquid new file mode 100644 index 000000000..dafd370ba --- /dev/null +++ b/data/Templates/Hl7v2/Extensions/_Observation-Location.liquid @@ -0,0 +1,6 @@ +{ + "url":"http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference":{ + "reference": "Location/{{ locationId }}", + }, +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ID/_Account.liquid b/data/Templates/Hl7v2/ID/_Account.liquid index 3dd42f117..a013bb190 100644 --- a/data/Templates/Hl7v2/ID/_Account.liquid +++ b/data/Templates/Hl7v2/ID/_Account.liquid @@ -3,6 +3,14 @@ {{CX.1.Value}},{{CX.4.Value}} {% elsif CX -%} {{CX.Value}} + {% elsif PID and GT1 -%} + {{PID.1.Value}},{{PID.4.Value}},{{GT1.1.Value}},{{GT1.4.Value}} + {% elsif PID and IN1 -%} + {{PID.1.Value}},{{PID.4.Value}},{{IN1.Value}} + {% elsif GT1_Account.2 -%} + {{GT1_Account.2.Value}} + {% elsif GT1_Account -%} + {{GT1_Account.3.Value}} {% endif -%} {% endcapture -%} -{{ identifiers | generate_id_input: 'Account', false | generate_uuid }} +{{ identifiers | generate_id_input: 'Account', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_ChargeItem.liquid b/data/Templates/Hl7v2/ID/_ChargeItem.liquid new file mode 100644 index 000000000..e24c256bb --- /dev/null +++ b/data/Templates/Hl7v2/ID/_ChargeItem.liquid @@ -0,0 +1,8 @@ +{% capture identifiers -%} + {% if FT1.2 and FT1.4 and FT1.7 -%} + {{FT1.2.Value}},{{FT1.4.Value}},{{FT1.7.Value}} + {% elsif FT1 -%} + {{FT1.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'ChargeItem', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_ClaimResponse.liquid b/data/Templates/Hl7v2/ID/_ClaimResponse.liquid new file mode 100644 index 000000000..8b4c23888 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_ClaimResponse.liquid @@ -0,0 +1,6 @@ +{% capture identifiers -%} + {% if AUT_6 -%} + {{AUT_6.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'ClaimResponse', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Condition.liquid b/data/Templates/Hl7v2/ID/_Condition.liquid index 42b1b1b68..1c6e2c517 100644 --- a/data/Templates/Hl7v2/ID/_Condition.liquid +++ b/data/Templates/Hl7v2/ID/_Condition.liquid @@ -7,6 +7,8 @@ {{DG1.Value}} {% elsif EI -%} {{EI.Value}} + {% elsif PDA -%} + {{PDA.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Condition', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Consent.liquid b/data/Templates/Hl7v2/ID/_Consent.liquid new file mode 100644 index 000000000..1605824e1 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_Consent.liquid @@ -0,0 +1,8 @@ +{% capture identifiers -%} + {% if CON.4 and CON.24 -%} + {{CON.4.Value}},{{CON.24.Value}} + {% elsif CON -%} + {{CON.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'Device', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Device.liquid b/data/Templates/Hl7v2/ID/_Device.liquid index 1d2a0996e..39ec0008b 100644 --- a/data/Templates/Hl7v2/ID/_Device.liquid +++ b/data/Templates/Hl7v2/ID/_Device.liquid @@ -13,6 +13,10 @@ {{AIG.3.Value}} {% elsif AIG.4 -%} {{AIG.4.Value}} + {% elsif FT1.34 -%} + {{FT1.34.1.Value}},{{FT1.34.3.Value}},{{FT1.35.Value}} + {% elsif FT1 -%} + {{FT1.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Device', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Linkage.liquid b/data/Templates/Hl7v2/ID/_Linkage.liquid new file mode 100644 index 000000000..fc788062b --- /dev/null +++ b/data/Templates/Hl7v2/ID/_Linkage.liquid @@ -0,0 +1,6 @@ +{% capture identifiers -%} + {% if MRG -%} + {{MRG.1.Repeats[0].1.Value}},{{{MRG.1.Repeats[0].4.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'Linkage', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Location.liquid b/data/Templates/Hl7v2/ID/_Location.liquid index eee71d455..447c44884 100644 --- a/data/Templates/Hl7v2/ID/_Location.liquid +++ b/data/Templates/Hl7v2/ID/_Location.liquid @@ -1,5 +1,9 @@ {% capture identifiers -%} - {% if PL.10 -%} + {% if PL_Field_Value and PL.10 -%} + {{PL_Field_Value.Value}},{{PL.10.Value}} + {% elsif PL_Field_Value and PL_Value_Except_PL5_PL9 -%} + {{PL_Field_Value.Value}},{{PL_Value_Except_PL5_PL9 }} + {% elsif PL.10 -%} {{PL.10.Value}} {% elsif PL -%} {{PL.Value}} @@ -15,6 +19,14 @@ {{HD.Value}} {% elsif DLD -%} {{DLD.Value}} + {% elsif ACC.11 -%} + {{ACC.11.Value}} + {% elsif ACC.3 -%} + {{ACC.3.Value}} + {% elsif CWE -%} + {{CWE.Value}} + {% elsif XAD -%} + {{XAD.Value}} {% endif -%} {% endcapture -%} diff --git a/data/Templates/Hl7v2/ID/_Medication.liquid b/data/Templates/Hl7v2/ID/_Medication.liquid new file mode 100644 index 000000000..3d1d5ed4f --- /dev/null +++ b/data/Templates/Hl7v2/ID/_Medication.liquid @@ -0,0 +1,16 @@ +{% capture identifiers -%} + {% if RXO.1 -%} + {{RXO.1.1.Value}},{{RXO.1.3.Value}},{{RXO.5.1.Value}},{{RXO.5.3.Value}},{{RXO.18.Value}},{{RXO.19.1.Value}},{{RXO.19.3.Value}},{{RXO.25.Value}},{{RXO.26.1.Value}},{{RXO.26.3.Value}} + {% elsif RXO.6.2 -%} + {{RXO.6.1.Value}},{{RXO.6.3.Value}},{{RXO.5.1.Value}},{{RXO.5.3.Value}},{{RXO.18.Value}},{{RXO.19.1.Value}},{{RXO.19.3.Value}},{{RXO.25.Value}},{{RXO.26.1.Value}},{{RXO.26.3.Value}} + {% elsif RXO -%} + {{RXO.6.1.Value}},{{RXO.6.3.Value}},{{RXO.5.1.Value}},{{RXO.5.3.Value}},{{RXO.18.Value}},{{RXO.19.1.Value}},{{RXO.19.3.Value}},{{RXO.25.Value}},{{RXO.26.1.Value}},{{RXO.26.3.Value}} + {% elsif RXC -%} + {{RXC.2.1.Value}},{{RXC.2.3.Value}},{{RXC.3.Value}},{{RXC.4.1.Value}},{{RXC.4.3.Value}},{{RXC.5.Value}},{{RXC.6.1.Value}},{{RXC.6.3.Value}},{{RXC.8.Value}},{{RXC.9.1.Value}},{{RXC.9.3.Value}} + {% elsif RXE -%} + {{RXE.2.1.Value}},{{RXE.2.3.Value}},{{RXE.6.1.Value}},{{RXE.6.3.Value}},{{RXE.25.Value}},{{RXE.26.1.Value}},{{RXE.26.3.Value}},{{RXE.33.Value}},{{RXE.34.1.Value}},{{RXE.34.3.Value}} + {% elsif RXD -%} + {{RXD.2.1.Value}},{{RXD.2.3.Value}},{{RXD.6.1.Value}},{{RXD.6.3.Value}},{{RXD.16.Value}},{{RXD.17.1.Value}},{{RXD.17.3.Value}},{{RXD.28.Value}},{{RXD.29.1.Value}},{{RXD.29.3.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'Medication', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_MedicationDispense.liquid b/data/Templates/Hl7v2/ID/_MedicationDispense.liquid new file mode 100644 index 000000000..a0ddd6580 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_MedicationDispense.liquid @@ -0,0 +1,10 @@ +{% capture identifiers -%} + {% if RXD.7 -%} + {{RXD.7.Value}},{{RXD.2.Value}},{{RXD.3.Value}} + {% elsif RXD -%} + {{RXD.Value}} + {% elsif FT1 -%} + {{FT1.29.1.Value}},{{FT1.29.3.Value}},{{FT1.42.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'MedicationDispense', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_MedicationRequest.liquid b/data/Templates/Hl7v2/ID/_MedicationRequest.liquid new file mode 100644 index 000000000..9c0138b6b --- /dev/null +++ b/data/Templates/Hl7v2/ID/_MedicationRequest.liquid @@ -0,0 +1,22 @@ +{% capture identifiers -%} + {% if ORC.2 and RXO.1 -%} + {{ORC.2.Value}},{{RXO.1.Value}},{{intent_value.Value}} + {% elsif ORC.2 and RXO.6.2 -%} + {{ORC.2.Value}},{{RXO.6.2.Value}},{{intent_value.Value}} + {% elsif ORC.15 and RXO.1 -%} + {{ORC.15.Value}},{{RXO.1.Value}},{{intent_value.Value}} + {% elsif ORC.15 and RXO.6.2 -%} + {{ORC.15.Value}},{{RXO.6.2.Value}},{{intent_value.Value}} + {% elsif MSH.7 and RXO.1 -%} + {{MSH.7.Value}},{{RXO.1.Value}},{{intent_value.Value}} + {% elsif MSH.7 and RXO.6.2 -%} + {{MSH.7.Value}},{{RXO.6.2.Value}},{{intent_value.Value}} + {% elsif RXE.15 and RXE.2 -%} + {{RXE.15.Value}},{{RXE.2.Value}},{{intent_value.Value}} + {% elsif RXE -%} + {{RXE.Value}} + {% elsif ORC -%} + {{ORC.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'MedicationRequest', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_NutritionOrder.liquid b/data/Templates/Hl7v2/ID/_NutritionOrder.liquid new file mode 100644 index 000000000..33689b4f3 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_NutritionOrder.liquid @@ -0,0 +1,8 @@ +{% capture identifiers -%} + {% if ODS.1 and ODS.3 -%} + {{ODS.1.Value}},{{ODS.3.1.Value}},{{ODS.3.3.Value}} + {% elsif ODS -%} + {{ODS.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'NutritionOrder', false| generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Observation.liquid b/data/Templates/Hl7v2/ID/_Observation.liquid index 5b895f74d..71daaf0c3 100644 --- a/data/Templates/Hl7v2/ID/_Observation.liquid +++ b/data/Templates/Hl7v2/ID/_Observation.liquid @@ -1,8 +1,8 @@ {% capture identifiers -%} - {% if OBX.21.1 and OBX.21.2 -%} - {{OBX.21.1.Value}},{{OBX.21.2.Value}} - {% elsif OBX.21.3 and OBX.21.4 -%} - {{OBX.21.3.Value}},{{OBX.21.4.Value}} + {% if OBX.3 and OBX.14 -%} + {{OBX.3.Value}},{{OBX.14.Value}} + {% elsif OBX_ORU.3 and OBR.7 -%} + {{OBX_ORU.3.Value}},{{OBR.7.Value}} {% elsif OBX -%} {{OBX.Value}} {% elsif PID.22 -%} @@ -11,6 +11,18 @@ {{PID.10.Value}} {% elsif NTE -%} {{NTE.Value}} + {% elsif ACC.13 -%} + {{ACC.13.Repeats[0].Value}} + {% elsif ACC.1 and ACC.2 and ACC.3 and ACC.11 -%} + {{ACC.1.Value}},{{ACC.2.Value}},{{ACC.3.Value}},{{ACC.11.Value}} + {% elsif ACC -%} + {{ACC.Value}} + {% elsif PDA_death.3 and PDA_death.4 and PDA_death.5.1 -%} + {{PDA_death.3.Value}},{{PDA_death.4.Value}},{{PDA_death.5.1.Value}} + {% elsif PDA_autopsy.6 and PDA_autopsy.7 and PDA_autopsy.8.1 -%} + {{PDA_autopsy.6.Value}},{{PDA_autopsy.7.Value}},{{PDA_autopsy.8.1.Value}} + {% elsif PDA_coroner.9 -%} + {{PDA_coroner.9.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Observation', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Organization.liquid b/data/Templates/Hl7v2/ID/_Organization.liquid index 24f975538..623d83bf5 100644 --- a/data/Templates/Hl7v2/ID/_Organization.liquid +++ b/data/Templates/Hl7v2/ID/_Organization.liquid @@ -1,7 +1,7 @@ {% capture identifiers -%} {% if XON.10 -%} - {{XON.10.Value}} - {% elsif XON.3 and XON.6 -%} + {{XON.10.Value}},{{XON.6.Value}} + {% elsif XON.3 -%} {{XON.3.Value}},{{XON.6.Value}} {% elsif XON -%} {{XON.Value}} @@ -9,6 +9,8 @@ {{CWE.1.Value}},{{CWE.3.Value}} {% elsif CWE -%} {{CWE.Value}} + {% elsif AUT.2 and AUT.3 -%} + {{AUT.2.Value}},{{AUT.3.Value}} {% elsif HD.1 and HD.2 -%} {{HD.1.Value}},{{HD.2.Value}} {% elsif HD -%} diff --git a/data/Templates/Hl7v2/ID/_Practitioner.liquid b/data/Templates/Hl7v2/ID/_Practitioner.liquid index 69fd9bf23..d43e69ab8 100644 --- a/data/Templates/Hl7v2/ID/_Practitioner.liquid +++ b/data/Templates/Hl7v2/ID/_Practitioner.liquid @@ -1,5 +1,7 @@ {% capture identifiers -%} - {% if CNN.1 and CNN.9 -%} + {% if PRD -%} + {{PRD.7.Repeats[0].1.Value}},{{PRD.7.Repeats[0].2.1}},{{PRD.7.Repeats[0].2.3}} + {% elsif CNN.1 and CNN.9 -%} {{CNN.1.Value}},{{CNN.9.Value}} {% elsif CNN.1 and CNN.10 -%} {{CNN.1.Value}},{{CNN.10.Value}} diff --git a/data/Templates/Hl7v2/ID/_PractitionerRole.liquid b/data/Templates/Hl7v2/ID/_PractitionerRole.liquid index 651e57889..608be4cae 100644 --- a/data/Templates/Hl7v2/ID/_PractitionerRole.liquid +++ b/data/Templates/Hl7v2/ID/_PractitionerRole.liquid @@ -1,5 +1,7 @@ {% capture identifiers -%} - {% if NDL -%} + {% if PRD -%} + {{PRD.1.1.Value}},{{PRD.7.Repeats[0].1.Value}},{{PRD.7.Repeats[0].2.1}},{{PRD.7.Repeats[0].2.3}} + {% elsif NDL -%} {{NDL.1.Value}},{{NDL.4.Value}},{{NDL.5.Value}},{{NDL.6.Value}},{{NDL.7.Value}},{{NDL.8.Value}},{{NDL.9.Value}},{{NDL.10.Value}},{{NDL.11.Value}} {% elsif XCN.1 and XCN.9 -%} {{XCN.1.Value}},{{XCN.9.Value}} diff --git a/data/Templates/Hl7v2/ID/_Procedure.liquid b/data/Templates/Hl7v2/ID/_Procedure.liquid index 24c52547a..3ca80f7f3 100644 --- a/data/Templates/Hl7v2/ID/_Procedure.liquid +++ b/data/Templates/Hl7v2/ID/_Procedure.liquid @@ -1,8 +1,16 @@ {% capture identifiers -%} {% if PR1.19 -%} {{ PR1.19.Value }} + {% elsif PR1.3 and PR1.5 %} + {{PR1.3.1.Value}},{{PR1.3.3.Value}},{{PR1.5.Value}} {% elsif PR1 %} {{PR1.Value}} + {% elsif PID_3 and PDA_death.4 and PDA_death.5.1%} + {{PID_3.Value}},{{PDA_death.4.Value}},{{PDA_death.5.1.Value}} + {% elsif PID_3 and PDA_autopsy.7 and PDA_autopsy.8.1 %} + {{PID_3.Value}},{{PDA_autopsy.7.Value}},{{PDA_autopsy.8.1.Value}} + {% elsif FT1 %} + {{FT1.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Procedure', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_RelatedPerson.liquid b/data/Templates/Hl7v2/ID/_RelatedPerson.liquid index a49c996cc..1cae069cf 100644 --- a/data/Templates/Hl7v2/ID/_RelatedPerson.liquid +++ b/data/Templates/Hl7v2/ID/_RelatedPerson.liquid @@ -31,6 +31,8 @@ {{IN2.3.1.Value}},{{IN2.3.9.Value}} {% elsif IN2 -%} {{IN2.Value}} + {% elsif CON -%} + {{CON.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'RelatedPerson', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_ResearchStudy.liquid b/data/Templates/Hl7v2/ID/_ResearchStudy.liquid new file mode 100644 index 000000000..35d1b1905 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_ResearchStudy.liquid @@ -0,0 +1,8 @@ +{% capture identifiers -%} + {% if EI.3 and EI.4 -%} + {{EI.1.Value}},{{EI.3.Value}},{{EI.4.Value}} + {% elsif EI -%} + {{EI.1.Value}},{{EI.2.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'ResearchStudy', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_ServiceRequest.liquid b/data/Templates/Hl7v2/ID/_ServiceRequest.liquid index 35be94af6..5a372d23c 100644 --- a/data/Templates/Hl7v2/ID/_ServiceRequest.liquid +++ b/data/Templates/Hl7v2/ID/_ServiceRequest.liquid @@ -1,16 +1,24 @@ {% capture identifiers -%} {% if TQ1 -%} {{TQ1.Value}} - {% elsif ORC.2.1 and ORC.2.2 -%} - {{ORC.2.1.Value}},{{ORC.2.2.Value}} - {% elsif ORC.2.3 and ORC.2.4 -%} - {{ORC.2.3.Value}},{{ORC.2.4.Value}} + {% elsif ORC.2 and OBR_OML_ORM.4 -%} + {{ORC.2.Value}},{{OBR_OML_ORM.4.Value}} + {% elsif ORC.15 and OBR_OML_ORM.4 -%} + {{ORC.15.Value}},{{OBR_OML_ORM.4.Value}} + {% elsif OML_ORM_MSH.7 and OBR_OML_ORM.4 -%} + {{OML_ORM_MSH.7.Value}},{{OBR_OML_ORM.4.Value}} {% elsif ORC -%} {{ORC.Value}} - {% elsif OBR.2.1 and OBR.2.2 -%} - {{OBR.2.1.Value}},{{OBR.2.2.Value}} - {% elsif OBR.2.3 and OBR.2.4 -%} - {{OBR.2.3.Value}},{{OBR.2.4.Value}} + {% elsif OBR.2 and OBR.4 -%} + {{OBR.2.Value}},{{OBR.4.Value}} + {% elsif OBR.3 and OBR.4 -%} + {{OBR.2.Value}},{{OBR.4.Value}} + {% elsif ORU_ORC.15 and OBR.4 -%} + {{ORU_ORC.15.Value}},{{OBR.4.Value}} + {% elsif ORU_MSH.7 and OBR.4 -%} + {{ORU_MSH.7.Value}},{{OBR.4.Value}} + {% elsif REF_MSH.7 and OBR.4 -%} + {{REF_MSH.7.Value}},{{OBR.4.Value}} {% elsif OBR -%} {{OBR.Value}} {% elsif OBR_29_1 -%} diff --git a/data/Templates/Hl7v2/ID/_Substance.liquid b/data/Templates/Hl7v2/ID/_Substance.liquid new file mode 100644 index 000000000..2b873be2c --- /dev/null +++ b/data/Templates/Hl7v2/ID/_Substance.liquid @@ -0,0 +1,8 @@ +{% capture identifiers -%} + {% if INV.1 -%} + {{INV.1.Value}} + {% elsif INV -%} + {{INV.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'Substance', false | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_SupplyRequest.liquid b/data/Templates/Hl7v2/ID/_SupplyRequest.liquid new file mode 100644 index 000000000..6432c4b47 --- /dev/null +++ b/data/Templates/Hl7v2/ID/_SupplyRequest.liquid @@ -0,0 +1,10 @@ +{% capture identifiers -%} + {% if RQD.4 -%} + {{ORC.2.Value}},{{ORC.3.Value}},{{RQD.4.Value}} + {% elsif RQD.2 -%} + {{ORC.2.Value}},{{ORC.3.Value}},{{RQD.2.Value}} + {% elsif RQD.3 -%} + {{ORC.2.Value}},{{ORC.3.Value}},{{RQD.3.Value}} + {% endif -%} +{% endcapture -%} +{{ identifiers | generate_id_input: 'SupplyRequest', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Task.liquid b/data/Templates/Hl7v2/ID/_Task.liquid index 832d80f44..5174a0e99 100644 --- a/data/Templates/Hl7v2/ID/_Task.liquid +++ b/data/Templates/Hl7v2/ID/_Task.liquid @@ -5,6 +5,10 @@ {{ORC.2.3.Value}},{{ORC.2.4.Value}} {% elsif ORC -%} {{ORC.Value}} + {% elsif RXE.15 and RXE.2 -%} + {{RXE.15.Value}},{{RXE.2.Value}},{{intent_value.Value}},{{intent_new_value.Value}} + {% elsif RXE -%} + {{RXE.Value}} {% endif -%} {% endcapture -%} -{{ identifiers | generate_id_input: 'Task', false, baseId | generate_uuid }} +{{ identifiers | generate_id_input: 'Task', true, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/MDM_T01.liquid b/data/Templates/Hl7v2/MDM_T01.liquid index ba4b0551e..54d47946d 100644 --- a/data/Templates/Hl7v2/MDM_T01.liquid +++ b/data/Templates/Hl7v2/MDM_T01.liquid @@ -1,6 +1,7 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { @@ -25,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'MDM_T01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -95,7 +88,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -213,6 +206,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -236,7 +233,7 @@ {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'MDM_T01', PV1: firstSegments.PV1, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T01', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} {% endif -%} @@ -244,7 +241,7 @@ {% if firstSegments.TXA -%} {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} - {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T01" -%} {% if firstSegments.TXA.5 -%} {% for txa_5 in firstSegments.TXA.5.Repeats -%} @@ -274,17 +271,16 @@ {% if firstSegments.TXA.10.Repeats[0] -%} {% assign txa_10 = firstSegments.TXA.10.Repeats[0] -%} - {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} - {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} - {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} - {% endif -%} - {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} - {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} - {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} - {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} - - {% endif -%} + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + {% endif -%} {% endif -%} {% assign obrSegmentPositionIndex_orc = 0 -%} @@ -312,9 +308,14 @@ {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "MDM_T01" -%} {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} - {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} - - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} @@ -325,28 +326,29 @@ {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} - {% include 'Resource/PractitionerRole' OBR: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} {% endif -%} {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.21 %} {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} - {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" and obrSegment.16 == null or obrSegment.16 == "" %} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} {% endif %} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} {% endif %} @@ -403,5 +405,40 @@ {% endfor -%} {% endfor -%} + + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/MDM_T02.liquid b/data/Templates/Hl7v2/MDM_T02.liquid index ca7377017..ba8257bb2 100644 --- a/data/Templates/Hl7v2/MDM_T02.liquid +++ b/data/Templates/Hl7v2/MDM_T02.liquid @@ -1,6 +1,7 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -26,14 +27,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'MDM_T02', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -96,7 +89,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} @@ -214,6 +207,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -237,7 +234,7 @@ {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'MDM_T02', PV1: firstSegments.PV1, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T02', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} {% endif -%} @@ -245,7 +242,7 @@ {% if firstSegments.TXA -%} {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} - {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T02" -%} {% if firstSegments.TXA.5 -%} {% for txa_5 in firstSegments.TXA.5.Repeats -%} @@ -315,8 +312,13 @@ {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} - - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} @@ -327,34 +329,35 @@ {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} - {% include 'Resource/PractitionerRole' OBR: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} {% endif -%} {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.21 %} {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} - {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" and obrSegment.16 == null or obrSegment.16 == "" %} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} {% endif %} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} {% endif %} {% endif -%} {% endif %} - + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} {% if obrSegment.29 %} @@ -406,6 +409,41 @@ {% endfor -%} + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} + {% for obxSegment in obxSegmentLists.OBX -%} {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} diff --git a/data/Templates/Hl7v2/MDM_T05.liquid b/data/Templates/Hl7v2/MDM_T05.liquid new file mode 100644 index 000000000..741480564 --- /dev/null +++ b/data/Templates/Hl7v2/MDM_T05.liquid @@ -0,0 +1,445 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'MDM_T05', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T05', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} + {% endif -%} + + {% if firstSegments.TXA -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T05" -%} + + {% if firstSegments.TXA.5 -%} + {% for txa_5 in firstSegments.TXA.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if firstSegments.TXA.9 -%} + {% for txa_9 in firstSegments.TXA.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.TXA.10.Repeats[0] -%} + {% assign txa_10 = firstSegments.TXA.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + + {% endif -%} + {% endif -%} + + {% assign obrSegmentPositionIndex_orc = 0 -%} + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign checkParent = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'ORC' -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.ORC.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.ORC.8 and checkParent.ORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "MDM_T05" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, baseId: patientId -%} + + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "MDM_T05" -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "MDM_T05" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/MDM_T06.liquid b/data/Templates/Hl7v2/MDM_T06.liquid new file mode 100644 index 000000000..81fe0cb94 --- /dev/null +++ b/data/Templates/Hl7v2/MDM_T06.liquid @@ -0,0 +1,536 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'MDM_T06', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T06', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} + {% endif -%} + + {% if firstSegments.TXA -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T06" -%} + + {% if firstSegments.TXA.5 -%} + {% for txa_5 in firstSegments.TXA.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if firstSegments.TXA.9 -%} + {% for txa_9 in firstSegments.TXA.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.TXA.10.Repeats[0] -%} + {% assign txa_10 = firstSegments.TXA.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + + {% endif -%} + {% endif -%} + + {% assign obrSegmentPositionIndex_orc = 0 -%} + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign checkParent = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'ORC' -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.ORC.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.ORC.8 and checkParent.ORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "MDM_T06" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, baseId: patientId -%} + + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "MDM_T06" -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "MDM_T06" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/MDM_T09.liquid b/data/Templates/Hl7v2/MDM_T09.liquid new file mode 100644 index 000000000..ec54c8687 --- /dev/null +++ b/data/Templates/Hl7v2/MDM_T09.liquid @@ -0,0 +1,445 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'MDM_T09', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T09', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} + {% endif -%} + + {% if firstSegments.TXA -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T09" -%} + + {% if firstSegments.TXA.5 -%} + {% for txa_5 in firstSegments.TXA.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if firstSegments.TXA.9 -%} + {% for txa_9 in firstSegments.TXA.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.TXA.10.Repeats[0] -%} + {% assign txa_10 = firstSegments.TXA.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + + {% endif -%} + {% endif -%} + + {% assign obrSegmentPositionIndex_orc = 0 -%} + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign checkParent = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'ORC' -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.ORC.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.ORC.8 and checkParent.ORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "MDM_T09" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, baseId: patientId -%} + + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "MDM_T09" -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "MDM_T09" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/MDM_T10.liquid b/data/Templates/Hl7v2/MDM_T10.liquid new file mode 100644 index 000000000..536808feb --- /dev/null +++ b/data/Templates/Hl7v2/MDM_T10.liquid @@ -0,0 +1,536 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PV1|TXA' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign conSegmentLists = hl7v2Data | get_segment_lists: 'CON' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'MDM_T10', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'MDM_T10', PV1: firstSegments.PV1, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1 -%} + {% endif -%} + + {% if firstSegments.TXA -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: firstSegments.TXA.12 -%} + {% include 'Resource/DocumentReference' TXA: firstSegments.TXA, ID: documentreferenceID, type_msg: "MDM_T10" -%} + + {% if firstSegments.TXA.5 -%} + {% for txa_5 in firstSegments.TXA.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if firstSegments.TXA.9 -%} + {% for txa_9 in firstSegments.TXA.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.TXA.10.Repeats[0] -%} + {% assign txa_10 = firstSegments.TXA.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + + {% endif -%} + {% endif -%} + + {% assign obrSegmentPositionIndex_orc = 0 -%} + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign checkParent = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'ORC' -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.ORC.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.ORC.8 and checkParent.ORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "MDM_T10" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, baseId: patientId -%} + + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "MDM_T10" -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "MDM_T10" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% for conSegment in conSegmentLists.CON -%} + {% evaluate consentID using 'ID/Consent' CON: conSegment -%} + {% include 'Resource/Consent' CON: conSegment, ID: consentID -%} + + {% assign con_25_indexValue = 0 -%} + {% for con_25 in conSegment.25.Repeats -%} + {% if con_25.1.Value == "1" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% include 'Resource/Patient' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: patientId -%} + {% include 'Reference/Consent/Performer' REF: fullPatientId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "2" or con_25.1.Value == "3" or con_25.1.Value == "4" or con_25.1.Value == "5" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conRelatedPersonId using 'ID/RelatedPerson' CON: conSegment.24.Repeats[{{con_25_indexValue}}], baseId: patientId -%} + {% include 'Resource/RelatedPerson' ID: conRelatedPersonId, CON: conSegment.24.Repeats[{{con_25_indexValue}}], CON_25: con_25, RelatedPerson_Patient_ID: fullPatientId -%} + {% assign fullRelatedPersonID = conRelatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Consent/Performer' REF: fullRelatedPersonID, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% if con_25.1.Value == "6" or con_25.1.Value == "7" %} + {% if conSegment.24.Repeats[{{con_25_indexValue}}].Value != "" and conSegment.24.Repeats[{{con_25_indexValue}}].Value != null %} + {% evaluate conPractitionerId using 'ID/Practitioner' XPN: conSegment.24.Repeats[{{con_25_indexValue}}] -%} + {% include 'Resource/Practitioner' CON: conSegment.24.Repeats[{{con_25_indexValue}}], ID: conPractitionerId -%} + {% assign fullConPractitionerId = conPractitionerId | prepend: 'Practitioner/' -%} + {% include 'Reference/Consent/Performer' REF: fullConPractitionerId, ID: consentID -%} + {% endif -%} + {% endif -%} + + {% assign con_25_indexValue = con_25_indexValue | plus: 1 -%} + {% endfor -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/OML_O21.liquid b/data/Templates/Hl7v2/OML_O21.liquid index 5ac71fff9..ce6cd2d50 100644 --- a/data/Templates/Hl7v2/OML_O21.liquid +++ b/data/Templates/Hl7v2/OML_O21.liquid @@ -2,6 +2,7 @@ {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign nteSegmentLists = hl7v2Data | get_segment_lists: 'NTE' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} {% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} {% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} @@ -31,14 +32,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'OML_O21', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -84,17 +77,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -107,11 +106,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -125,18 +123,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -267,6 +265,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -290,11 +292,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'OML_O21', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'OML_O21', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} @@ -332,6 +334,13 @@ {% endfor -%} {% endfor -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% for al1Segment in al1SegmentLists.AL1 -%} {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} @@ -449,357 +458,943 @@ {% endfor -%} + {% evaluate firstPatientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign firstFullPatientId = firstPatientId | prepend: 'Patient/' -%} + {% evaluate firstEncounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: firstPatientId -%} + {% assign firstFullencounterId = firstEncounterId | prepend: 'Encounter/' %} + {% for orcSegment in orcSegmentLists.ORC -%} - {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} - {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} - {% assign pidSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'PID' -%} - - {% assign obrSegment = obrSegmentLists.OBR[0] %} - {% assign checkParent = orcSegment %} - - {% assign ctdSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTD' -%} - {% assign dg1SegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'DG1' -%} - {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} - {% assign spmSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'SPM' -%} - - {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} - {% if obrSegment.29.Value == null %} - {% if checkParent.8 and checkParent.31 %} - {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OML" -%} + + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% assign ctdSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTD' -%} + {% assign dg1SegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'DG1' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% assign spmSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'SPM' -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: firstPatientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: firstFullPatientId, type_msg: "OML" -%} + {% endif %} {% endif %} - {% endif %} - {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, baseId: patientId -%} - {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} - {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} - {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} - {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OML" -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: firstPatientId -%} + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: firstPatientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: firstFullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OML" -%} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} - {% if obrSegment.16 -%} - {% if obrSegment.16.Repeats[0] %} - {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} - {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} - {% endif -%} - {% endif -%} - {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} - {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} - {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} - {% include 'Resource/PractitionerRole' OBR: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} - {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} - {% else %} - {% if checkParent.12 %} - {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} - {% endif -%} - {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} - {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent, requestor_practitioner2: practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} - {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% include 'Reference/ServiceRequest/Encounter' REF: firstFullencounterId, ID: serviceRequestId -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} {% else %} - {% if checkParent.21 %} - {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} - {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" and obrSegment.16 == null or obrSegment.16 == "" %} - {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} {% endif %} - {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} - {% endif %} - {% endif -%} - {% endif %} - - {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} - - {% if obrSegment.29 %} - {% if obrSegment.50 -%} - {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} - {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OML" -%} + {% endif -%} {% endif %} - {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} - {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} - - {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} - {% for nteSegment1 in nteSegmentLists1.NTE -%} - {% if nteSegment1.5 -%} - {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} - {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} - {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} - {% endif -%} - {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} - {% endfor -%} + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: firstPatientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: firstFullPatientId, ID: parentServiceRequestId, type_msg: "OML" -%} + {% endif %} + {% endif %} - {% if obrSegment %} - {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} - {% endif %} - - {% if obrSegment.10 %} - {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} - {% endif -%} - {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} - {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} - {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} - {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} - {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} - {% endif -%} + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment %} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' %} + {% include 'Reference/Specimen/Request' REF: fullServiceRequestId , ID: specimenId_obr -%} + {% endif %} - {% for ctdSegment in ctdSegmentLists.CTD -%} - {% include 'Resource/Patient' CTD: ctdSegment, ID: patientId -%} - {% endfor -%} + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + + {% for ctdSegment in ctdSegmentLists.CTD -%} + {% include 'Resource/Patient' CTD: ctdSegment, ID: firstPatientId -%} + {% endfor -%} - {% for dg1Segment in dg1SegmentLists.DG1 -%} - {% if dg1Segment.16.Repeats[0] %} - {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} - {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} {% endif -%} - {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} - {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} - {% endif -%} - - {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} - {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} - {% assign fullConditionId = conditionId | prepend: 'Condition/' -%} - {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: firstPatientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: firstFullPatientId, baseId: firstPatientId, ID: conditionId -%} + {% assign fullConditionId = conditionId | prepend: 'Condition/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} - {% if encounterId -%} - {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} - {% endif %} - {% if EpisodeOfCare_ID %} - {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} - {% endif %} - {% if dg1Segment.22 -%} - {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} - {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} - {% endif -%} - {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% if firstEncounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: firstEncounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: firstPatientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: firstFullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} - {% endfor -%} + {% endfor -%} - {% for obxSegment in obxSegmentLists.OBX -%} - {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} - {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} - {% endfor %} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} - {% endif -%} - {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} - {% else %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} - {% endfor %} - {% if obxSegment.18 -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} - {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} - {% endif -%} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: firstFullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: firstFullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} {% endif -%} - {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} - {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} - {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} - {% for nteSegment2 in nteSegmentLists2.NTE -%} - {% if nteSegment2.5 -%} - {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} - {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} - {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} - {% endif -%} - {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% for spmSegment in spmSegmentLists.SPM -%} + {% if spmSegment %} + {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: firstPatientId -%} + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + + {% assign sac_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'SAC' -%} + {% if sac_spmSegmentLists == empty %} + {% include 'Resource/Specimen' SPM: spmSegment, ID: specimenId_spm -%} + {% else %} + {% for sacSegment in sac_spmSegmentLists.SAC -%} + {% if sacSegment %} + {% include 'Resource/Specimen' SPM: spmSegment, SAC: sacSegment, ID: specimenId_spm -%} + {% if sacSegment.43 and spmSegment.15 == null %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: sacSegment.43 -%} + {% endif %} + + {% assign obxSegmentPositionIndex_sac = 0 -%} + {% assign checkParentSAC = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_sac}}, 'SAC' -%} + {% assign obxSegmentPositionIndex_sac = obxSegmentPositionIndex_sac | plus: 1 -%} + {% assign sac_obxSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'OBX' -%} + + {% for spm_obxSegment in sac_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: firstFullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSAC %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: firstFullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSAC %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + {% endfor -%} + {% endif %} + {% endfor -%} + {% endif %} + {% if spmSegment.15 %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} + {% endif %} + {% endif %} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/Specimen/Request' ID: specimenId_spm, REF: fullServiceRequestId -%} + {% if spmSegment.3 %} + {% for spmSegment_3 in spmSegment.3.Repeats %} + {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} + {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} + {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} + {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% endfor %} + {% endif %} + {% if spmSegment.30 -%} + {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} + {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} + {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} {% endif -%} - {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endif -%} + {% if spmSegment.31 -%} + {% for spm_31 in spmSegment.31.Repeats %} + {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} + {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} + {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} + {% endif -%} + {% endfor %} + {% endif -%} + + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} + {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} + {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: firstFullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: firstFullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} {% endfor -%} - {% endif -%} - {% endfor -%} - - {% unless tq1SegmentLists.TQ1 -%} - {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} - {% endunless -%} - {% for tq1Segment in tq1SegmentLists.TQ1 -%} - {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} - {% endfor -%} + {% endfor -%} - {% for spmSegment in spmSegmentLists.SPM -%} - {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: patientId -%} - {% include 'Resource/Specimen' SPM: spmSegment, ID: specimenId_spm -%} - {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} - {% include 'Reference/Specimen/Request' ID: specimenId_spm, REF: fullServiceRequestId -%} + {%- comment -%} - {% if spmSegment.3 %} - {% for spmSegment_3 in spmSegment.3.Repeats %} - {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} - {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} - {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} - {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'CTI' -%} + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% if serviceRequestId %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% else %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: priorResultServiceRequestId, REF: fullResearchStudyID -%} + {% endif %} + {% endfor %} - {% endif %} - {% if spmSegment.30 -%} - {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} - {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} - {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} + + {%- endcomment -%} + {% endfor -%} + + {% assign pv1SegmentLists = hl7v2Data | get_segment_lists: 'PV1' -%} + + {% assign priorcheckParentORC = hl7v2Data | get_parent_segment: 'PV1', 1, 'ORC' -%} + {% assign priorcheckParentOBR = hl7v2Data | get_parent_segment: 'PV1', 1, 'OBR' -%} + {% evaluate serviceRequest1 using 'ID/ServiceRequest' ORC: priorcheckParentORC.ORC, OBR_OML_ORM: priorcheckParentOBR.OBR, OML_ORM_MSH:firstSegments.MSH, baseId: firstPatientId -%} + + {% assign temp = 0 %} + {% for pv1Segment in pv1SegmentLists.PV1 -%} + {% unless temp == 0 %} + + {% assign pidSegmentParent = hl7v2Data | get_parent_segment: 'PV1', 1, 'PID' -%} + + {% assign pidSegment = pidSegmentParent.PID %} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PD1' -%} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PV2' -%} + + + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + + {% evaluate patientId_prior using 'ID/Patient' PID: pidSegment, type: 'First' -%} + {% assign fullPatientId = patientId_prior | prepend: 'Patient/' -%} + + {% include 'Resource/Patient' PID: pidSegment, PD1: pd1Segment, ID: patientId_prior -%} + {% include 'Extensions/Patient/PatientExtension' ID: patientId_prior, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} + + {% unless patientId_prior == patientId -%} + {% include 'Reference/Patient/Link_Other' ID: patientId, REF: fullPatientId -%} + {% endunless%} + + {% assign accountId = null %} + {% if pidSegment.18 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId_prior -%} + {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: pidSegment.18.4 -%} + {% include 'Resource/Organization', PID: pidSegment.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if pidSegment.2 -%} + {% if pidSegment.2.4.1 != "" and pidSegment.2.4.1 != null and pidSegment.2.4.2 != "" and pidSegment.2.4.2 != null and pidSegment.2.4.3 != "" and pidSegment.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: pidSegment.2.4 -%} + {% include 'Resource/Organization', PID: pidSegment.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if pidSegment.4 -%} + {% if pidSegment.4.4.1 != "" and pidSegment.4.4.1 != null and pidSegment.4.4.2 != "" and pidSegment.4.4.2 != null and pidSegment.4.4.3 != "" and pidSegment.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: pidSegment.4.4 -%} + {% include 'Resource/Organization', PID: pidSegment.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if pidSegment.21 -%} + {% if pidSegment.21.4.1 != "" and pidSegment.21.4.1 != null and pidSegment.21.4.2 != "" and pidSegment.21.4.2 != null and pidSegment.21.4.3 != "" and pidSegment.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: pidSegment.21.4 -%} + {% include 'Resource/Organization', PID: pidSegment.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: pidSegment, baseId: patientId_prior -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: pidSegment -%} + {% endif -%} + {% endunless -%} + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} {% endif -%} - {% endif -%} - {% if spmSegment.31 -%} - {% for spm_31 in spmSegment.31.Repeats %} - {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} - {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} - {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} - {% endif -%} - {% endfor %} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} {% endif -%} - - {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} - {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} - - {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} - {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} - {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} - {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} - {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} - {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} - {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} - {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} - {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} {% endif -%} - {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} - {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} - {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% endfor %} - {% if spm_obxSegment.23 or spm_obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} - {% endif %} - {% if spm_obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if spm_obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} - {% if spm_obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} {% endif -%} {% endif -%} - {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} - {% if checkParentSPM %} - {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} - {% endif %} - {% else %} - {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} - {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} - {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} - {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} {% endif -%} - {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} - {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} - {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% endfor %} - {% if spm_obxSegment.18 -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} - {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} {% endif -%} - {% if spm_obxSegment.23 or spm_obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} - {% endif %} - {% if spm_obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if spm_obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} - {% if spm_obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} {% endif -%} - {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} - {% if checkParentSPM %} - {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} - {% endif %} - {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} - {% endif %} - {% endfor -%} - {% endfor -%} + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} - {% endfor -%} + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId_prior -%} + {% include 'Resource/Encounter' Root_Template: 'OMG_O19', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId, conditionId: null -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: pidSegment, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Patient' ARV: arvSegment2, ID: patientId_prior %} + {% endif %} + {% endfor %} + + {% assign al1SegmentLists_prior = hl7v2Data | get_related_segment_list: pv1Segment, 'AL1' -%} + {% for al1Segment_prior in al1SegmentLists_prior.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment_prior, baseId: patientId_prior -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment_prior, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% assign orcSegmentLists_prior = hl7v2Data | get_related_segment_list: pv1Segment, 'ORC' -%} + + {% for orcSegment in orcSegmentLists_prior.ORC -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + + + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: patientId -%} + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + {% assign fullencounterId = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/ServiceRequest/Encounter' REF: fullencounterId, ID: serviceRequestId -%} + + {% assign fullServiceRequest = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullServiceRequest, ID: serviceRequest1 -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + + + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_spm, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment %} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' %} + {% include 'Reference/Specimen/Request' REF: fullServiceRequestId , ID: specimenId_obr -%} + {% endif %} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Reference/DiagnosticReport/Specimen' ID: obx_diagnosticReportID, REF: fullSpecimenId_spm -%} + {% assign fulldiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fulldiagnosticReportId, ID: serviceRequest1 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% include 'Reference/Observation/Specimen' ID: observationId, REF: fullSpecimenId_spm -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullObservationId, ID: serviceRequest1 -%} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% endunless %} + {% assign temp = 1 %} + {% endfor -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ORM_O01.liquid b/data/Templates/Hl7v2/ORM_O01.liquid index e07e4cd94..8cf5ceb2d 100644 --- a/data/Templates/Hl7v2/ORM_O01.liquid +++ b/data/Templates/Hl7v2/ORM_O01.liquid @@ -29,14 +29,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ORM_O01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -76,17 +68,23 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} - {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} {% if gt1SegmentLists.11.1.Value == "SEL" -%} - {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0] -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} @@ -99,11 +97,10 @@ {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} {% endif -%} - {% if gt1SegmentLists.51 and nk1SegmentLists.NK1[0].7.1.Value == "E" -%} + {% if gt1SegmentLists.51 -%} {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} - {% include 'Reference/Patient/Contact_Organization' REF:Organization_GT1_51 , ID: patientId -%} {% endif -%} {% else -%} {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} @@ -117,18 +114,18 @@ {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} {% endif -%} {% endif -%} - {% if gt1SegmentLists.21 -%} - {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} - {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} - {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} - {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} - {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} {% endif -%} - {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} - {% endfor -%} - - {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} {% if firstSegments.PID.2 -%} {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} @@ -260,6 +257,10 @@ {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} {% endif -%} + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + {% if firstSegments.PV1.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} @@ -283,11 +284,11 @@ {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'ORM_O01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ORM_O01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} @@ -409,110 +410,363 @@ {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} {% endfor -%} + {%- comment -%} + In ORM message type OBR and ODS segments are conditional under ORDER DETAIL SEGMENT group and these segments are only comes under this group only. + So, we are assigning all OBR and ODS segments which are come under diffrent ORDER DETAIL SEGMENT groups to obrSegmentLists and odsSegmentLists respectively. + And we used this lists to check which OBR and ODS segments comes after ORC segment. + {%- endcomment -%} + {% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} + {% assign odsSegmentLists = hl7v2Data | get_segment_lists: 'ODS' -%} + {% assign rqdSegmentLists = hl7v2Data | get_segment_lists: 'RQD' -%} + {% assign rxoSegmentLists = hl7v2Data | get_segment_lists: 'RXO' -%} + + {% for orcSegment in orcSegmentLists.ORC -%} - {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} {% assign ctdSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'CTD' -%} {% assign dg1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'DG1' -%} {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: orcSegment, 'NTE' -%} - {% assign obrSegment = obrSegmentLists.OBR[0] %} {% assign checkParent = orcSegment %} + {% assign serviceRequestId = null %} {%- comment -%} assigning serviceRequestId variable to null, so it will not used the previously assigned values. Ex. for second order group it should not used first order group ID {%- endcomment -%} + + {% assign orcSegmentPositionIndex = 0 -%} + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign checkParentORCOFOBR = hl7v2Data | get_parent_segment: 'OBR', {{orcSegmentPositionIndex}}, 'ORC' -%} + {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} + {% if checkParentORCOFOBR.ORC.Value == orcSegment.Value %} + {%- comment -%} + In this if condition we are checking the value of currect ORC segment to the parent ORC segment of each OBR segments, If values matched then we can concluding that current OBR segment is the part of ORC seegment on which we are working on. + {%- endcomment -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "ORM" -%} + {% endif %} + {% endif %} - {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} - {% if obrSegment.29.Value == null %} - {% if checkParent.8 and checkParent.31 %} - {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "ORM" -%} - {% endif %} - {% endif %} - - {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, baseId: patientId -%} - {% assign reasonRefrenceServiceRequestId = serviceRequestId -%} - {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} - {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} - {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} - {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "ORM" -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: patientId -%} + {% assign reasonRefrenceServiceRequestId = serviceRequestId -%} + {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} + {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "ORM" -%} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} - {% if obrSegment.16 -%} - {% if obrSegment.16.Repeats[0] %} - {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} - {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} - {% endif -%} - {% endif -%} - {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} - {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} - {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} - {% include 'Resource/PractitionerRole' OBR: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} - {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} - {% else %} - {% if checkParent.12 %} - {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} - {% endif -%} - {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} - {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent, requestor_practitioner2: practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} - {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} - {% else %} + {% assign organizationId_ORC_21 = null %} {% if checkParent.21 %} {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} - {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" and obrSegment.16 == null or obrSegment.16 == "" %} - {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} - {% endif %} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} {% endif %} - {% endif -%} - {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} - {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} - - {% if obrSegment.29 %} - {% if obrSegment.50 -%} - {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} - {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "ORM" -%} + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_obr, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "ORM" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment %} + {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} + {% endif %} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} + {% endif -%} {% endif %} - {% endif %} - - {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} - - {% for nteSegment1 in nteSegmentLists1.NTE -%} - {% if nteSegment1.5 -%} - {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} - {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} - {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} - {% endif -%} - {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} {% endfor -%} - {% if obrSegment %} - {% include 'Resource/Specimen' OBR: obrSegment, ID: specimenId_obr -%} - {% endif %} + {% assign orcSegmentPositionIndex = 0 -%} + {% for odsSegment in odsSegmentLists.ODS -%} + {% assign checkParentORCOFODS = hl7v2Data | get_parent_segment: 'ODS', {{orcSegmentPositionIndex}}, 'ORC' -%} + {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} + {% if checkParentORCOFODS.ORC.Value == orcSegment.Value %} + + {%- comment -%} + In this if condition we are checking the value of currect ORC segment to the parent ORC segment of each ODS segments, If values matched then we are concluding that current ODS segment is the part of ORC seegment on which we are working on. + {%- endcomment -%} + + {% evaluate NutritionOrder using 'ID/NutritionOrder' ODS: orcSegment -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% assign fullallergyIntoleranceId = allergyIntoleranceId | prepend: 'AllergyIntolerance/' -%} + {% include 'Resource/NutritionOrder' ORC: orcSegment, MSH: firstSegments.MSH, ID: NutritionOrder, NutritionOrder_Patient_ID: fullPatientId, NutritionOrder_Encounter_ID: fullEncounterId, NutritionOrder_AllergyIntolerance_ID: fullallergyIntoleranceId -%} + + {% if orcSegment.12 %} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_SEG: orcSegment, ORCXCN_12: orcSegment.12.Repeats[0], ORC_SEG_24: orcSegment.24, ID: practitionerId_ORC_12 -%} + + {% if orcSegment.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% endif %} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: orcSegment, requestor_practitioner1: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/NutritionOrder/Orderer' REF: fullPractitionerRoleId_ORC_12, ID: NutritionOrder -%} + {% else %} + {% if orcSegment.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% if orcSegment.12.Repeats[0] == null or orcSegment.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC: orcSegment, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/NutritionOrder/Orderer' REF: fullPractitionerRoleId_ORC_21, ID: NutritionOrder -%} + {% endif %} + {% endif -%} + + {% include 'Resource/NutritionOrder' ODS: odsSegment, ORC: orcSegment, ID: NutritionOrder, NutritionOrder_Patient_ID: fullPatientId, NutritionOrder_Encounter_ID: fullEncounterId, NutritionOrder_AllergyIntolerance_ID: fullallergyIntoleranceId -%} + + {%- comment -%} + {%- endcomment -%} + {% endif %} + {% endfor -%} + + {% assign orcSegmentPositionIndex = 0 -%} + {% for rqdSegment in rqdSegmentLists.RQD -%} + {% assign checkParentORCOFRQD = hl7v2Data | get_parent_segment: 'RQD', {{orcSegmentPositionIndex}}, 'ORC' -%} + {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} + {% if checkParentORCOFRQD.ORC.Value == orcSegment.Value %} + {%- comment -%} + In this if condition we are checking the value of currect ORC segment to the parent ORC segment of each OBR segments, If values matched then we can concluding that current OBR segment is the part of ORC seegment on which we are working on. + {%- endcomment -%} - {% if obrSegment.10 %} - {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} - {% endif -%} - {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} - {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} - {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} - {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} - {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} - {% endif -%} + {% evaluate supplyRequestID using 'ID/SupplyRequest' ORC: orcSegment, RQD: rqdSegment -%} + {% include 'Resource/SupplyRequest' ORC: orcSegment, RQD: rqdSegment, ID: supplyRequestID -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_12: orcSegment.12.Repeats[0], ORC_24:orcSegment.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RQD_ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + + {% if orcSegment.21.Repeats[0] -%} + {% evaluate organization_ID_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC: orcSegment, ID: organization_ID_ORC_21 -%} + {% assign full_OrganizationId_ORC_21 = organization_ID_ORC_21 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% endif %} + {% elsif orcSegment.21.Repeats[0] %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0] -%} + {% evaluate organization_ID_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC: orcSegment, ID: organization_ID_ORC_21 -%} + {% assign full_OrganizationId_ORC_21 = organization_ID_ORC_21 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif -%} + + {% if rqdSegment.9 -%} + {% evaluate organizationID_RQD_9 using 'ID/Organization' CWE: rqdSegment.9 -%} + {% include 'Resource/Organization' RQD: rqdSegment.9, ID: organizationID_RQD_9 -%} + {% endif -%} + + {% assign rq1SegmentLists = hl7v2Data | get_related_segment_list: rqdSegment, 'RQ1' -%} + {% assign rq1Segment = rq1SegmentLists.RQ1[0] %} + + {% if rq1Segment.2 -%} + {% evaluate IDorganization_RQ1_2 using 'ID/Organization' CWE: rq1Segment.2 -%} + {% include 'Resource/Organization' RQ1_2: rq1Segment, ID: IDorganization_RQ1_2 -%} + {% endif -%} + + {% if rq1Segment.4 -%} + {% evaluate IDorganization_RQ1_4 using 'ID/Organization' CWE: rq1Segment.4 -%} + {% include 'Resource/Organization' RQ1_4: rq1Segment, ID: IDorganization_RQ1_4 -%} + {% endif -%} + + {% include 'Resource/SupplyRequest' organizationID_RQ1_2: IDorganization_RQ1_2, organizationID_RQ1_4: IDorganization_RQ1_4, ID: supplyRequestID -%} + {% endif %} + {% endfor -%} + + {% assign orcSegment_7_firstRep = orcSegment.7.Repeats[0] %} + {% assign orcSegmentPositionIndex = 0 -%} + {% for rxoSegment in rxoSegmentLists.RXO -%} + {% assign checkParentORCOFRXO = hl7v2Data | get_parent_segment: 'RXO', {{orcSegmentPositionIndex}}, 'ORC' -%} + {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} + {% if checkParentORCOFRXO.ORC.Value == orcSegment.Value %} + {%- comment -%} + In this if condition we are checking the value of currect ORC segment to the parent ORC segment of each RXO segments, If values matched then we can concluding that current RXO segment is the part of ORC seegment on which we are working on. + {%- endcomment -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} + {% if rxoSegment %} + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxoSegment.14.Repeats[0] -%} + {% if rxoSegment.14.Repeats[0].9.1 != "" and rxoSegment.14.Repeats[0].9.1 != null and rxoSegment.14.Repeats[0].9.2 != "" and rxoSegment.14.Repeats[0].9.2 != null and rxoSegment.14.Repeats[0].9.3 != "" and rxoSegment.14.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXO_14 using 'ID/Organization' HDORG: rxoSegment.14.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxoSegment.14.Repeats[0].9, ID: Organization_ID_RXO_14 -%} + {% endif -%} + {% evaluate practitionerId_RXO_14 using 'ID/Practitioner' XCN: rxoSegment.14.Repeats[0] -%} + {% include 'Resource/Practitioner' RXO: rxoSegment.14.Repeats[0], ID: practitionerId_RXO_14 -%} + {% evaluate practitionerRoleId_RXO_14 using 'ID/PractitionerRole' XCN: rxoSegment.14.Repeats[0] -%} + {% assign full_practitionerId_RXO_14 = practitionerId_RXO_14 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXO: rxoSegment.14.Repeats[0], ID: practitionerRoleId_RXO_14 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXO_14, ID: practitionerRoleId_RXO_14 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXO_14 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% elsif orcSegment.21.Repeats[0] and rxoSegment.14.Repeats[0] == null or rxoSegment.14.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif %} + + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' ORM_ORC_7: orcSegment_7_firstRep, ORM_RXO: rxoSegment, ID: medicationRequestID -%} + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + {% endif %} + {% endif %} + {% for orc7 in orcSegment.7.Repeats %} + {% unless orc7.Value == orcSegment_7_firstRep.Value %} + {% include 'Resource/MedicationRequest' ORM_ORC_7: orc7, ID: medicationRequestId %} + {% endunless -%} + {% endfor %} + + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% endfor -%} + + + {% for ctdSegment in ctdSegmentLists.CTD -%} {% include 'Resource/Patient' CTD: ctdSegment, ID: patientId -%} {% endfor -%} @@ -530,7 +784,10 @@ {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} {% assign fullConditionId = conditionId | prepend: 'Condition/' -%} - {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} + + {% if serviceRequestId != null-%} + {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} + {% endif -%} {% if encounterId -%} {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} @@ -579,7 +836,11 @@ {% endif -%} {% endif -%} {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId-%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId-%} + {% if serviceRequestId != null -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' REF: fullServiceRequestId, ID: obx_diagnosticReportID -%} + {% endif -%} {% else %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -616,8 +877,12 @@ {% endif -%} {% endif -%} {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% if serviceRequestId != null -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/Observation/BasedOn' REF: fullServiceRequestId, ID: observationId -%} + {% endif -%} {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} {% for nteSegment2 in nteSegmentLists2.NTE -%} {% if nteSegment2.5 -%} diff --git a/data/Templates/Hl7v2/ORU_R01.liquid b/data/Templates/Hl7v2/ORU_R01.liquid index ff5084f8f..52318ba16 100644 --- a/data/Templates/Hl7v2/ORU_R01.liquid +++ b/data/Templates/Hl7v2/ORU_R01.liquid @@ -1,6 +1,7 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|ORC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} {% assign ctdSegmentLists = hl7v2Data | get_segment_lists: 'CTD' -%} {% assign txaSegmentLists = hl7v2Data | get_segment_lists: 'TXA' -%} @@ -27,14 +28,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'ORU_R01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -69,21 +62,7 @@ {% endif -%} {% endif -%} - {%- comment -%} - {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} - {% include 'Resource/Provenance' Root_Template: 'ORU_R01', MSH: firstSegments.MSH, ORC: firstSegments.ORC, ID: provenanceId -%} - - {% evaluate practitionerId10_ORC_10 using 'ID/Practitioner' XCN: firstSegments.ORC.10 -%} - {% evaluate practitionerId10_ORC_11 using 'ID/Practitioner' XCN: firstSegments.ORC.11 -%} - {% evaluate practitionerId10_ORC_12 using 'ID/Practitioner' XCN: firstSegments.ORC.12 -%} - - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_10 -%} - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_11 -%} - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_12 -%} - - {% evaluate locationId_ORC_21 using 'ID/Location' XON: firstSegments.ORC.21 -%} - {% include 'Resource/Location' ORC: firstSegments.ORC, ID: locationId_ORC_21 -%} -{%- endcomment -%} + {% for sftSegment in sftSegmentLists.SFT -%} {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} @@ -113,7 +92,7 @@ {% endfor -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -199,6 +178,13 @@ {% endfor -%} {% endfor -%} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: pidSegment, 'ARV' -%} + {% for arvSegment in arvSegmentLists1.ARV %} + {% if arvSegment %} + {% include 'Resource/Patient' ARV: arvSegment, ID: patientId %} + {% endif %} + {% endfor %} + {% for obxSegment in obxSegmentLists.OBX -%} {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} @@ -360,6 +346,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -383,11 +373,11 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'ORU_R01', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'ORU_R01', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -401,6 +391,8 @@ {% evaluate documentreferenceID using 'ID/DocumentReference' EI: txaSegment.12 -%} {% include 'Resource/DocumentReference' TXA: txaSegment, OBX: checkParentOBX.OBX, ID: documentreferenceID -%} + {% include 'Reference/DocumentReference/Subject' ID: documentreferenceID, REF: fullPatientId -%} + {% if txaSegment.5 -%} {% for txa_5 in txaSegment.5.Repeats -%} {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} @@ -456,22 +448,28 @@ {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.ORC.8, baseId: patientId -%} {% if obrSegment.29 == null %} - {% if checkParent.ORC.8 and checkParent.ORC.31 %} - {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "ORU" -%} + {% if checkParent.ORC.8 and checkParent.ORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent.ORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "ORU" -%} + {% endif %} {% endif %} - {% endif %} - {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, baseId: patientId -%} + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, ORU_ORC:checkParent.ORC, ORU_MSH:firstSegments.MSH, baseId: patientId -%} {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent.ORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "ORU" -%} {% if serviceRequestId and documentreferenceID %} - {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} {% endif %} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} + {% assign organizationId_ORC_21 = null %} + {% if checkParent.ORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} + {% endif %} {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} @@ -482,28 +480,29 @@ {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_OBR_16 -%} {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} - {% include 'Resource/PractitionerRole' OBR: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.ORC.12.Repeats[0] -%} {% if checkParent.ORC.12.Repeats[0].9.1 != "" and checkParent.ORC.12.Repeats[0].9.1 != null and checkParent.ORC.12.Repeats[0].9.2 != "" and checkParent.ORC.12.Repeats[0].9.2 != null and checkParent.ORC.12.Repeats[0].9.3 != "" and checkParent.ORC.12.Repeats[0].9.3 != null -%} {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.ORC.12.Repeats[0].9 -%} {% include 'Resource/Organization' ORC_SEG_12: checkParent.ORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} {% endif -%} {% include 'Resource/Practitioner' ORC_SEG: checkParent.ORC, ORCXCN_12: checkParent.ORC.12.Repeats[0], ORC_SEG_24: checkParent.ORC.24, ID: practitionerId_ORC_12 -%} {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.ORC.12.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent.ORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} {% else %} {% if checkParent.ORC.21 %} {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.ORC.21.Repeats[0] -%} - {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" and obrSegment.16 == null or obrSegment.16 == "" %} + {% if checkParent.ORC.12.Repeats[0] == null or checkParent.ORC.12.Repeats[0] == "" -%} {% include 'Resource/Organization' ORC_SEG: checkParent.ORC, ORC_SEG_22: checkParent.ORC.22, ORC_SEG_23: checkParent.ORC.23, ID: organizationId_ORC_21 -%} {% endif %} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.ORC.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' ORC: checkParent.ORC, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} {% endif %} @@ -570,7 +569,7 @@ {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} {% endfor %} - {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent.ORC, DiagnosticReport_Encounter_ID: fullEncounterId, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent.ORC, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} {% include 'Reference/DiagnosticReport/Specimen' ID: diagnosticId, REF: fullSpecimenId_obr -%} @@ -720,7 +719,7 @@ {% endfor %} {% endif -%} - {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} diff --git a/data/Templates/Hl7v2/OUL_R22.liquid b/data/Templates/Hl7v2/OUL_R22.liquid new file mode 100644 index 000000000..0401b5b5a --- /dev/null +++ b/data/Templates/Hl7v2/OUL_R22.liquid @@ -0,0 +1,813 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|PID|PD1|PV1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign spmSegmentLists = hl7v2Data | get_segment_lists: 'SPM' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'OUL_R22', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID %} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PD1' -%} + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign arvSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% assign obx_pidSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] %} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: pd1Segment.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for arvSegment in arvSegmentLists.ARV %} + {% if arvSegment %} + {% include 'Resource/Patient' ARV: arvSegment, ID: patientId %} + {% endif %} + {% endfor %} + + {% for obxSegment in obx_pidSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID1, DiagnosticReport_Subject_ID: fullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endif -%} + {% endfor -%} + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'OUL_R22', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} + {% endif -%} + {% endif %} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for spmSegment in spmSegmentLists.SPM -%} + {% if spmSegment %} + {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: patientId -%} + {% assign obx_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + {% assign sac_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'SAC' -%} + {% assign obr_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBR' -%} + {% if sac_spmSegmentLists == empty %} + {% include 'Resource/Specimen' SPM: spmSegment, Specimen_Subject_ID: fullPatientId, ID: specimenId_spm -%} + {% else %} + {% for sacSegment in sac_spmSegmentLists.SAC -%} + {% assign inv_spmSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'INV' -%} + + {% if sacSegment %} + {% include 'Resource/Specimen' SPM: spmSegment, SAC: sacSegment, Specimen_Subject_ID: fullPatientId, ID: specimenId_spm -%} + {% if sacSegment.43 and spmSegment.15 == null %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: sacSegment.43 -%} + {% endif %} + {% endif %} + + {% if inv_spmSegmentLists.INV[0] %} + {% evaluate substanceID using 'ID/Substance' INV: inv_spmSegmentLists.INV[0] -%} + {% include 'Resource/Substance' INV: inv_spmSegmentLists.INV[0], ID: substanceID -%} + + {% assign fullSubstanceID = substanceID | prepend: 'Substance/' -%} + {% include 'Reference/Specimen/Container_AdditiveReference' ID: specimenId_spm, REF: fullSubstanceID %} + {% endif %} + {% endfor -%} + {% endif %} + {% if spmSegment.15 %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} + {% endif %} + {% endif %} + {% if spmSegment.3 %} + {% for spmSegment_3 in spmSegment.3.Repeats %} + {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} + {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} + {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} + {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% endfor %} + {% endif %} + {% if spmSegment.30 -%} + {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} + {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} + {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} + {% endif -%} + {% endif -%} + {% if spmSegment.31 -%} + {% for spm_31 in spmSegment.31.Repeats %} + {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} + {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} + {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} + {% endif -%} + {% endfor %} + {% endif -%} + + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} + {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} + {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + {% endfor -%} + + {% assign obrSegmentPositionIndex = 0 -%} + {% for obrSegment in obr_spmSegmentLists.OBR -%} + {% assign orc_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'ORC' -%} + {% assign tq1_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TQ1' -%} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% assign txa_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TXA' -%} + {% assign txaSegment = txa_obrSegmentLists.TXA[0] %} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTI' -%} + + {% assign checkParentORC = orc_obrSegmentLists.ORC[0] %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, ORU_ORC: checkParentORC, ORU_MSH: firstSegments.MSH, baseId: patientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParentORC.31, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OUL" -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParentORC.12.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0].9.1 != "" and checkParentORC.12.Repeats[0].9.1 != null and checkParentORC.12.Repeats[0].9.2 != "" and checkParentORC.12.Repeats[0].9.2 != null and checkParentORC.12.Repeats[0].9.3 != "" and checkParentORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParentORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParentORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParentORC, ORCXCN_12: checkParentORC.12.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParentORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParentORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0] == null or checkParentORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_spm, ID: serviceRequestId -%} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParentORC, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + {% include 'Reference/DiagnosticReport/Specimen' ID: diagnosticId, REF: fullSpecimenId_spm -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% endif -%} + + {% assign full_ServiceRequest_Encounter_ID = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ServiceRequest/Encounter' REF: full_ServiceRequest_Encounter_ID, ID: serviceRequestId -%} + {% if obrSegment.29.Value == null %} + {% if checkParentORC.8 and checkParentORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParentORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% if txaSegment -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: txaSegment.12 -%} + {% include 'Resource/DocumentReference' TXA: txaSegment, OBX: checkParentOBX.OBX, ID: documentreferenceID -%} + {% include 'Reference/DocumentReference/Subject' ID: documentreferenceID, REF: fullPatientId -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% if txaSegment.5 -%} + {% for txa_5 in txaSegment.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if txaSegment.9 -%} + {% for txa_9 in txaSegment.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if txaSegment.10.Repeats[0] -%} + {% assign txa_10 = txaSegment.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + {% endif -%} + {% endif -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% unless tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegment, ORC_tq1: checkParentORC -%} + {% endunless -%} + {% for tq1Segment in tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegment -%} + {% endfor -%} + + {% assign txa_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TXA' -%} + {% if txa_obrSegmentLists == empty %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% else %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: txa_obrSegmentLists.TXA[0], 'OBX' -%} + {% endif -%} + + {% for obxSegment in obx_obrSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: obx_diagnosticReportID2 -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID2 %} + {% endif %} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' -%} + {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} + {% endif -%} + {% endfor -%} + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% endfor %} + + {% assign obrSegmentPositionIndex = obrSegmentPositionIndex | plus: 1 -%} + {% endfor -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/OUL_R23.liquid b/data/Templates/Hl7v2/OUL_R23.liquid new file mode 100644 index 000000000..ea7ceef0b --- /dev/null +++ b/data/Templates/Hl7v2/OUL_R23.liquid @@ -0,0 +1,815 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|PID|PD1|PV1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign spmSegmentLists = hl7v2Data | get_segment_lists: 'SPM' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'OUL_R23', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID %} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PD1' -%} + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign arvSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% assign obx_pidSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] %} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: pd1Segment.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for arvSegment in arvSegmentLists.ARV %} + {% if arvSegment %} + {% include 'Resource/Patient' ARV: arvSegment, ID: patientId %} + {% endif %} + {% endfor %} + + {% for obxSegment in obx_pidSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID1, DiagnosticReport_Subject_ID: fullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endif -%} + {% endfor -%} + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'OUL_R23', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} + {% endif -%} + {% endif %} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for spmSegment in spmSegmentLists.SPM -%} + {% if spmSegment %} + {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: patientId -%} + {% assign obx_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + {% assign sac_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'SAC' -%} + + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} + {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} + {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + {% endfor -%} + + {% if spmSegment.3 %} + {% for spmSegment_3 in spmSegment.3.Repeats %} + {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} + {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} + {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} + {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% endfor %} + {% endif %} + + {% if spmSegment.30 -%} + {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} + {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} + {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} + {% endif -%} + {% endif -%} + + {% if spmSegment.31 -%} + {% for spm_31 in spmSegment.31.Repeats %} + {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} + {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} + {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} + {% endif -%} + {% endfor %} + {% endif -%} + + {% if spmSegment.15 %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} + {% endif %} + + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + + {% for sacSegment in sac_spmSegmentLists.SAC -%} + {% assign inv_spmSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'INV' -%} + {% assign obr_sacSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'OBR' -%} + {% if sacSegment %} + {% include 'Resource/Specimen' SPM: spmSegment, SAC: sacSegment, Specimen_Subject_ID: fullPatientId, ID: specimenId_spm -%} + {% if sacSegment.43 and spmSegment.15 == null %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: sacSegment.43 -%} + {% endif %} + {% endif %} + {% if inv_spmSegmentLists.INV[0] %} + {% evaluate substanceID using 'ID/Substance' INV: inv_spmSegmentLists.INV[0] -%} + {% include 'Resource/Substance' INV: inv_spmSegmentLists.INV[0], ID: substanceID -%} + + {% assign fullSubstanceID = substanceID | prepend: 'Substance/' -%} + {% include 'Reference/Specimen/Container_AdditiveReference' ID: specimenId_spm, REF: fullSubstanceID %} + {% endif %} + + {% assign obrSegmentPositionIndex = 0 -%} + {% for obrSegment in obr_sacSegmentLists.OBR -%} + {% assign orc_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'ORC' -%} + {% assign tq1_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TQ1' -%} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% assign txa_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TXA' -%} + {% assign txaSegment = txa_obrSegmentLists.TXA[0] %} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTI' -%} + + {% assign checkParentORC = orc_obrSegmentLists.ORC[0] %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, ORU_ORC: checkParentORC, ORU_MSH: firstSegments.MSH, baseId: patientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParentORC.31, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OUL" -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParentORC.12.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0].9.1 != "" and checkParentORC.12.Repeats[0].9.1 != null and checkParentORC.12.Repeats[0].9.2 != "" and checkParentORC.12.Repeats[0].9.2 != null and checkParentORC.12.Repeats[0].9.3 != "" and checkParentORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParentORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParentORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParentORC, ORCXCN_12: checkParentORC.12.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParentORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParentORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0] == null or checkParentORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_spm, ID: serviceRequestId -%} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + {% assign full_ServiceRequest_Encounter_ID = encounterId | prepend: 'Encounter/' -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParentORC, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + {% include 'Reference/DiagnosticReport/Specimen' ID: diagnosticId, REF: fullSpecimenId_spm -%} + {% include 'Reference/DiagnosticReport/Encounter' REF: full_ServiceRequest_Encounter_ID,, ID: diagnosticId %} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% endif -%} + + {% include 'Reference/ServiceRequest/Encounter' REF: full_ServiceRequest_Encounter_ID, ID: serviceRequestId -%} + {% if obrSegment.29.Value == null %} + {% if checkParentORC.8 and checkParentORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParentORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% if txaSegment -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: txaSegment.12 -%} + {% include 'Resource/DocumentReference' TXA: txaSegment, OBX: checkParentOBX.OBX, ID: documentreferenceID -%} + {% include 'Reference/DocumentReference/Subject' ID: documentreferenceID, REF: fullPatientId -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% if txaSegment.5 -%} + {% for txa_5 in txaSegment.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if txaSegment.9 -%} + {% for txa_9 in txaSegment.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if txaSegment.10.Repeats[0] -%} + {% assign txa_10 = txaSegment.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + {% endif -%} + {% endif -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% unless tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegment, ORC_tq1: checkParentORC -%} + {% endunless -%} + {% for tq1Segment in tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegment -%} + {% endfor -%} + + {% assign txa_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TXA' -%} + {% if txa_obrSegmentLists == empty %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% else %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: txa_obrSegmentLists.TXA[0], 'OBX' -%} + {% endif -%} + + {% for obxSegment in obx_obrSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: obx_diagnosticReportID2 -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID2 %} + {% endif %} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' -%} + {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} + {% endif -%} + {% endfor -%} + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% endfor %} + + {% assign obrSegmentPositionIndex = obrSegmentPositionIndex | plus: 1 -%} + {% endfor -%} + {% endfor -%} + + {% endif %} + + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/OUL_R24.liquid b/data/Templates/Hl7v2/OUL_R24.liquid new file mode 100644 index 000000000..e89c2afe7 --- /dev/null +++ b/data/Templates/Hl7v2/OUL_R24.liquid @@ -0,0 +1,903 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|PID' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'OUL_R24', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.PID %} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PD1' -%} + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign arvSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% assign obx_pidSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] %} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: pd1Segment, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: pd1Segment, PV1: pv1Segment -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: pd1Segment.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for arvSegment in arvSegmentLists.ARV %} + {% if arvSegment %} + {% include 'Resource/Patient' ARV: arvSegment, ID: patientId %} + {% endif %} + {% endfor %} + + {% for obxSegment in obx_pidSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID1, DiagnosticReport_Subject_ID: fullPatientId -%} + + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endif -%} + {% endfor -%} + + {% if pv1Segment -%} + + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'OUL_R24', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} + {% endif -%} + + {% endif %} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + + {% endfor -%} + + {% assign obrSegmentPositionIndex = 0 -%} + {% assign obxSegmentPositionIndex_spm = 0 -%} + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign orc_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'ORC' -%} + {% assign tq1_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TQ1' -%} + {% assign txa_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TXA' -%} + {% assign txaSegment = txa_obrSegmentLists.TXA[0] %} + {% assign spmSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'SPM' -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTI' -%} + + + {% assign checkParentORC = orc_obrSegmentLists.ORC[0] %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, ORU_ORC: checkParentORC, ORU_MSH: firstSegments.MSH, baseId: patientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParentORC.31, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParentORC, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OUL" -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% endif %} + + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParentORC.12.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0].9.1 != "" and checkParentORC.12.Repeats[0].9.1 != null and checkParentORC.12.Repeats[0].9.2 != "" and checkParentORC.12.Repeats[0].9.2 != null and checkParentORC.12.Repeats[0].9.3 != "" and checkParentORC.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParentORC.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParentORC.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParentORC, ORCXCN_12: checkParentORC.12.Repeats[0], ORC_SEG_24: checkParentORC.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParentORC.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParentORC, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParentORC.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParentORC.21.Repeats[0] -%} + {% if checkParentORC.12.Repeats[0] == null or checkParentORC.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParentORC, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% endif -%} + + {% assign full_ServiceRequest_Encounter_ID = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ServiceRequest/Encounter' REF: full_ServiceRequest_Encounter_ID, ID: serviceRequestId -%} + {% if obrSegment.29.Value == null %} + {% if checkParentORC.8 and checkParentORC.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParentORC, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OUL" -%} + {% endif %} + {% endif %} + + {% if txaSegment -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% evaluate documentreferenceID using 'ID/DocumentReference' EI: txaSegment.12 -%} + {% include 'Resource/DocumentReference' TXA: txaSegment, OBX: checkParentOBX.OBX, ID: documentreferenceID -%} + {% include 'Reference/DocumentReference/Subject' ID: documentreferenceID, REF: fullPatientId -%} + + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + + {% if txaSegment.5 -%} + {% for txa_5 in txaSegment.5.Repeats -%} + {% if txa_5.9.1 != "" and txa_5.9.1 != null and txa_5.9.2 != "" and txa_5.9.2 != null and txa_5.9.3 != "" and txa_5.9.3 != null -%} + {% evaluate Organization_ID_TXA_5_9 using 'ID/Organization' HDORG: txa_5.9.9 -%} + {% include 'Resource/Organization', TXA: txa_5.5.9, ID: Organization_ID_TXA_5_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_5 using 'ID/Practitioner' XCN: txa_5 -%} + {% include 'Resource/Practitioner' TXA: txa_5, ID: practitionerId_TXA_5 -%} + {% endfor -%} + {% endif -%} + {% if txaSegment.9 -%} + {% for txa_9 in txaSegment.9.Repeats -%} + {% if txa_9.Value != null and txa_9.Value != "" -%} + {% if txa_9.9.1 != "" and txa_9.9.1 != null and txa_9.9.2 != "" and txa_9.9.2 != null and txa_9.9.3 != "" and txa_9.9.3 != null -%} + {% evaluate Organization_ID_TXA_9_9 using 'ID/Organization' HDORG: txa_9.9.9 -%} + {% include 'Resource/Organization', TXA: txa_9.9.9, ID: Organization_ID_TXA_9_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_9 using 'ID/Practitioner' XCN: txa_9 -%} + {% include 'Resource/Practitioner' TXA: txa_9, ID: practitionerId_TXA_9 -%} + + {% evaluate practitionerRoleId_TXA9 using 'ID/PractitionerRole' XCN: txa_9 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_9, ID: practitionerRoleId_TXA9 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if txaSegment.10.Repeats[0] -%} + {% assign txa_10 = txaSegment.10.Repeats[0] -%} + {% if txa_10.9.1 != "" and txa_10.9.1 != null and txa_10.9.2 != "" and txa_10.9.2 != null and txa_10.9.3 != "" and txa_10.9.3 != null -%} + {% evaluate Organization_ID_TXA_10_9 using 'ID/Organization' HDORG: txa_10.9.9 -%} + {% include 'Resource/Organization', TXA: txa_10.9.9, ID: Organization_ID_TXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_TXA_10 using 'ID/Practitioner' XCN: txa_10 -%} + {% include 'Resource/Practitioner' TXA: txa_10, ID: practitionerId_TXA_10 -%} + + {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} + {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} + {% endif -%} + {% endif -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% unless tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegment, ORC_tq1: checkParentORC -%} + {% endunless -%} + {% for tq1Segment in tq1_obrSegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegment -%} + {% endfor -%} + + {% for spmSegment in spmSegmentLists.SPM -%} + {% if spmSegment %} + {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: patientId -%} + {% assign sac_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'SAC' -%} + + {% if sac_spmSegmentLists == empty %} + {% include 'Resource/Specimen' SPM: spmSegment, ID: specimenId_spm, Specimen_Subject_ID: fullPatientId -%} + {% else %} + {% for sacSegment in sac_spmSegmentLists.SAC -%} + {% assign inv_spmSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'INV' -%} + + {% if sacSegment %} + {% include 'Resource/Specimen' SPM: spmSegment, SAC: sacSegment, ID: specimenId_spm, Specimen_Subject_ID: fullPatientId -%} + {% if sacSegment.43 and spmSegment.15 == null %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: sacSegment.43 -%} + {% endif %} + {% endif %} + + {% if inv_spmSegmentLists.INV[0] %} + {% evaluate substanceID using 'ID/Substance' INV: inv_spmSegmentLists.INV[0] -%} + {% include 'Resource/Substance' INV: inv_spmSegmentLists.INV[0], ID: substanceID -%} + + {% assign fullSubstanceID = substanceID | prepend: 'Substance/' -%} + {% include 'Reference/Specimen/Container_AdditiveReference' ID: specimenId_spm, REF: fullSubstanceID %} + {% endif %} + + {% endfor -%} + {% endif %} + + {% if spmSegment.15 %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} + {% endif %} + + {% endif %} + + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% include 'Reference/ServiceRequest/Specimen' ID: serviceRequestId, REF: fullSpecimenId_spm -%} + {% include 'Reference/DiagnosticReport/Specimen' ID: diagnosticId, REF: fullSpecimenId_spm -%} + + {% if spmSegment.3 %} + {% for spmSegment_3 in spmSegment.3.Repeats %} + {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} + {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} + {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} + {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% endfor %} + {% endif %} + + {% if spmSegment.30 -%} + {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} + {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} + {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} + {% endif -%} + {% endif -%} + + {% if spmSegment.31 -%} + {% for spm_31 in spmSegment.31.Repeats %} + {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} + {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} + {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} + {% endif -%} + {% endfor %} + {% endif -%} + + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + + + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} + {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} + {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + + {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} + + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + + {% else %} + + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + + {% endfor -%} + {% endfor -%} + + {% if spmSegmentLists.SPM[0] %} + {% if sac_spmSegmentLists.SAC[0] %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: sac_spmSegmentLists.SAC[0], 'OBX' -%} + {% elsif spmSegmentLists.SPM[0] %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: spmSegmentLists.SPM[0], 'OBX' -%} + {% endif -%} + {% elseif txaSegment %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: txaSegment, 'OBX' -%} + {% else %} + {% assign obx_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% endif -%} + + {% for obxSegment in obx_obrSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: obx_diagnosticReportID2 -%} + + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID2 %} + {% endif %} + + {% else %} + + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} + {% endif %} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + + {% assign fullObservationId = observationId | prepend: 'Observation/' -%} + {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} + + {% endif -%} + {% endfor -%} + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% endfor %} + + {% assign obrSegmentPositionIndex = obrSegmentPositionIndex | plus: 1 -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/RDE_O11.liquid b/data/Templates/Hl7v2/RDE_O11.liquid new file mode 100644 index 000000000..14190a3c6 --- /dev/null +++ b/data/Templates/Hl7v2/RDE_O11.liquid @@ -0,0 +1,820 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|PID|PD1|PV1|PV2' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign nteSegmentLists = hl7v2Data | get_segment_lists: 'NTE' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'RDE_O11', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'RDE_O11', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterid -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + {% assign in2SegmentLists = hl7v2Data | get_related_segment_list: in1Segment, 'IN2' -%} + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% if accountId %} + {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} + {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} + {% endif %} + + {% for orcSegment in orcSegmentLists.ORC %} + + {% assign rxoSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXO' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign rxoSegment = rxoSegmentLists.RXO[0] %} + {% assign rxrSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXR' -%} + {% assign tq1Segment = tq1SegmentLists.TQ1[0] %} + {% assign rxcSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXC' -%} + {% assign rxcSegment = rxcSegmentLists.RXC[0] %} + {% assign rxeSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXE' -%} + {% assign rxeSegment = rxeSegmentLists.RXE[0] %} + + {% assign rxo_nteSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + + {% if rxoSegment -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxoSegment.14.Repeats[0] -%} + {% if rxoSegment.14.Repeats[0].9.1 != "" and rxoSegment.14.Repeats[0].9.1 != null and rxoSegment.14.Repeats[0].9.2 != "" and rxoSegment.14.Repeats[0].9.2 != null and rxoSegment.14.Repeats[0].9.3 != "" and rxoSegment.14.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXO_14 using 'ID/Organization' HDORG: rxoSegment.14.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxoSegment.14.Repeats[0].9, ID: Organization_ID_RXO_14 -%} + {% endif -%} + {% evaluate practitionerId_RXO_14 using 'ID/Practitioner' XCN: rxoSegment.14.Repeats[0] -%} + {% include 'Resource/Practitioner' RXO: rxoSegment.14.Repeats[0], ID: practitionerId_RXO_14 -%} + {% evaluate practitionerRoleId_RXO_14 using 'ID/PractitionerRole' XCN: rxoSegment.14.Repeats[0] -%} + {% assign full_practitionerId_RXO_14 = practitionerId_RXO_14 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXO: rxoSegment.14.Repeats[0], ID: practitionerRoleId_RXO_14 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXO_14, ID: practitionerRoleId_RXO_14 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXO_14 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxoSegment.14.Repeats[0] == null or rxoSegment.14.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif %} + + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} + + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + + {% if rxcSegment %} + {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} + {% if medicationId %} + {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + {% endif -%} + + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} + {% endfor -%} + + {% for nteSegment in rxo_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} + {% endfor -%} + + {% for tq1 in tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} + {% endunless -%} + {% endfor -%} + + + {% if rxeSegment -%} + + {% assign medicationId_RXE = null -%} + {% if rxeSegment.2 -%} + {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} + {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} + {% endif -%} + + {% if rxeSegment.40 -%} + {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} + {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} + {% endif -%} + + {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxeSegment.13.Repeats[0] -%} + {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} + {% endif -%} + {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} + {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} + {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} + {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + + {% endif -%} + + {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} + {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} + + {% if rxe_rxcSegment %} + {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} + {% if medicationId_RXE %} + {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + + {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} + {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} + {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} + + {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% for tq1 in rxe_tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} + {% endunless -%} + {% endfor -%} + + {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} + + {% for nteSegment in rxe_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} + {% for cdoSegment in cdoSegmentLists.CDO -%} + {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% endif -%} + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + + {% endif -%} + {% endfor -%} + + {% endfor %} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/RDE_O25.liquid b/data/Templates/Hl7v2/RDE_O25.liquid new file mode 100644 index 000000000..e228d7203 --- /dev/null +++ b/data/Templates/Hl7v2/RDE_O25.liquid @@ -0,0 +1,823 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|PID|PD1|PV1|PV2' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign nteSegmentLists = hl7v2Data | get_segment_lists: 'NTE' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'RDE_O25', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'RDE_O25', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterid -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + {% assign in2SegmentLists = hl7v2Data | get_related_segment_list: in1Segment, 'IN2' -%} + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% if accountId %} + {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} + {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} + {% endif %} + + {% for orcSegment in orcSegmentLists.ORC %} + + {% assign rxoSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXO' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign rxoSegment = rxoSegmentLists.RXO[0] %} + {% assign rxrSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXR' -%} + {% assign tq1Segment = tq1SegmentLists.TQ1[0] %} + {% assign rxcSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXC' -%} + {% assign rxcSegment = rxcSegmentLists.RXC[0] %} + {% assign rxeSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXE' -%} + {% assign rxeSegment = rxeSegmentLists.RXE[0] %} + + {% assign rxo_nteSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + + {% if rxoSegment -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxoSegment.14.Repeats[0] -%} + {% if rxoSegment.14.Repeats[0].9.1 != "" and rxoSegment.14.Repeats[0].9.1 != null and rxoSegment.14.Repeats[0].9.2 != "" and rxoSegment.14.Repeats[0].9.2 != null and rxoSegment.14.Repeats[0].9.3 != "" and rxoSegment.14.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXO_14 using 'ID/Organization' HDORG: rxoSegment.14.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxoSegment.14.Repeats[0].9, ID: Organization_ID_RXO_14 -%} + {% endif -%} + {% evaluate practitionerId_RXO_14 using 'ID/Practitioner' XCN: rxoSegment.14.Repeats[0] -%} + {% include 'Resource/Practitioner' RXO: rxoSegment.14.Repeats[0], ID: practitionerId_RXO_14 -%} + {% evaluate practitionerRoleId_RXO_14 using 'ID/PractitionerRole' XCN: rxoSegment.14.Repeats[0] -%} + {% assign full_practitionerId_RXO_14 = practitionerId_RXO_14 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXO: rxoSegment.14.Repeats[0], ID: practitionerRoleId_RXO_14 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXO_14, ID: practitionerRoleId_RXO_14 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXO_14 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxoSegment.14.Repeats[0] == null or rxoSegment.14.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif %} + + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} + + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + + {% if rxcSegment %} + {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} + {% if medicationId %} + {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + {% endif -%} + + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} + {% endfor -%} + + {% for nteSegment in rxo_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} + {% endfor -%} + + {% for tq1 in tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} + {% endunless -%} + {% endfor -%} + + + {% if rxeSegment -%} + + {% assign medicationId_RXE = null -%} + {% if rxeSegment.2 -%} + {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} + {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} + {% endif -%} + + {% if rxeSegment.40 -%} + {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} + {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} + {% endif -%} + + {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxeSegment.13.Repeats[0] -%} + {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} + {% endif -%} + {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} + {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} + {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} + {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} + {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} + + {% if rxe_rxcSegment %} + {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} + {% if medicationId_RXE %} + {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + + {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} + {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} + {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} + + {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% for tq1 in rxe_tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} + {% endunless -%} + {% endfor -%} + + {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} + + {% for nteSegment in rxe_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} + {% for cdoSegment in cdoSegmentLists.CDO -%} + {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% endif -%} + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + + {% endif -%} + {% endfor -%} + + {% evaluate TaskId using 'ID/Task' RXE: rxeSegment, intent_value: 'filler-order', intent_new_value: 'refill-authorization-request' baseId: patientId -%} + {% assign medicationRequest_task = medicationRequestId_RXE | prepend: 'MedicationRequest/' %} + {% include 'Resource/Task' RDE: "RDE_O25" , ID: TaskId, Task_Focus_ID: medicationRequest_task, Task_Encounter_ID: fullEncounterid, Task_For_ID: fullPatientId -%} + + {% endfor %} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/RDS_O13.liquid b/data/Templates/Hl7v2/RDS_O13.liquid new file mode 100644 index 000000000..3c8fb33c4 --- /dev/null +++ b/data/Templates/Hl7v2/RDS_O13.liquid @@ -0,0 +1,722 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH' -%} +{% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'RDS_O13', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% for pidSegment in pidSegmentLists.PID -%} + + {% evaluate patientId using 'ID/Patient' PID: pidSegment, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PD1' -%} + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: pidSegment, 'ARV' -%} + {% assign al1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'AL1' -%} + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] %} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% include 'Resource/Patient' PID: pidSegment, PD1: pd1Segment, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} + + {% if pidSegment.18 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} + {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: pidSegment.18.4 -%} + {% include 'Resource/Organization', PID: pidSegment.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if pidSegment.2 -%} + {% if pidSegment.2.4.1 != "" and pidSegment.2.4.1 != null and pidSegment.2.4.2 != "" and pidSegment.2.4.2 != null and pidSegment.2.4.3 != "" and pidSegment.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: pidSegment.2.4 -%} + {% include 'Resource/Organization', PID: pidSegment.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if pidSegment.4 -%} + {% if pidSegment.4.4.1 != "" and pidSegment.4.4.1 != null and pidSegment.4.4.2 != "" and pidSegment.4.4.2 != null and pidSegment.4.4.3 != "" and pidSegment.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: pidSegment.4.4 -%} + {% include 'Resource/Organization', PID: pidSegment.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if pidSegment.21 -%} + {% if pidSegment.21.4.1 != "" and pidSegment.21.4.1 != null and pidSegment.21.4.2 != "" and pidSegment.21.4.2 != null and pidSegment.21.4.3 != "" and pidSegment.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: pidSegment.21.4 -%} + {% include 'Resource/Organization', PID: pidSegment.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: pidSegment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: pidSegment -%} + {% endif -%} + {% endunless -%} + + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: pd1Segment.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for arvSegment in arvSegmentLists1.ARV %} + {% if arvSegment %} + {% include 'Resource/Patient' ARV: arvSegment, ID: patientId %} + {% endif %} + {% endfor %} + + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Resource/Encounter' Root_Template: 'ORU_R01', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} + {% endif -%} + + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: pv1Segment, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterid -%} + {% endfor -%} + + {% endfor -%} + + + {% for orcSegment in orcSegmentLists.ORC %} + + {% assign rxoSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXO' -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign rxoSegment = rxoSegmentLists.RXO[0] %} + {% assign rxrSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXR' -%} + {% assign tq1Segment = tq1SegmentLists.TQ1[0] %} + {% assign rxcSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'RXC' -%} + {% assign rxcSegment = rxcSegmentLists.RXC[0] %} + {% assign rxeSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXE' -%} + {% assign rxeSegment = rxeSegmentLists.RXE[0] %} + + {% assign rxdSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXD' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign rxo_nteSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + + {% if rxoSegment -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxoSegment.14.Repeats[0] -%} + {% if rxoSegment.14.Repeats[0].9.1 != "" and rxoSegment.14.Repeats[0].9.1 != null and rxoSegment.14.Repeats[0].9.2 != "" and rxoSegment.14.Repeats[0].9.2 != null and rxoSegment.14.Repeats[0].9.3 != "" and rxoSegment.14.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXO_14 using 'ID/Organization' HDORG: rxoSegment.14.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxoSegment.14.Repeats[0].9, ID: Organization_ID_RXO_14 -%} + {% endif -%} + {% evaluate practitionerId_RXO_14 using 'ID/Practitioner' XCN: rxoSegment.14.Repeats[0] -%} + {% include 'Resource/Practitioner' RXO: rxoSegment.14.Repeats[0], ID: practitionerId_RXO_14 -%} + {% evaluate practitionerRoleId_RXO_14 using 'ID/PractitionerRole' XCN: rxoSegment.14.Repeats[0] -%} + {% assign full_practitionerId_RXO_14 = practitionerId_RXO_14 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXO: rxoSegment.14.Repeats[0], ID: practitionerRoleId_RXO_14 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXO_14, ID: practitionerRoleId_RXO_14 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXO_14 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxoSegment.14.Repeats[0] == null or rxoSegment.14.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif %} + + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} + + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + + {% if rxcSegment %} + {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} + {% if medicationId %} + {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} + {% endfor -%} + + {% for nteSegment in rxo_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} + {% endfor -%} + + {% for tq1 in tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} + {% endunless -%} + {% endfor -%} + + {% unless rxrSegmentLists.RXR -%} + {% for tq1 in tq1SegmentLists.TQ1 %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, RXO_RXR: rxoSegment, ID: medicationRequestId %} + {% endfor -%} + {% endunless -%} + + {% endif -%} + + {% if rxeSegment -%} + + {% assign medicationId_RXE = null -%} + {% if rxeSegment.2 -%} + {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} + {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} + {% endif -%} + + {% if rxeSegment.40 -%} + {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} + {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} + {% endif -%} + + {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} + {% endif -%} + {% unless orcSegment.12 -%} + {% if rxeSegment.13.Repeats[0] -%} + {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} + {% endif -%} + {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} + {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} + {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} + {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} + {% endif -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} + {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} + + {% if rxe_rxcSegment %} + {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} + {% if medicationId_RXE %} + {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + + {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} + {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} + {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} + + {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% for tq1 in rxe_tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} + {% endunless -%} + {% endfor -%} + + {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} + + {% for nteSegment in rxe_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} + {% endfor -%} + + {% endif -%} + + {% for rxdSegment in rxdSegmentLists.RXD -%} + + {% evaluate rxdMedicationId using 'ID/Medication' RXD: rxdSegment -%} + {% include 'Resource/Medication' RXD: rxdSegment, ID: rxdMedicationId-%} + + {% evaluate medicationDispenseId using 'ID/MedicationDispense' RXD: rxdSegment, ORC: orcSegment, baseId: patientId -%} + {% include 'Resource/MedicationDispense' RXD: rxdSegment, ID: medicationDispenseId, ORC: orcSegment, subjectRefrence: patientId -%} + {% assign fullRXDMedicationId = rxdMedicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationDispense/MedicationReference' REF: fullRXDMedicationId, ID: medicationDispenseId -%} + {% include 'Reference/MedicationDispense/Context' REF: fullEncounterId, ID: medicationDispenseId -%} + + {% for rxd_10 in rxdSegment.10.Repeats -%} + {% if rxd_10.9.1 != "" and rxd_10.9.1 != null and rxd_10.9.2 != "" and rxd_10.9.2 != null and rxd_10.9.3 != "" and rxd_10.9.3 != null -%} + {% evaluate Organization_ID_rxd_10 using 'ID/Organization' HDORG: rxd_10.9 -%} + {% include 'Resource/Organization' OBX: rxd_10.9, ID: Organization_ID_rxd_10 -%} + {% endif -%} + {% evaluate practitionerId_rxd_10 using 'ID/Practitioner' XCN: rxd_10 -%} + {% include 'Resource/Practitioner' RXD: rxd_10, ID: practitionerId_rxd_10 -%} + {% endfor %} + + {% if rxdSegment.30 %} + {% evaluate locationId_RXD using 'ID/Location' CWE: rxdSegment.30 -%} + {% include 'Resource/Location' RXD: rxdSegment, ID: locationId_RXD -%} + {% elsif rxdSegment.31 %} + {% evaluate locationId_RXD using 'ID/Location' XAD: rxdSegment.31 -%} + {% include 'Resource/Location' RXD: rxdSegment, ID: locationId_RXD -%} + {% elsif rxdSegment.34 %} + {% evaluate locationId_RXD using 'ID/Location' XAD: rxdSegment.34 -%} + {% include 'Resource/Location' RXD: rxdSegment, ID: locationId_RXD -%} + {% endif %} + + {% assign rxd_nteSegmentLists = hl7v2Data | get_related_segment_list: rxdSegment, 'NTE' -%} + {% for nteSegment in rxd_nteSegmentLists.NTE -%} + {% include 'Resource/MedicationDispense' NTE: nteSegment, ID: medicationDispenseId, ORC: orcSegment %} + {% endfor -%} + + {% assign rxd_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxdSegment, 'RXR' -%} + {% for rxrSegment in rxd_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationDispense' RXD_RXR: rxdSegment, RXR: rxrSegment, ID: medicationDispenseId, ORC: orcSegment %} + {% endfor -%} + + {% assign rxd_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxdSegment, 'RXC' -%} + {% assign rxd_rxcSegment = rxd_rxcSegmentLists.RXC[0] %} + + {% if rxd_rxcSegment %} + {% evaluate medicationId_rxc_rxd using 'ID/Medication' RXC: rxd_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxd | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxd_rxcSegment, ID: medicationId_rxc_rxd %} + {% if rxdMedicationId %} + {% include 'Resource/Medication' RXO_RXC: rxd_rxcSegment, ID: rxdMedicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} + {% endif %} + + {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxdSegment, 'CDO' -%} + {% for cdoSegment in cdoSegmentLists.CDO -%} + {% include 'Resource/MedicationDispense' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationDispenseId, ORC: orcSegment %} + {% endfor -%} + + {% endfor -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + + {% endif -%} + {% endfor -%} + + {% endfor %} + + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/Reference/Condition/_Encounter.liquid b/data/Templates/Hl7v2/Reference/Condition/_Encounter.liquid new file mode 100644 index 000000000..1c2a257ff --- /dev/null +++ b/data/Templates/Hl7v2/Reference/Condition/_Encounter.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "Condition", + "id":"{{ ID }}", + "encounter": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Reference/DiagnosticReport/_Encounter.liquid b/data/Templates/Hl7v2/Reference/DiagnosticReport/_Encounter.liquid new file mode 100644 index 000000000..5ad66eb71 --- /dev/null +++ b/data/Templates/Hl7v2/Reference/DiagnosticReport/_Encounter.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "DiagnosticReport", + "id":"{{ ID }}", + "encounter": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Reference/Observation/_Encounter.liquid b/data/Templates/Hl7v2/Reference/Observation/_Encounter.liquid new file mode 100644 index 000000000..0f093c7ed --- /dev/null +++ b/data/Templates/Hl7v2/Reference/Observation/_Encounter.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "Observation", + "id":"{{ ID }}", + "encounter": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Reference/Observation/_Specimen.liquid b/data/Templates/Hl7v2/Reference/Observation/_Specimen.liquid new file mode 100644 index 000000000..bcc2092b0 --- /dev/null +++ b/data/Templates/Hl7v2/Reference/Observation/_Specimen.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "Observation", + "id":"{{ ID }}", + "specimen": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Reference/Observation/_Subject.liquid b/data/Templates/Hl7v2/Reference/Observation/_Subject.liquid new file mode 100644 index 000000000..f2c44ab53 --- /dev/null +++ b/data/Templates/Hl7v2/Reference/Observation/_Subject.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "Observation", + "id":"{{ ID }}", + "subject": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Reference/Patient/_Link_Other.liquid b/data/Templates/Hl7v2/Reference/Patient/_Link_Other.liquid index d662f9ad6..b6bedd28f 100644 --- a/data/Templates/Hl7v2/Reference/Patient/_Link_Other.liquid +++ b/data/Templates/Hl7v2/Reference/Patient/_Link_Other.liquid @@ -9,6 +9,9 @@ { "reference":"{{ REF }}", }, + {% if REF -%} + "type": "seealso" + {% endif -%} }, ], }, diff --git a/data/Templates/Hl7v2/Reference/ServiceRequest/_Encounter.liquid b/data/Templates/Hl7v2/Reference/ServiceRequest/_Encounter.liquid new file mode 100644 index 000000000..cee1aa3b5 --- /dev/null +++ b/data/Templates/Hl7v2/Reference/ServiceRequest/_Encounter.liquid @@ -0,0 +1,10 @@ +{ + "resource":{ + "resourceType": "ServiceRequest", + "id":"{{ ID }}", + "encounter": + { + "reference":"{{ REF }}", + }, + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_Account.liquid b/data/Templates/Hl7v2/Resource/_Account.liquid index 0d0a35a81..997d71295 100644 --- a/data/Templates/Hl7v2/Resource/_Account.liquid +++ b/data/Templates/Hl7v2/Resource/_Account.liquid @@ -10,6 +10,15 @@ }, ], "status": "active", + + {% if Root_Template == "BAR_P02" %} + "status": "entered-in-error", + {% endif %} + + "servicePeriod" : { + "start":"{{ EVN.2.Value | format_as_date_time }}", + }, + "subject": [ {% comment -%} Placeholder provided for customization by users. If left empty, it will be removed in post-processing. {% endcomment -%} @@ -19,7 +28,7 @@ {% if GT1 -%} "guarantor" : [ - + {% unless GT1.21 %} { {% if GT1.11 -%} {% if GT1.11.1.Value == "SEL" -%} @@ -48,7 +57,8 @@ }, {% endif -%} {% endif -%} - }, + }, + {% endunless -%} { {% if GT1.21 -%} "party" : { diff --git a/data/Templates/Hl7v2/Resource/_Appointment.liquid b/data/Templates/Hl7v2/Resource/_Appointment.liquid index 45f3d3c16..c3de7f379 100644 --- a/data/Templates/Hl7v2/Resource/_Appointment.liquid +++ b/data/Templates/Hl7v2/Resource/_Appointment.liquid @@ -210,25 +210,41 @@ { {% if AIL.3 -%} "actor" : { + + {% if AIL.3.5 or AIL.3.9 -%} + {% if AIL.3.5 and AIL.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = AIL.3.Value | remove: AIL.3.5.Value | remove: AIL.3.9.Value %} + {% endif -%} + {% if AIL.3.5 and AIL.3.9 == null or AIL.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= AIL.3.Value | remove: AIL.3.5.Value %} + {% endif -%} + {% if AIL.3.9 and AIL.3.5 == null or AIL.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= AIL.3.Value | remove: AIL.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = AIL.3.Value %} + {% endif -%} + {% if AIL.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.1, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_AIL_3 }}", {% elseif AIL.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.2, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_AIL_3 }}", {% elseif AIL.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.3 -%} - "reference":"Location/{{ Location_ID_AIL_3 }}", + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.3, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_AIL_3 }}", {% elseif AIL.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.4 -%} - "reference":"Location/{{ Location_ID_AIL_3 }}", + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.4, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_AIL_3 }}", {% elseif AIL.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.7, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_AIL_3 }}", {% elseif AIL.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: AIL.3.8 -%} - "reference":"Location/{{ Location_ID_AIL_3 }}", - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: AIL.3.8, PL: AIL.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_AIL_3 }}", + {% endif -%} + }, {% endif -%} "period" : { diff --git a/data/Templates/Hl7v2/Resource/_ChargeItem.liquid b/data/Templates/Hl7v2/Resource/_ChargeItem.liquid new file mode 100644 index 000000000..03ddd4708 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_ChargeItem.liquid @@ -0,0 +1,99 @@ +{% evaluate Practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: NTE.5 -%} +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "ChargeItem", + "id":"{{ ID }}", + "status": "unknown", + "identifier" : [ + {% if FT1.2 -%} + { + "value": "{{FT1.2.Value}}", + {% if FT1.13.3 -%} + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{FT1.13.3.Value}}", + {% endif -%} + "type": { + "coding": [ + { + "system" : "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code" : "TID", + "display" : "ChargeItem Transaction ID", + } + ], + } + }, + {% endif -%} + ], + {% unless FT1.4.2 -%} + "occurrenceDateTime" : "{{ FT1.4.1.Value | format_as_date_time }}", + {% endunless -%} + {% if FT1.4.2 -%} + "occurrencePeriod" : { + "start" : "{{ FT1.4.1.Value | format_as_date_time }}", + "end" : "{{ FT1.4.2.Value | format_as_date_time }}", + }, + {% endif -%} + "enteredDate" : "{{ FT1.5.Value | format_as_date_time }}", + "code" : { + {% include 'DataType/CWECodeableConcept' CWE: FT1.7 -%} + }, + {% if FT1.10 -%} + "quantity" : { + "value": {{FT1.10.Value}}, + }, + {% endif -%} + {% if FT1.11.1 -%} + "priceOverride" : { + "value" : {{FT1.11.1.1}}, + "currency" : "{{FT1.11.1.2}}", + }, + {% endif -%} + {% unless FT1.11.1 -%} + {% if FT1.12.1 -%} + "priceOverride" : { + "value" : {{FT1.12.1.1}}, + "currency" : "{{FT1.12.1.2}}", + }, + {% endif -%} + {% endunless %} + "reason" : [ + {% for ft1_19 in FT1.19.Repeats %} + { + {% include 'DataType/CWECodeableConcept' CWE: ft1_19 -%} + }, + {% endfor -%} + ], + "service" : [ + {% if procedure_ft1_25 -%} + { + "reference":"Procedure/{{procedure_ft1_25}}", + "type": "Procedure", + }, + {% endif -%} + {% if medicationdispense_ft1_29 -%} + { + "reference":"MedicationDispense/{{ medicationdispense_ft1_29 }}", + "type": "MedicationDispense", + }, + {% endif -%} + ], + "note": [ + {% if NTE %} + { + "text": "{{NTE.3.Value}}", + "time": "{{ NTE.6.Value | format_as_date_time }}", + {% if Practitioner_ID_NTE_5 %} + "authorReference": + { + "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", + } + {% endif %} + }, + {% endif %} + ], + }, + "request":{ + "method":"PUT", + "url":"ChargeItem/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid b/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid new file mode 100644 index 000000000..36a434e49 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid @@ -0,0 +1,147 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource": { + "resourceType": "ClaimResponse", + "id":"{{ ID }}", + + "identifier": + [ + { + {% include 'DataType/EIIdentifier' EI: AUT.6 -%} + }, + ], + "type": + { + {% if type1 == true %} + "coding" : + [ + { + "code": "institutional", + "display": "Institutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + }, + ], + {% else %} + {% if AUT_PV1_2.Value == 'I' or AUT_PV1_2.Value == 'O' %} + "coding" : [ + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/PV1_ClaimResponseType', CWE: AUT_PV1_2 %} + ], + {%- else %} + {% if AUT.21 %} + "coding" : + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: AUT.21 %} + ], + {% endif %} + {% endif %} + {% endif %} + }, + {% if status_flag == false %} + "status": "active", + {% elsif AUT.29.value == 'D' %} + "status": "entered-in-error", + {% endif %} + "use": "preauthorization", + "created": "{{ AUT.10.Value | format_as_date_time }}", + "outcome": "complete", + {%- comment -%} + {% if AUT.14 %} + "outcome": {% include 'DataType/CWECode' mapping: 'CodeSystem/ApprovalStatus', CWE: AUT.14 %}, + {% else %} + "outcome": "complete", + {% endif %} + {%- endcomment -%} + {% if AUT.8 or AUT.9 %} + "item": [ + { + "itemSequence": 1, + "adjudication": [ + {% if AUT.8 %} + { + {% if AUT.8.1 %} + "value": {{AUT.8.1.Value}}, + {% endif %} + "category": { + "coding": [ + { + "code": "requestedNumberOfTreatments", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-Adjudication", + }, + ], + }, + }, + {% endif %} + {% if AUT.9 %} + { + {% if AUT.8.1 %} + "value": {{AUT.9.1.Value}}, + {% endif %} + "category": { + "coding": [ + { + "code": "authorizedNumberOfTreatments", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-Adjudication", + }, + ], + }, + }, + {% endif %} + ], + } + ], + {% endif %} + {% if AUT.7 %} + "total" : + [ + { + {% if AUT.7.2 %} + "category": { + {% include 'DataType/CWECodeableConceptInternalValues' mapping: 'CodeSystem/PriceType_AdjudicationCategory', CWE: AUT.7.2 %} + }, + {% endif %} + {% unless AUT.7.2 -%} + "category": { + "coding": + [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + }, + ] + }, + {% endunless %} + {% if AUT.7.1 %} + "amount" : { + {% include 'DataType/MOMoney' MO: AUT.7.1 %} + }, + {% endif %} + } + ], + {% endif %} + "preAuthPeriod": { + "start": "{{AUT.4.Value | format_as_date_time}}", + "end": "{{AUT.5.Value | format_as_date_time}}", + }, + "processNote" : [ + { + "text" : "{{AUT.28.Value}}", + } + ], + "insurer": + { + {% if org_IN1 %} + "reference": "{{org_IN1}}", + {% endif %} + {% if org_AUT %} + "reference": "{{org_AUT}}", + {% endif %} + }, + }, + "request":{ + "method":"PUT", + "url":"ClaimResponse/{{ ID }}", + }, +}, \ No newline at end of file diff --git a/data/Templates/Hl7v2/Resource/_Condition.liquid b/data/Templates/Hl7v2/Resource/_Condition.liquid index 81619751b..bc9fbf10a 100644 --- a/data/Templates/Hl7v2/Resource/_Condition.liquid +++ b/data/Templates/Hl7v2/Resource/_Condition.liquid @@ -18,8 +18,11 @@ Condition_Recorder_ID: A resource Id, used to fill "recorder.reference" property { {% include 'DataType/CWECodeableConcept' CWE: DG1.3 -%} "text": "{{ DG1.4.Value }}", + {% if PDA_1 %} + {% include 'DataType/CWECodeableConcept' CWE: PDA_1 -%} + {% endif %} }, - + "onsetDateTime":"{{ DG1.5.Value | format_as_date_time }}", "identifier": @@ -61,6 +64,7 @@ Condition_Recorder_ID: A resource Id, used to fill "recorder.reference" property "subject": { "reference":"{{ Condition_Subject_ID }}", + }, "encounter": { diff --git a/data/Templates/Hl7v2/Resource/_Consent.liquid b/data/Templates/Hl7v2/Resource/_Consent.liquid new file mode 100644 index 000000000..2c785baad --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_Consent.liquid @@ -0,0 +1,63 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "Consent", + "id":"{{ ID }}", + + "scope" : { + {% unless CON.2 %} + "coding": [ + { + "code": "treatment", + "display": "Treatment", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + }, + ], + {% endunless %} + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/ConsentScope', CWE: CON.2 -%} + }, + "category" : [ + { + {% unless CON.2 %} + "coding": [ + { + "code": "59284-0", + "display": "Patient Consent", + "system": "http://loinc.org", + }, + ], + {% endunless %} + {% include 'DataType/CWECodeableConcept' CWE: CON.2 -%} + }, + ], + "identifier" : [ + { + {% include 'DataType/EIIdentifier' EI: CON.4 -%} + }, + ], + + {% assign textValue = CON.5.Repeats[0].Value | append: " + " | append: CON.6.Repeats[0].Value %} + + "policyRule" : { + "text": "{{CON.5.Repeats[0].Value}}", + "text": "{{CON.6.Repeats[0].Value}}", + {% if CON.5.Repeats[0] and CON.6.Repeats[0] %} + "text": "{{ textValue }}", + {% endif %} + }, + + {% if CON.11.1 %} + "status" : "{{ CON.11.1.Value | get_property: 'CodeSystem/ConsentStatusCode', 'code' }}", + {% else %} + "status": "active", + {% endif %} + + "dateTime" : "{{ CON.13.Value | format_as_date_time }}", + + + }, + "request":{ + "method":"PUT", + "url":"Consent/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_Device.liquid b/data/Templates/Hl7v2/Resource/_Device.liquid index 343fd53e9..b90614a0b 100644 --- a/data/Templates/Hl7v2/Resource/_Device.liquid +++ b/data/Templates/Hl7v2/Resource/_Device.liquid @@ -17,20 +17,30 @@ Device_Parent_ID: A resource Id used to fill "parent.reference" property. {% if MSH.3 -%} {% include 'DataType/HDDevice' HD: MSH.3 -%} {% endif -%} - - {% include 'DataType/CWEIdentifier' CWE_InternalValue: AIG.3 -%} - + + "identifier" : [ + {% include 'DataType/CWEIdentifier' CWE_InternalValue: AIG.3 -%} + {% include 'DataType/CWEIdentifier' CWE_InternalValue: FT1.34 -%} + ], "identifier": [ - {% for ei_obx18 in EI_OBX18.Repeats -%} - { - {% include 'DataType/EIIdentifier' EI: ei_obx18 -%} - }, - {% endfor -%} + {% for ei_obx18 in EI_OBX18.Repeats -%} + { + {% include 'DataType/EIIdentifier' EI: ei_obx18 -%} + }, + {% endfor -%} + {% for prt_10 in PRT.10.Repeats -%} + { + {% include 'DataType/EIIdentifier' EI: prt_10 -%} + }, + {% endfor -%} + {% if PRT.16 %} { - {% include 'DataType/EIIdentifier' EI: PRT.10 -%} + {% include 'DataType/EIIdentifier' EI: PRT.16 -%} }, + {% endif %} + ], "udiCarrier": [ @@ -74,6 +84,7 @@ Device_Parent_ID: A resource Id used to fill "parent.reference" property. } ], "modelNumber": "{{SFT.4.Value}}", + "modelNumber": "{{FT1.35.Value}}", "note": [ { "text": "{{SFT.5.Value}}", @@ -88,8 +99,11 @@ Device_Parent_ID: A resource Id used to fill "parent.reference" property. {% comment -%} Placeholder provided for customization by users. If left empty, it will be removed in post-processing. {% endcomment -%} "type": - { - }, + { + {% if PRT.22 %} + {% include 'DataType/CNECodeableConcept' CNE: PRT.22 -%} + {% endif %} + }, "definition": { diff --git a/data/Templates/Hl7v2/Resource/_DiagnosticReport.liquid b/data/Templates/Hl7v2/Resource/_DiagnosticReport.liquid index 52115f252..519930621 100644 --- a/data/Templates/Hl7v2/Resource/_DiagnosticReport.liquid +++ b/data/Templates/Hl7v2/Resource/_DiagnosticReport.liquid @@ -141,6 +141,11 @@ DiagnosticReport_Encounter_ID: A resource Id, used to fill "encounter.reference" "reference":"ServiceRequest/{{ DiagnosticReport_ServiceRequest_ID }}", {% endif %} }, + { + {% if DiagnosticReport_MedicationRequest_ID %} + "reference":"MedicationRequest/{{ DiagnosticReport_MedicationRequest_ID }}", + {% endif %} + }, ], "code": { @@ -177,12 +182,12 @@ DiagnosticReport_Encounter_ID: A resource Id, used to fill "encounter.reference" "performer": [ {% for obx_Segment_16 in OBX.16.Repeats %} - { - {% evaluate PractitionerRole_ID_OBX_16 using 'ID/PractitionerRole' XCN: obx_Segment_16 -%} - {% if obx_Segment_16 and PractitionerRole_ID_OBX_16 -%} - "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_16 }}", - {% endif -%} - }, + { + {% evaluate PractitionerRole_ID_OBX_16 using 'ID/PractitionerRole' XCN: obx_Segment_16 -%} + {% if obx_Segment_16 and PractitionerRole_ID_OBX_16 -%} + "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_16 }}", + {% endif -%} + }, {% endfor %} { {% if OBX.25 == null and OBX.23 and Organization_ID_OBX_23 -%} @@ -192,33 +197,33 @@ DiagnosticReport_Encounter_ID: A resource Id, used to fill "encounter.reference" "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_25 }}", {% endif -%} }, - {% for obx_Segment_34 in OBR.34.Repeats %} - { - {% evaluate PractitionerRole_ID_OBX_34 using 'ID/PractitionerRole' NDL: obx_Segment_34 -%} - {% if obx_Segment_34 and PractitionerRole_ID_OBX_34 -%} - "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_34 }}", - {% endif -%} - }, - {% endfor %} - {% for obx_Segment_35 in OBR.35.Repeats %} - { - {% evaluate PractitionerRole_ID_OBX_35 using 'ID/PractitionerRole' NDL: obx_Segment_35 -%} - {% if obx_Segment_35 and PractitionerRole_ID_OBX_35 -%} - "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_35 }}", - {% endif -%} - }, - {% endfor %} + {% for obx_Segment_34 in OBR.34.Repeats %} + { + {% evaluate PractitionerRole_ID_OBX_34 using 'ID/PractitionerRole' NDL: obx_Segment_34 -%} + {% if obx_Segment_34 and PractitionerRole_ID_OBX_34 -%} + "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_34 }}", + {% endif -%} + }, + {% endfor %} + {% for obx_Segment_35 in OBR.35.Repeats %} + { + {% evaluate PractitionerRole_ID_OBX_35 using 'ID/PractitionerRole' NDL: obx_Segment_35 -%} + {% if obx_Segment_35 and PractitionerRole_ID_OBX_35 -%} + "reference":"PractitionerRole/{{ PractitionerRole_ID_OBX_35 }}", + {% endif -%} + }, + {% endfor %} ], "presentedForm" : [ - {% if OBX.2.Value == "ED" and OBX.5.4.Value == "Base64" %} - { - {% include 'DataType/EDAttachment1' ED: OBX.5 %} - }, - {% elsif OBX.2.Value == "RP" %} - { - {% include 'DataType/RPAttachment' RP: OBX.5 %} - }, - {% endif %} + {% if OBX.2.Value == "ED" and OBX.5.4.Value == "Base64" %} + { + {% include 'DataType/EDAttachment1' ED: OBX.5 %} + }, + {% elsif OBX.2.Value == "RP" %} + { + {% include 'DataType/RPAttachment' RP: OBX.5 %} + }, + {% endif %} ], {%- comment -%} {% for nte_3 in NTE.3.Repeats %} @@ -230,11 +235,11 @@ DiagnosticReport_Encounter_ID: A resource Id, used to fill "encounter.reference" {%- endcomment -%} "specimen": [ - { - {% if DiagnosticReport_Specimen_ID %} - "reference":"{{ DiagnosticReport_Specimen_ID }}", - {% endif %} - }, + { + {% if DiagnosticReport_Specimen_ID %} + "reference":"{{ DiagnosticReport_Specimen_ID }}", + {% endif %} + }, ], "subject": { diff --git a/data/Templates/Hl7v2/Resource/_DocumentReference.liquid b/data/Templates/Hl7v2/Resource/_DocumentReference.liquid index 78b151853..e5a756c16 100644 --- a/data/Templates/Hl7v2/Resource/_DocumentReference.liquid +++ b/data/Templates/Hl7v2/Resource/_DocumentReference.liquid @@ -84,10 +84,17 @@ {% endif -%} ], "relatesTo" : [ - {% if TXA.13 -%} + {% if TXA.13 and type_msg != "MDM_T01" and type_msg != "MDM_T02" -%} { "code" : "appends", + {% if type_msg == "MDM_T05" or type_msg == "MDM_T06" -%} + "code" : "appends", + {% endif -%} + {% if type_msg == "MDM_T09" or type_msg == "MDM_T10" -%} + "code" : "replaces", + {% endif -%} "target" : { + "type": "DocumentReference", "identifier": { {% include 'DataType/EIIdentifier' EI: TXA.13 -%} diff --git a/data/Templates/Hl7v2/Resource/_Encounter.liquid b/data/Templates/Hl7v2/Resource/_Encounter.liquid index 0228e1085..bf928da82 100644 --- a/data/Templates/Hl7v2/Resource/_Encounter.liquid +++ b/data/Templates/Hl7v2/Resource/_Encounter.liquid @@ -53,22 +53,80 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% endif -%} "location": - [ + [ + + {% if PDA.2 %} + { + {% if PDA.2.5 or PDA.2.9 -%} + {% if PDA.2.5 and PDA.2.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PDA.2.Value | remove: PDA.2.5.Value | remove: PDA.2.9.Value %} + {% endif -%} + {% if PDA.2.5 and PDA.2.9 == null or PDA.2.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PDA.2.Value | remove: PDA.2.5.Value %} + {% endif -%} + {% if PDA.2.9 and PDA.2.5 == null or PDA.2.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PDA.2.Value | remove: PDA.2.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PDA.2.Value %} + {% endif -%} + + {% if PDA.2.1 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.1, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PDA.2.2 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.2, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PDA.2.3 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.3, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PDA.2.4 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.4, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PDA.2.7 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.7, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PDA.2.8 -%} + {% evaluate Location_ID_PDA_2 using 'ID/Location' PL_Field_Value: PDA.2.8, PL: PDA.2, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if PDA.2 %} + "status":"completed", + {% endif %} + + "location": + { + {% if PDA.2 and Location_ID_PDA_2 -%} + "reference":"Location/{{ Location_ID_PDA_2 }}", + {% endif -%} + }, + }, + {% endif %} + {% if PV1.3 -%} { + {% if PV1.3.5 or PV1.3.9 -%} + {% if PV1.3.5 and PV1.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.3.Value | remove: PV1.3.5.Value | remove: PV1.3.9.Value %} + {% endif -%} + {% if PV1.3.5 and PV1.3.9 == null or PV1.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.3.Value | remove: PV1.3.5.Value %} + {% endif -%} + {% if PV1.3.9 and PV1.3.5 == null or PV1.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.3.Value | remove: PV1.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.3.Value %} + {% endif -%} + {% if PV1.3.1 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.1 -%} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.1, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.3.2 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.2 -%} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.2, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.3.3 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.3 -%} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.3, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.3.4 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.4 -%} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.4, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.3.7 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.7 -%} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.7, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.3.8 -%} - {% evaluate Location_ID_PV1_3 using 'ID/Location' PL: PV1.3.8 -%} - {% endif %} + {% evaluate Location_ID_PV1_3 using 'ID/Location' PL_Field_Value: PV1.3.8, PL: PV1.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% unless Root_Template == "ADT_A11" or Root_Template == "ADT_A27" -%} {% if PV1.2.1.Value != "P" and Location_ID_PV1_3 -%} @@ -79,13 +137,13 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% endif -%} {% endunless -%} - {% if Root_Template == "ADT_A01" or Root_Template == "ADT_A02" or Root_Template == "ADT_A04" or Root_Template == "ADT_A13" or Root_Template == "ADT_A15" or Root_Template == "ADT_A16" or Root_Template == "ADT_A25" or Root_Template == "ADT_A26" -%} + {% if Root_Template == "ADT_A01" or Root_Template == "ADT_A02" or Root_Template == "ADT_A04" or Root_Template == "ADT_A09" or Root_Template == "ADT_A10" or Root_Template == "ADT_A13" or Root_Template == "ADT_A15" or Root_Template == "ADT_A16" or Root_Template == "ADT_A25" or Root_Template == "ADT_A26" -%} "status":"active", {% endif -%} {% if Root_Template == "ADT_A03" -%} "status":"completed", {% endif -%} - {% if Root_Template == "ADT_A14" -%} + {% if Root_Template == "ADT_A14" or Root_Template == "ADT_A05"-%} "status":"planned", {% endif -%} @@ -100,19 +158,33 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% if PV1.6 -%} { + {% if PV1.6.5 or PV1.6.9 -%} + {% if PV1.6.5 and PV1.6.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.6.Value | remove: PV1.6.5.Value | remove: PV1.6.9.Value %} + {% endif -%} + {% if PV1.6.5 and PV1.6.9 == null or PV1.6.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.6.Value | remove: PV1.6.5.Value %} + {% endif -%} + {% if PV1.6.9 and PV1.6.5 == null or PV1.6.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.6.Value | remove: PV1.6.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.6.Value %} + {% endif -%} + {% if PV1.6.1 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.1 -%} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.1, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.6.2 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.2 -%} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.2, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.6.3 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.3 -%} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.3, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.6.4 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.4 -%} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.4, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.6.7 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.7 -%} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.7, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.6.8 -%} - {% evaluate Location_ID_PV1_6 using 'ID/Location' PL: PV1.6.8 -%} - {% endif %} + {% evaluate Location_ID_PV1_6 using 'ID/Location' PL_Field_Value: PV1.6.8, PL: PV1.6, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% if PV1.6 and Location_ID_PV1_6 -%} {% unless Root_Template == "ADT_A11" or Root_Template == "ADT_A27" -%} @@ -122,28 +194,94 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe { "reference":"Location/{{ Location_ID_PV1_6 }}", }, - {% include 'Extensions/TemporaryLocation' , status: 'false' -%} {% endif -%} }, {% endif %} + {% if PV1.11 -%} + { + {% if PV1.11.5 or PV1.11.9 -%} + {% if PV1.11.5 and PV1.11.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.11.Value | remove: PV1.11.5.Value | remove: PV1.11.9.Value %} + {% endif -%} + {% if PV1.11.5 and PV1.11.9 == null or PV1.11.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.11.Value | remove: PV1.11.5.Value %} + {% endif -%} + {% if PV1.11.9 and PV1.11.5 == null or PV1.11.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.11.Value | remove: PV1.11.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.11.Value %} + {% endif -%} + + {% if PV1.11.1 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.1, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PV1.11.2 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.2, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PV1.11.3 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.3, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PV1.11.4 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.4, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PV1.11.7 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.7, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PV1.11.8 -%} + {% evaluate Location_ID_PV1_11 using 'ID/Location' PL_Field_Value: PV1.11.8, PL: PV1.11, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% unless Root_Template == "ADT_A27" -%} + {% if PV1.2.1.Value != "P" and Location_ID_PV1_11 -%} + "status":"active", + {% endif -%} + {% if PV1.2.1.Value == "P" and Location_ID_PV1_11 -%} + "status":"planned", + {% endif -%} + + {% if Root_Template == "ADT_A01" or Root_Template == "ADT_A02" or Root_Template == "ADT_A03" or Root_Template == "ADT_A04" or Root_Template == "ADT_A05" or Root_Template == "ADT_A09" or Root_Template == "ADT_A10" or Root_Template == "ADT_A11" or Root_Template == "ADT_A13" or Root_Template == "ADT_A14" or Root_Template == "ADT_A15" or Root_Template == "ADT_A16" or Root_Template == "ADT_A25" or Root_Template == "ADT_A26" -%} + "status":"planned", + {% endif -%} + {% endunless -%} + + {% if PV1.11 and Location_ID_PV1_11 -%} + "location": + { + "reference":"Location/{{ Location_ID_PV1_11 }}", + }, + {% include 'Extensions/TemporaryLocation' , status: 'true' -%} + {% endif -%} + }, + {% endif %} + {% unless Root_Template == "ADT_A26" -%} {% if PV1.42 -%} { + {% if PV1.42.5 or PV1.42.9 -%} + {% if PV1.42.5 and PV1.42.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.42.Value | remove: PV1.42.5.Value | remove: PV1.42.9.Value %} + {% endif -%} + {% if PV1.42.5 and PV1.42.9 == null or PV1.42.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.42.Value | remove: PV1.42.5.Value %} + {% endif -%} + {% if PV1.42.9 and PV1.42.5 == null or PV1.42.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.42.Value | remove: PV1.42.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.42.Value %} + {% endif -%} + {% if PV1.42.1 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.1 -%} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.1, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.42.2 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.2 -%} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.2, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.42.3 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.3 -%} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.3, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.42.4 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.4 -%} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.4, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.42.7 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.7 -%} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.7, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.42.8 -%} - {% evaluate Location_ID_PV1_42 using 'ID/Location' PL: PV1.42.8 -%} - {% endif %} + {% evaluate Location_ID_PV1_42 using 'ID/Location' PL_Field_Value: PV1.42.8, PL: PV1.42, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% if PV1.42 and Location_ID_PV1_42 -%} {% unless Root_Template == "ADT_A11" or Root_Template == "ADT_A27" -%} @@ -153,7 +291,6 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe { "reference":"Location/{{ Location_ID_PV1_42 }}", }, - {% include 'Extensions/TemporaryLocation' , status: 'false' -%} {% endif -%} }, @@ -162,19 +299,33 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% if PV1.43 -%} { + {% if PV1.43.5 or PV1.43.9 -%} + {% if PV1.43.5 and PV1.43.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.43.Value | remove: PV1.43.5.Value | remove: PV1.43.9.Value %} + {% endif -%} + {% if PV1.43.5 and PV1.43.9 == null or PV1.43.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.43.Value | remove: PV1.43.5.Value %} + {% endif -%} + {% if PV1.43.9 and PV1.43.5 == null or PV1.43.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV1.43.Value | remove: PV1.43.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV1.43.Value %} + {% endif -%} + {% if PV1.43.1 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.1 -%} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.1, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.43.2 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.2 -%} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.2, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.43.3 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.3 -%} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.3, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.43.4 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.4 -%} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.4, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.43.7 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.7 -%} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.7, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV1.43.8 -%} - {% evaluate Location_ID_PV1_43 using 'ID/Location' PL: PV1.43.8 -%} - {% endif %} + {% evaluate Location_ID_PV1_43 using 'ID/Location' PL_Field_Value: PV1.43.8, PL: PV1.43, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% if PV1.43 and Location_ID_PV1_43 -%} {% unless Root_Template == "ADT_A11" or Root_Template == "ADT_A27" -%} @@ -193,19 +344,33 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% unless Root_Template == "ADT_A26" -%} {% if PV2.1 -%} { + {% if PV2.1.5 or PV2.1.9 -%} + {% if PV2.1.5 and PV2.1.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PV2.1.Value | remove: PV2.1.5.Value | remove: PV2.1.9.Value %} + {% endif -%} + {% if PV2.1.5 and PV2.1.9 == null or PV2.1.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV2.1.Value | remove: PV2.1.5.Value %} + {% endif -%} + {% if PV2.1.9 and PV2.1.5 == null or PV2.1.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PV2.1.Value | remove: PV2.1.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PV2.1.Value %} + {% endif -%} + {% if PV2.1.1 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.1 -%} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.1, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV2.1.2 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.2 -%} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.2, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV2.1.3 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.3 -%} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.3, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV2.1.4 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.4 -%} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.4, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV2.1.7 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.7 -%} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.7, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PV2.1.8 -%} - {% evaluate Location_ID_PV2_1 using 'ID/Location' PL: PV2.1.8 -%} - {% endif %} + {% evaluate Location_ID_PV2_1 using 'ID/Location' PL_Field_Value: PV2.1.8, PL: PV2.1, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% if PV2.1 and Location_ID_PV2_1 -%} {% unless Root_Template == "ADT_A11" or Root_Template == "ADT_A27" -%} @@ -215,7 +380,6 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe { "reference":"Location/{{ Location_ID_PV2_1 }}", }, - {% include 'Extensions/TemporaryLocation' , status: 'false' -%} {% endif -%} }, {% endif %} @@ -428,6 +592,7 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe { {% if PV1.19 -%} {% include 'DataType/CX' CX: PV1.19 -%} + "type": { "coding": @@ -483,10 +648,58 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% endif -%} }, "meta":{ - "security":[{ - {% include 'DataType/IDCoding' mapping: 'CodeSystem/EncounterSecurity', ID: PV2.22 -%} - }, - ], + "security":[ + { + {% include 'DataType/IDCoding' mapping: 'CodeSystem/EncounterSecurity', ID: PV2.22 -%} + }, + {% if ARV.2 %} + { + {% if ARV.2.1.Value == 'A' or ARV.2.1.Value == 'U' %} + "code" : "LABEL", + "display" : "assign security label", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", + {% elsif ARV.2.1.Value == 'X' %} + "code" : "PERSISTLABEL", + "display" : "persist security label", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", + {% elsif ARV.2.1.Value == 'D' %} + "code" : "DELETELABEL", + "display" : "delete security label", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + {% endif %} + }, + {% endif %} + {% if ARV.3 %} + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/AccessRestrictionValue', CWE: ARV.3 %} + {% endif %} + {% if ARV.4 %} + {% for arv_4 in ARV.4.Repeats %} + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/AccessRestrictionReason', CWE: arv_4 %} + {% endfor %} + {% endif %} + {% if ARV.5 %} + {% for arv_5 in ARV.5.Repeats %} + { + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code" : "SpecialAccessRestrictionInstructions", + "display" : "{{arv_5.Value}}", + }, + {% endfor %} + {% endif %} + {% if ARV.6 %} + { + "extension": + [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + {% include 'DataType/DRPeriod' DR: ARV.6 %} + }, + } + ], + }, + {% endif %} + ], }, {% if Root_Template -%} {% assign generationInstant = "{{ "" | now }}" -%} @@ -526,6 +739,13 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe }, {% endif %} ], + "account": [ + {% if AccountId -%} + { + "reference":"Account/{{ AccountId }}", + }, + {% endif -%} + ], }, "request":{ "method":"PUT", diff --git a/data/Templates/Hl7v2/Resource/_EpisodeOfCare.liquid b/data/Templates/Hl7v2/Resource/_EpisodeOfCare.liquid index 39827da14..fa0e3b8ea 100644 --- a/data/Templates/Hl7v2/Resource/_EpisodeOfCare.liquid +++ b/data/Templates/Hl7v2/Resource/_EpisodeOfCare.liquid @@ -3,25 +3,29 @@ "resource":{ "resourceType": "EpisodeOfCare", "id":"{{ ID }}", - {% if PV1.45 == null -%} - "status": "{{ PV1.2.Value | get_property: 'CodeSystem/EpisodeOfCareStatus', 'code' }}", - {% endif -%} - {% if PV1.45 -%} - "status":"finished", - {% endif -%} - - {% if Root_Template == "ADT_A11" or Root_Template =="ADT_A27" -%} - "status":"cancelled", - {% endif -%} - {% if Root_Template == "ADT_A13" or Root_Template =="ADT_A15" or Root_Template =="ADT_A16" or Root_Template =="ADT_A25" or Root_Template =="ADT_A26" or Root_Template == "ADT_A01" or Root_Template == "ADT_A02" or Root_Template == "ADT_A04" -%} + + {% if PV1 -%} "status":"active", {% endif -%} - {% if Root_Template == "ADT_A03" -%} - "status":"finished", - {% endif -%} - {% if Root_Template == "ADT_A05" or Root_Template =="ADT_A14" -%} - "status":"planned", + + {% if PV2.24 -%} + "status": {% include 'DataType/CWECode' mapping: 'CodeSystem/PatientStatus', CWE: PV2.24 -%}, {% endif -%} + + {% comment %} + {% if Root_Template == "ADT_A11" or Root_Template =="ADT_A27" -%} + "status":"cancelled", + {% endif -%} + {% if Root_Template == "ADT_A13" or Root_Template =="ADT_A15" or Root_Template =="ADT_A16" or Root_Template =="ADT_A25" or Root_Template =="ADT_A26" or Root_Template == "ADT_A01" or Root_Template == "ADT_A02" or Root_Template == "ADT_A04" -%} + "status":"active", + {% endif -%} + {% if Root_Template == "ADT_A03" -%} + "status":"finished", + {% endif -%} + {% if Root_Template == "ADT_A05" or Root_Template =="ADT_A14" -%} + "status":"planned", + {% endif -%} + {% endcomment %} "identifier": [ diff --git a/data/Templates/Hl7v2/Resource/_Immunization.liquid b/data/Templates/Hl7v2/Resource/_Immunization.liquid index fe660e5b1..a8ab6b589 100644 --- a/data/Templates/Hl7v2/Resource/_Immunization.liquid +++ b/data/Templates/Hl7v2/Resource/_Immunization.liquid @@ -7,13 +7,13 @@ Organization_ID_RXA_17: A resource Id, used to fill "manufacturer.reference" pro Location_ID_RXA_27: A resource Id, used to fill "location.reference" property. The resource is of "Location" type and generated based on "RXA.27" HL7 V2 identifier. Immunization_Patient_ID: A resource Id, used to fill "patient.reference" property. Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" property. +{% evaluate Location_ID_RXA_27 using 'ID/Location' CWE: RXA.27 -%} {% endcomment -%} {% evaluate Practitioner_ID_ORC_12 using 'ID/Practitioner' XCN: ORC.12 -%} {% evaluate Organization_ID_RXA_17 using 'ID/Organization' CWE: RXA.17 -%} -{% evaluate Location_ID_RXA_27 using 'ID/Location' CWE: RXA.27 -%} -{% evaluate Practitioner_ID_RXA_10 using 'ID/Practitioner' XCN: RXA.10 -%} +{% assign textstring = "" -%} { "fullUrl":"urn:uuid:{{ ID }}", "resource":{ @@ -30,8 +30,6 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro { {% if ORC.2 -%} "code":"PLAC", - {% endif -%} - {% if ORC.2 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0203", {% endif -%} }, @@ -47,8 +45,6 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro { {% if ORC.3 -%} "code":"FILL", - {% endif -%} - {% if ORC.3 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0203", {% endif -%} }, @@ -57,25 +53,45 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro }, ], "recorded":"{{ ORC.9.Value | format_as_date_time }}", + {% if RXA.21.Value == "A" -%} + "recorded":"{{ RXA.22.Value | format_as_date_time }}", + {% endif -%} "performer": [ + {% for rxaSegment10 in RXA.10.Repeats -%} + {% evaluate Practitioner_ID_RXA_10 using 'ID/Practitioner' XCN: rxaSegment10 -%} { "function": { "coding": [ { - {% if ORC.12 -%} - "code":"OP", - {% endif -%} - {% if RXA.10 -%} + {% if rxaSegment10 -%} "code":"AP", - {% endif -%} - {% if ORC.12 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" {% endif -%} - {% if RXA.10 -%} + }, + ], + }, + "actor": + { + {% if rxaSegment10 and Practitioner_ID_RXA_10 -%} + "reference":"Practitioner/{{ Practitioner_ID_RXA_10 }}", + {% endif -%} + }, + }, + {% endfor -%} + { + "function": + { + "coding": + [ + { + {% if ORC.12 -%} + "code":"OP", "system":"http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider", {% endif -%} }, ], @@ -85,9 +101,6 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro {% if ORC.12 and Practitioner_ID_ORC_12 -%} "reference":"Practitioner/{{ Practitioner_ID_ORC_12 }}", {% endif -%} - {% if RXA.10 and Practitioner_ID_RXA_10 -%} - "reference":"Practitioner/{{ Practitioner_ID_RXA_10 }}", - {% endif -%} }, }, ], @@ -96,7 +109,124 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro { {% include 'DataType/CWECodeableConcept' CWE: RXA.5 -%} }, - "lotNumber":"{{ RXA.15.Repeats[0].Value }}", + "doseQuantity" : { + {% if RXA.6 -%} + "value": {{ RXA.6.Value }}, + {% endif -%} + {% include 'DataType/CWEQuantity' CWE: RXA.7 -%} + }, + {% for RXA_9 in RXA.9.Repeats %} + {% if RXA_9.3.Value == 'NIP001' or RXA_9.6.Value == 'NIP001' or RXA_9.12.Value == 'NIP001' -%} + {% if RXA_9.3.Value == 'NIP001' -%} + "reportOrigin": { + "coding": + [ + { + "code":"{{ RXA_9.1.Value }}", + "display":"{{ RXA_9.2.Value }}", + {% if RXA_9.3 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{RXA_9.3.Value | replace: ' ', '-'}}", + {% endif %} + {% capture temp %}{{ RXA_9.3.Value | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp%} + "system":"{{temp}}", + {% endif %} + }, + ] + }, + {% break -%} + {% endif -%} + {% if RXA_9.6.Value == 'NIP001' -%} + "reportOrigin": { + "coding": + [ + { + "code":"{{ RXA_9.4.Value }}", + "display":"{{ RXA_9.5.Value }}", + {% if RXA_9.6 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{RXA_9.6.Value | replace: ' ', '-'}}", + {% endif %} + {% capture temp %}{{ RXA_9.6.Value | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp%} + "system":"{{temp}}", + {% endif %} + }, + ] + }, + {% break -%} + {% endif -%} + {% if RXA_9.12.Value == 'NIP001' -%} + "reportOrigin": { + "coding": + [ + { + "code":"{{ RXA_9.10.Value }}", + "display":"{{ RXA_9.11.Value }}", + {% if RXA_9.12 %} + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/{{RXA_9.12.Value | replace: ' ', '-'}}", + {% endif %} + {% capture temp %}{{ RXA_9.12.Value | get_property: 'CodeSystem/CodeSystemUrl', 'system' }}{% endcapture %} + {% if temp%} + "system":"{{temp}}", + {% endif %} + }, + ] + }, + {% break -%} + {% endif -%} + {% break -%} + {% endif -%} + {% endfor -%} + + {% for RXA_9 in RXA.9.Repeats %} + {% if RXA_9.3.Value == 'NIP001' and RXA_9.1.Value == '00' -%} + "primarySource": true, + {% break -%} + {% elsif RXA_9.6.Value == 'NIP001' and RXA_9.4.Value == '00' -%} + "primarySource": true, + {% break -%} + {% elsif RXA_9.12.Value == 'NIP001' and RXA_9.10.Value == '00' -%} + "primarySource": true, + {% break -%} + {% else %} + "primarySource": false, + {% endif -%} + {% endfor -%} + + "note": [ + {% for RXA_9 in RXA.9.Repeats %} + {% unless RXA_9.3.Value == 'NIP001' -%} + {% capture textstring %}{{ textstring | append: RXA_9.2.Value | append: ":" }}{% endcapture -%} + {% endunless -%} + {% unless RXA_9.6.Value == 'NIP001' -%} + {% capture textstring %}{{ textstring | append: RXA_9.5.Value | append: ":" }}{% endcapture -%} + {% endunless -%} + {% if RXA_9.9 -%} + {% capture textstring %}{{ textstring | append: RXA_9.9.Value | append: ":" }}{% endcapture -%} + {% endif -%} + {% unless RXA_9.12.Value == 'NIP001' -%} + {% capture textstring %}{{ textstring | append: RXA_9.11.Value }}{% endcapture -%} + {% endunless -%} + { + "text" : "{{ textstring | split: ":" | join: "--" }}", + }, + {% assign textstring = "" -%} + {% endfor -%} + { + "text": "{{NTE.3.Value}}", + "time": "{{ NTE.6.Value | format_as_date_time }}", + {% evaluate Practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: NTE.5 -%} + "authorReference": + { + {% if NTE.5 and Practitioner_ID_NTE_5 -%} + "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", + {% endif -%} + } + }, + ], + + {% capture lotNumber %}{{ RXA.15.Value | split: "~" | join: "+" }}{% endcapture -%} + "lotNumber":"{{ lotNumber }}", "expirationDate":"{{ RXA.16.Repeats[0].Value | add_hyphens_date }}", "statusReason": { @@ -108,9 +238,21 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro {% include 'DataType/CWECodeableConcept' CWE: RXA.19 -%} }, ], - "status":"{{ RXA.20.Value | get_property: 'CodeSystem/CompletionStatus', 'code' }}", - {% if RXA.21.Value == "D" -%} - "status":"entered-in-error", + {% if RXA -%} + {% unless RXA.21.Value == "D" -%} + "status":"{{ RXA.20.Value | get_property: 'CodeSystem/CompletionStatus', 'code' }}", + {% endunless -%} + {% unless RXA.21.Value == "D" and RXA.20 == null -%} + "status":"completed", + {% endunless -%} + {% unless RXA.21.Value == "D" -%} + {% if RXA.18 -%} + "status":"not-done", + {% endif -%} + {% endunless -%} + {% if RXA.21.Value == "D" -%} + "status":"entered-in-error", + {% endif -%} {% endif -%} "manufacturer": { @@ -119,13 +261,39 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro {% endif -%} }, "location": - [ - { - {% if RXA.27 and Location_ID_RXA_27 -%} - "reference":"Location/{{ Location_ID_RXA_27 }}", + { + {% if RXA.27.5 or RXA.27.9 -%} + {% if RXA.27.5 and RXA.27.9 -%} + {% assign PL_Value_Except_PL5_PL9 = RXA.27.Value | remove: RXA.27.5.Value | remove: RXA.27.9.Value %} {% endif -%} - }, - ], + {% if RXA.27.5 and RXA.27.9 == null or RXA.27.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= RXA.27.Value | remove: RXA.27.5.Value %} + {% endif -%} + {% if RXA.27.9 and RXA.27.5 == null or RXA.27.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= RXA.27.Value | remove: RXA.27.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = RXA.27.Value %} + {% endif -%} + + {% if RXA.27.1 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.1, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif RXA.27.2 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.2, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif RXA.27.3 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.3, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif RXA.27.4 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.4, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif RXA.27.7 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.7, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif RXA.27.8 -%} + {% evaluate Location_ID_RXA_27 using 'ID/Location' PL_Field_Value: RXA.27.8, PL: RXA.27, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if RXA.27 and Location_ID_RXA_27 -%} + "reference":"Location/{{ Location_ID_RXA_27 }}", + {% endif -%} + }, "route": { {% include 'DataType/CWECodeableConcept' CWE: RXR.1 -%} @@ -142,6 +310,44 @@ Immunization_Encounter_ID: A resource Id, used to fill "encounter.reference" pro { "reference":"{{ Immunization_Encounter_ID }}", }, + "programEligibility" : [ + {% if OBX_PE.2.Value == "CE" -%} + {% for OBX_PE_5 in OBX_PE.5.Repeats -%} + { + {% include 'DataType/CECodeableConcept' CE: OBX_PE_5 -%} + }, + {% endfor -%} + {% endif -%} + {% if OBX_PE.2.Value == "CWE" -%} + {% for OBX_PE_5 in OBX_PE.5.Repeats -%} + { + {% include 'DataType/CWECodeableConcept' CWE: OBX_PE_5 -%} + }, + {% endfor -%} + {% endif -%} + {% if OBX_PE.2.Value == "ST" or OBX_PE.2.Value == "TX" or OBX_PE.2.Value == "FT" -%} + {% capture textstring %}{{ OBX_PE.5.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture valuestring %}{{ textstring | split: "&" | join: "--" }}{% endcapture -%} + {% capture text %}{{ valuestring | split: "~" | join: "+" }}{% endcapture -%} + { + "text" : "{{text}}", + }, + {% endif -%} + ], + "fundingSource" : { + {% if OBX_FS.2.Value == "CE" -%} + {% include 'DataType/CECodeableConcept' CE: OBX_FS.5.Repeats[0] -%}, + {% endif -%} + {% if OBX_FS.2.Value == "CWE" -%} + {% include 'DataType/CWECodeableConcept' CWE: OBX_FS.5.Repeats[0] -%}, + {% endif -%} + {% if OBX_FS.2.Value == "ST" or OBX_FS.2.Value == "TX" or OBX_FS.2.Value == "FT" -%} + {% capture textstring %}{{ OBX_FS.5.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture valuestring %}{{ textstring | split: "&" | join: "--" }}{% endcapture -%} + {% capture text %}{{ valuestring | split: "~" | join: "+" }}{% endcapture -%} + "text" : "{{text}}", + {% endif -%} + }, }, "request":{ "method":"PUT", diff --git a/data/Templates/Hl7v2/Resource/_Linkage.liquid b/data/Templates/Hl7v2/Resource/_Linkage.liquid new file mode 100644 index 000000000..d4b21d425 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_Linkage.liquid @@ -0,0 +1,57 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "Linkage", + "id":"{{ ID }}", + "item" : [ + {% for p in PID.3.Repeats -%} + { + "type" : "source", + "resource" : { + "type" : "Patient", + "identifier" : { + {% include 'DataType/CX' CX: p -%} + }, + } + }, + {% endfor -%} + {% for mrg in MRG.1.Repeats -%} + { + "type" : "historical", + "resource" : { + "type" : "Patient", + "identifier" : { + {% include 'DataType/CX' CX: mrg -%} + }, + } + }, + {% endfor -%} + {% if PID_A41.18 -%} + { + "type" : "source", + "resource" : { + "type" : "Account", + "identifier" : { + {% include 'DataType/CX' CX: PID_A41.18 -%} + }, + } + }, + {% endif -%} + {% if MRG_A41.3 -%} + { + "type" : "historical", + "resource" : { + "type" : "Account", + "identifier" : { + {% include 'DataType/CX' CX: MRG_A41.3 -%} + }, + } + }, + {% endif -%} + ], + }, + "request":{ + "method":"PUT", + "url":"Linkage/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_Location.liquid b/data/Templates/Hl7v2/Resource/_Location.liquid index b38d99ffb..19d0ea930 100644 --- a/data/Templates/Hl7v2/Resource/_Location.liquid +++ b/data/Templates/Hl7v2/Resource/_Location.liquid @@ -3,6 +3,7 @@ "resource":{ "resourceType": "Location", "id":"{{ ID }}", + {% include 'DataType/CWELocation' CWE: RXD.30 -%} {% include 'DataType/PL' PL: ROL.13 -%} {% include 'DataType/PL' PL: PL -%} {% include 'DataType/HDLocation' HD: EVN -%} @@ -10,16 +11,24 @@ {% include 'DataType/PL' PL: PRT.9.Repeats[0] -%} {% include 'DataType/DLDLocation' DLD: PV1 -%} {% include 'DataType/XONLocation' XON: ORC.21.Repeats[0] -%} + "name" : "{{ ACC.3.Value }}", "address": { {% include 'DataType/XAD' XAD: ORC.22.Repeats[0] -%} {% include 'DataType/XAD' XAD: RXA.28 -%} + {% include 'DataType/XAD' XAD: ACC.11 -%} + {% include 'DataType/XAD' XAD: RXD.31 -%} }, "telecom": [ { {% include 'DataType/XTN' XTN: ORC.23.Repeats[0] -%} }, + {% for RXD_34 in RXD.34.Repeats -%} + { + {% include 'DataType/XTN' XTN: RXD_34 -%} + }, + {% endfor %} ], {% include 'DataType/PL' PL: RXA.27 -%} }, diff --git a/data/Templates/Hl7v2/Resource/_Medication.liquid b/data/Templates/Hl7v2/Resource/_Medication.liquid new file mode 100644 index 000000000..7ff2be667 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_Medication.liquid @@ -0,0 +1,92 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "Medication", + "id":"{{ ID }}", + + "code" : { + {% if RXO.1 %} + {% include 'DataType/CWECodeableConcept' CWE: RXO.1 %} + {% else %} + "text": "{{RXO.6.2.Value}}", + {% endif %} + {% if RXC.2 %} + {% include 'DataType/CWECodeableConcept' CWE: RXC.2 %} + {% endif %} + {% if RXE.2 %} + {% include 'DataType/CWECodeableConcept' CWE: RXE.2 %} + {% endif %} + "coding": + [ + {% if RXD.2 %} + { + {% include 'DataType/CWECoding' CWE: RXD.2 %} + }, + {% endif %} + + {% if RXD.25 %} + { + {% include 'DataType/CWECoding' CWE: RXD.25 %} + }, + {% endif %} + ], + }, + + "form" : { + {% if RXO.5 %} + {% include 'DataType/CWECodeableConcept' CWE: RXO.5 %} + {% endif %} + {% if RXE.6 %} + {% include 'DataType/CWECodeableConcept' CWE: RXE.6 %} + {% endif %} + {% if RXD.6 %} + {% include 'DataType/CWECodeableConcept' CWE: RXD.6 %} + {% endif %} + }, + "amount": { + "numerator": { + {% if RXC.3 %} + "value": {{RXC.3.Value}}, + {% endif %} + {% include 'DataType/CWEQuantity' CWE: RXC.4 %} + }, + "denominator": { + {% if RXC.3 %} + "value": 1, + {% endif %} + }, + }, + "ingredient": [ + { + "strength" : { + "numerator": { + {% if RXO_RXC.5 %} + "value": {{RXO_RXC.5.Value}}, + {% include 'DataType/CWEQuantity' CWE: RXO_RXC.6 %} + {% endif %} + }, + "denominator": { + {% if RXO_RXC.5 %} + {% if RXO_RXC.8 %} + "value": {{RXO_RXC.8.Value}}, + {% else %} + "value": 1, + {% endif %} + {% include 'DataType/CWEQuantity' CWE: RXO_RXC.9 %} + {% endif %} + }, + }, + "itemReference": + { + {% if ingredient_ItemReferenceID %} + "reference":"{{ ingredient_ItemReferenceID }}", + {% endif %} + }, + } + ], + }, + "request":{ + "method":"PUT", + "url":"Medication/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid b/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid new file mode 100644 index 000000000..7c937c07d --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid @@ -0,0 +1,234 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "MedicationDispense", + "id":"{{ ID }}", + + "whenHandedOver" : "{{ RXD.3.Value | format_as_date_time }}", + + "quantity" : { + {% if RXD.4 %} + "value" : {{RXD.4.Value}}, + {% endif %} + {% include 'DataType/CWEQuantity' CWE: RXD.5 %} + {% if FT1 -%} + {% if FT1.43.1 -%} + "value" : {{FT1.43.1.Value}}, + {% endif %} + {% unless FT1.43.2.9 -%} + "unit" : "{{FT1.43.2.2}}", + {% endunless %} + "unit" : "{{FT1.43.2.9}}", + {% endif %} + }, + + "authorizingPrescription" : [ + { + "identifier" : { + "value" : "{{RXD.7.Value}}", + {% if RXD.7.Value %} + "type" : { + "coding" : [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ], + }, + {% endif %} + {% if RXD.30.3.Value %} + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{RXD.30.3.Value}}", + {% endif %} + }, + {% if RXD.7.Value %} + "type": "MedicationRequest", + {% endif %} + }, + {% if FT1.42 -%} + { + "identifier" : { + "value" : "{{FT1.42.Value}}", + "type" : { + "coding" : [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ], + }, + }, + "type": "MedicationRequest", + }, + {% endif %} + ], + + "note" : [ + {% for rxd_9 in RXD.9.Repeats %} + { + "text" : "{{rxd_9.Value}}" + }, + {% endfor %} + { + "text" : "{{NTE.3.Value}}", + }, + ], + + + "performer" : [ + {% for rxd_10 in RXD.10.Repeats %} + { + "actor" : { + {% evaluate practitionerId_rxd_10 using 'ID/Practitioner' XCN: rxd_10 -%} + "reference":"Practitioner/{{practitionerId_rxd_10}}", + }, + }, + {% endfor %} + ], + + "location" : { + {% if RXD.30 %} + {% evaluate locationId_RXD using 'ID/Location' CWE: RXD.30 -%} + "reference":"Location/{{locationId_RXD}}", + {% elsif RXD.31 %} + {% evaluate locationId_RXD using 'ID/Location' XAD: RXD.31 -%} + "reference":"Location/{{locationId_RXD}}", + {% elsif RXD.34 %} + {% evaluate locationId_RXD using 'ID/Location' XAD: RXD.34 -%} + "reference":"Location/{{locationId_RXD}}", + {% endif %} + + }, + + {% if ORC.5 %} + "status":"{{ ORC.5.Value | get_property: 'CodeSystem/MedicationDispenseStatus', 'code' }}", + {% else %} + "status" : "unknown", + {% endif %} + + "dosageInstruction" : [ + { + "maxDosePerPeriod" : { + "numerator" : { + {% include 'DataType/CQ' CQ: RXD_RXR.12 %} + }, + {% if RXD_RXR.12 -%} + "denominator" : { + "value" : 1, + "unit" : "d", + "system" : "http://unitsofmeasure.org", + "code" : "d", + } + {% endif %} + }, + + {% if CDO -%} + "maxDosePerLifetime" : { + {% if CDO.4.2.Value == 'PL' -%} + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + {% endif %} + }, + "maxDosePerPeriod" : { + {% unless RXE_CDO.19 -%} + {% if CDO.4.2.Value == 'D' and CDO.3 -%} + "numerator" : { + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + }, + "denominator": { + "value" : 1, + "unit" : "d", + "system" : "http://unitsofmeasure.org", + "code" : "d" + }, + {% endif %} + {% endunless -%} + + {% unless CDO.4.2.Value == 'D' or CDO.4.2.Value == 'PL' -%} + {% if CDO.3 -%} + "numerator" : { + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + }, + {% endif %} + {% endunless -%} + + {% if CDO.4.2.1 == 'A' or CDO.4.2.1 == 'M' or CDO.4.2.1 == 'WK' -%} + {% if CDO.3 -%} + "denominator": { + {% if CDO.4.1 -%} + "value": {{CDO.4.1.Value}}, + {% else -%} + "value" : 1, + {% endif %} + {% if CDO.4.2.1 == 'A' -%} + "unit" : "a", + "system" : "http://unitsofmeasure.org", + "code" : "a" + {% endif -%} + {% if CDO.4.2.1 == 'M' -%} + "unit" : "mo", + "system" : "http://unitsofmeasure.org", + "code" : "mo" + {% endif -%} + {% if CDO.4.2.1 == 'WK' -%} + "unit" : "wk", + "system" : "http://unitsofmeasure.org", + "code" : "wk" + {% endif -%} + }, + {% endif %} + {% endif %} + + {% unless CDO.4.2.1 == 'A' or CDO.4.2.1 == 'M' or CDO.4.2.1 == 'WK' or CDO.4.2.1 == 'D' or CDO.4.2.1 == 'PL' -%} + {% if CDO.3 -%} + "denominator": { + {% if CDO.4.1 -%} + "value": {{CDO.4.1.Value}}, + {% else -%} + "value" : 1, + {% endif %} + {% include 'DataType/CWEQuantityInternal' CWE: CDO.4.2 -%} + }, + {% endif %} + {% endunless -%} + }, + {% endif -%} + + "site": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.2 %} + }, + "route": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.1 %} + }, + "method": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.4 %} + }, + "additionalInstruction": [ + { + {% include 'DataType/CWECodeableConcept' CWE: RXR.5 %} + }, + ], + }, + ], + + "type" : { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/DispenseType', CWE: RXD.33 %} + }, + + {% if subjectRefrence -%} + "subject" : { + "reference":"Patient/{{ subjectRefrence }}", + }, + {% endif %} + "medicationCodeableConcept" : { + {% include 'DataType/CWECodeableConcept' CWE: FT1.29 %} + }, + }, + "request":{ + "method":"PUT", + "url":"MedicationDispense/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid b/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid new file mode 100644 index 000000000..4de69c6d8 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid @@ -0,0 +1,652 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "MedicationRequest", + "id":"{{ ID }}", + "identifier": + [ + { + {% if ORC.2 %} + {% include 'DataType/EIIdentifier' EI: ORC.2 -%} + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + } + ], + } + {% endif %} + }, + { + {% if ORC.3 %} + {% include 'DataType/EIIdentifier' EI: ORC.3 -%} + "type": + { + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + } + ], + } + {% endif %} + }, + { + {% if ORC.4 %} + {% include 'DataType/EIIdentifier' EI: ORC.4 -%} + "type": + { + "coding": + [ + { + "code":"PGN", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + } + ], + } + {% endif %} + }, + {% if RXE.15 -%} + { + "value": "{{RXE.15.Value}}", + {% if RXE.40.3 -%} + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{RXE.40.3.Value}}", + {% endif %} + "type": + { + "coding": + [ + { + "code":"PRN", + "system":"http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ], + } + }, + {% endif %} + ], + {% if ORC.5 -%} + "status":"{{ ORC.5.Value | get_property: 'CodeSystem/MedicationOrderStatus', 'code' }}", + {% else -%} + "status":"{{ ORC.1.Value | get_property: 'CodeSystem/OrderControlCode_RequestStatus', 'code' }}", + {% endif %} + {% if ORC.1.Value == 'NW' -%} + {% if ORC.9 %} + "authoredOn": "{{ ORC.9.Value | format_as_date_time }}", + {% elsif ORC.15 %} + "authoredOn": "{{ ORC.15.Value | format_as_date_time }}", + {% endif %} + {% endif -%} + + {% unless ORC.9 -%} + "authoredOn": "{{ RXE.32.Value | format_as_date_time }}", + {% endunless -%} + {% unless ORC.1.Value == 'NW' -%} + {% if ORC.9 -%} + "authoredOn": "{{ RXE.32.Value | format_as_date_time }}", + {% endif %} + {% endunless -%} + + {% if RXO %} + "intent" : "original-order", + {% endif %} + + {% if RXE %} + "intent" : "filler-order", + {% endif %} + + "dosageInstruction" : + [ + { + {% if ORM_ORC_7 %} + {% include 'DataType/TQ_MedicationRequest' TQ: ORM_ORC_7 -%} + {% endif %} + "doseAndRate" : + [ + { + "doseRange" : + { + "low" : + { + {% if ORM_RXO.3 -%} + "value" : {{ORM_RXO.2.Value}}, + {% endif %} + {% if ORM_RXO.2 and ORM_RXO.3 -%} + {% include 'DataType/CWEQuantity' CWE: ORM_RXO.4 %} + {% endif %} + }, + "high" : + { + {% if ORM_RXO.3 %} + "value" : {{ORM_RXO.3.Value}}, + {% include 'DataType/CWEQuantity' CWE: ORM_RXO.4 %} + {% endif %} + }, + }, + + "doseQuantity" : + { + {% if ORM_RXO.2 and ORM_RXO.3 == null or ORM_RXO.3 == "" %} + "value" : {{ORM_RXO.2.Value}}, + {% include 'DataType/CWEQuantity' CWE: ORM_RXO.4 %} + {% endif %} + }, + "rateQuantity" : + { + {% if ORM_RXO.21 %} + "value": {{ORM_RXO.21.Value}}, + {% endif %} + {% if ORM_RXO.22 %} + {% include 'DataType/CWEQuantity' CWE: ORM_RXO.22 %} + {% endif %} + }, + }, + ], + "additionalInstruction" : + [ + {% if ORM_RXO.7 %} + {% for orm_rxo_7 in ORM_RXO.7.Repeats %} + { + {% if rxo_7.1.Value %} + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: orm_rxo_7 %} + ], + "text":"{{ orm_rxo_7.9.Value }}", + {% endif %} + }, + {% endfor %} + {% endif %} + ], + {% if ORM_RXO.7 %} + {% for orm_rxo_7 in ORM_RXO.7.Repeats %} + {% if orm_rxo_7.1.Value == null or orm_rxo_7.1.Value == "" %} + {% capture textString %}{{ orm_rxo_7.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture specomp %}{{ textstring | split: "~" | join: "+" }}{% endcapture -%} + {% capture textStringValue %}{{ specomp | split: "&" | join: "--" }}{% endcapture -%} + "patientInstruction" : "{{textStringValue}}", + {% endif %} + {% endfor %} + {% endif %} + {% if ORM_RXO.6 or ORM_ORC_7.8 %} + {% capture textString %}{{ ORM_RXO.6.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture specomp %}{{ textstring | split: "~" | join: "+" }}{% endcapture -%} + {% capture textStringValue %}{{ specomp | split: "&" | join: "--" }}{% endcapture -%} + {% if ORM_ORC_7.8 -%} + {% capture textStringValue %}{{ textStringValue | append: "+" | append : ORM_ORC_7.8.Value }}{% endcapture -%} + {% endif -%} + "text" : "{{textStringValue}}", + {% endif %} + "maxDosePerPeriod" : + { + "numerator" : { + {% if ORM_RXO.23 %} + {% include 'DataType/CQ' CQ: ORM_RXO.23 %} + {% endif %} + }, + {% if ORM_RXO.23 -%} + "denominator": { + "value" : 1, + "unit" : "d", + "system" : "http://unitsofmeasure.org", + "code" : "d" + }, + {% endif %} + }, + }, + + { + "doseAndRate" : + [ + { + "doseRange" : + { + "low" : + { + {% if RXO_RXR.2 and RXO_RXR.3 %} + "value" : {{RXO_RXR.2.Value}}, + {% include 'DataType/CWEQuantity' CWE: RXO_RXR.4 %} + {% endif %} + {% if RXE_RXR.4 -%} + "value" : {{RXE_RXR.3.Value}}, + {% endif %} + {% if RXE_RXR.3 and RXE_RXR.4 -%} + {% include 'DataType/CWEQuantity' CWE: RXE_RXR.5 %} + {% endif %} + }, + "high" : + { + {% if RXO_RXR.3 %} + "value" : {{RXO_RXR.3.Value}}, + {% include 'DataType/CWEQuantity' CWE: RXO_RXR.4 %} + {% endif %} + {% if RXE_RXR.4 -%} + "value" : {{RXE_RXR.4.Value}}, + {% endif %} + {% if RXE_RXR.4 -%} + {% include 'DataType/CWEQuantity' CWE: RXE_RXR.5 %} + {% endif %} + }, + }, + + "doseQuantity" : + { + {% if RXO_RXR.2 and RXO_RXR.3 == null or RXO_RXR.3 == "" %} + "value" : {{RXO_RXR.2.Value}}, + {% include 'DataType/CWEQuantity' CWE: RXO_RXR.4 %} + {% endif %} + {% if RXE_RXR.3 and RXE_RXR.4 == null or RXE_RXR.4 == "" %} + "value" : {{RXE_RXR.3.Value}}, + {% include 'DataType/CWEQuantity' CWE: RXE_RXR.5 %} + {% endif %} + }, + "rateQuantity" : + { + {% if RXO_RXR.21 %} + "value": {{RXO_RXR.21.Value}}, + {% endif %} + {% if RXO_RXR.22 %} + {% include 'DataType/CWEQuantity' CWE: RXO_RXR.22 %} + {% endif %} + {% if RXE_RXR.23 %} + "value": {{RXE_RXR.23.Value}}, + {% endif %} + {% if RXE_RXR.24 %} + {% include 'DataType/CWEQuantity' CWE: RXE_RXR.24 %} + {% endif %} + }, + }, + ], + + "additionalInstruction" : + [ + {% if RXO_RXR.7 %} + {% for rxo_7 in RXO_RXR.7.Repeats %} + { {% if rxo_7.1.Value %} + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: rxo_7 %} + ], + "text":"{{ rxo_7.9.Value }}", + {% endif %} + }, + {% endfor %} + {% endif %} + {% if RXE_RXR.7 %} + {% for rxe_7 in RXE_RXR.7.Repeats %} + { {% if rxe_7.1.Value %} + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: rxe_7 %} + ], + "text":"{{ rxe_7.9.Value }}", + {% endif %} + }, + {% endfor %} + {% endif %} + ], + + {% if RXO_RXR.7 %} + {% for rxo_7 in RXO_RXR.7.Repeats %} + {% if rxo_7.1.Value == null or rxo_7.1.Value == "" %} + {% capture textString %}{{ rxo_7.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture specomp %}{{ textstring | split: "~" | join: "+" }}{% endcapture -%} + {% capture textStringValue %}{{ specomp | split: "&" | join: "--" }}{% endcapture -%} + "patientInstruction" : "{{textStringValue}}", + {% endif %} + {% endfor %} + {% endif %} + {% if RXE_RXR.7 %} + {% for rxe_7 in RXE_RXR.7.Repeats %} + {% if rxe_7.1.Value == null or rxe_7.1.Value == "" %} + {% capture textString %}{{ rxe_7.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture specomp %}{{ textstring | split: "~" | join: "+" }}{% endcapture -%} + {% capture textStringValue %}{{ specomp | split: "&" | join: "--" }}{% endcapture -%} + "patientInstruction" : "{{textStringValue}}", + {% endif %} + {% endfor %} + {% endif %} + + {% if RXO_RXR.6 or TQ1_RXR.11 %} + {% capture textString %}{{ RXO_RXR.6.Value | split: "^" | join: "--" }}{% endcapture -%} + {% capture specomp %}{{ textstring | split: "~" | join: "+" }}{% endcapture -%} + {% capture textStringValue %}{{ specomp | split: "&" | join: "--" }}{% endcapture -%} + {% if TQ1_RXR.11 -%} + {% capture textStringValue %}{{ textStringValue | append: "+" | append : TQ1_RXR.11.Value }}{% endcapture -%} + {% endif -%} + "text" : "{{textStringValue}}", + {% endif %} + + + "maxDosePerPeriod" : + { + "numerator" : { + {% if RXO_RXR.23 %} + {% include 'DataType/CQ' CQ: RXO_RXR.23 %} + {% endif %} + {% if RXE_RXR.19 %} + {% include 'DataType/CQ' CQ: RXE_RXR.19 %} + {% endif %} + }, + {% if RXE_RXR.19 or RXO_RXR.23 -%} + "denominator": { + "value" : 1, + "unit" : "d", + "system" : "http://unitsofmeasure.org", + "code" : "d" + }, + {% endif %} + }, + {% if CDO -%} + "maxDosePerLifetime" : { + {% if CDO.4.2.Value == 'PL' -%} + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + {% endif %} + }, + "maxDosePerPeriod" : { + {% unless RXE_CDO.19 -%} + {% if CDO.4.2.Value == 'D' and CDO.3 -%} + "numerator" : { + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + }, + "denominator": { + "value" : 1, + "unit" : "d", + "system" : "http://unitsofmeasure.org", + "code" : "d" + }, + {% endif %} + {% endunless -%} + + {% unless CDO.4.2.Value == 'D' or CDO.4.2.Value == 'PL' -%} + {% if CDO.3 -%} + "numerator" : { + "value" : {{CDO.3.1.Value}}, + {% include 'DataType/CWEQuantityInternal' CWE: CDO.3.2 -%} + }, + {% endif %} + {% endunless -%} + + {% if CDO.4.2.1 == 'A' or CDO.4.2.1 == 'M' or CDO.4.2.1 == 'WK' -%} + {% if CDO.3 -%} + "denominator": { + {% if CDO.4.1 -%} + "value": {{CDO.4.1.Value}}, + {% else -%} + "value" : 1, + {% endif %} + {% if CDO.4.2.1 == 'A' -%} + "unit" : "a", + "system" : "http://unitsofmeasure.org", + "code" : "a" + {% endif -%} + {% if CDO.4.2.1 == 'M' -%} + "unit" : "mo", + "system" : "http://unitsofmeasure.org", + "code" : "mo" + {% endif -%} + {% if CDO.4.2.1 == 'WK' -%} + "unit" : "wk", + "system" : "http://unitsofmeasure.org", + "code" : "wk" + {% endif -%} + }, + {% endif %} + {% endif %} + + {% unless CDO.4.2.1 == 'A' or CDO.4.2.1 == 'M' or CDO.4.2.1 == 'WK' or CDO.4.2.1 == 'D' or CDO.4.2.1 == 'PL' -%} + {% if CDO.3 -%} + "denominator": { + {% if CDO.4.1 -%} + "value": {{CDO.4.1.Value}}, + {% else -%} + "value" : 1, + {% endif %} + {% include 'DataType/CWEQuantityInternal' CWE: CDO.4.2 -%} + }, + {% endif %} + {% endunless -%} + }, + {% endif -%} + "site": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.2 %} + }, + "route": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.1 %} + }, + "method": { + {% include 'DataType/CWECodeableConcept' CWE: RXR.4 %} + }, + "additionalInstruction": [ + { + {% include 'DataType/CWECodeableConcept' CWE: RXR.5 %} + }, + ], + {% if TQ1_RXR.1 -%} + "sequence": {{TQ1_RXR.1.Value}}, + {% endif -%} + "timing" : { + "code":{ + {% include 'DataType/CWECodeableConceptInternalValues' mapping: 'CodeSystem/RepeatPattern', CWE: TQ1_RXR.3.Repeats[0].1 -%} + }, + "repeat":{ + {% include 'DataType/RPTTiming' RPT: TQ1_RXR.3.Repeats[0] -%} + "timeOfDay": [ + {% if TQ1_RXR.3.Repeats[0].5 == null and TQ1_RXR.3.Repeats[0].8 == null -%} + {% for tq1_4 in TQ1_RXR.4.Repeats %} + "{{tq1_4.Value}}", + {% endfor -%} + {% endif -%} + ], + "boundsDuration": + { + {% if TQ1_RXR.7 == null and TQ1_RXR.8 == null -%} + {% include 'DataType/CQ' CQ_duration: TQ1_RXR.6 -%} + {% endif -%} + }, + {% if TQ1_RXR.3.Repeats[0].5 == null -%} + {% if TQ1_RXR.5 -%} + "period" : {{ TQ1_RXR.5.Repeats[0].1.Value }}, + "periodUnit" : {% include 'DataType/CWECode' mapping: 'CodeSystem/DurationUnit', CWE_internal: TQ1_RXR.5.Repeats[0].2 -%}, + {% endif -%} + {% endif -%} + "boundsPeriod": + { + "start":"{{ TQ1_RXR.7.Value | format_as_date_time }}", + "end":"{{ TQ1_RXR.8.Value | format_as_date_time }}", + + }, + {% if TQ1_RXR.14 -%} + "count":{{ TQ1_RXR.14.Value }}, + {% endif %} + {% if TQ1_RXR.13 %} + "duration": {{TQ1_RXR.13.1.Value}}, + {% endif %} + "durationUnit": "{{ TQ1_RXR.13.2.Value | get_property: 'CodeSystem/DurationUnit', 'code' }}", + }, + }, + "asNeededCodeableConcept" : { + "text": "{{ TQ1_RXR.10.Value }}", + }, + }, + ], + {% if TQ1_RXR -%} + {% if TQ1_RXR.9 -%} + "priority":{% include 'DataType/CWECode' mapping: 'CodeSystem/RequestPriority', CWE: TQ1_RXR.9 -%}, + {% else -%} + "priority": "routine", + {% endif -%} + {% endif -%} + "substitution" : + { + "allowedCodeableConcept" : + { + {% if RXO.9 %} + {% include 'DataType/IDCodeableConcept' mapping: 'CodeSystem/AllowSubstitution', ID: RXO.9 %} + {% endif %} + {% if RXE.9 %} + {% include 'DataType/IDCodeableConcept' mapping: 'CodeSystem/AllowSubstitution', ID: RXE.9 %} + {% endif %} + }, + }, + + "dispenseRequest" : + { + "quantity" : + { + {% if RXO.11 %} + "value": {{RXO.11.Value}}, + {% endif %} + {% if RXO.12 %} + {% include 'DataType/CWEQuantity' CWE: RXO.12 %} + {% endif %} + {% if RXE.10 %} + "value": {{RXE.10.Value}}, + {% endif %} + {% if RXE.11 %} + {% include 'DataType/CWEQuantity' CWE: RXE.11 %} + {% endif %} + }, + "initialFill" : { + {% if RXE.39 -%} + "quantity" : { + {% if RXE.39 %} + "value": {{RXE.39.Value}}, + {% endif %} + {% include 'DataType/CWEQuantity' CWE: RXE.11 %} + }, + {% endif %} + }, + {% if RXO.13 %} + "numberOfRepeatsAllowed" : {{RXO.13.Value}}, + {% endif %} + {% if RXE.12 %} + "numberOfRepeatsAllowed" : {{RXE.12.Value}}, + {% endif %} + "dispenseInterval" : + { + {% if RXO.28 %} + "value": {{RXO.28.Value}}, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days", + {% endif %} + }, + "performer" : + { + {% if RXO.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: RXO.32 -%} + "reference":"Organization/{{ Organization_ID_RXO_32 }}", + {% endif -%} + {% if Organization_ID_RXE_40 -%} + "reference":"Organization/{{ Organization_ID_RXE_40 }}", + {% endif -%} + } + }, + "reasonCode" : + [ + {% if RXO.20 %} + {% for rxo_20 in RXO.20.Repeats %} + { + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: rxo_20 %} + + ], + "text":"{{ rxo_20.9.Value }}", + }, + {% endfor %} + {% endif %} + {% if ORC.16 %} + { + "coding": [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: ORC.16 %} + ], + "text":"{{ ORC.16.9.Value }}", + }, + {% endif %} + {% if RXE.27 %} + {% for rxe_27 in RXE.27.Repeats %} + { + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' CWE: rxe_27 %} + + ], + "text":"{{ rxe_27.9.Value }}", + }, + {% endfor %} + {% endif %} + ], + "requester": { + {% if ORC.12.Repeats[0] == null or ORC.12.Repeats[0] == "" -%} + {% if RXO.14.Repeats[0] -%} + {% evaluate practitionerRole_ID_RXO_14 using 'ID/practitionerRole' XCN: RXO.14.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_RXO_14 }}", + {% elsif RXE.13.Repeats[0] %} + {% evaluate practitionerRole_ID_RXE_13 using 'ID/practitionerRole' XCN: RXE.13.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_RXE_13 }}" + {% elsif ORC.21.Repeats[0] %} + {% evaluate practitionerRole_ID_ORC_21 using 'ID/practitionerRole' XCN: ORC.21.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_ORC_21 }}" + {% endif -%} + {% endif -%} + {% if ORC.12.Repeats[0] %} + {% evaluate practitionerRole_ID_ORC_12 using 'ID/practitionerRole' XCN: ORC.12.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_ORC_12 }}", + {% endif %} + }, + "recorder": { + {% if ORC.10 -%} + {% evaluate practitionerRole_ID_ORC_10 using 'ID/practitionerRole' XCN: ORC.10.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_ORC_10 }}", + {% elsif ORC.19 %} + {% evaluate practitionerRole_ID_ORC_19 using 'ID/practitionerRole' XCN: ORC.19.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_ORC_19 }}", + {% endif %} + }, + "note": [ + { + {% if nte_practitioner -%} + "authorReference" : { + "reference":"Practitioner/{{nte_practitioner}}", + }, + {% endif -%} + "time" : "{{NTE.6.Value | format_as_date_time }}", + "text" : "{{NTE.3.Value}}", + }, + ], + "priorPrescription": { + {% if ORC.8 %} + "type": "MedicationRequest", + "identifier": + { + {% include 'DataType/EIPIdentifier' EIP: ORC.8 %} + } + {% endif %} + }, + "medicationReference": { + {% if medication_ref -%} + "reference":"Medication/{{ medication_ref }}", + {% endif -%} + }, + "basedOn": [ + { + {% if medicationrequest_ref -%} + "reference":"MedicationRequest/{{ medicationrequest_ref }}", + {% endif -%} + }, + ], + }, + "request":{ + "method":"PUT", + "url":"MedicationRequest/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid b/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid new file mode 100644 index 000000000..7503964f5 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid @@ -0,0 +1,148 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "NutritionOrder", + "id":"{{ ID }}", + {% if ORC.5 -%} + "status":"{{ ORC.5.Value | get_property: 'CodeSystem/OrderStatus', 'code' }}", + {% else -%} + "status":"{{ ORC.1.Value | get_property: 'CodeSystem/OrderControlCode', 'code' }}", + {% endif %} + "intent":"order", + "identifier": + [ + { + {% if ORC.2 -%} + {% include 'DataType/EIIdentifier' EI: ORC.2 -%} + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + }, + { + {% if ORC.3 -%} + {% include 'DataType/EIIdentifier' EI: ORC.3 -%} + "type": + { + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + }, + { + {% include 'DataType/EIIdentifier' EI: ORC.4 -%} + "type": + { + "coding": + [ + { + {% if ORC.4 -%} + "code":"PGN", + {% endif -%} + {% if ORC.4 -%} + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% endif -%} + }, + ], + }, + }, + ], + "dateTime": "{{ ORC.15.Value | format_as_date_time }}", + {% if ORC.15 == null or ORC.15 == '' -%} + "dateTime": "{{ ORC.9.Value | format_as_date_time }}", + {% endif -%} + {% if ORC.15 == null or ORC.15 == '' or ORC.9 == null or ORC.9 == '' -%} + "dateTime": "{{ MSH.7.Value | format_as_date_time }}", + {% endif -%} + + {% if ODS.1.Value == "D" -%} + "oralDiet" : { + "type" : [ + {% for ods3 in ODS.3.Repeats -%} + { + {% include 'DataType/CWECodeableConcept', CWE: ods3 -%} + }, + {% endfor -%} + ], + {% capture textstring %}{{ ODS.4.Value | split: "~" | join: "+" }}{% endcapture -%} + "instruction" : "{{textstring}}", + {% if ORC.7 -%} + "schedule" : [ + {% for orc7 in ORC.7.Repeats -%} + { + {% include 'DataType/TQ_NutritionOrder', TQ: orc7 -%} + }, + {% endfor -%} + ], + {% endif -%} + }, + {% endif -%} + {% if ODS.1.Value == "S" -%} + "supplement" : [ + {% for ods3 in ODS.3.Repeats -%} + { + "type" : { + {% include 'DataType/CWECodeableConcept', CWE: ods3 -%} + }, + {% capture textstring %}{{ ODS.4.Value | split: "~" | join: "+" }}{% endcapture -%} + "instruction" : "{{textstring}}", + "schedule" : [ + {% for orc7 in ORC.7.Repeats -%} + { + {% include 'DataType/TQ_NutritionOrder', TQ: orc7 -%} + }, + {% endfor -%} + ], + }, + {% endfor -%} + ], + {% endif -%} + {% if ODS.1.Value == "P" -%} + "foodPreferenceModifier" : [, + {% for ods3 in ODS.3.Repeats -%} + { + {% include 'DataType/CWECodeableConcept', CWE: ods3 -%} + {% capture textstring %}{{ ODS.4.Value | split: "~" | join: "+" }}{% endcapture -%} + "text" : "{{textstring}}", + }, + {% endfor -%} + ], + {% endif -%} + "note": [ + {% for orc7 in ORC.7.Repeats -%} + { + "text" : "{{ orc7.8.Value }}" + }, + {% endfor -%} + ], + "patient": + { + "reference":"{{ NutritionOrder_Patient_ID }}", + }, + "encounter": + { + "reference":"{{ NutritionOrder_Encounter_ID }}", + }, + "allergyIntolerance": [ + { + "reference":"{{ NutritionOrder_AllergyIntolerance_ID }}", + }, + ]. + }, + "request":{ + "method":"PUT", + "url":"NutritionOrder/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_Observation.liquid b/data/Templates/Hl7v2/Resource/_Observation.liquid index ca8c46626..0dd6cf430 100644 --- a/data/Templates/Hl7v2/Resource/_Observation.liquid +++ b/data/Templates/Hl7v2/Resource/_Observation.liquid @@ -41,13 +41,115 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper ], }, }, + {% for ACC_13 in ACC.13.Repeats %} + { + {% include 'DataType/EIIdentifier' EI: ACC_13 -%} + }, + {% endfor %} ], "status": "{{ OBX.11.1.Value | get_property: 'CodeSystem/ObservationStatus', 'code' }}", + {% if PDA_3 or PDA_6 or PDA_9 or ACC %} + "status": "final", + {% endif %} + "code": { {% include 'DataType/CWECodeableConcept' CWE: OBX.3 -%} + {% if ACC %} + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system" : "http://loinc.org", + }, + ], + {% endif %} + {% if PDA_3 %} + "coding": + [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + } + ], + {% endif %} + {% if PDA_6 %} + "coding": + [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + } + ], + {% endif %} + {% if PDA_9 %} + "coding": + [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + } + ], + {% endif %} }, + + "component" : [ + {% if ACC.5 %} + { + "code" : { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators", + }, + ], + }, + "valueCodeableConcept": { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/YesNo-Indicator', CWE: ACC.5 -%} + }, + }, + {% endif %} + {% if ACC.6 %} + { + "code" : { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system" : "http://snomed.info/sct", + }, + ], + }, + "valueCodeableConcept": { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/YesNo-Indicator', CWE: ACC.6 -%} + }, + }, + {% endif %} + {% if ACC.10 %} + { + "code" : { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators", + }, + ], + }, + "valueCodeableConcept": { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/YesNo-Indicator', CWE: ACC.10 -%} + }, + }, + {% endif %} + ], + + "valueString" : "{{ ACC.8.Value }}", + "basedOn": [ { @@ -55,7 +157,36 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "reference":"ServiceRequest/{{ Observation_ServiceRequest_ID }}", {% endif %} }, + { + {% if DiagnosticReport_MedicationRequest_ID %} + "reference":"MedicationRequest/{{ DiagnosticReport_MedicationRequest_ID }}", + {% endif %} + }, ], + {% if PDA_3 or PDA_6 or PDA_9 %} + "valueCodeableConcept": + { + {% if PDA_3.Value == 'Y' or PDA_6.Value == 'Y' or PDA_9.Value == 'Y' %} + "coding": + [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ], + {% elsif PDA_3.Value == 'N' or PDA_6.Value == 'N' or PDA_9.Value == 'N' %} + "coding": + [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ], + {% endif %} + }, + {% endif %} {% if OBX.11.1.Value == 'X' or OBX.11.1.Value == 'N' %} "dataAbsentReason" : { "coding" : [ @@ -73,8 +204,7 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper {% endif %} ], }, - {% else -%} - + {% else -%} {% assign obx5_rep = OBX.5.Repeats | size %} {% if obx5_rep == 1 %} "valueQuantity": @@ -318,6 +448,7 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper {% endif %} "effectiveDateTime":"{{ OBX.14.Value | format_as_date_time }}", + "effectiveDateTime":"{{ ACC.1.Value | format_as_date_time }}", "method": { {% include 'DataType/CWECodeableConcept' CWE: OBX.17 -%} @@ -329,17 +460,17 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper {% endif -%} }, "note": [ - { - "text": "{{NTE.3.Value}}", - "time": "{{ NTE.6.Value | format_as_date_time }}", - "authorReference": { - {% if NTE.5 and Practitioner_ID_NTE_5 -%} - "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", - {% endif -%} + "text": "{{NTE.3.Value}}", + "time": "{{ NTE.6.Value | format_as_date_time }}", + "authorReference": + { + {% if NTE.5 and Practitioner_ID_NTE_5 -%} + "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", + {% endif -%} + } } - } - ], + ], "bodySite": { {% include 'DataType/CWECodeableConcept' CWE: OBX.20 -%} @@ -378,10 +509,12 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "reference":"{{ Observation_Specimen_ID }}", {% endif %} }, - "subject": - { - "reference":"{{ Observation_Subject_ID }}", - }, + {% if Observation_Subject_ID %} + "subject": + { + "reference":"{{ Observation_Subject_ID }}", + }, + {% endif %} {%- comment -%} "encounter": { diff --git a/data/Templates/Hl7v2/Resource/_Organization.liquid b/data/Templates/Hl7v2/Resource/_Organization.liquid index ab3fbe5db..f66cf8d18 100644 --- a/data/Templates/Hl7v2/Resource/_Organization.liquid +++ b/data/Templates/Hl7v2/Resource/_Organization.liquid @@ -11,6 +11,14 @@ {% include 'DataType/HDOrganization' HD: MSHHD1 -%} {% endif -%} + {% if PRD.10 %} + {% include 'DataType/XONOrganization' XON: PRD.10 -%} + {% endif %} + + {% if RQD -%} + {% include 'DataType/CWEOrganization' CWE: RQD -%} + {% endif -%} + {% if MSHHD2 -%} {% include 'DataType/HDOrganization' HD: MSHHD2 -%} {% endif -%} @@ -63,6 +71,10 @@ {% include 'DataType/HDOrganization_InternalValue' HD: PID.4 -%} {% endif -%} + {% if MRG -%} + {% include 'DataType/HDOrganization_InternalValue' HD: MRG.4 -%} + {% endif -%} + {% if IN1_49 -%} {% include 'DataType/HDOrganization_InternalValue' HD: IN1_49.4 -%} {% endif -%} @@ -91,6 +103,14 @@ {% include 'DataType/HDOrganization_InternalValue' HD: PV1 -%} {% endif -%} + {% if RXA_10 -%} + {% include 'DataType/HDOrganization_InternalValue' HD: RXA_10 -%} + {% endif -%} + + {% if ORC_12 -%} + {% include 'DataType/HDOrganization_InternalValue' HD: ORC_12 -%} + {% endif -%} + {% if PV2 -%} {% include 'DataType/HDOrganization_InternalValue' HD: PV2 -%} {% endif -%} @@ -107,6 +127,14 @@ {% include 'DataType/HDOrganization_InternalValue' HD: PD1_4 -%} {% endif -%} + {% if FT1_20 -%} + {% include 'DataType/HDOrganization_InternalValue' HD: FT1_20 -%} + {% endif -%} + + {% if ACC -%} + {% include 'DataType/HDOrganization_InternalValue' HD: ACC -%} + {% endif -%} + {% if NK1_12 -%} {% include 'DataType/HDOrganization_InternalValue' HD: NK1_12.4 -%} {% endif -%} @@ -119,10 +147,26 @@ {% if PD1.3 -%} {% include 'DataType/XONOrganization' XON: PD1.3.Repeats[0] -%} {% endif -%} + + {% if FT1_32.32 -%} + {% include 'DataType/XONOrganization' XON: FT1_32.32.Repeats[0] -%} + {% endif -%} + + {% if FT1_33.33 -%} + {% include 'DataType/XONOrganization' XON: FT1_33.33 -%} + {% endif -%} + {% if NK1.13 -%} {% include 'DataType/XONOrganization' XON: NK1.13.Repeats[0] -%} {% endif -%} - {% include 'DataType/XONOrganization' XON: PRT.8.Repeats[0] -%} + {% assign PRT_8_first_rep = PRT.8.Repeats[0] %} + {% include 'DataType/XONOrganization' XON: PRT_8_first_rep -%} + {% for PRT_8 in PRT.8.Repeats %} + {% if PRT_8 != PRT_8_first_rep %} + {% include 'DataType/XONOrganization' XON_PRT: PRT.8 -%} + {% endif %} + {% endfor %} + {% if RF1 -%} {% include 'DataType/XONOrganization' XON: RF1 -%} @@ -152,8 +196,29 @@ {% include 'DataType/HDOrganization_InternalValue' HD: OBX -%} {% endif %} + {% if RXO_14 %} + {% include 'DataType/HDOrganization_InternalValue' HD: RXO_14 -%} + {% endif %} + + {% if ORC_10 %} + {% include 'DataType/HDOrganization_InternalValue' HD: ORC_10 -%} + {% elsif ORC_19 %} + {% include 'DataType/HDOrganization_InternalValue' HD: ORC_19 -%} + {% endif %} + {% if ORC.21 %} + {% include 'DataType/XONOrganization' XON: ORC.21.Repeats[0] -%} + {% endif %} {% include 'DataType/CWEOrganization' CWE: RXA.17.Repeats[0] -%} + {% include 'DataType/CWEOrganization' CWE: RXO.32 -%} + {% include 'DataType/CWEOrganization' CWE: RXE.40 -%} + + {% include 'DataType/CWEOrganization' CWE: FT1.13 -%} + + {% include 'DataType/CWEOrganization' CWE: RQ1_2.2 -%} + + {% include 'DataType/CWEOrganization' CWE: RQ1_4.4 -%} + {% if IN2_3 -%} {% include 'DataType/HDOrganization_InternalValue' HD: IN2_3 -%} {% endif -%} @@ -164,6 +229,13 @@ {% include 'DataType/HDOrganization_InternalValue' HD: AIP -%} + {% if PDA_5 -%} + {% include 'DataType/HDOrganization_InternalValue' HD: PDA_5.9 -%} + {% endif -%} + {% if PDA_8 -%} + {% include 'DataType/HDOrganization_InternalValue' HD: PDA_8.9 -%} + {% endif -%} + {% if MSHHD1 %} {% if MSH.22 and organization_ID_MSH_22 -%} "partOf": @@ -185,16 +257,40 @@ { "country":"{{ MSH.17.Value | get_property: 'CodeSystem/Countries', 'code' }}", }, - { - {% if ORC_SEG_22 %} - {% for orc22 in ORC_SEG_22.Repeats %} - {% include 'DataType/XADAddress' XAD: orc22 -%} - {% endfor -%} - {% endif %} - }, + {% if ORC_SEG_22 %} + {% for orc22 in ORC_SEG_22.Repeats %} + { + {% include 'DataType/XADAddress' XAD: orc22 -%} + }, + {% endfor -%} + {% endif %} + {% if PRD.11 %} + {% for PRD_11 in PRD.11.Repeats %} + { + {% include 'DataType/XADAddress' XAD: PRD_11 -%} + }, + {% endfor %} + {% endif %} + {% if ORC.21 %} + {% for orc22 in ORC.22.Repeats %} + { + {% include 'DataType/XAD' XAD: orc22 -%} + }, + {% endfor -%} + {% endif %} { {% include 'DataType/XAD' XAD: OBX_ORU.24 -%} }, + {% if RXO.33 %} + { + {% include 'DataType/XAD' XAD: RXO.33 -%} + }, + {% endif %} + {% if RXE.40 %} + { + {% include 'DataType/XAD' XAD: RXE.41 -%} + }, + {% endif %} { {% if OBX_24 -%} {% include 'DataType/XADAddress' XAD: OBX_24 -%} @@ -205,11 +301,7 @@ {% include 'DataType/XAD' XAD: OBX_ORU.24 -%} }, {% endif -%} - {% for gt1_5 in GT1.5.Repeats -%} - { - {% include 'DataType/XAD' XAD: gt1_5 -%} - }, - {% endfor -%} + {% for in1_5 in IN1.5.Repeats -%} { {% include 'DataType/XAD' XAD: in1_5 -%} @@ -261,15 +353,6 @@ {% include 'DataType/XPN' XPN: IN1.6 -%} }, }, - {% for gt1_3 in GT1.3.Repeats -%} - { - "name": - { - - {% include 'DataType/XPN' XPN: gt1_3 -%} - }, - }, - {% endfor -%} {% for gt1_45 in GT1.45.Repeats -%} { "name": @@ -301,21 +384,15 @@ ], "telecom": [ - {% for gt1_6 in GT1.6.Repeats -%} - { - {% include 'DataType/XTN' XTN: gt1_6 -%} - }, - {% endfor -%} - {% for gt1_7 in GT1.7.Repeats -%} - { - {% include 'DataType/XTN' XTN: gt1_7 -%} - }, - {% endfor -%} - {% for gt1_18 in GT1_51.18.Repeats -%} - { - {% include 'DataType/XTN' XTN: gt1_18 -%} - }, - {% endfor -%} + + {% if PRD.13 %} + {% for PRD_13 in PRD.13.Repeats %} + { + {% include 'DataType/XTN' XTN: PRD_13 -%} + }, + {% endfor %} + {% endif %} + {% for in1_7 in IN1.7.Repeats -%} { {% include 'DataType/XTN' XTN: in1_7 -%} @@ -326,19 +403,27 @@ {% include 'DataType/XTN' XTN: in2_64 -%} }, {% endfor -%} - ], - "identifier": - [ - {% for gt1_2 in GT1.2.Repeats -%} + {% for rxo_36 in RXO.36.Repeats -%} { - {% include 'DataType/CX' CX: gt1_2 -%} + {% include 'DataType/XTN' XTN: rxo_36 -%} }, {% endfor -%} - {% for gt1_29 in GT1_51.29.Repeats -%} + {% for rxe_45 in RXE.45.Repeats -%} { - {% include 'DataType/CX' CX: gt1_29 -%} + {% include 'DataType/XTN' XTN: rxe_45 -%} }, {% endfor -%} + {% if ORC.21 %} + {% for orc23 in ORC.23.Repeats %} + { + {% include 'DataType/XTN' XTN: orc23 -%} + }, + {% endfor -%} + {% endif %} + ], + "identifier": + [ + {% for in1_3 in IN1.3.Repeats -%} { {% include 'DataType/CX' CX: in1_3 -%} @@ -353,6 +438,9 @@ {% if org_name %} "name": "{{org_name}}", {% endif %} + {% if aut_org_name %} + "name": "{{aut_org_name}}", + {% endif %} {% if IN1.4 -%} "name": {% include 'DataType/XONString' XON: IN1.4 -%} {% endif -%} diff --git a/data/Templates/Hl7v2/Resource/_PLLocation.liquid b/data/Templates/Hl7v2/Resource/_PLLocation.liquid index 9c5644e64..6c7ad2df0 100644 --- a/data/Templates/Hl7v2/Resource/_PLLocation.liquid +++ b/data/Templates/Hl7v2/Resource/_PLLocation.liquid @@ -1,9 +1,48 @@ -{% evaluate locationId_PL_1 using 'ID/Location' PL: PL.1 -%} -{% evaluate locationId_PL_2 using 'ID/Location' PL: PL.2 -%} -{% evaluate locationId_PL_3 using 'ID/Location' PL: PL.3 -%} -{% evaluate locationId_PL_4 using 'ID/Location' PL: PL.4 -%} -{% evaluate locationId_PL_7 using 'ID/Location' PL: PL.7 -%} -{% evaluate locationId_PL_8 using 'ID/Location' PL: PL.8 -%} +{% if PL.5 or PL.9 -%} + {% if PL.5 and PL.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PL.Value | remove: PL.5.Value | remove: PL.9.Value %} + {% endif -%} + {% if PL.5 and PL.9 == null or PL.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PL.Value | remove: PL.5.Value %} + {% endif -%} + {% if PL.9 and PL.5 == null or PL.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PL.Value | remove: PL.9.Value %} + {% endif -%} +{% else -%} + {% assign PL_Value_Except_PL5_PL9 = PL.Value %} +{% endif -%} + +{% if PL.1 -%} + {% evaluate locationId_PL_1 using 'ID/Location' PL_Field_Value: PL.1, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_1= null -%} +{% endif -%} +{% if PL.2 -%} + {% evaluate locationId_PL_2 using 'ID/Location' PL_Field_Value: PL.2, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_2 = null -%} +{% endif -%} +{% if PL.3 -%} + {% evaluate locationId_PL_3 using 'ID/Location' PL_Field_Value: PL.3, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_3 = null -%} +{% endif -%} +{% if PL.4 -%} + {% evaluate locationId_PL_4 using 'ID/Location' PL_Field_Value: PL.4, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_4 = null -%} +{% endif -%} +{% if PL.7 -%} + {% evaluate locationId_PL_7 using 'ID/Location' PL_Field_Value: PL.7, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_7 = null -%} +{% endif -%} +{% if PL.8 -%} + {% evaluate locationId_PL_8 using 'ID/Location' PL_Field_Value: PL.8, PL: PL, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} +{% else -%} + {% assign locationId_PL_8 = null -%} +{% endif -%} + {% if PL.1 -%} { "fullUrl":"urn:uuid:{{ locationId_PL_1 }}", @@ -38,6 +77,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", @@ -82,6 +125,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", @@ -126,6 +173,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", @@ -165,6 +216,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", @@ -209,6 +264,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", @@ -253,6 +312,10 @@ } ] }, + "address": + { + {% include 'DataType/XADAddress' XAD: RXA.28 -%} + }, }, "request":{ "method":"PUT", diff --git a/data/Templates/Hl7v2/Resource/_Patient.liquid b/data/Templates/Hl7v2/Resource/_Patient.liquid index 5b1f44b6d..6bf3c7183 100644 --- a/data/Templates/Hl7v2/Resource/_Patient.liquid +++ b/data/Templates/Hl7v2/Resource/_Patient.liquid @@ -16,6 +16,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "resource":{ "resourceType": "Patient", "id":"{{ ID }}", + "identifier": [ { @@ -49,7 +50,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "system":"http://hl7.org/fhir/sid/us-ssn", {% endif -%} }, - {% unless PID.19 -%} + { "value":"{{ GT1.12.Value }}", "type": @@ -59,9 +60,8 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati { {% if GT1.12 -%} "code":"SB", - {% endif -%} - {% if GT1.12 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier", {% endif -%} }, ], @@ -70,7 +70,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "system":"http://hl7.org/fhir/sid/us-ssn", {% endif -%} }, - {% endunless -%} + { {% include 'DataType/DLN' DLN: PID.20 -%} }, @@ -81,6 +81,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati }, {% endfor %} {% endif -%} + {% for gt1 in GT1.2.Repeats -%} { {% include 'DataType/CX' CX: gt1 -%} @@ -181,6 +182,72 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% include 'DataType/CX' CX: IN2_6.61 -%} }, ], + "link" : [ + {% if MRG.1 -%} + { + "other" : + { + "identifier": + { + {% include 'DataType/CX' CX: MRG.1.Repeats[0] -%} + }, + }, + "type" : "replaces", + }, + {% endif -%} + ], + "meta": + { + "security": + [ + {% if ARV.2 %} + { + {% if ARV.2.1.Value == 'A' or ARV.2.1.Value == 'U' %} + "code" : "LABEL", + "display" : "assign security label", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", + {% elsif ARV.2.1.Value == 'X' %} + "code" : "PERSISTLABEL", + "display" : "persist security label", + "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", + {% elsif ARV.2.1.Value == 'D' %} + "code" : "DELETELABEL", + "display" : "delete security label", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + {% endif %} + }, + {% endif %} + {% if ARV.3 %} + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/AccessRestrictionValue', CWE: ARV.3 %} + {% endif %} + {% if ARV.4 %} + {% for arv_4 in ARV.4.Repeats %} + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/AccessRestrictionReason', CWE: arv_4 %} + {% endfor %} + {% endif %} + {% if ARV.5 %} + {% for arv_5 in ARV.5.Repeats %} + { + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code" : "SpecialAccessRestrictionInstructions", + "display" : "{{arv_5.Value}}", + }, + {% endfor %} + {% endif %} + {% if ARV.6 %} + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + {% include 'DataType/DRPeriod' DR: ARV.6 %} + }, + } + ], + }, + {% endif %} + ], + }, "name": [ {% for p in PID.5.Repeats -%} @@ -206,6 +273,9 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% include 'DataType/XPN' XPN: in2_6 -%} }, {% endfor -%} + { + {% include 'DataType/XPN' XPN: CON -%} + }, ], {% if PID.7 -%} "birthDate":"{{ PID.7.Value | add_hyphens_date }}", @@ -304,6 +374,15 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati }, {% endfor -%} ], + {% if PID.29 == null and PID.30 == null %} + {% unless GT1.24 %} + {% unless GT1.25 %} + {% if pda_seg %} + "deceasedBoolean": true, + {% endif %} + {% endunless %} + {% endunless %} + {% endif %} "communication": [ { @@ -356,25 +435,31 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% endif -%} "deceasedDateTime":"{{ PID.29.Value | format_as_date_time }}", {% unless PID.29 -%} - "deceasedDateTime":"{{ GT1.24.Value | format_as_date_time }}", + {% unless PID.30 -%} + "deceasedDateTime":"{{ GT1.24.Value | format_as_date_time }}", + {% endunless -%} {% endunless -%} {% if PID.29 == null -%} {% if PID.30 -%} "deceasedBoolean":{{ PID.30.Value | get_property: 'CodeSystem/Yes_No', 'code' }}, {% endif -%} {% endif -%} - {% unless PID.30 -%} - {% if GT1.24 == null -%} - {% if GT1.25 -%} - "deceasedBoolean":{{ GT1.25.Value | get_property: 'CodeSystem/Yes_No', 'code' }}, - {% endif -%} - {% endif -%} + {% unless PID.29 -%} + {% unless PID.30 -%} + {% if GT1.24 == null -%} + {% if GT1.25 -%} + "deceasedBoolean":{{ GT1.25.Value | get_property: 'CodeSystem/Yes_No', 'code' }}, + {% endif -%} + {% endif -%} + {% endunless -%} {% endunless -%} "meta": { "lastUpdated":"{{ PID.33.Value | format_as_date_time }}", }, - "active":"{{ PD1.16.1.Value | get_property: 'CodeSystem/RegistryStatus', 'code' }}", + {% if PD1.16.1 -%} + "active":{{ PD1.16.1.Value | get_property: 'CodeSystem/RegistryStatus', 'code' }}, + {% endif -%} "generalPractitioner": [ { @@ -399,17 +484,13 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "name": { {% include 'DataType/XPN' XPN: NK1.2.Repeats[0] -%} - {% if NK1_PER.7.1.Value == "E" -%} - {% include 'DataType/XPN' XPN: GT1.16.Repeats[0] -%} - {% endif -%} + {% include 'DataType/XPN' XPN: GT1.16.Repeats[0] -%} {% include 'DataType/XPN' XPN: CTD.2.Repeats[0] -%} }, "address": { {% include 'DataType/XAD' XAD: NK1.4.Repeats[0] -%} - {% if NK1_PER.7.1.Value == "E" -%} - {% include 'DataType/XAD' XAD: GT1.17.Repeats[0] -%} - {% endif -%} + {% include 'DataType/XAD' XAD: GT1.17.Repeats[0] -%} {% include 'DataType/XAD' XAD: CTD.3.Repeats[0] -%} }, "telecom": @@ -436,6 +517,11 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati { {% include 'DataType/XTN' XTN: NK1.41 -%} }, + {% for gt1_18 in GT1.18.Repeats -%} + { + {% include 'DataType/XTN' XTN: gt1_18 -%} + }, + {% endfor -%} {% for ctd5 in CTD.5.Repeats -%} { {% include 'DataType/XTN' XTN: ctd5 -%} @@ -452,15 +538,27 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/ContactRole', CWE: ctd1 -%} }, {% endfor -%} + {% if GT1.16 -%} + { + "coding": + [ + { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + {% endif -%} ], "period": { "start":"{{ NK1.8.Value | format_as_date_time }}", "end":"{{ NK1.9.Value | format_as_date_time }}", - {% unless NK1_PER.8 and NK1_PER.9 -%} - "start":"{{ GT1.31.Value | format_as_date_time }}", - "end":"{{ GT1.32.Value | format_as_date_time }}", - {% endunless -%} + + "start":"{{ GT1.31.Value | format_as_date_time }}", + "end":"{{ GT1.32.Value | format_as_date_time }}", + }, {% if NK1.15.1 -%} "gender":"{{ NK1.15.1.Value | get_property: 'CodeSystem/Gender', 'code' }}", @@ -468,14 +566,58 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "gender":"{{ NK1.15.4.Value | get_property: 'CodeSystem/Gender', 'code' }}", {% endif -%} "organization": - [ { {% if NK1.13 and Organization_ID_NK1_13 -%} "reference":"Organization/{{ Organization_ID_NK1_13 }}", {% endif -%} + {% if GT1.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: GT1.51 -%} + {% if Organization_ID_gt1_XON_51 -%} + "reference":"Organization/{{ Organization_ID_gt1_XON_51 }}", + {% endif -%} + {% endif -%} }, + }, + {% if GT1.4 -%} + { + "name": + { + {% include 'DataType/XPN' XPN: GT1.4.Repeats[0] -%} + }, + "relationship": + [ + { + "coding": + [ + { + "code": "N", + "display": "Next of Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + ], + }, + {% endif -%} + { + {% if GT1.45 -%} + "name": + { + {% include 'DataType/XPN' XPN: GT1.45.Repeats[0] -%} + }, + {% endif -%} + {% if GT1.46 -%} + "telecom": + [ + {% for gt1_46 in GT1.46.Repeats -%} + { + {% include 'DataType/XTN' XTN: gt1_46 -%} + }, + {% endfor -%} ], + {% endif -%} }, + ], "managingOrganization": { @@ -494,6 +636,40 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati }, {% endif -%} {% endunless -%} + {% unless PID.22 -%} + {% if GT1.44 -%} + {% assign ombCategorylimit = '' -%} + {% assign textstring = "" -%} + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + {% for p in GT1.44.Repeats -%} + { + {% if p.1.Value -%} + {% if ombCategorylimit.size < 1 -%} + "url": "ombCategory", + "valueCoding": { + {% include 'DataType/CWECoding' mapping: 'CodeSystem/Ethnicity', CWE: p -%} + } + {% assign ombCategorylimit = ombCategorylimit | append: 'x' -%} + {% endif -%} + {% endif -%} + {% if p.1 %} + {% assign displayvalue = p.1.Value | get_property: 'CodeSystem/Ethnicity', 'display' -%} + {% capture textstring %}{{ textstring | append: displayvalue | append: ":" }}{% endcapture -%} + {% else -%} + {% capture textstring %}{{ textstring | append: p.2.Value | append: ":" }}{% endcapture -%} + {% endif -%} + }, + {% endfor -%} + { + "url": "text", + "valueString": "{{ textstring | split: ":" | join: "+"}}" + } + ], + }, + {% endif -%} + {% endunless -%} {% unless PID.23 -%} {% if GT1.56-%} { @@ -504,6 +680,41 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati }, {% endif -%} {% endunless -%} + {% unless PID.28 -%} + {% if GT1.43-%} + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": + [ + {"url": "code", + "valueCodeableConcept": + { + "coding": + [ + {% assign CWE_2 = GT1.43.2.Value %} + {% assign CWE_5 = GT1.43.5.Value %} + {% assign CWE_11 = GT1.43.11.Value %} + {% assign CWE_2_doubleDash = GT1.43.2.Value |append: '--' %} + {% assign CWE_5_doubleDash = GT1.43.5.Value |append: '--' %} + {% include 'DataType/CWECodeableConceptRepeatable' CWE:GT1.43 %} + ], + {% if CWE_2_doubleDash and CWE_5_doubleDash == null and CWE_11 == null %} + "text":"{{ CWE_2 }}", + {% elsif CWE_2_doubleDash and CWE_5 and CWE_11 == null %} + "text":"{{ CWE_2_doubleDash }}{{ CWE_5 }}", + {% elsif CWE_2_doubleDash and CWE_11 and CWE_5_doubleDash == null %} + "text":"{{ CWE_2_doubleDash }}{{ CWE_11 }}", + {% elsif CWE_5_doubleDash and CWE_11 and CWE_2_doubleDash == null %} + "text":"{{ CWE_5_doubleDash }}{{ CWE_11 }}", + {% elsif CWE_2_doubleDash and CWE_5_doubleDash and CWE_11%} + "text":"{{ CWE_2_doubleDash }}{{ CWE_5_doubleDash }}{{ CWE_11 }}", + {% endif %} + } + }, + ], + }, + {% endif -%} + {% endunless -%} {% unless PID_IN1.23 -%} {% if IN1.52-%} { @@ -515,6 +726,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% endif -%} {% endunless -%} ], + }, "request":{ "method":"PUT", diff --git a/data/Templates/Hl7v2/Resource/_Practitioner.liquid b/data/Templates/Hl7v2/Resource/_Practitioner.liquid index dc4ef469f..c1738fa31 100644 --- a/data/Templates/Hl7v2/Resource/_Practitioner.liquid +++ b/data/Templates/Hl7v2/Resource/_Practitioner.liquid @@ -3,31 +3,45 @@ "resource":{ "resourceType": "Practitioner", "id":"{{ ID }}", - - {% if OBXXCN2 -%} + "identifier": [ - { - "type": + {% if OBXXCN2 -%} { - "coding": - [ - { - "code":"{{ OBXXCN2.1.Value }}", - }, - ], + "type": + { + "coding": + [ + { + "code":"{{ OBXXCN2.1.Value }}", + }, + ], + }, }, - }, + {% endif %} + {% if PRD.7 %} + {% for PRD_7 in PRD.7.Repeats %} + { + {% include 'DataType/PLN' PLN: PRD_7 %} + }, + {% endfor %} + {% endif %} ], - {% endif %} "address": [ + {% if PRD.3 %} + {% for PRD_3 in PRD.3.Repeats %} + { + {% include 'DataType/XAD' XAD: PRD_3 -%} + }, + {% endfor %} + {% endif %} {% if ORC_SEG_24 %} {% for orc24 in ORC_SEG_24.Repeats %} - { - {% include 'DataType/XAD' XAD: orc24 -%} - }, + { + {% include 'DataType/XAD' XAD: orc24 -%} + }, {% endfor -%} {% endif %} { @@ -36,9 +50,20 @@ { {% include 'DataType/XAD' XAD: PRT.14.Repeats[0] -%} }, - { - {% include 'DataType/XAD' XAD: ORC.24.Repeats[0] -%} - }, + {% if ORC_24 %} + {% for orc24 in ORC_24.Repeats %} + { + {% include 'DataType/XAD' XAD: orc24 -%} + }, + {% endfor -%} + {% endif %} + {% if ORC_med_prac.12 %} + {% for orc24 in ORC_med_prac.24.Repeats %} + { + {% include 'DataType/XAD' XAD: orc24 -%} + }, + {% endfor -%} + {% endif %} {% for sch_14 in SCH_12.14.Repeats -%} { {% include 'DataType/XAD' XAD: sch_14 -%} @@ -52,6 +77,13 @@ ], "telecom": [ + {% if PRD.5 %} + {% for PRD_5 in PRD.5.Repeats %} + { + {% include 'DataType/XTN' XTN: PRD_5 -%} + }, + {% endfor %} + {% endif %} {% for sch_13 in SCH_12.13.Repeats -%} { {% include 'DataType/XTN' XTN: sch_13 -%} @@ -71,6 +103,26 @@ {% if OBXXCN1 %} {% include 'DataType/XCNPractitioner' XCN: OBXXCN1 -%} {% endif %} + {% if RXD %} + {% include 'DataType/XCNPractitioner' XCN: RXD -%} + {% endif %} + {% if RXO %} + {% include 'DataType/XCNPractitioner' XCN: RXO -%} + {% endif %} + {% if RXE %} + {% include 'DataType/XCNPractitioner' XCN: RXE -%} + {% endif %} + {% if ORC_12 %} + {% include 'DataType/XCNPractitioner' XCN: ORC_12 -%} + {% endif %} + {% if ORC_med_prac %} + {% include 'DataType/XCNPractitioner' XCN: ORC_med_prac.12 -%} + {% endif %} + {% if ORC_10 %} + {% include 'DataType/XCNPractitioner' XCN: ORC_10.Repeats[0] -%} + {% elsif ORC_19 %} + {% include 'DataType/XCNPractitioner' XCN: ORC_19.Repeats[0] -%} + {% endif %} {% if OBR_SEG %} {% include 'DataType/XCNPractitioner' XCN: OBRXCN_10 -%} {% endif %} @@ -91,13 +143,20 @@ {% if CNN_OBR_35_1 %} {% include 'DataType/CNN' CNN_val: CNN_OBR_35_1 -%} {% endif %} + {% if PDA_5 %} + {% include 'DataType/XCNPractitioner' XCN: PDA_5 -%} + {% endif %} + {% if PDA_8 %} + {% include 'DataType/XCNPractitioner' XCN: PDA_8 -%} + {% endif %} {% include 'DataType/XCNPractitioner' XCN: DG1.16.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: PR1 -%} {% include 'DataType/XCNPractitioner' XCN: ORC.10 -%} {% include 'DataType/XCNPractitioner' XCN: ORC.11 -%} + {% include 'DataType/XCNPractitioner' XCN: ORC12.12.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: ORC.12.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: NTE.5 -%} - {% include 'DataType/XCNPractitioner' XCN: RXA.10 -%} + {% include 'DataType/XCNPractitioner' XCN: RXA -%} {% include 'DataType/XCNPractitioner' XCN: PV1 -%} {% include 'DataType/XCNPractitioner' XCN: EVN -%} {% include 'DataType/XCNPractitioner' XCN: PD1 -%} @@ -109,8 +168,14 @@ {% include 'DataType/XCNPractitioner' XCN: SCH_16.16.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: SCH_20.20.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: TXA -%} + {% include 'DataType/XCNPractitioner' XCN: ACC -%} + {% include 'DataType/XCNPractitioner' XCN: FT1 -%} - + "name": [ + { + {% include 'DataType/XPN' XPN: CON -%} + }, + ], {% if IAM_NAME -%} "name": [ { @@ -118,6 +183,15 @@ }, ], {% endif -%} + {% if PRD.2 -%} + "name": [ + {% for PRD_2 in PRD.2.Repeats %} + { + {% include 'DataType/XPN' XPN: PRD_2 -%} + }, + {% endfor %} + ], + {% endif -%} }, "request":{ "method":"PUT", diff --git a/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid b/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid index c5957de8b..497297714 100644 --- a/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid +++ b/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid @@ -8,6 +8,7 @@ Organization_ID_PRT_8: A resource Id, used to fill "organization.reference" prop Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" property. The resource is of "Organization" type and generated based on "ORC.21" HL7 V2 identifier. {% endcomment -%} +{% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: PRT.8.Repeats[0] -%} { "fullUrl":"urn:uuid:{{ ID }}", "resource":{ @@ -19,9 +20,9 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro "code": [ { "coding": [ - { - "code": "TECH", - }, + { + "code": "TECH", + }, ], } ], @@ -31,15 +32,34 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro "code": [ { "coding": [ - { - "code": "TRANS", - }, + { + "code": "TRANS", + }, ], } ], {% include 'DataType/NDLPractitionerRole' NDL: OBR_35 -%} {% endif %} - + {% if PRD %} + "code": [ + { + "coding": [ + {% for prd_1 in PRD.1.Repeats %} + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/ProviderRole_PractitionerRole', CWE: prd_1 -%}, + {% endfor %} + ], + } + ], + {% endif %} + {% if PRT.4 %} + "code": [ + { + "coding": [ + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/PractitionerRole_Participation', CWE: PRT.4 -%}, + ], + } + ], + {% endif %} "identifier": [ { @@ -49,49 +69,96 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% include 'DataType/PLN' PLN: PRT.24 -%} }, ], - "code": [ - { - "coding" : [ + "code": [{ + "coding" : [ + {% if RXO or ORC_12 %} + { + "code" : "ordering-provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display" : "Ordering Provider", + }, + {% endif %} + {% if RQD_ORC_12 %} + { + "code" : "ordering-provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display" : "Ordering Provider", + }, + {% endif %} + {% if ORC_10 %} + { + "code" : "entered-by", + "display" : "Entered by", + "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + }, + {% endif %} + {% if ORC_19 %} + { + "code" : "action-by", + "display" : "Action by", + "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + }, + {% endif %} {% if OBXXCN1 %} { "code" : "ResponsibleObserver", - "system" : "http://example.com/v2-to-fhir-converter/PractitionerRole", + "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", }, {% endif %} {% if OBXXCN2 %} { - "code" : "LabMedicalDirector", - "system" : "http://example.com/v2-to-fhir-converter/PractitionerRole", - } + "code" : "LabMedicalDirector", + "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + }, {% endif %} {% if SCH_12.12 %} { - "code" : "placer-contact", - "display" : "Placer Contact", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", - } + "code" : "placer-contact", + "display" : "Placer Contact", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + }, {% endif %} {% if SCH_16.16 %} { - "code" : "filler-contact", - "display" : "Filler Contact", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", - } + "code" : "filler-contact", + "display" : "Filler Contact", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + }, {% endif %} {% if SCH_20.20 %} { - "code" : "enterer", - "display" : "Enterer", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", - } + "code" : "enterer", + "display" : "Enterer", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + }, + {% endif %} + {% if ORC_pracrole.12 -%} + { + "code" : "ordering-provider", + "display" : "Ordering Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + }, + {% endif %} + {% if OBR_serv.16 %} + { + "code" : "ordering-provider", + "display" : "Ordering Provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + }, + {% endif %} + {% if RXE -%} + { + "code" : "ordering-provider", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display" : "Ordering Provider", + }, {% endif %} ], }, - { - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Role', CWE: ROL.3 -%} - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Participation', CWE: ROL.4 -%} - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Participation', CWE: PRT.4 -%} - } + { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Role', CWE: ROL.3 -%} + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Participation', CWE: ROL.4 -%} + } ], {% include 'DataType/XCNPractitionerRole' XCN: ROL.4 -%} @@ -99,6 +166,8 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro { "start":"{{ ROL.5.Value | format_as_date_time }}", "start":"{{ PRT.11.Value | format_as_date_time }}", + "start":"{{ PRD.8.Value | format_as_date_time }}", + "end":"{{ PRD.9.Repeats[0].Value | format_as_date_time }}", "end":"{{ ROL.6.Value | format_as_date_time }}", "end":"{{ PRT.12.Value | format_as_date_time }}", }, @@ -119,104 +188,225 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% endif -%} }, {% if SCH_12.15 -%} + + {% if SCH_12.15.5 or SCH_12.15.9 -%} + {% if SCH_12.15.5 and SCH_12.15.9 -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_12.15.Value | remove: SCH_12.15.5.Value | remove: SCH_12.15.9.Value %} + {% endif -%} + {% if SCH_12.15.5 and SCH_12.15.9 == null or SCH_12.15.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_12.15.Value | remove: SCH_12.15.5.Value %} + {% endif -%} + {% if SCH_12.15.9 and SCH_12.15.5 == null or SCH_12.15.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_12.15.Value | remove: SCH_12.15.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_12.15.Value %} + {% endif -%} + {% if SCH_12.15.1 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.1 -%} + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.1, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_12 }}", }, {% elseif SCH_12.15.2 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.2 -%} + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.2, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_12 }}", }, {% elseif SCH_12.15.3 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.3 -%} - "reference":"Location/{{ Location_ID_SCH_12 }}", - }, + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.3, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_12 }}", + }, {% elseif SCH_12.15.4 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.4 -%} - "reference":"Location/{{ Location_ID_SCH_12 }}", + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.4, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_12 }}", }, {% elseif SCH_12.15.7 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.7 -%} + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.7, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_12 }}", }, {% elseif SCH_12.15.8 -%} { - {% evaluate Location_ID_SCH_12 using 'ID/Location' PL: SCH_12.15.8 -%} - "reference":"Location/{{ Location_ID_SCH_12 }}", - }, - {% endif %} + {% evaluate Location_ID_SCH_12 using 'ID/Location' PL_Field_Value: SCH_12.15.8, PL: SCH_12.15, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_12 }}", + }, + {% endif -%} + {% endif %} + {% if SCH_16.19 -%} - {% if SCH_16.19.1 -%} - { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.1 -%} - "reference":"Location/{{ Location_ID_SCH_16 }}", - }, - {% elseif SCH_16.19.2 -%} + + {% if SCH_16.19.5 or SCH_16.19.9 -%} + {% if SCH_16.19.5 and SCH_16.19.9 -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_16.19.Value | remove: SCH_16.19.5.Value | remove: SCH_16.19.9.Value %} + {% endif -%} + {% if SCH_16.19.5 and SCH_16.19.9 == null or SCH_16.19.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_16.19.Value | remove: SCH_16.19.5.Value %} + {% endif -%} + {% if SCH_16.19.9 and SCH_16.19.5 == null or SCH_16.19.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_16.19.Value | remove: SCH_16.19.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_16.19.Value %} + {% endif -%} + + {% if SCH_16.19.1 -%} { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.2 -%} + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.1, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_16 }}", }, - {% elseif SCH_16.19.3 -%} + {% elseif SCH_16.19.2 -%} { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.3 -%} + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.2, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_16 }}", }, - {% elseif SCH_16.19.4 -%} + {% elseif SCH_16.19.3 -%} { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.4 -%} - "reference":"Location/{{ Location_ID_SCH_16 }}", - }, - {% elseif SCH_16.19.7 -%} + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.3, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_16 }}", + }, + {% elseif SCH_16.19.4 -%} { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.7 -%} - "reference":"Location/{{ Location_ID_SCH_16 }}", + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.4, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_16 }}", }, - {% elseif SCH_16.19.8 -%} + {% elseif SCH_16.19.7 -%} { - {% evaluate Location_ID_SCH_16 using 'ID/Location' PL: SCH_16.19.8 -%} + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.7, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_16 }}", }, - {% endif %} + {% elseif SCH_16.19.8 -%} + { + {% evaluate Location_ID_SCH_16 using 'ID/Location' PL_Field_Value: SCH_16.19.8, PL: SCH_16.19, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_16 }}", + }, + {% endif -%} + {% endif -%} + {% if SCH_20.22 -%} - {% if SCH_20.22.1 -%} + + {% if SCH_20.22.5 or SCH_20.22.9 -%} + {% if SCH_20.22.5 and SCH_20.22.9 -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_20.22.Value | remove: SCH_20.22.5.Value | remove: SCH_20.22.9.Value %} + {% endif -%} + {% if SCH_20.22.5 and SCH_20.22.9 == null or SCH_20.22.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_20.22.Value | remove: SCH_20.22.5.Value %} + {% endif -%} + {% if SCH_20.22.9 and SCH_20.22.5 == null or SCH_20.22.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= SCH_20.22.Value | remove: SCH_20.22.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = SCH_20.22.Value %} + {% endif -%} + + {% if SCH_20.22.1 -%} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.1 -%} + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.1, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_20 }}", }, - {% elseif SCH_20.22.2 -%} + {% elseif SCH_20.22.2 -%} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.2 -%} + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.2, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_20 }}", }, - {% elseif SCH_20.22.3 -%} + {% elseif SCH_20.22.3 -%} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.3 -%} - "reference":"Location/{{ Location_ID_SCH_20 }}", + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.3, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_20 }}", + }, + {% elseif SCH_20.22.4 -%} + { + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.4, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_20 }}", }, - {% elseif SCH_20.22.4 -%} + {% elseif SCH_20.22.7 -%} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.4 -%} + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.7, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} "reference":"Location/{{ Location_ID_SCH_20 }}", }, - {% elseif SCH_20.22.7 -%} + {% elseif SCH_20.22.8 -%} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.7 -%} - "reference":"Location/{{ Location_ID_SCH_20 }}", + {% evaluate Location_ID_SCH_20 using 'ID/Location' PL_Field_Value: SCH_20.22.8, PL: SCH_20.22, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + "reference":"Location/{{ Location_ID_SCH_20 }}", + }, + {% endif -%} + {% endif -%} + + {% if PRT.9 %} + { + {% if PRT.9.5 or PRT.9.9 -%} + {% if PRT.9.5 and PRT.9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PRT.9.Value | remove: PRT.9.5.Value | remove: PRT.9.9.Value %} + {% endif -%} + {% if PRT.9.5 and PRT.9.9 == null or PRT.9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRT.9.Value | remove: PRT.9.5.Value %} + {% endif -%} + {% if PRT.9.9 and PRT.9.5 == null or PRT.9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRT.9.Value | remove: PRT.9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PRT.9.Value %} + {% endif -%} + + {% if PRT.9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.1, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.2, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.3, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.4, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.7, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.8, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 -%} + "reference":"Location/{{ Location_ID_PRT_9 }}", + {% endif -%} }, - {% elseif SCH_20.22.8 -%} + {% endif %} + + {% if PRD.4 %} { - {% evaluate Location_ID_SCH_20 using 'ID/Location' PL: SCH_20.22.8 -%} - "reference":"Location/{{ Location_ID_SCH_20 }}", + {% if PRD.4.5 or PRD.4.9 -%} + {% if PRD.4.5 and PRD.4.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PRD.4.Value | remove: PRD.4.5.Value | remove: PRD.4.9.Value %} + {% endif -%} + {% if PRD.4.5 and PRD.4.9 == null or PRD.4.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRD.4.Value | remove: PRD.4.5.Value %} + {% endif -%} + {% if PRD.4.9 and PRD.4.5 == null or PRD.4.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRD.4.Value | remove: PRD.4.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PRD.4.Value %} + {% endif -%} + + {% if PRD.4.1 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.1, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRD.4.2 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.2, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRD.4.3 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.3, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRD.4.4 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.4, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRD.4.7 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.7, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRD.4.8 -%} + {% evaluate Location_ID_PRD_4 using 'ID/Location' PL_Field_Value: PRD.4.8, PL: PRD.4, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRD_4 -%} + "reference":"Location/{{ Location_ID_PRD_4 }}", + {% endif -%} }, - {% endif %} - {% endif -%} + {% endif %} ], {% include 'DataType/XCNPractitionerRole' XCN: ROL.4 -%} @@ -232,13 +422,13 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% include 'DataType/XCNPractitionerRole' XCN: PRT.5.Repeats[0] -%} "specialty": [ - { - {% include 'DataType/CWECodeableConcept' CWE: PRT.6 -%} - }, + {% if PRT.5 %} + { + {% include 'DataType/CWECodeableConcept' CWE: PRT.6 -%} + }, + {% endif %} ], - {%- comment -%} - {% include 'DataType/XCNPractitionerRole' XCN: ORC.12.Repeats[0] -%} - {%- endcomment -%} + "practitioner" : { {% if requestor_practitioner1 %} "reference":"Practitioner/{{requestor_practitioner1}}", diff --git a/data/Templates/Hl7v2/Resource/_Procedure.liquid b/data/Templates/Hl7v2/Resource/_Procedure.liquid index 646e7bd78..51e25aa98 100644 --- a/data/Templates/Hl7v2/Resource/_Procedure.liquid +++ b/data/Templates/Hl7v2/Resource/_Procedure.liquid @@ -9,6 +9,8 @@ Procedure_Recorder_ID: A resource Id, used to fill "recorder.reference" property Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property. {% endcomment -%} {% evaluate Practitioner_ID_PR1_8 using 'ID/Practitioner' XCN: PR1.8 -%} +{% evaluate Practitioner_ID_PDA_5 using 'ID/Practitioner' XCN: PDA_proc_1.5 -%} +{% evaluate Practitioner_ID_PDA_8 using 'ID/Practitioner' XCN: PDA_proc_2.8 -%} {% evaluate Practitioner_ID_PR1_11 using 'ID/Practitioner' XCN: PR1.11 -%} {% evaluate Practitioner_ID_PR1_12 using 'ID/Practitioner' XCN: PR1.12 -%} {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: PR1.25, baseId: Procedure_Subject_ID -%} @@ -26,18 +28,76 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property {% if PR1.3.9 == null -%} "text":"{{ PR1.4.Value }}", {% endif -%} + {% if PDA_proc_1 %} + "coding": + [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy", + } + ], + {% endif %} + {% if PDA_proc_2 %} + "coding": + [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy", + } + ], + {% endif %} + {% if FT1.25 -%} + {% include 'DataType/CNECodeableConcept' CNE: FT1.25 -%} + {% endif -%} }, {% if PR1 -%} - "status": "completed", + "status": "unknown", + {% endif %} + {% if PR1.20.Value == "D" -%} + "status": "entered-in-error", {% endif %} + {% if FT1 -%} + "status": "unknown", + {% endif -%} + {% if PR1_25 -%} "status": "unknown", {% endif -%} - "performedDateTime":"{{ PR1.5.Value | format_as_date_time }}", + {% if PDA_proc_1 %} + {% if PDA_proc_1.3.Value == 'Y' %} + "status": "completed", + {% elsif PDA_proc_1.3.Value == 'N' %} + "status": "not-done", + {% else %} + "status": "unknown", + {% endif %} + {% endif %} + {% if PDA_proc_2 %} + {% if PDA_proc_2.6.Value == 'Y' %} + "status": "completed", + {% elsif PDA_proc_2.6.Value == 'N' %} + "status": "not-done", + {% else %} + "status": "unknown", + {% endif %} + {% endif %} + "performedDateTime":"{{ PR1.5.Value | format_as_date_time }}", + {% if PDA_proc_1.4 %} + "performedDateTime": "{{ PDA_proc_1.4.Value | format_as_date_time }}", + {% endif %} + {% if PDA_proc_2.7 %} + "performedPeriod": + { + {% include 'DataType/DRPeriod' DR: PDA_proc_2.7 %} + }, + {% endif %} + {% comment %} {% assign procedureDateTime = PR1.5.Value | format_as_date_time %} {% assign performedMinute = procedureDateTime | date: "%m" %} @@ -61,6 +121,30 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property {% include 'DataType/CWECodeableConcept' CWE: PR1.6 -%} }, "performer" : [ + {% if PDA_proc_1 %} + { + "function" : { + "text": "Death Certified By", + }, + "actor" : { + {% if Practitioner_ID_PDA_5 %} + "reference":"Practitioner/{{ Practitioner_ID_PDA_5 }}", + {% endif %} + }, + }, + {% endif %} + {% if PDA_proc_2 %} + { + "function" : { + "text": "Autopsy Performed By", + }, + "actor" : { + {% if Practitioner_ID_PDA_8 %} + "reference":"Practitioner/{{ Practitioner_ID_PDA_8 }}", + {% endif %} + }, + }, + {% endif %} {% if PR1.8-%} { "actor" : { @@ -69,9 +153,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "function" : { "coding":[ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist", + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy", }, ], "text": "Anesthesiologist", @@ -86,9 +170,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "function" : { "coding":[ { - "code":"304292004", - "system":"http://snomed.info/sct", - "display": "Surgeon", + "code":"surgeon-dummy", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy", }, ], "text": "Surgeon", @@ -101,6 +185,13 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "reference":"Practitioner/{{ Practitioner_ID_PR1_12 }}", }, "function":{ + "coding":[ + { + "code":"procedure-practitioner-dummy", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy", + }, + ], "text": "Procedure Practitioner", } }, @@ -124,19 +215,33 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "location": { {% if PR1.23 -%} + {% if PR1.23.5 or PR1.23.9 -%} + {% if PR1.23.5 and PR1.23.9 -%} + {% assign PL_Value_Except_PL5_PL9 = PR1.23.Value | remove: PR1.23.5.Value | remove: PR1.23.9.Value %} + {% endif -%} + {% if PR1.23.5 and PR1.23.9 == null or PR1.23.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PR1.23.Value | remove: PR1.23.5.Value %} + {% endif -%} + {% if PR1.23.9 and PR1.23.5 == null or PR1.23.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PR1.23.Value | remove: PR1.23.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = PR1.23.Value %} + {% endif -%} + {% if PR1.23.1 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.1 -%} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.1, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PR1.23.2 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.2 -%} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.2, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PR1.23.3 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.3 -%} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.3, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PR1.23.4 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.4 -%} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.4, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PR1.23.7 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.7 -%} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.7, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif PR1.23.8 -%} - {% evaluate Location_ID_PR1_23 using 'ID/Location' PL: PR1.23.8 -%} - {% endif %} + {% evaluate Location_ID_PR1_23 using 'ID/Location' PL_Field_Value: PR1.23.8, PL: PR1.23, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} {% if PR1.23 and Location_ID_PR1_23 -%} "reference":"Location/{{ Location_ID_PR1_23 }}", @@ -156,6 +261,7 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property { "reference":"{{ Procedure_Subject_ID }}", }, + "encounter": { "reference":"{{ Procedure_Encounter_ID }}", diff --git a/data/Templates/Hl7v2/Resource/_RelatedPerson.liquid b/data/Templates/Hl7v2/Resource/_RelatedPerson.liquid index 5e794bd5d..240b19397 100644 --- a/data/Templates/Hl7v2/Resource/_RelatedPerson.liquid +++ b/data/Templates/Hl7v2/Resource/_RelatedPerson.liquid @@ -63,6 +63,7 @@ RelatedPerson_Patient_ID: A resource Id, used to fill "patient.reference" proper {% endif -%} {% if GT1.12 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier", {% endif -%} }, ], @@ -140,6 +141,9 @@ RelatedPerson_Patient_ID: A resource Id, used to fill "patient.reference" proper ] }, {% endif -%} + { + {% include 'DataType/CWECodeableConcept' CWE: CON_25 -%} + }, ], {% include 'DataType/XCNRelatedPerson' XCN: ROL.4 -%} "period": @@ -257,18 +261,14 @@ RelatedPerson_Patient_ID: A resource Id, used to fill "patient.reference" proper {% include 'DataType/XPN' XPN: gt1 -%} }, {% endfor -%} - {% if GT1.11.1.Value == "SPO" -%} - {% for gt1_4 in GT1.4.Repeats -%} - { - {% include 'DataType/XPN' XPN: gt1_4 -%} - }, - {% endfor -%} - {% endif -%} {% for in1_16 in IN1.16.Repeats -%} { {% include 'DataType/XPN' XPN: in1_16 -%} }, {% endfor -%} + { + {% include 'DataType/XPN' XPN: CON -%} + }, ], {% if NK1.15 -%} "gender":{% include 'DataType/CWECode' mapping: 'CodeSystem/Gender', CWE: NK1.15 -%}, diff --git a/data/Templates/Hl7v2/Resource/_ResearchStudy.liquid b/data/Templates/Hl7v2/Resource/_ResearchStudy.liquid new file mode 100644 index 000000000..b80eb94d3 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_ResearchStudy.liquid @@ -0,0 +1,25 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "ResearchStudy", + "id":"{{ ID }}", + + {% if CTI -%} + "status":"active", + {% endif -%} + + "identifier" : [ + { + {% include 'DataType/EIIdentifier' EI: CTI.1 -%} + }, + ], + + "phase" : { + {% include 'DataType/CWECodeableConcept' CWE: CTI.2 -%} + }, + }, + "request":{ + "method":"PUT", + "url":"ResearchStudy/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid b/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid index 8eb75b2b2..9afe86e18 100644 --- a/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid +++ b/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid @@ -28,14 +28,12 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% if parentSegment or OBR_child %} {% if parentSegment.5 -%} "status":"{{ parentSegment.5.Value | get_property: 'CodeSystem/OrderStatus', 'code' }}", + {% elsif parentSegment.1 -%} + "status":"{{ parentSegment.1.Value | get_property: 'CodeSystem/OrderControlCode', 'code' }}", {% else -%} "status": "active", - {% endif %} + {% endif %} {% endif %} - - {% if RF1.1 -%} - "status": {% include 'DataType/CWECode' mapping: 'CodeSystem/RequestStatus', CWE: RF1.1 -%}, - {% endif -%} {% if AIS -%} {% if AIS.10 -%} @@ -48,15 +46,36 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% endif -%} "intent": "filler-order", {% endif -%} - - {% if RF1.25.Value == "D" -%} - "status": "entered-in-error", - {% endif -%} - + {% if msg_trigger == 'REF-I12' %} + {% if RF1.25.Value == "D" %} + "status": "entered-in-error", + {% else %} + {% if RF1.1 %} + "status": {% include 'DataType/CWECode' mapping: 'CodeSystem/RequestStatus', CWE: RF1.1 -%}, + {% else %} + "status": "active", + {% endif %} + {% endif %} + {% elsif msg_trigger == 'REF-I14' %} + {% if RF1.1.1.Value == "R" %} + "status": "revoked", + {% else %} + "status": "entered-in-error", + {% endif %} + {% elsif msg_trigger == 'ADT' %} + {% if RF1.25.Value == "D" -%} + "status": "entered-in-error", + {% else -%} + {% if RF1.1 %} + "status": {% include 'DataType/CWECode' mapping: 'CodeSystem/RequestStatus', CWE: RF1.1 -%}, + {% else %} + "status": "unknown", + {% endif %} + {% endif %} + {% endif %} {% if RF1 -%} "intent": "order", {% endif %} - {% if OBR_child or parentSegment %} {% if OBR_child.11.Value == "G" -%} "intent":"reflex-order", @@ -66,189 +85,198 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p "intent":"order", {% endif -%} {% endif -%} - "orderDetail" : [ - {% for o in OBR_child.46.Repeats -%} - { - {% include 'DataType/CWECodeableConcept', CWE: o -%} - }, - {% endfor -%} - {% for o in OBR_child.47.Repeats -%} - { - {% include 'DataType/CWECodeableConcept', CWE: o -%} - }, - {% endfor -%} + {% for o in OBR_child.46.Repeats -%} + { + {% include 'DataType/CWECodeableConcept', CWE: o -%} + }, + {% endfor -%} + {% for o in OBR_child.47.Repeats -%} + { + {% include 'DataType/CWECodeableConcept', CWE: o -%} + }, + {% endfor -%} {% for a in AIS.11.Repeats -%} { - {% include 'DataType/CWECodeableConcept', CWE: a -%} + {% include 'DataType/CWECodeableConcept', CWE: a -%} }, {% endfor -%} {% for a in AIS.12.Repeats -%} { - {% include 'DataType/CWECodeableConcept', CWE: a -%} + {% include 'DataType/CWECodeableConcept', CWE: a -%} }, {% endfor -%} ], - "identifier": [ - { - {% if OBR_child.2 == null %} - {% if parentSegment.2 -%} - {% include 'DataType/EIIdentifier' EI: parentSegment.2 -%} + { + {% if OBR_child.2 == null %} + {% if parentSegment.2 -%} + {% include 'DataType/EIIdentifier' EI: parentSegment.2 -%} + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + {% else %} + {% include 'DataType/EIIdentifier' EI: OBR_child.2 -%} "type": { "coding": [ { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% if OBR_child.2 -%} + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% endif -%} }, ], }, - {% endif %} - {% else %} - {% include 'DataType/EIIdentifier' EI: OBR_child.2 -%} - "type": - { - "coding": - [ + {% endif %} + }, + { + {% if OBR_child.3 == null %} + {% if parentSegment.3 -%} + {% include 'DataType/EIIdentifier' EI: parentSegment.3 -%} + "type": { - {% if OBR_child.2 -%} - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], }, - ], - }, - {% endif %} - }, - { - {% if OBR_child.3 == null %} - {% if parentSegment.3 -%} - {% include 'DataType/EIIdentifier' EI: parentSegment.3 -%} + {% endif %} + {% else %} + {% include 'DataType/EIIdentifier' EI: OBR_child.3 -%} "type": { "coding": [ { - "code":"FILL", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% if OBR_child.3 -%} + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% endif -%} }, ], }, - {% endif %} - {% else %} - {% include 'DataType/EIIdentifier' EI: OBR_child.3 -%} + {% endif %} + }, + { + {% include 'DataType/EIIdentifier' EI: parentSegment.4 -%} "type": { "coding": [ { - {% if OBR_child.3 -%} - "code":"FILL", + {% if parentSegment.4 -%} + "code":"PGN", + {% endif -%} + {% if parentSegment.4 -%} "system":"http://terminology.hl7.org/CodeSystem/v2-0203", {% endif -%} }, ], }, - {% endif %} - }, - { - {% include 'DataType/EIIdentifier' EI: parentSegment.4 -%} - "type": + }, { - "coding": - [ + {% if OBR_child.53 -%} + "value" : "{{OBR_child.53.1.Value}}", + "type": { - {% if parentSegment.4 -%} - "code":"PGN", - {% endif -%} - {% if parentSegment.4 -%} - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], }, - ], + {% endif -%} + }, + { + {% include 'DataType/EIIdentifier' EI: RF1.6 -%} }, - }, - { - {% if OBR_child.53 -%} - "value" : "{{OBR_child.53.1.Value}}", - "type": - { - "coding": - [ - { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - }, - ], - }, - {% endif -%} - }, - { - {% include 'DataType/EIIdentifier' EI: RF1.6 -%} - }, {% for r in RF1.11.Repeats -%} - {% if r.Value != RF1.6.Value -%} { {% include 'DataType/EIIdentifier' EI: r -%} }, - {% endif -%} {% endfor -%} ], + "category" : [ + {% if RF1 -%} + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + {% endif -%} + { + {% include 'DataType/CWECodeableConcept', CWE: RF1.3 -%} + }, + ], {% if parentSegment.1.Value == 'NW' -%} "authoredOn":"{{ parentSegment.9.Value | format_as_date_time }}", - {% endif -%} - "authoredOn":"{{ RF1.7.Value | format_as_date_time }}", - {% unless RF1.7.Value -%} - "authoredOn":"{{ RF1.9.Value | format_as_date_time }}", - {% endunless -%} + {% endif -%} + "authoredOn":"{{ RF1.9.Value | format_as_date_time }}", {% if OBR_child.29 %} - "basedOn": - [ - { - {% if OBR_child.50 and OBR_child.29 %} - "reference":"ServiceRequest/{{ ServiceRequest_ID_OBR_29 }}", - {% endif %} - {% unless OBR_child.50 %} - "type": "ServiceRequest", - "identifier": - { - {% if OBR_child.29.1 -%} - {% if OBR_child.29.1.1 %} - "value" : "{{OBR_child.29.1.1}}", - {% endif %} - "type": - { - "coding": - [ + "basedOn": + [ + { + {% if OBR_child.50 and OBR_child.29 %} + "reference":"ServiceRequest/{{ ServiceRequest_ID_OBR_29 }}", + {% endif %} + {% unless OBR_child.50 %} + "type": "ServiceRequest", + "identifier": + { + {% if OBR_child.29.1 -%} + {% if OBR_child.29.1.1 %} + "value" : "{{OBR_child.29.1.1}}", + {% endif %} + "type": { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], }, - ], + {% endif %} + {% unless OBR_child.29.1 %} + {% if OBR_child.29.2.1 %} + "value" : "{{OBR_child.29.2.1}}", + {% endif %} + "type": + { + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endunless -%} }, - {% endif %} - {% unless OBR_child.29.1 %} - {% if OBR_child.29.2.1 %} - "value" : "{{OBR_child.29.2.1}}", - {% endif %} - "type": - { - "coding": - [ - { - "code":"FILL", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - }, - ], - }, - {% endunless -%} - }, - {% endunless %} - } - ], + {% endunless %} + } + ], {% endif %} {% unless OBR_child.29 %} {% if parentSegment.8 %} @@ -257,11 +285,11 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p { {% if parentSegment.31 and parentSegment.8 %} "reference":"ServiceRequest/{{ ServiceRequest_ID_ORC_8 }}", - {% endif %} + {% endif %} {% unless parentSegment.31 %} "type": "ServiceRequest", "identifier": - { + { {% if parentSegment.8.1 and parentSegment.8.2 or parentSegment.8.1 %} "value" : "{{parentSegment.8.1.1}}", "type": @@ -293,21 +321,29 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p ], {% endif %} {% endunless %} + {% if REF_Prac and PRD.1.Repeats[0].1.Value == "RP" %} + "requester": + { + "reference":"{{ REF_Prac }}", + }, + {% endif %} "performer": [ {% if RF1.19 and Organization_ID_RF1_19 -%} - { - "reference": "Organization/{{Organization_ID_RF1_19}}", - }, + { + "reference": "Organization/{{Organization_ID_RF1_19}}", + }, {% endif -%} + {% if REF_Prac and PRD.1.Repeats[0].1.Value == "RT" %} + { + "reference":"{{ REF_Prac }}", + }, + {% endif %} {% if RF1.20 and Practitioner_ID_RF1_20-%} - { - "reference": "Practitioner/{{Practitioner_ID_RF1_20}}", - }, + { + "reference": "Practitioner/{{Practitioner_ID_RF1_20}}", + }, {% endif -%} ], - "performerType" : { - {% include 'DataType/CWECodeableConcept', CWE: RF1.3 -%} - }, {% if type_msg == 'ORM' %} {% if OBR_child.27 == null -%} @@ -329,14 +365,19 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p "locationCode": [ {% if OBR_child.24 %} - { - {% include 'DataType/IDCodeableConcept' mapping: 'CodeSystem/DiagnosticServiceSection', ID: OBR_child.24 -%} - }, + { + {% include 'DataType/IDCodeableConcept' mapping: 'CodeSystem/DiagnosticServiceSection', ID: OBR_child.24 -%} + }, {% endif %} {% if parentSegment.29 %} - { - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/OrderType', CWE: parentSegment.29 -%} - }, + { + {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/OrderType', CWE: parentSegment.29 -%} + }, + {% endif %} + {% if RF1.5 -%} + { + {% include 'DataType/CWECodeableConcept' CWE: RF1.5 -%} + }, {% endif %} ], "note": [ @@ -345,57 +386,57 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p "text": "{{NTE.3.Value}}", "time": "{{ NTE.6.Value | format_as_date_time }}", {% if Practitioner_ID_NTE_5 %} - "authorReference": - { - "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", - } - {% endif %} + "authorReference": + { + "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", + } + {% endif %} }, {% endif %} - { - "text": "{{ RF1.24.Value }}", - }, + { + "text": "{{ RF1.24.Value }}", + }, {% if OBR_child.18 %} - { - "text": "{{ OBR_child.18.Value }}", - "authorString": "Placer Field 1", - }, + { + "text": "{{ OBR_child.18.Value }}", + "authorString": "Placer Field 1", + }, {% endif %} {% if OBR_child.19 %} - { - "text": "{{ OBR_child.19.Value }}", - "authorString": "Placer Field 2", - }, + { + "text": "{{ OBR_child.19.Value }}", + "authorString": "Placer Field 2", + }, {% endif %} {% if OBR_child.20 %} - { + { "text": "{{ OBR_child.20.Value }}", "authorString": "Filler Field 1", }, - {% endif %} - {% if OBR_child.21 %} + {% endif %} + {% if OBR_child.21 %} { "text": "{{ OBR_child.21.Value }}", "authorString": "Filler Field 2", }, - {% endif %} - {% if OBR_child.27.8 %} + {% endif %} + {% if OBR_child.27.8 %} { "text": "{{ OBR_child.27.8.Value }}", }, - {% endif %} - { - {% if type_msg == 'ORM' -%} - {% unless OBR_child.27 %} - {% if parentSegment.7.Repeats[0] -%} - "text": "{{ parentSegment.7.Repeats[0].8.Value }}", - {% endif %} - {% endunless %} - {% endif -%} - }, - { - "text": "{{ TQ1.11.Value }}", - }, + {% endif %} + { + {% if type_msg == 'ORM' -%} + {% unless OBR_child.27 %} + {% if parentSegment.7.Repeats[0] -%} + "text": "{{ parentSegment.7.Repeats[0].8.Value }}", + {% endif %} + {% endunless %} + {% endif -%} + }, + { + "text": "{{ TQ1.11.Value }}", + }, ], "asNeededCodeableConcept": { "text": "{{ TQ1.10.Value }}", @@ -421,12 +462,14 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p }, "occurrencePeriod" : { "start" : "{{ AIS.4.Value | format_as_date_time }}", + "start" : "{{ RF1.7.Value | format_as_date_time }}", + "end" : "{{ RF1.8.Value | format_as_date_time }}", }, "occurrenceTiming": { "code": { - {% include 'DataType/CWECodeableConceptInternalValues' CWE: TQ1.3.Repeats[0].1 -%} + {% include 'DataType/CWECodeableConceptInternalValues' CWE: TQ1.3.Repeats[0].1, TQ1: TQ1.3.Repeats[0].1 -%} }, {% if TQ1.3 == null -%} {% include 'DataType/RITiming' RI_val: OBR_timeday.27.2 -%} @@ -444,51 +487,35 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p { {% include 'DataType/RPTTiming' RPT: TQ1.3.Repeats[0] -%} "boundsDuration": - { - {% if TQ1.7 == null and TQ1.8 == null -%} - {% include 'DataType/CQ' CQ_duration: TQ1.6 -%} - {% endif -%} - }, + { + {% if TQ1.7 == null and TQ1.8 == null -%} + {% include 'DataType/CQ' CQ_duration: TQ1.6 -%} + {% endif -%} + }, {% if type_msg == 'ORM' -%} {% unless OBR_child.27 %} - {% unless OBR_child.6 %} - {% if parentSegment.7.Repeats[0] -%} - {% if parentSegment.7.Repeats[0].3 %} - {% assign durationUnitsValue = parentSegment.7.Repeats[0].3.Value | slice: 0 -%} - {% if durationUnitsValue == "S" %} - "durationUnit": "s", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "M" %} - "durationUnit": "min", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "H" %} - "durationUnit": "h", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "D" %} - "durationUnit": "d", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,3 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "W" %} - "durationUnit": "wk", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "L" %} - "durationUnit": "mo", - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "X" %} - {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} - "frequency": "{{durationValue}}", + {% unless OBR_child.6 %} + {% if parentSegment.7.Repeats[0] -%} + {% if parentSegment.7.Repeats[0].3 %} + {% assign durationUnitsValue = parentSegment.7.Repeats[0].3.Value | slice: 0 -%} + {% assign durationUnits = durationUnitsValue | get_property: 'CodeSystem/TQ_DurationUnits', 'code' %} + {% if durationUnits == 'd' %} + {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,3 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnits == 's' or durationUnits == 'mo' or durationUnits == 'wk' or durationUnits == 'min' or durationUnits == 'h' %} + {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} + "duration": {{durationValue}}, + "durationUnit": "{{durationUnits}}", + {% elsif durationUnitsValue == 'X' %} + {% assign durationValue = parentSegment.7.Repeats[0].3.Value | slice: 1,2 -%} + "frequency": "{{durationValue}}", + {% endif %} + {% endif %} + {% if parentSegment.7.Repeats[0].12 %} + "count": {{ parentSegment.7.Repeats[0].12.Value }}, {% endif %} {% endif %} - {% if parentSegment.7.Repeats[0].12 %} - "count": {{ parentSegment.7.Repeats[0].12.Value }}, - {% endif %} - - {% endif %} {% endunless %} {% endunless %} {% endif -%} @@ -507,11 +534,11 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% endif -%} {% if type_msg == 'ORM' -%} {% unless OBR_child.27 %} - {% unless OBR_child.6 %} - {% if parentSegment.7.Repeats[0] -%} - "{{ parentSegment.7.Repeats[0].2.2 }}", - {% endif %} - {% endunless %} + {% unless OBR_child.6 %} + {% if parentSegment.7.Repeats[0] -%} + "{{ parentSegment.7.Repeats[0].2.2 }}", + {% endif %} + {% endunless %} {% endunless %} {% endif -%} ], @@ -523,33 +550,18 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% endif -%} {% if OBR_child.27.3 %} {% assign durationUnitsValue = OBR_child.27.3.Value | slice: 0 -%} - {% if durationUnitsValue == "S" %} - "durationUnit": "s", - {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "M" %} - "durationUnit": "min", - {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "H" %} - "durationUnit": "h", - {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "D" %} - "durationUnit": "d", + {% assign durationUnits = durationUnitsValue | get_property: 'CodeSystem/TQ_DurationUnits', 'code' %} + {% if durationUnits == 'd' %} {% assign durationValue = OBR_child.27.3.Value | slice: 1,3 -%} "duration": {{durationValue}}, - {% elsif durationUnitsValue == "W" %} - "durationUnit": "wk", - {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} - "duration": {{durationValue}}, - {% elsif durationUnitsValue == "L" %} - "durationUnit": "mo", + "durationUnit": "{{durationUnits}}", + {% elsif durationUnits == 's' or durationUnits == 'mo' or durationUnits == 'wk' or durationUnits == 'min' or durationUnits == 'h' %} {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} "duration": {{durationValue}}, - {% elsif durationUnitsValue == "X" %} + "durationUnit": "{{durationUnits}}", + {% elsif durationUnitsValue == 'X' %} {% assign durationValue = OBR_child.27.3.Value | slice: 1,2 -%} - "frequency": "{{durationValue}}", + "frequency": "{{durationValue}}", {% endif %} {% endif %} @@ -632,21 +644,21 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p "identifier": [ {% if OBR_parent.29.1 %} - { - {% if OBR_parent.29.1.1 %} - "value" : "{{OBR_parent.29.1.1}}", - {% endif %} - "type": - { - "coding": - [ - { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - }, - ], - }, - }, + { + {% if OBR_parent.29.1.1 %} + "value" : "{{OBR_parent.29.1.1}}", + {% endif %} + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + }, {% endif -%} {% if OBR_parent.29.2 %} { @@ -674,49 +686,48 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% endif %} {% unless OBR_parent.29 -%} {% if parentSegment.8 %} - "identifier": - [ - { - {% if parentSegment.8.1 %} - "value" : "{{parentSegment.8.1.1}}", - "type": - { - "coding": - [ + "identifier": + [ + { + {% if parentSegment.8.1 %} + "value" : "{{parentSegment.8.1.1}}", + "type": { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], }, - ], - {% endif -%} + {% endif -%} }, - }, - { - {% if parentSegment.8.2 %} - "value" : "{{parentSegment.8.2.1}}", - "type": - { - "coding": - [ - { - "code":"FILL", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - }, - ], - }, - {% endif %} + { + {% if parentSegment.8.2 %} + "value" : "{{parentSegment.8.2.1}}", + "type": + { + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} }, ], {% endif %} {% endunless -%} - - {% if parentSegment.5 -%} "status":"{{ parentSegment.5.Value | get_property: 'CodeSystem/OrderStatus', 'code' }}", + {% elsif parentSegment.1 -%} + "status":"{{ parentSegment.1.Value | get_property: 'CodeSystem/OrderControlCode', 'code' }}", {% else -%} "status": "active", {% endif %} - {% if OBR_parent.11.Value == "G" -%} "intent":"reflex-order", {% elsif OBR_parent and type_msg == 'ORU' -%} @@ -780,6 +791,8 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p {% if ORC.5 -%} "status":"{{ ORC.5.Value | get_property: 'CodeSystem/OrderStatus', 'code' }}", + {% elsif ORC.1 -%} + "status":"{{ ORC.1.Value | get_property: 'CodeSystem/OrderControlCode', 'code' }}", {% else -%} "status": "active", {% endif %} diff --git a/data/Templates/Hl7v2/Resource/_Specimen.liquid b/data/Templates/Hl7v2/Resource/_Specimen.liquid index 27f3f0b45..71d0cd710 100644 --- a/data/Templates/Hl7v2/Resource/_Specimen.liquid +++ b/data/Templates/Hl7v2/Resource/_Specimen.liquid @@ -13,60 +13,9 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. "resource":{ "resourceType": "Specimen", "id":"{{ ID }}", - "collection": - { - "quantity": - { - {% include 'DataType/CQ' CQ: OBR.9 -%} - {% include 'DataType/CQ' CQ: SPM.12 -%} - }, - "collector": - { - {% if OBR.10 and PractitionerRole_ID_OBR_10 -%} - "reference":"PractitionerRole/{{ PractitionerRole_ID_OBR_10 }}", - {% endif -%} - }, - "bodySite": { - {% include 'DataType/CWECodeableConceptInternalValues' CWE: OBR.15.4 -%} - {% include 'DataType/CWECodeableConcept' CWE: SPM.8 -%} - }, - - "method": - { - "coding": - [ - {% if SPM.7 -%} - {% assign hardcodedUrl = "http://terminology.hl7.org/CodeSystem/v2-0488" %} - {% include 'DataType/CWECodeableConcept_hardcodedURL' CWE: SPM.7, systemHardcodedUrl: hardcodedUrl -%} - {% endif -%} - ], - "text": "{{ SPM.7.9.Value }}", - "text": "{{ OBR.15.3.Value }}", - }, - {% if OBR.7 and OBR.8 -%} - "collectedPeriod": - { - "start": "{{ OBR.7.Value | format_as_date_time }}", - "end": "{{ OBR.8.Value | format_as_date_time }}", - }, - {% elsif OBR.7 and OBR.8 == null -%} - "collectedDateTime": "{{ OBR.7.Value | format_as_date_time }}", - {% endif -%} - {% if SPM.17.2 -%} - "collectedPeriod": - { - {% include 'DataType/DR' DR: SPM.17 -%} - }, - {% endif -%} - {% if SPM.17.2 == null -%} - "collectedDateTime":"{{ SPM.17.Value | format_as_date_time }}", - {% endif -%} - }, - "receivedTime":"{{ OBR.14.Value | format_as_date_time }}", - "receivedTime":"{{ SPM.18.Value | format_as_date_time }}", - - "identifier":[ + "identifier": + [ { {% include 'DataType/EIIdentifier' EI: OBR.2 -%} "type": @@ -83,34 +32,34 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. }, }, { - {% include 'DataType/EIIdentifier' EI: OBR.3 -%} - "type": - { - "coding": - [ - { - {% if OBR.3 -%} - "code":"FILL", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} - }, - ], - }, - }, - { - {% if OBR.53 -%} - "value" : "{{OBR.53.1.Value}}", - "type": + {% include 'DataType/EIIdentifier' EI: OBR.3 -%} + "type": { "coding": [ { - "code":"PLAC", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% if OBR.3 -%} + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + {% endif -%} }, ], }, - {% endif -%} + }, + { + {% if OBR.53 -%} + "value" : "{{OBR.53.1.Value}}", + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif -%} }, { {% include 'DataType/EIPIdentifier' EIP_Specimen_child1: SPM.2.1 -%} @@ -132,8 +81,7 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. { {% include 'DataType/CX' CX: spm_31 -%} }, - {% endfor %} - + {% endfor %} { {% include 'DataType/EIIdentifier' EI: SPM.32 -%} "type": @@ -163,29 +111,124 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. {% include 'DataType/CWECodeableConceptInternalValues' CWE: OBR.15.1 -%} }, + "collection": + { + "quantity": + { + {% include 'DataType/CQ' CQ: OBR.9 -%} + {% include 'DataType/CQ' CQ: SPM.12 -%} + }, + "collector": + { + {% if OBR.10 and PractitionerRole_ID_OBR_10 -%} + "reference":"PractitionerRole/{{ PractitionerRole_ID_OBR_10 }}", + {% endif -%} + }, + "bodySite": { + {% include 'DataType/CWECodeableConceptInternalValues' CWE: OBR.15.4 -%} + {% include 'DataType/CWECodeableConcept' CWE: SPM.8 -%} + }, + "method": + { + "coding": + [ + {% if SPM.7 -%} + {% assign hardcodedUrl = "http://terminology.hl7.org/CodeSystem/v2-0488" %} + {% include 'DataType/CWECodeableConcept_hardcodedURL' CWE: SPM.7, systemHardcodedUrl: hardcodedUrl -%} + {% endif -%} + ], + "text": "{{ SPM.7.9.Value }}", + "text": "{{ OBR.15.3.Value }}", + }, + {% if OBR.7 and OBR.8 -%} + "collectedPeriod": + { + "start": "{{ OBR.7.Value | format_as_date_time }}", + "end": "{{ OBR.8.Value | format_as_date_time }}", + }, + {% elsif OBR.7 and OBR.8 == null -%} + "collectedDateTime": "{{ OBR.7.Value | format_as_date_time }}", + {% endif -%} + {% if SPM.17.2 -%} + "collectedPeriod": + { + {% include 'DataType/DR' DR: SPM.17 -%} + }, + {% endif -%} + {% if SPM.17.2 == null -%} + "collectedDateTime":"{{ SPM.17.Value | format_as_date_time }}", + {% endif -%} + }, + "receivedTime":"{{ OBR.14.Value | format_as_date_time }}", + "receivedTime":"{{ SPM.18.Value | format_as_date_time }}", + "container": [ { + "identifier": + [ + { + {% if SAC.3 %} + {% include 'DataType/EIIdentifier' EI: SAC.3 -%} + {% endif %} + }, + ], + "capacity": + { + {% if SAC.21 %} + {% include 'DataType/NMQuantity' NM_val: SAC.21 -%} + {% endif %} + {% if SAC.24 %} + {% include 'DataType/NMQuantity' NM_unit: SAC.24 -%} + {% endif %} + }, "additiveCodeableConcept": { - "coding": - [ - {% if SPM.6 -%} - {% assign hardcodedUrl = "http://terminology.hl7.org/CodeSystem/v2-0371" %} - {% include 'DataType/CWECodeableConcept_hardcodedURL' CWE: SPM.6, systemHardcodedUrl: hardcodedUrl -%} - {% endif -%} - ], - "text": "{{SPM.6.9.Value}}", - {% include 'DataType/CWECodeableConceptInternalValues' CWE: OBR.15.2 -%} + {% if OBR.15.2 %} + {% include 'DataType/CWECodeableConceptInternalValues' CWE: OBR.15.2 -%} + {% endif %} + {% assign hardcodedUrl = "http://terminology.hl7.org/CodeSystem/v2-0371" %} + {% if SPM.6 %} + "coding": + [ + {% include 'DataType/CWECodeableConcept_hardcodedURL' CWE: SPM.6, systemHardcodedUrl: hardcodedUrl -%} + ], + "text": "{{SPM.6.9.Value}}", + {% elsif SAC.27 %} + "coding": + [ + {% include 'DataType/CWECodeableConcept_hardcodedURL' CWE: SAC.27, systemHardcodedUrl: hardcodedUrl -%} + ], + {% endif %} }, "type": { {% include 'DataType/CWECodeableConcept' CWE: SPM.27 -%} }, - }, + "specimenQuantity": + { + {% if SAC.22 %} + {% include 'DataType/NMQuantity' NM_val: SAC.22 -%} + {% elsif SAC.23 %} + {% include 'DataType/NMQuantity' NM_val: SAC.23 -%} + {% endif %} + {% if SAC.24 %} + {% include 'DataType/NMQuantity' NM_unit: SAC.24 -%} + {% endif %} + }, + } ], "status":"{{ SPM.20.Value | get_property: 'CodeSystem/SpecimenAvailability', 'code' }}", - + {% if SAC.30 %} + "processing": [{ + "procedure": { + "coding": + [ + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/ContainerTreatmentProcessing', CWE: SAC.30 -%} + ], + }, + }], + {% endif %} {% if SPM.24 -%} "condition": [ @@ -202,7 +245,13 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. {% endif %} "accessionIdentifier": { - {% include 'DataType/CX' CX: SPM.30.Repeats[0] -%} + {% if SPM.30 %} + {% include 'DataType/CX' CX: SPM.30.Repeats[0] -%} + {% elsif SAC.2 %} + {% include 'DataType/EIIdentifier' EI: SAC.2 -%} + {% elsif SAC.1 %} + {% include 'DataType/EIIdentifier' EI: SAC.1 -%} + {% endif %} }, "subject": { diff --git a/data/Templates/Hl7v2/Resource/_Substance.liquid b/data/Templates/Hl7v2/Resource/_Substance.liquid new file mode 100644 index 000000000..15eb2a659 --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_Substance.liquid @@ -0,0 +1,67 @@ +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "Substance", + "id":"{{ ID }}", + + "code" : { + {% include 'DataType/CWECodeableConcept' CWE: INV.1 -%} + }, + + {% if INV.2.Repeats[0] %} + "status" : {% include 'DataType/CWECode' mapping: 'CodeSystem/SubstanceStatus', CWE: INV.2.Repeats[0] -%}, + {% endif %} + + "category" : [ + { + {% include 'DataType/CWECodeableConcept' CWE: INV.3 -%} + }, + ], + + "instance" : [ + { + "identifier" : + { + "value": "{{INV.4.1.Value}}", + {% if INV.4.3 %} + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{INV.4.3.Value}}", + {% endif %} + }, + + "quantity" : { + {% if INV.7 %} + "value" : {{ INV.7.Value }}, + {% elsif INV.8 %} + "value": {{ INV.8.Value }}, + {% elsif INV.9 %} + "value": {{ INV.9.Value }}, + {% endif %} + + {% if INV.11 %} + {% include 'DataType/CWEQuantityUnits' CWE: INV.11 -%} + {% endif %} + + }, + "expiry" : "{{ INV.12.Value | format_as_date_time }}", + } + ], + + "identifier" : [ + { + {% if INV.16 %} + "value" : "{{INV.16.Value}}", + {% endif %} + }, + + {% include 'DataType/CWEIdentifier' CWE_InternalValue: INV.17 -%} + + + {% include 'DataType/CWEIdentifier' CWE_InternalValue: INV.18 -%} + + ], + }, + "request":{ + "method":"PUT", + "url":"Substance/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_SupplyRequest.liquid b/data/Templates/Hl7v2/Resource/_SupplyRequest.liquid new file mode 100644 index 000000000..ee78e448c --- /dev/null +++ b/data/Templates/Hl7v2/Resource/_SupplyRequest.liquid @@ -0,0 +1,149 @@ +{% comment -%} +The following reference IDs are accepted by this template. + +Practitioner_ID_ORC_12: A resource Id, used to fill "requester.reference" property. The resource is of "Practitioner" type and generated based on "ORC.12" HL7 V2 identifier. +Task_Focus_ID: A resource Id, used to fill "focus.reference" property. +Task_For_ID: A resource Id, used to fill "for.reference" property. +Task_Encounter_ID: A resource Id, used to fill "encounter.reference" property. +Task_Owner_ID: A resource Id, used to fill "owner.reference" property. +Task_Location_ID: A resource Id, used to fill "location.reference" property. +Task_ReasonReference_ID: A resource Id, used to fill "reasonReference.reference" property. +{% endcomment -%} + +{ + "fullUrl":"urn:uuid:{{ ID }}", + "resource":{ + "resourceType": "SupplyRequest", + "id":"{{ ID }}", + + "identifier": + [ + { + {% if ORC.2 %} + {% include 'DataType/EIIdentifier' EI: ORC.2 -%} + "type": + { + "coding": + [ + { + "code":"PLAC", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + }, + { + {% if ORC.3 %} + {% include 'DataType/EIIdentifier' EI: ORC.3 -%} + "type": + { + "coding": + [ + { + "code":"FILL", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + }, + { + {% if ORC.4 %} + {% include 'DataType/EIIdentifier' EI: ORC.4 -%} + "type": + { + "coding": + [ + { + "code":"PGN", + "system":"http://terminology.hl7.org/CodeSystem/v2-0203", + }, + ], + }, + {% endif %} + }, + ], + + {% if ORC.5 %} + "status":"{{ ORC.5.Value | get_property: 'CodeSystem/SupplyRequestStatus', 'code' }}", + {% endif %} + + + "occurrenceTiming": + { + {% if ORC.7 %} + {% include 'DataType/TQ_SupplyRequest' TQ: ORC.7.Repeats[0] -%} + {% endif %} + }, + + {% if ORC.1.Value == 'NW' %} + "authoredOn" : "{{ ORC.9.Value | format_as_date_time }}", + {% endif %} + + "requester": { + {% if ORC.12.Repeats[0] -%} + {% evaluate practitionerRole_ID_ORC_12 using 'ID/practitionerRole' XCN: ORC.12.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRole_ID_ORC_12 }}", + {% elsif ORC.21.Repeats[0] %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: ORC.21.Repeats[0] -%} + "reference":"PractitionerRole/{{ practitionerRoleId_ORC_21 }}", + {% endif -%} + }, + + {% unless ORC.7 -%} + "occurrenceDateTime" : "{{ RQD.10.Value | format_as_date_time }}", + {% unless RQD.10 -%} + "occurrenceDateTime" : "{{ ORC.15.Value | format_as_date_time }}", + {% endunless -%} + {% endunless -%} + + "itemCodeableConcept" : { + {% if RQD.4 -%} + {% include 'DataType/CWECodeableConcept' CWE: RQD.4 -%} + {% elsif RQD.2 %} + {% include 'DataType/CWECodeableConcept' CWE: RQD.2 -%} + {% elsif RQD.3 %} + {% include 'DataType/CWECodeableConcept' CWE: RQD.3 -%} + {% endif %} + }, + + "quantity" : { + {% if RQD %} + {% if RQD.5 -%} + "value" : {{RQD.5.Value}}, + {% else %} + "value" : 1, + {% endif %} + {% endif %} + + {% include 'DataType/CWEQuantity' CWE: RQD.6 -%} + }, + + "supplier" : [ + { + {% if organizationID_RQ1_4 %} + "reference":"Organization/{{organizationID_RQ1_4}}", + {% endif %} + }, + ], + + "deliverFrom" : { + {% if organizationID_RQ1_2 %} + "reference":"Organization/{{organizationID_RQ1_2}}", + {% endif %} + }, + + "deliverTo" :{ + {% if RQD.9 -%} + {% evaluate organizationID_RQD_9 using 'ID/Organization' CWE: RQD.9 -%} + "reference":"Organization/{{ organizationID_RQD_9 }}", + {% endif %} + }, + + }, + "request":{ + "method":"PUT", + "url":"SupplyRequest/{{ ID }}", + }, +}, diff --git a/data/Templates/Hl7v2/Resource/_Task.liquid b/data/Templates/Hl7v2/Resource/_Task.liquid index 133a4ed90..84cd8e14d 100644 --- a/data/Templates/Hl7v2/Resource/_Task.liquid +++ b/data/Templates/Hl7v2/Resource/_Task.liquid @@ -41,6 +41,25 @@ Task_ReasonReference_ID: A resource Id, used to fill "reasonReference.reference" {% include 'DataType/TQTask' TQ: ORC.7 -%} "authoredOn":"{{ ORC.9.Value | format_as_date_time }}", "lastModified":"{{ ORC.9.Value | format_as_date_time }}", + + {% if RDE -%} + "intent":"order", + "status":"requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": + { + "coding": + [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + }, + ], + "text": "Pharmacy/treatment refill authorization request", + }, + {% endif -%} + "requester": { {% if ORC.12 and Practitioner_ID_ORC_12 -%} diff --git a/data/Templates/Hl7v2/SIU_S12.liquid b/data/Templates/Hl7v2/SIU_S12.liquid index 4388e4e93..aaf896225 100644 --- a/data/Templates/Hl7v2/SIU_S12.liquid +++ b/data/Templates/Hl7v2/SIU_S12.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S12', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S12', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S12', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S13.liquid b/data/Templates/Hl7v2/SIU_S13.liquid index e1fde434a..8e3be64ff 100644 --- a/data/Templates/Hl7v2/SIU_S13.liquid +++ b/data/Templates/Hl7v2/SIU_S13.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S13', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S13', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S13', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S14.liquid b/data/Templates/Hl7v2/SIU_S14.liquid index 8a97cc666..521815ec2 100644 --- a/data/Templates/Hl7v2/SIU_S14.liquid +++ b/data/Templates/Hl7v2/SIU_S14.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S14', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S14', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S14', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S15.liquid b/data/Templates/Hl7v2/SIU_S15.liquid index 68c5c2556..66db8c5ad 100644 --- a/data/Templates/Hl7v2/SIU_S15.liquid +++ b/data/Templates/Hl7v2/SIU_S15.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S15', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S15', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S15', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S16.liquid b/data/Templates/Hl7v2/SIU_S16.liquid index 3e7aa99fd..ca99189dc 100644 --- a/data/Templates/Hl7v2/SIU_S16.liquid +++ b/data/Templates/Hl7v2/SIU_S16.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S16', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S16', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S16', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S17.liquid b/data/Templates/Hl7v2/SIU_S17.liquid index 2c64c02e8..99427590f 100644 --- a/data/Templates/Hl7v2/SIU_S17.liquid +++ b/data/Templates/Hl7v2/SIU_S17.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S17', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S17', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S17', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/SIU_S26.liquid b/data/Templates/Hl7v2/SIU_S26.liquid index 2b32446c9..b5161f03e 100644 --- a/data/Templates/Hl7v2/SIU_S26.liquid +++ b/data/Templates/Hl7v2/SIU_S26.liquid @@ -26,14 +26,6 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} {% include 'Resource/Provenance' Root_Template: 'SIU_S26', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} - - {%- comment -%} - {% assign transformation_val = 'provenance_transformation' %} - {% evaluate provenanceOrganizationId using 'ID/Organization', prov_id: firstSegments.MSH -%} - {% evaluate provenanceTransformationId using 'ID/Provenance_transformation' prov_id: transformation_val -%} - {% include 'Resource/Organization' org_name: 'Microsoft Corporation', ID: provenanceOrganizationId -%} - {% include 'Resource/Provenance_transformation' Root_Template: 'ADT_A01', Provenance_Organization_ID: provenanceOrganizationId, REF_MSH: messageHeaderId, provenanceOrganizationId, ID: provenanceTransformationId -%} - {%- endcomment -%} {% if firstSegments.MSH.4 -%} {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} @@ -135,7 +127,7 @@ {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} {% if pidSegment.18 -%} - {% evaluate accountId using 'ID/Account' CX: pidSegment.3 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} @@ -275,6 +267,10 @@ {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + {% if pv1Segment.37 -%} {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} @@ -298,12 +294,12 @@ {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} {% endif -%} {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} - {% include 'Resource/Encounter' Root_Template: 'SIU_S26', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId -%} + {% include 'Resource/Encounter' Root_Template: 'SIU_S26', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} @@ -436,19 +432,34 @@ {% include 'Resource/PLLocation' PL: ailSegment.3, NTE: nteSegment -%} {% endfor -%} + {% if ailSegment.3.5 or ailSegment.3.9 -%} + {% if ailSegment.3.5 and ailSegment.3.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value | remove: ailSegment.3.5.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% if ailSegment.3.5 and ailSegment.3.9 == null or ailSegment.3.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.5.Value %} + {% endif -%} + {% if ailSegment.3.9 and ailSegment.3.5 == null or ailSegment.3.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ailSegment.3.Value | remove: ailSegment.3.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ailSegment.3.Value %} + {% endif -%} + {% if ailSegment.3.1 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.1 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.1, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.2 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.2 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.2, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.3 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.3 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.3, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.4 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.4 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.4, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.7 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.7 -%} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.7, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% elseif ailSegment.3.8 -%} - {% evaluate Location_ID_AIL_3 using 'ID/Location' PL: ailSegment.3.8 -%} - {% endif %} + {% evaluate Location_ID_AIL_3 using 'ID/Location' PL_Field_Value: ailSegment.3.8, PL: ailSegment.3, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% assign fullLocation_ID_AIL_3 = Location_ID_AIL_3 | prepend: 'Location/' -%} {% if aisSegmentLists.AIS -%} {% include 'Reference/ServiceRequest/LocationReference' ID: serviceRequestId, REF: fullLocation_ID_AIL_3 -%} diff --git a/data/Templates/Hl7v2/VXU_V04.liquid b/data/Templates/Hl7v2/VXU_V04.liquid index 4778e6706..2e1872c89 100644 --- a/data/Templates/Hl7v2/VXU_V04.liquid +++ b/data/Templates/Hl7v2/VXU_V04.liquid @@ -1,7 +1,13 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|ORC|MSH' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|ORC|MSH' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} {% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} - +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { "resourceType": "Bundle", "type": "batch", @@ -12,107 +18,153 @@ { "value":"{{ firstSegments.MSH.10.Value }}", }, + "id":"{{ bundleID }}", "entry": [ - {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} - {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderID -%} - {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} {% assign fullPatientId = patientId | prepend: 'Patient/' -%} - {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} - {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PV1: firstSegments.PV1 -%} - - {% evaluate practitionerId10_ORC_10 using 'ID/Practitioner' XCN: firstSegments.ORC.10 -%} - {% evaluate practitionerId10_ORC_11 using 'ID/Practitioner' XCN: firstSegments.ORC.11 -%} - {% evaluate practitionerId10_ORC_12 using 'ID/Practitioner' XCN: firstSegments.ORC.12 -%} - - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_10 -%} - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_11 -%} - {% include 'Resource/Practitioner' ORC: firstSegments.ORC, ID: practitionerId10_ORC_12 -%} - - {% if firstSegments.PV1.5 -%} - {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} - {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} - {% endif -%} - {% endif -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'VXU_V04', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} - {% if firstSegments.PV1.19 -%} - {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} - {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} {% endif -%} - {% endif -%} - {% if firstSegments.PV1.7 -%} - {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} - {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} {% endif -%} - {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} - {% endif -%} - - {% if firstSegments.PV1.8 -%} - {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} - {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} {% endif -%} - {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} - {% endif -%} - {% if firstSegments.PV1.9 -%} - {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} - {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} {% endif -%} - {% if firstSegments.PV1.17 -%} - {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} - {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} {% endif -%} - {% if firstSegments.PV1.50 -%} - {% for p in firstSegments.PV1.50.Repeats -%} - {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} - {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} - {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} {% endif -%} - {% endfor -%} - {% endif -%} - - {% if firstSegments.PV1.52 -%} - {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} - {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} - {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} - {% if firstSegments.PV2.13 -%} - {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} - {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} - {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} - {% endif -%} - {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} - {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} {% endif -%} - {% if firstSegments.EVN.5 -%} - {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} - {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} - {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} - {% endif -%} - {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} - {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} {% endif -%} {% if firstSegments.PD1.4 -%} @@ -124,114 +176,609 @@ {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} {% endif -%} - {% evaluate locationId_ORC_21 using 'ID/Location' XON: firstSegments.ORC.21 -%} - {% include 'Resource/Location' ORC: firstSegments.ORC, ID: locationId_ORC_21 -%} + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} - {% if firstSegments.PV1.3 -%} - {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} - {% endif -%} + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} - {% if firstSegments.PV1.6 -%} - {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} - {% endif -%} + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} - {% if firstSegments.PV1.37 -%} - {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} - {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} - {% endif -%} - - {% if firstSegments.PV1.42 -%} - {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} - {% endif -%} - - {% if firstSegments.PV1.43 -%} - {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} - {% endif -%} + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} - {% if firstSegments.PV2.1 -%} - {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} - {% endif -%} + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11 -%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} - {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} - {% include 'Resource/Provenance' Root_Template: 'VXU_V04', MSH: firstSegments.MSH, ORC: firstSegments.ORC, ID: provenanceId -%} + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.3 -%} - {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} - {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} - {% if firstSegments.PV1.54 -%} - {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} - {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} - {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} - {% endif -%} - {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'VXU_V04' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'VXU_V04', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} - {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} - {% include 'Resource/Encounter' Root_Template: 'VXU_V04', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId -%} - {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} - {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} - {% for nk1Segment in nk1SegmentLists.NK1 -%} - {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} - {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} + {% endif %} + {% endfor %} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} - {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} - {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} - {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId -%} + {% if accountId %} + {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} + {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} + {% endif %} + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: obx_diagnosticReportID2 -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID2 %} + {% endif %} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} {% endfor -%} {% for orcSegment in orcSegmentLists.ORC -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} {% assign rxaSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXA' -%} + {% assign rxrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXR' -%} + {% assign obxSegmentListsrxa = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12 -%} - {% include 'Resource/Practitioner' ORC: orcSegment, ID: practitionerId_ORC_12 -%} + {% if orcSegment.12 -%} + {% if orcSegment.12.9.1 != "" and orcSegment.12.9.1 != null and orcSegment.12.9.2 != "" and orcSegment.12.9.2 != null and orcSegment.12.9.3 != "" and orcSegment.12.9.3 != null -%} + {% evaluate Organization_ID_ORC_12_9 using 'ID/Organization' HDORG: orcSegment.12.9 -%} + {% include 'Resource/Organization', ORC_12: orcSegment.12.9, ID: Organization_ID_ORC_12_9 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12 -%} + {% include 'Resource/Practitioner' ORC12: orcSegment, ID: practitionerId_ORC_12 -%} + {% endif -%} {% evaluate immunizationId using 'ID/Immunization' ORC: orcSegment, baseId: patientId -%} {% assign fullImmunizationId = immunizationId | prepend: 'Immunization/' -%} - {% include 'Resource/Immunization' ORC: orcSegment, Immunization_Patient_ID: fullPatientId, ID: immunizationId -%} + {% assign Immunization_encounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Resource/Immunization' ORC: orcSegment, Immunization_Patient_ID: fullPatientId, ID: immunizationId, Immunization_Encounter_ID: Immunization_encounterId -%} + + {% assign checkParent = orcSegment %} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, baseId: patientId -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "VXU" -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, ORC_tq1: orcSegment -%} + {% endunless -%} + + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId -%} + {% endfor -%} {% for rxaSegment in rxaSegmentLists.RXA -%} - {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: rxaSegment, 'OBX' -%} - {% evaluate organizationId_RXA_17 using 'ID/Organization' CWE: rxaSegment.17 -%} - {% include 'Resource/Organization' RXA: rxaSegment, ID: organizationId_RXA_17 -%} + {% if rxaSegment.17 -%} + {% evaluate organizationId_RXA_17 using 'ID/Organization' CWE: rxaSegment.17 -%} + {% include 'Resource/Organization' RXA: rxaSegment, ID: organizationId_RXA_17 -%} + {% endif -%} + {% comment -%} {% evaluate locationId_RXA_27 using 'ID/Location' CWE: rxaSegment.27 -%} {% include 'Resource/Location' RXA: rxaSegment, ID: locationId_RXA_27 -%} - - {% evaluate practitionerId_RXA_10 using 'ID/Practitioner' XCN: rxaSegment.10 -%} - {% include 'Resource/Practitioner' RXA: rxaSegment, ID: practitionerId_RXA_10 -%} - + {% endcomment -%} + {% include 'Resource/PLLocation' PL: rxaSegment.27, RXA: rxaSegment -%} + + {% if rxaSegment.10 -%} + {% for rxaSegment10 in rxaSegment.10.Repeats -%} + {% if rxaSegment10.9.1 != "" and rxaSegment10.9.1 != null and rxaSegment10.9.2 != "" and rxaSegment10.9.2 != null and rxaSegment10.9.3 != "" and rxaSegment10.9.3 != null -%} + {% evaluate Organization_ID_RXA_10_9 using 'ID/Organization' HDORG: rxaSegment10.9 -%} + {% include 'Resource/Organization', RXA_10: rxaSegment10.9, ID: Organization_ID_RXA_10_9 -%} + {% endif -%} + {% evaluate practitionerId_RXA_10 using 'ID/Practitioner' XCN: rxaSegment10 -%} + {% include 'Resource/Practitioner' RXA: rxaSegment10, ID: practitionerId_RXA_10 -%} + {% endfor -%} + {% endif -%} {% include 'Resource/Immunization' RXA: rxaSegment, ID: immunizationId -%} + {% endfor -%} - {% for obxSegment in obxSegmentLists.OBX -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% if obxSegment.24 or obxSegment.25 -%} - {% include 'Resource/Organization' OBX: obxSegment, ID: organizationId_OBX_23 -%} - {% endif -%} - - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obxSegment.16 -%} - {% if obxSegment.16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, ID: practitionerId_OBX_16 -%} - {% endif -%} - - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% if obxSegment.16 or obxSegment.23 or obxSegment.25 -%} - {% include 'Resource/PractitionerRole' OBX: obxSegment, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/Immunization' RXR: rxrSegment, ID: immunizationId -%} + {% endfor -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' HD: obxSegment.18 -%} - {% if obxSegment.18 -%} - {% include 'Resource/Device' OBX: obxSegment, ID: deviceId_OBX_18 -%} + {% for obxSegment in obxSegmentListsrxa.OBX -%} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% if obxSegment.3.1.Value == "64994-7" or obxSegment.3.1.Value == "64994-7" or obxSegment.3.1.Value == "64994-7" -%} + {% include 'Resource/Immunization' OBX_PE: obxSegment, ID: immunizationId -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Immunization' NTE: nteSegment2, ID: immunizationId -%} + {% endfor -%} + {% elsif obxSegment.3.1.Value == "30963-3" or obxSegment.3.1.Value == "30963-3" or obxSegment.3.1.Value == "30963-3" -%} + {% include 'Resource/Immunization' OBX_FS: obxSegment, ID: immunizationId -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Immunization' NTE: nteSegment2, ID: immunizationId -%} + {% endfor -%} + {% else -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: obx_diagnosticReportID2 -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID2 %} + {% endif %} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% include 'Reference/Observation/PartOf' ID: observationId, REF: fullImmunizationId -%} + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} {% endif -%} - - {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} - {% include 'Reference/Observation/PartOf' ID: observationId, REF: fullImmunizationId -%} - {% endfor -%} + {% endif -%} {% endfor -%} {% endfor -%} ] diff --git a/release.yml b/release.yml index 7e4dd8534..793e2f107 100644 --- a/release.yml +++ b/release.yml @@ -248,4 +248,4 @@ stages: $(System.DefaultWorkingDirectory)/FhirConverterBuild/bin/** $(System.DefaultWorkingDirectory)/FhirConverterBuild/data/Templates/Hl7v2DefaultTemplates.tar.gz $(System.DefaultWorkingDirectory)/FhirConverterBuild/data/Templates/CcdaDefaultTemplates.tar.gz - $(System.DefaultWorkingDirectory)/FhirConverterBuild/data/Templates/JsonDefaultTemplates.tar.gz \ No newline at end of file + $(System.DefaultWorkingDirectory)/FhirConverterBuild/data/Templates/JsonDefaultTemplates.tar.gz diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 7049a3511..4d16c7496 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -34,8 +34,16 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ADT_A04", @"ADT-A04-02.hl7", @"ADT-A04-02-expected.json" }, new[] { @"ADT_A05", @"ADT-A05-01.hl7", @"ADT-A05-01-expected.json" }, new[] { @"ADT_A05", @"ADT-A05-02.hl7", @"ADT-A05-02-expected.json" }, + new[] { @"ADT_A06", @"ADT-A06-01.hl7", @"ADT-A06-01-expected.json" }, + new[] { @"ADT_A06", @"ADT-A06-02.hl7", @"ADT-A06-02-expected.json" }, + new[] { @"ADT_A07", @"ADT-A07-01.hl7", @"ADT-A07-01-expected.json" }, + new[] { @"ADT_A07", @"ADT-A07-02.hl7", @"ADT-A07-02-expected.json" }, new[] { @"ADT_A08", @"ADT-A08-01.hl7", @"ADT-A08-01-expected.json" }, new[] { @"ADT_A08", @"ADT-A08-02.hl7", @"ADT-A08-02-expected.json" }, + new[] { @"ADT_A09", @"ADT-A09-01.hl7", @"ADT-A09-01-expected.json" }, + new[] { @"ADT_A09", @"ADT-A09-02.hl7", @"ADT-A09-02-expected.json" }, + new[] { @"ADT_A10", @"ADT-A10-01.hl7", @"ADT-A10-01-expected.json" }, + new[] { @"ADT_A10", @"ADT-A10-02.hl7", @"ADT-A10-02-expected.json" }, new[] { @"ADT_A11", @"ADT-A11-01.hl7", @"ADT-A11-01-expected.json" }, new[] { @"ADT_A11", @"ADT-A11-02.hl7", @"ADT-A11-02-expected.json" }, new[] { @"ADT_A13", @"ADT-A13-01.hl7", @"ADT-A13-01-expected.json" }, @@ -58,6 +66,10 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ADT_A29", @"ADT-A29-02.hl7", @"ADT-A29-02-expected.json" }, new[] { @"ADT_A31", @"ADT-A31-01.hl7", @"ADT-A31-01-expected.json" }, new[] { @"ADT_A31", @"ADT-A31-02.hl7", @"ADT-A31-02-expected.json" }, + new[] { @"ADT_A40", @"ADT-A40-01.hl7", @"ADT-A40-01-expected.json" }, + new[] { @"ADT_A40", @"ADT-A40-02.hl7", @"ADT-A40-02-expected.json" }, + new[] { @"ADT_A41", @"ADT-A41-01.hl7", @"ADT-A41-01-expected.json" }, + new[] { @"ADT_A41", @"ADT-A41-02.hl7", @"ADT-A41-02-expected.json" }, new[] { @"ADT_A47", @"ADT-A47-01.hl7", @"ADT-A47-01-expected.json" }, new[] { @"ADT_A47", @"ADT-A47-02.hl7", @"ADT-A47-02-expected.json" }, new[] { @"ADT_A60", @"ADT-A60-01.hl7", @"ADT-A60-01-expected.json" }, @@ -83,16 +95,45 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ORM_O01", @"ORM-O01-01.hl7", @"ORM-O01-01-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-02.hl7", @"ORM-O01-02-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-03.hl7", @"ORM-O01-03-expected.json" }, + new[] { @"ORM_O01", @"ORM-O01-04.hl7", @"ORM-O01-04-expected.json" }, + new[] { @"ORM_O01", @"ORM-O01-05.hl7", @"ORM-O01-05-expected.json" }, - new[] { "MDM_T01", "MDM-T01-01.hl7", @"MDM-T01-01-expected.json" }, - new[] { "MDM_T01", "MDM-T01-02.hl7", @"MDM-T01-02-expected.json" }, - new[] { "MDM_T02", "MDM-T02-01.hl7", @"MDM-T02-01-expected.json" }, - new[] { "MDM_T02", "MDM-T02-02.hl7", @"MDM-T02-02-expected.json" }, - new[] { "MDM_T02", "MDM-T02-03.hl7", @"MDM-T02-03-expected.json" }, + new[] { "MDM_T01", "MDM-T01-01.hl7", @"MDM-T01-01-expected.json"}, + new[] { "MDM_T01", "MDM-T01-02.hl7", @"MDM-T01-02-expected.json"}, + new[] { "MDM_T02", "MDM-T02-01.hl7", @"MDM-T02-01-expected.json"}, + new[] { "MDM_T02", "MDM-T02-02.hl7", @"MDM-T02-02-expected.json"}, + new[] { "MDM_T02", "MDM-T02-03.hl7", @"MDM-T02-03-expected.json"}, + new[] { @"MDM_T05", @"MDM-T05-01.hl7", @"MDM-T05-01-expected.json"}, + new[] { @"MDM_T05", @"MDM-T05-02.hl7", @"MDM-T05-02-expected.json"}, + new[] { @"MDM_T06", @"MDM-T06-01.hl7", @"MDM-T06-01-expected.json"}, + new[] { @"MDM_T06", @"MDM-T06-02.hl7", @"MDM-T06-02-expected.json"}, + new[] { @"MDM_T09", @"MDM-T09-01.hl7", @"MDM-T09-01-expected.json"}, + new[] { @"MDM_T09", @"MDM-T09-02.hl7", @"MDM-T09-02-expected.json"}, + new[] { @"MDM_T10", @"MDM-T10-01.hl7", @"MDM-T10-01-expected.json"}, + new[] { @"MDM_T10", @"MDM-T10-02.hl7", @"MDM-T10-02-expected.json"}, - new[] { "OML_O21", "OML-O21-01.hl7", @"OML-O21-01-expected.json" }, - new[] { "OML_O21", "OML-O21-02.hl7", @"OML-O21-02-expected.json" }, + new[] { @"RDE_O11", @"RDE-O11-01.hl7", @"RDE-O11-01-expected.json" }, + new[] { @"RDE_O11", @"RDE-O11-02.hl7", @"RDE-O11-02-expected.json" }, + new[] { @"RDE_O25", @"RDE-O25-01.hl7", @"RDE-O25-01-expected.json" }, + new[] { @"RDE_O25", @"RDE-O25-02.hl7", @"RDE-O25-02-expected.json" }, + new[] { @"RDS_O13", @"RDS-O13-01.hl7", @"RDS-O13-01-expected.json" }, + new[] { @"RDS_O13", @"RDS-O13-02.hl7", @"RDS-O13-02-expected.json" }, + + new[] { "OML_O21", "OML-O21-01.hl7", @"OML-O21-01-expected.json"}, + new[] { "OML_O21", "OML-O21-02.hl7", @"OML-O21-02-expected.json"}, + new[] { @"OML_O21", @"OML-O21-03.hl7", @"OML-O21-03-expected.json"}, + + new[] { "OUL_R22", "OUL-R22-01.hl7", @"OUL-R22-01-expected.json"}, + new[] { "OUL_R22", "OUL-R22-02.hl7", @"OUL-R22-02-expected.json"}, + new[] { "OUL_R23", "OUL-R23-01.hl7", @"OUL-R23-01-expected.json"}, + new[] { "OUL_R23", "OUL-R23-02.hl7", @"OUL-R23-02-expected.json"}, + new[] { "OUL_R24", "OUL-R24-01.hl7", @"OUL-R24-01-expected.json"}, + new[] { "OUL_R24", "OUL-R24-02.hl7", @"OUL-R24-02-expected.json"}, + + new[] { @"VXU_V04", @"VXU-V04-01.hl7", @"VXU-V04-01-expected.json"}, + new[] { @"VXU_V04", @"VXU-V04-02.hl7", @"VXU-V04-02-expected.json"}, + new[] { @"ADT_A01", @"ADT01-23.hl7", @"ADT01-23-expected.json" }, new[] { @"ADT_A01", @"ADT01-28.hl7", @"ADT01-28-expected.json" }, new[] { @"ADT_A04", @"ADT04-23.hl7", @"ADT04-23-expected.json" }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs index d6fb22708..5d3366478 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs @@ -57,8 +57,16 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ADT_A04", "ADT-A04-02.hl7" }, new object[] { "ADT_A05", "ADT-A05-01.hl7" }, new object[] { "ADT_A05", "ADT-A05-02.hl7" }, + new object[] { "ADT_A06", "ADT-A06-01.hl7" }, + new object[] { "ADT_A06", "ADT-A06-02.hl7" }, + new object[] { "ADT_A07", "ADT-A07-01.hl7" }, + new object[] { "ADT_A07", "ADT-A07-02.hl7" }, new object[] { "ADT_A08", "ADT-A08-01.hl7" }, new object[] { "ADT_A08", "ADT-A08-02.hl7" }, + new object[] { "ADT_A09", "ADT-A09-01.hl7" }, + new object[] { "ADT_A09", "ADT-A09-02.hl7" }, + new object[] { "ADT_A10", "ADT-A10-01.hl7" }, + new object[] { "ADT_A10", "ADT-A10-02.hl7" }, new object[] { "ADT_A11", "ADT-A11-01.hl7" }, new object[] { "ADT_A11", "ADT-A11-02.hl7" }, new object[] { "ADT_A13", "ADT-A13-01.hl7" }, @@ -81,6 +89,10 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ADT_A29", "ADT-A29-02.hl7" }, new object[] { "ADT_A31", "ADT-A31-01.hl7" }, new object[] { "ADT_A31", "ADT-A31-02.hl7" }, + new object[] { "ADT_A40", "ADT-A40-01.hl7" }, + new object[] { "ADT_A40", "ADT-A40-02.hl7" }, + new object[] { "ADT_A41", "ADT-A41-01.hl7" }, + new object[] { "ADT_A41", "ADT-A41-02.hl7" }, new object[] { "ADT_A47", "ADT-A47-01.hl7" }, new object[] { "ADT_A47", "ADT-A47-02.hl7" }, new object[] { "ADT_A60", "ADT-A60-01.hl7" }, @@ -103,15 +115,44 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ORM_O01", "ORM-O01-01.hl7" }, new object[] { "ORM_O01", "ORM-O01-02.hl7" }, new object[] { "ORM_O01", "ORM-O01-03.hl7" }, + new object[] { "ORM_O01", "ORM-O01-04.hl7" }, + new object[] { "ORM_O01", "ORM-O01-05.hl7" }, + new object[] { "MDM_T01", "MDM-T01-01.hl7" }, new object[] { "MDM_T01", "MDM-T01-02.hl7" }, new object[] { "MDM_T02", "MDM-T02-01.hl7" }, new object[] { "MDM_T02", "MDM-T02-02.hl7" }, new object[] { "MDM_T02", "MDM-T02-03.hl7" }, + new object[] { "MDM_T05", "MDM-T05-01.hl7" }, + new object[] { "MDM_T05", "MDM-T05-02.hl7" }, + new object[] { "MDM_T06", "MDM-T06-01.hl7" }, + new object[] { "MDM_T06", "MDM-T06-02.hl7" }, + new object[] { "MDM_T09", "MDM-T09-01.hl7" }, + new object[] { "MDM_T09", "MDM-T09-02.hl7" }, + new object[] { "MDM_T10", "MDM-T10-01.hl7" }, + new object[] { "MDM_T10", "MDM-T10-02.hl7" }, new object[] { "OML_O21", "OML-O21-01.hl7" }, new object[] { "OML_O21", "OML-O21-02.hl7" }, + new object[] { "OML_O21", "OML-O21-03.hl7" }, + + new object[] { "OUL_R22", "OUL-R22-01.hl7" }, + new object[] { "OUL_R22", "OUL-R22-02.hl7" }, + new object[] { "OUL_R23", "OUL-R23-01.hl7" }, + new object[] { "OUL_R23", "OUL-R23-02.hl7" }, + new object[] { "OUL_R24", "OUL-R24-01.hl7" }, + new object[] { "OUL_R24", "OUL-R24-02.hl7" }, + + new object[] { "RDE_O11", "RDE-O11-01.hl7" }, + new object[] { "RDE_O11", "RDE-O11-02.hl7" }, + new object[] { "RDE_O25", "RDE-O25-01.hl7" }, + new object[] { "RDE_O25", "RDE-O25-02.hl7" }, + new object[] { "RDS_O13", "RDS-O13-01.hl7" }, + new object[] { "RDS_O13", "RDS-O13-02.hl7" }, + + new object[] { "VXU_V04", "VXU-V04-01.hl7" }, + new object[] { "VXU_V04", "VXU-V04-02.hl7" }, new object[] { "ADT_A01", "ADT01-23.hl7" }, new object[] { "ADT_A01", "ADT01-28.hl7" }, @@ -192,7 +233,12 @@ public async Task CheckOnePatient(string templateName, string samplePath, DataTy { var result = await ConvertData(templateName, samplePath, dataType); var patients = result.SelectTokens("$.entry[?(@.resource.resourceType == 'Patient')].resource.id"); - Assert.Equal(1, patients?.Count()); + if (templateName == "ADT_A40" || templateName == "ADT_A41" ) { + Assert.Equal(0, patients?.Count()); + } + else { + Assert.Equal(1, patients?.Count()); + } } [Theory] @@ -454,7 +500,7 @@ internal static class ResourceFilter "resourceType", "type", "fullUrl", "id", "method", "url", "reference", "system", "code", "display", "gender", "use", "preferred", "status", "mode", "div", "valueString", "valueCode", "text", "endpoint", "value", "category", "type", "criticality", "priority", "severity", "description", - "intent", "docStatus", "contentType", "authorString", + "intent", "docStatus", "contentType", "authorString", "unit" }; private static readonly HashSet _explicitValues = new HashSet diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json index 81f5eb19c..af6be3b30 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-11-08T05:55:14.38Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-02-22T07:14:05.489Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,6 +338,19 @@ "end": "2001-01-23" } }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, { "value": "1516", "type": { @@ -378,9 +391,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -632,11 +645,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -841,9 +887,84 @@ } ], "contact": [ + { + "name": { + "family": "EHS GENERIC EMPLOYER" + }, + "address": { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + }, + "telecom": [ + { + "value": "082719000", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2009-10-10", + "end": "2010-10-10" + }, + "organization": { + "reference": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" + } + }, + { + "name": { + "family": "Rebecca", + "given": [ + "Jonas" + ] + }, + "relationship": [ + { + "coding": [ + { + "code": "N", + "display": "Next of Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + }, + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ] + }, { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +1072,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +1088,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -993,36 +1114,26 @@ "start": "2001-04-10", "end": "2001-04-15" } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } } ] }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1149,19 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:bd86cad3-e39e-b49e-52c2-7a5267973ddd", "resource": { "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } - }, - { - "name": { - "family": "Ben2" - } - } - ], - "telecom": [ - { - "value": "8484", - "system": "email" - }, - { - "value": "717171", - "system": "phone" - }, - { - "value": "021212", - "system": "other" - } - ], - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ] + "id": "bd86cad3-e39e-b49e-52c2-7a5267973ddd", + "name": "GEOrg" }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" } }, { @@ -1170,10 +1195,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1208,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1465,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1499,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1537,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1563,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1659,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1686,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1711,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1736,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1758,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1783,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1808,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1830,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1855,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1880,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,7 +1902,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1907,10 +2029,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1925,16 +2047,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1950,16 +2072,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1975,14 +2097,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1997,14 +2119,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -2019,14 +2141,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -2041,14 +2163,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2191,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2216,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2238,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2263,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2288,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2262,39 +2384,45 @@ "status": "in-progress", "location": [ { - "status": "active", + "status": "completed", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } }, { - "status": "completed", + "status": "active", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2434,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2560,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2647,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2556,6 +2678,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2579,6 +2732,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2616,10 +2774,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2636,7 +2794,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2654,21 +2812,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2684,20 +2842,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2730,7 +2888,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2871,10 +3029,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2889,16 +3047,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2914,7 +3072,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2952,7 +3110,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2971,9 +3129,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2986,9 +3144,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -2999,6 +3157,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3020,7 +3185,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3037,10 +3202,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3096,7 +3261,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3451,17 +3616,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3477,7 +3642,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3570,7 +3735,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3619,7 +3784,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3634,26 +3799,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3668,7 +3833,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3703,7 +3868,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3744,10 +3909,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3787,7 +3952,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3809,7 +3973,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3830,7 +3993,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3893,7 +4056,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3987,7 +4150,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4013,7 +4176,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4024,13 +4187,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4048,139 +4211,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4618,6 +4649,660 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json index f24bef22f..4242d32b2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:13:16.987Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-02-22T07:09:40.955Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1628,37 +1628,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json index c8a95a9a4..024fef6af 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json @@ -52,7 +52,7 @@ "id": "4e45fbdc-bab9-f433-dde6-a8adf26acf93", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:19:18.321Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-02-22T07:10:16.271Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, "occurredDateTime": "2005-01-10T04:55:04", "recorded": "2005-01-10T04:55:04", @@ -257,10 +257,10 @@ } }, { - "fullUrl": "urn:uuid:f70a39cb-cf13-6f75-885d-cf691752c711", + "fullUrl": "urn:uuid:58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "resource": { "resourceType": "Account", - "id": "f70a39cb-cf13-6f75-885d-cf691752c711", + "id": "58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "identifier": [ { "value": "40007716", @@ -283,11 +283,6 @@ } ], "guarantor": [ - { - "party": { - "reference": "RelatedPerson/c1c24d3d-6174-9cec-9997-28c5e239711f" - } - }, { "party": { "reference": "Organization/" @@ -297,115 +292,14 @@ }, "request": { "method": "PUT", - "url": "Account/f70a39cb-cf13-6f75-885d-cf691752c711" - } - }, - { - "fullUrl": "urn:uuid:c1c24d3d-6174-9cec-9997-28c5e239711f", - "resource": { - "resourceType": "RelatedPerson", - "id": "c1c24d3d-6174-9cec-9997-28c5e239711f", - "identifier": [ - { - "value": "8291" - }, - { - "value": "123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "1", - "display": "1" - } - ] - } - ], - "address": [ - { - "line": [ - "111", - "DUCK ST" - ], - "state": "FOWL", - "postalCode": "CA", - "country": "999990000" - } - ], - "telecom": [ - { - "value": "8885551212", - "use": "home" - } - ], - "name": [ - { - "family": "DUCK", - "given": [ - "DONALD", - "D" - ] - } - ], - "gender": "male", - "birthDate": "1924-10-10", - "patient": { - "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/c1c24d3d-6174-9cec-9997-28c5e239711f" + "url": "Account/58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf" } }, { "fullUrl": "urn:uuid:", "resource": { "resourceType": "Organization", - "name": " ", - "address": [ - { - "line": [ - "111", - "DUCK ST" - ], - "state": "FOWL", - "postalCode": "CA", - "country": "999990000" - } - ], - "contact": [ - { - "name": { - "family": "DUCK", - "given": [ - "DONALD", - "D" - ] - } - } - ], - "telecom": [ - { - "value": "8885551212" - } - ], - "identifier": [ - { - "value": "8291" - } - ] + "name": " " }, "request": { "method": "PUT", @@ -446,10 +340,10 @@ } }, { - "fullUrl": "urn:uuid:eafc9bd8-6600-8232-f911-25b4ea83f641", + "fullUrl": "urn:uuid:82999c53-6c4e-b898-f635-396f71cff45a", "resource": { "resourceType": "Location", - "id": "eafc9bd8-6600-8232-f911-25b4ea83f641", + "id": "82999c53-6c4e-b898-f635-396f71cff45a", "name": "PREOP", "mode": "instance", "description": "PREOP--101--1--1--S", @@ -464,16 +358,16 @@ }, "request": { "method": "PUT", - "url": "Location/eafc9bd8-6600-8232-f911-25b4ea83f641" + "url": "Location/82999c53-6c4e-b898-f635-396f71cff45a" } }, { - "fullUrl": "urn:uuid:3ab35502-6cac-adb6-225e-1d28c3082bf5", + "fullUrl": "urn:uuid:eaca6536-e475-37f0-8260-87ec6ce86e42", "resource": { "resourceType": "Location", - "id": "3ab35502-6cac-adb6-225e-1d28c3082bf5", + "id": "eaca6536-e475-37f0-8260-87ec6ce86e42", "partOf": { - "reference": "Location/eafc9bd8-6600-8232-f911-25b4ea83f641" + "reference": "Location/82999c53-6c4e-b898-f635-396f71cff45a" }, "name": "101", "mode": "instance", @@ -489,16 +383,16 @@ }, "request": { "method": "PUT", - "url": "Location/3ab35502-6cac-adb6-225e-1d28c3082bf5" + "url": "Location/eaca6536-e475-37f0-8260-87ec6ce86e42" } }, { - "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841", + "fullUrl": "urn:uuid:833f65ab-7693-c763-dfdd-a9b7aaf6175b", "resource": { "resourceType": "Location", - "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841", + "id": "833f65ab-7693-c763-dfdd-a9b7aaf6175b", "partOf": { - "reference": "Location/3ab35502-6cac-adb6-225e-1d28c3082bf5" + "reference": "Location/eaca6536-e475-37f0-8260-87ec6ce86e42" }, "name": "1", "mode": "instance", @@ -518,16 +412,16 @@ }, "request": { "method": "PUT", - "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "url": "Location/833f65ab-7693-c763-dfdd-a9b7aaf6175b" } }, { - "fullUrl": "urn:uuid:cb0cbfcd-bdcd-775d-ed89-65b953b8e1de", + "fullUrl": "urn:uuid:5ee734a2-c7fe-034d-60f4-57c2827bf1ca", "resource": { "resourceType": "Location", - "id": "cb0cbfcd-bdcd-775d-ed89-65b953b8e1de", + "id": "5ee734a2-c7fe-034d-60f4-57c2827bf1ca", "partOf": { - "reference": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "reference": "Location/833f65ab-7693-c763-dfdd-a9b7aaf6175b" }, "name": "S", "mode": "instance", @@ -543,7 +437,7 @@ }, "request": { "method": "PUT", - "url": "Location/cb0cbfcd-bdcd-775d-ed89-65b953b8e1de" + "url": "Location/5ee734a2-c7fe-034d-60f4-57c2827bf1ca" } }, { @@ -561,7 +455,7 @@ { "status": "active", "location": { - "reference": "Location/eafc9bd8-6600-8232-f911-25b4ea83f641" + "reference": "Location/82999c53-6c4e-b898-f635-396f71cff45a" } } ], @@ -650,6 +544,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf" + } + ], "subject": { "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json index 94b45be45..594df03a6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1988-10-18T11:26:00", + "timestamp": "1988-08-18T11:26:00", "identifier": { "value": "MSG00001" }, @@ -74,10 +74,10 @@ "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:20:28.107Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-02-22T07:10:56.702Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, - "occurredDateTime": "1988-10-18T11:26:00", - "recorded": "1988-10-18T11:26:00", + "occurredDateTime": "1988-08-18T11:26:00", + "recorded": "1988-08-18T11:26:00", "agent": [ { "type": { @@ -276,10 +276,10 @@ } }, { - "fullUrl": "urn:uuid:3e9d1ae2-2dbe-bdd9-8da6-6a9fdfc18068", + "fullUrl": "urn:uuid:d8c83ef0-2bbc-591b-4de7-6f284ab60d0b", "resource": { "resourceType": "Account", - "id": "3e9d1ae2-2dbe-bdd9-8da6-6a9fdfc18068", + "id": "d8c83ef0-2bbc-591b-4de7-6f284ab60d0b", "identifier": [ { "value": "PATID12345001", @@ -304,7 +304,7 @@ }, "request": { "method": "PUT", - "url": "Account/3e9d1ae2-2dbe-bdd9-8da6-6a9fdfc18068" + "url": "Account/d8c83ef0-2bbc-591b-4de7-6f284ab60d0b" } }, { @@ -333,10 +333,10 @@ } }, { - "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "fullUrl": "urn:uuid:fed49117-7114-cc6d-a564-aa500d035ec6", "resource": { "resourceType": "Location", - "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "id": "fed49117-7114-cc6d-a564-aa500d035ec6", "name": "2000", "mode": "instance", "description": "2000--2012--01", @@ -351,16 +351,16 @@ }, "request": { "method": "PUT", - "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "url": "Location/fed49117-7114-cc6d-a564-aa500d035ec6" } }, { - "fullUrl": "urn:uuid:95fb96ed-bf64-1327-6204-e8e66a472eb6", + "fullUrl": "urn:uuid:87cbde24-7a43-2c4d-b0fd-53f7e8617574", "resource": { "resourceType": "Location", - "id": "95fb96ed-bf64-1327-6204-e8e66a472eb6", + "id": "87cbde24-7a43-2c4d-b0fd-53f7e8617574", "partOf": { - "reference": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "reference": "Location/fed49117-7114-cc6d-a564-aa500d035ec6" }, "name": "2012", "mode": "instance", @@ -376,16 +376,16 @@ }, "request": { "method": "PUT", - "url": "Location/95fb96ed-bf64-1327-6204-e8e66a472eb6" + "url": "Location/87cbde24-7a43-2c4d-b0fd-53f7e8617574" } }, { - "fullUrl": "urn:uuid:408220ee-3137-d895-e8a9-8937117bf0c1", + "fullUrl": "urn:uuid:7eda07b5-b256-87e5-1e3d-c2f69a17ecd3", "resource": { "resourceType": "Location", - "id": "408220ee-3137-d895-e8a9-8937117bf0c1", + "id": "7eda07b5-b256-87e5-1e3d-c2f69a17ecd3", "partOf": { - "reference": "Location/95fb96ed-bf64-1327-6204-e8e66a472eb6" + "reference": "Location/87cbde24-7a43-2c4d-b0fd-53f7e8617574" }, "name": "01", "mode": "instance", @@ -401,7 +401,7 @@ }, "request": { "method": "PUT", - "url": "Location/408220ee-3137-d895-e8a9-8937117bf0c1" + "url": "Location/7eda07b5-b256-87e5-1e3d-c2f69a17ecd3" } }, { @@ -419,7 +419,7 @@ { "status": "active", "location": { - "reference": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "reference": "Location/fed49117-7114-cc6d-a564-aa500d035ec6" } } ], @@ -461,6 +461,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/d8c83ef0-2bbc-591b-4de7-6f284ab60d0b" + } + ], "subject": { "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json index 1d5c92813..859e8708a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:26:30.302Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + "div": "

Resource bundle generated on 2022-02-22T07:19:18.868Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -494,11 +494,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +742,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +758,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +777,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +807,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +917,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +930,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1187,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1221,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1259,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1285,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1381,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1408,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1433,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1458,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1480,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1505,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1530,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1552,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1577,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1602,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1624,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1751,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1769,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1794,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1819,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1841,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1863,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1885,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1913,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1938,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1960,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1985,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +2010,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1958,40 +2088,46 @@ }, "status": "in-progress", "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2003,14 +2139,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2135,7 +2265,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2222,9 +2352,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2253,6 +2383,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2276,6 +2437,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2296,10 +2462,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2316,7 +2482,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2334,21 +2500,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2364,20 +2530,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2410,7 +2576,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2441,17 +2607,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2467,7 +2633,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -2560,7 +2726,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2609,7 +2775,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2624,26 +2790,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2658,7 +2824,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2693,7 +2859,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2734,10 +2900,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2777,7 +2943,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2799,7 +2964,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2820,7 +2984,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2883,7 +3047,346 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json index 95a33a3f9..3c7ab80b3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:24:20.654Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + "div": "

Resource bundle generated on 2022-02-22T07:19:56.019Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1628,37 +1628,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json index 802736f13..60a04a3de 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:28:17.443Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + "div": "

Resource bundle generated on 2022-02-22T07:21:51.416Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1012,17 +976,17 @@ } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2264,37 +2348,43 @@ { "status": "completed", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2396,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2522,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2609,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2641,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2695,11 @@ } ] }, + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2737,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2757,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2775,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2805,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2851,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2992,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3010,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3035,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3073,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3092,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3107,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3120,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3148,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3165,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3224,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3579,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3605,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3698,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3747,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3762,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3796,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3831,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3872,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3915,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3936,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3956,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4019,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4113,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4139,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4150,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,202 +4174,70 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ { - "value": "A", + "value": "BAV", + "name": "Blue Advantage HMO", "type": { "coding": [ { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" } ] } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ + }, { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "value": "PUBSUMB", + "name": "SelfPay", "type": { "coding": [ { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } ] } } ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { "coding": [ { - "code": "EXTERNAL" + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } ] }, - "note": [ + "identifier": [ { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, { "value": "Medicare-12345", "type": { @@ -4619,6 +4612,660 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json index a10e0bd8c..a6448e3ab 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:27:35.836Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + "div": "

Resource bundle generated on 2022-02-22T07:22:26.485Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -674,17 +674,17 @@ } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1585,7 +1585,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1628,37 +1628,25 @@ { "status": "completed", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1875,6 +1863,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1885,10 +1878,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1905,7 +1898,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1923,21 +1916,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1953,20 +1946,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1999,7 +1992,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json index 13f82adb5..b877e0cd1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:30:18.389Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-02-22T07:23:43.787Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2261,40 +2345,46 @@ }, "status": "in-progress", "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2396,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2522,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2609,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2641,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2695,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2737,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2757,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2775,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2805,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2851,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2992,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3010,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3035,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3073,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3092,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3107,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3120,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3148,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3165,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3224,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3579,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3605,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3698,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3747,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3762,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3796,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3831,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3872,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3915,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3936,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3956,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4019,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4113,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4139,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4150,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4174,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4612,660 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json index 95a539321..e599140aa 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:29:35.836Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-02-22T07:24:16.691Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1828,37 +1828,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2144,6 +2126,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2164,10 +2151,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2184,7 +2171,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2202,21 +2189,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2232,20 +2219,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2278,7 +2265,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json index 0e04e628b..6da7e2bbc 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json @@ -68,7 +68,7 @@ "id": "b8bf5f81-bc6a-5fda-5fb2-fd273ac267a8", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:30:59.573Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-02-22T07:25:00.097Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, "occurredDateTime": "2001-01-01T00:00:00", "recorded": "2001-01-01T00:00:00", @@ -304,10 +304,10 @@ } }, { - "fullUrl": "urn:uuid:0b931b2e-4814-b7ed-7159-4cf2805ef38f", + "fullUrl": "urn:uuid:62250a3a-7731-9329-ba14-5ab5f01a2678", "resource": { "resourceType": "Account", - "id": "0b931b2e-4814-b7ed-7159-4cf2805ef38f", + "id": "62250a3a-7731-9329-ba14-5ab5f01a2678", "identifier": [ { "value": "12345678" @@ -322,7 +322,7 @@ }, "request": { "method": "PUT", - "url": "Account/0b931b2e-4814-b7ed-7159-4cf2805ef38f" + "url": "Account/62250a3a-7731-9329-ba14-5ab5f01a2678" } }, { @@ -380,10 +380,10 @@ } }, { - "fullUrl": "urn:uuid:a0f6171b-0f81-c7fd-61da-2c2db32aafc9", + "fullUrl": "urn:uuid:ab3e8ed7-2fe5-64c4-272b-4a3223c131d5", "resource": { "resourceType": "Location", - "id": "a0f6171b-0f81-c7fd-61da-2c2db32aafc9", + "id": "ab3e8ed7-2fe5-64c4-272b-4a3223c131d5", "name": "ABCD", "mode": "instance", "description": "ABCD--EFGH", @@ -398,16 +398,16 @@ }, "request": { "method": "PUT", - "url": "Location/a0f6171b-0f81-c7fd-61da-2c2db32aafc9" + "url": "Location/ab3e8ed7-2fe5-64c4-272b-4a3223c131d5" } }, { - "fullUrl": "urn:uuid:e37fe030-54c7-96d3-51ff-70a87db46be6", + "fullUrl": "urn:uuid:72c3d398-8c14-4326-8838-d787f8c4c714", "resource": { "resourceType": "Location", - "id": "e37fe030-54c7-96d3-51ff-70a87db46be6", + "id": "72c3d398-8c14-4326-8838-d787f8c4c714", "partOf": { - "reference": "Location/a0f6171b-0f81-c7fd-61da-2c2db32aafc9" + "reference": "Location/ab3e8ed7-2fe5-64c4-272b-4a3223c131d5" }, "name": "EFGH", "mode": "instance", @@ -423,7 +423,7 @@ }, "request": { "method": "PUT", - "url": "Location/e37fe030-54c7-96d3-51ff-70a87db46be6" + "url": "Location/72c3d398-8c14-4326-8838-d787f8c4c714" } }, { @@ -441,7 +441,7 @@ { "status": "active", "location": { - "reference": "Location/a0f6171b-0f81-c7fd-61da-2c2db32aafc9" + "reference": "Location/ab3e8ed7-2fe5-64c4-272b-4a3223c131d5" } } ], @@ -523,6 +523,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/62250a3a-7731-9329-ba14-5ab5f01a2678" + } + ], "subject": { "reference": "Patient/5002eb07-c460-7112-6574-50303ae3b4a6" } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json index a46beccac..6a5e25c82 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json @@ -52,7 +52,7 @@ "id": "73105c01-0c83-840e-6dbb-9ef4928175f8", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:32:25.221Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-02-22T07:26:09.792Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, "occurredDateTime": "2019-05-04T18:12:05", "recorded": "2019-05-04T18:12:05", @@ -191,10 +191,10 @@ } }, { - "fullUrl": "urn:uuid:1791139d-4b3d-30a1-a790-ecff6e63a1fd", + "fullUrl": "urn:uuid:7b989e2a-3e77-edde-7857-598322ea862b", "resource": { "resourceType": "Account", - "id": "1791139d-4b3d-30a1-a790-ecff6e63a1fd", + "id": "7b989e2a-3e77-edde-7857-598322ea862b", "identifier": [ { "value": "123456789" @@ -209,7 +209,7 @@ }, "request": { "method": "PUT", - "url": "Account/1791139d-4b3d-30a1-a790-ecff6e63a1fd" + "url": "Account/7b989e2a-3e77-edde-7857-598322ea862b" } }, { @@ -272,6 +272,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/7b989e2a-3e77-edde-7857-598322ea862b" + } + ], "subject": { "reference": "Patient/106decd4-a7b0-34eb-afe9-94e54bdff26f" } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json index c7f4ea65d..83a49dd3a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json @@ -52,7 +52,7 @@ "id": "312fba25-b9c6-151e-8c0c-45a36f66ed03", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:31:38.533Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-02-22T07:25:34.936Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, "occurredDateTime": "2019-05-04T18:12:05", "recorded": "2019-05-04T18:12:05", @@ -223,10 +223,10 @@ } }, { - "fullUrl": "urn:uuid:256cf56f-8ec4-5af5-cf3f-4f9a833482be", + "fullUrl": "urn:uuid:2a662119-8a55-ffb1-ea18-93b55c4cd267", "resource": { "resourceType": "Account", - "id": "256cf56f-8ec4-5af5-cf3f-4f9a833482be", + "id": "2a662119-8a55-ffb1-ea18-93b55c4cd267", "identifier": [ { "value": "1234" @@ -248,7 +248,7 @@ }, "request": { "method": "PUT", - "url": "Account/256cf56f-8ec4-5af5-cf3f-4f9a833482be" + "url": "Account/2a662119-8a55-ffb1-ea18-93b55c4cd267" } }, { @@ -340,10 +340,10 @@ } }, { - "fullUrl": "urn:uuid:1d17bd3e-c217-b488-dd0a-b87c0652a3f1", + "fullUrl": "urn:uuid:71ad901d-fc5c-765d-7012-c198085d47ff", "resource": { "resourceType": "Location", - "id": "1d17bd3e-c217-b488-dd0a-b87c0652a3f1", + "id": "71ad901d-fc5c-765d-7012-c198085d47ff", "name": "3N", "mode": "instance", "description": "3N--136--B--RES General Hospital--Inpatient", @@ -358,16 +358,16 @@ }, "request": { "method": "PUT", - "url": "Location/1d17bd3e-c217-b488-dd0a-b87c0652a3f1" + "url": "Location/71ad901d-fc5c-765d-7012-c198085d47ff" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:5a47ce8d-141e-3193-a24e-81a537800fe9", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "5a47ce8d-141e-3193-a24e-81a537800fe9", "partOf": { - "reference": "Location/1d17bd3e-c217-b488-dd0a-b87c0652a3f1" + "reference": "Location/71ad901d-fc5c-765d-7012-c198085d47ff" }, "name": "136", "mode": "instance", @@ -383,16 +383,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/5a47ce8d-141e-3193-a24e-81a537800fe9" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:eac2c6fe-5b4b-3e08-7b42-617fa5cf049a", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "eac2c6fe-5b4b-3e08-7b42-617fa5cf049a", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/5a47ce8d-141e-3193-a24e-81a537800fe9" }, "name": "B", "mode": "instance", @@ -408,14 +408,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/eac2c6fe-5b4b-3e08-7b42-617fa5cf049a" } }, { - "fullUrl": "urn:uuid:9e9deb57-14b7-3c6a-e9da-3874ac02bb5f", + "fullUrl": "urn:uuid:35981c0d-45b4-8d99-14cc-38e527208fc5", "resource": { "resourceType": "Location", - "id": "9e9deb57-14b7-3c6a-e9da-3874ac02bb5f", + "id": "35981c0d-45b4-8d99-14cc-38e527208fc5", "name": "RES General Hospital", "mode": "instance", "description": "3N--136--B--RES General Hospital--Inpatient", @@ -430,7 +430,7 @@ }, "request": { "method": "PUT", - "url": "Location/9e9deb57-14b7-3c6a-e9da-3874ac02bb5f" + "url": "Location/35981c0d-45b4-8d99-14cc-38e527208fc5" } }, { @@ -448,7 +448,7 @@ { "status": "active", "location": { - "reference": "Location/1d17bd3e-c217-b488-dd0a-b87c0652a3f1" + "reference": "Location/71ad901d-fc5c-765d-7012-c198085d47ff" } } ], @@ -507,6 +507,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/2a662119-8a55-ffb1-ea18-93b55c4cd267" + } + ], "subject": { "reference": "Patient/f7a9494a-3fac-e0e1-78d8-d7c20410ca33" } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json index 0ad6fc2ea..f084e2df1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:33:56.296Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + "div": "

Resource bundle generated on 2022-02-22T07:26:59.871Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2264,37 +2348,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2390,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2516,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2603,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2635,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2689,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2731,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2751,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2769,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2799,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2845,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2986,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3004,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3029,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3067,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3086,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3101,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3114,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3142,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3159,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3218,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3573,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3599,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3692,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3741,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3756,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3790,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3825,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3866,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3909,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3930,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3950,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4013,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4107,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4133,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4144,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4168,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4606,321 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json index 4925f7dcf..db3d33c4d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:33:19.244Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + "div": "

Resource bundle generated on 2022-02-22T07:27:34.948Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1785,7 +1785,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1828,37 +1828,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2144,6 +2126,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2164,10 +2151,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2184,7 +2171,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2202,21 +2189,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2232,20 +2219,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2278,7 +2265,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json new file mode 100644 index 000000000..9e5b11392 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json @@ -0,0 +1,2803 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00006" + }, + "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", + "entry": [ + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:31:40.893Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "resource": { + "resourceType": "Location", + "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "partOf": { + "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + }, + { + "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", + "resource": { + "resourceType": "Location", + "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", + "partOf": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + } + }, + { + "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", + "resource": { + "resourceType": "Location", + "id": "d27662df-7371-3a1d-d50e-942876e50bb8", + "partOf": { + "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + }, + "name": "BED1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" + } + }, + { + "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "resource": { + "resourceType": "Location", + "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + } + }, + { + "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "resource": { + "resourceType": "Location", + "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "partOf": { + "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + } + }, + { + "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", + "resource": { + "resourceType": "Location", + "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", + "partOf": { + "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T14:37:33+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + } + }, + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json new file mode 100644 index 000000000..03a8e5547 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json @@ -0,0 +1,1027 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00006" + }, + "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", + "entry": [ + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:32:11.778Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json new file mode 100644 index 000000000..0d269fbd2 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json @@ -0,0 +1,2616 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00007" + }, + "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", + "entry": [ + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:33:32.891Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T14:37:33+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + } + }, + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json new file mode 100644 index 000000000..99395a602 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json @@ -0,0 +1,993 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00007" + }, + "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", + "entry": [ + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:34:04.176Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json index 5b184c455..c819d0f65 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:36:54.894Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + "div": "

Resource bundle generated on 2022-02-22T07:37:29.437Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2261,40 +2345,46 @@ }, "status": "finished", "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2396,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2522,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2609,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2641,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2695,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2737,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2757,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2775,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2805,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2851,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2992,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3010,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3035,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3073,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3092,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3107,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3120,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3148,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3165,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3224,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3579,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3605,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3698,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3747,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3762,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3796,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3831,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3872,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3915,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3936,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3956,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4019,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4113,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4139,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4150,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,202 +4174,70 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ { - "value": "A", + "value": "BAV", + "name": "Blue Advantage HMO", "type": { "coding": [ { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" } ] } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ + }, { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "value": "PUBSUMB", + "name": "SelfPay", "type": { "coding": [ { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } ] } } ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { "coding": [ { - "code": "EXTERNAL" + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } ] }, - "note": [ + "identifier": [ { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, { "value": "Medicare-12345", "type": { @@ -4619,6 +4612,660 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json index 0c69fe14e..23346951b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:35:16.349Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + "div": "

Resource bundle generated on 2022-02-22T07:38:18.025Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1585,7 +1585,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1628,37 +1628,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json new file mode 100644 index 000000000..c02fe9a6c --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json @@ -0,0 +1,1533 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00009" + }, + "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", + "entry": [ + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:41:53.144Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + }, + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + }, + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + } + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + }, + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T20:20:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:bffeceee-c43b-5971-a8f9-662a4a9ea710", + "resource": { + "resourceType": "Provenance", + "id": "bffeceee-c43b-5971-a8f9-662a4a9ea710", + "occurredDateTime": "2021-01-15T20:20:10+05:30", + "recorded": "2021-01-15T20:20:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/bffeceee-c43b-5971-a8f9-662a4a9ea710" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T20:20:10+05:30", + "end": "2020-01-15T20:20:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json new file mode 100644 index 000000000..97a168ab1 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json @@ -0,0 +1,1146 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00009" + }, + "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", + "entry": [ + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:42:24.349Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json new file mode 100644 index 000000000..51aa3c0b5 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json @@ -0,0 +1,1533 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00010" + }, + "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", + "entry": [ + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:43:35.469Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + }, + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + }, + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + } + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + }, + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json new file mode 100644 index 000000000..6457f3729 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json @@ -0,0 +1,1146 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00010" + }, + "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", + "entry": [ + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T07:44:03.655Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json index 00efa420c..9f7f58a7d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:39:19.01Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + "div": "

Resource bundle generated on 2022-02-22T07:44:51.906Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -498,7 +498,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +709,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +725,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +744,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +774,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +884,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +897,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1154,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1188,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1226,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1252,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1348,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1375,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1400,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1425,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1447,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1472,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1497,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1519,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1544,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1569,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1591,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1718,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1736,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1761,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1786,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1808,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1830,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1852,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1880,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1905,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1927,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1952,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +1977,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1918,7 +2015,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "cancelled", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1960,34 +2057,34 @@ "location": [ { "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { + "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, { "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1998,14 +2095,8 @@ }, { "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2130,7 +2221,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2217,9 +2308,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2272,6 +2363,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2292,10 +2388,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2312,7 +2408,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2330,21 +2426,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2360,20 +2456,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2406,7 +2502,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2526,7 +2622,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2575,7 +2671,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2590,26 +2686,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2624,7 +2720,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2659,7 +2755,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2700,10 +2796,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2743,7 +2839,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2765,7 +2860,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2786,7 +2880,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2849,21 +2943,21 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2879,7 +2973,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json index 05198fcb5..1f65c5e1a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:38:42.01Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + "div": "

Resource bundle generated on 2022-02-22T07:45:21.247Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1785,7 +1785,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "cancelled", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1827,34 +1827,22 @@ "location": [ { "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1865,14 +1853,8 @@ }, { "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -1997,7 +1979,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2084,9 +2066,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2139,6 +2121,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2159,10 +2146,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2179,7 +2166,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2197,21 +2184,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2227,20 +2214,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2273,7 +2260,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json index 8b7844d5f..c3400ebd5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:42:14.552Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + "div": "

Resource bundle generated on 2022-02-22T07:46:00.207Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2261,40 +2345,46 @@ }, "status": "in-progress", "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2396,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2522,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2609,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2556,6 +2640,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2579,6 +2694,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2616,10 +2736,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2636,7 +2756,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2654,21 +2774,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2684,20 +2804,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2730,7 +2850,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2871,10 +2991,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2889,16 +3009,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2914,7 +3034,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2952,7 +3072,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2971,9 +3091,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2986,9 +3106,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -2999,6 +3119,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3020,7 +3147,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3037,10 +3164,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3096,7 +3223,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3451,17 +3578,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3477,7 +3604,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3570,7 +3697,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3619,7 +3746,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3634,26 +3761,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3668,7 +3795,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3703,7 +3830,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3744,10 +3871,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3787,7 +3914,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3809,7 +3935,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3830,7 +3955,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3893,7 +4018,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3987,7 +4112,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4013,7 +4138,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4024,13 +4149,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4048,139 +4173,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4618,6 +4611,660 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json index a3e81e57e..b98bc09dd 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:41:02.113Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + "div": "

Resource bundle generated on 2022-02-22T07:47:01.436Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1828,37 +1828,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2143,6 +2125,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2163,10 +2150,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2183,7 +2170,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2201,21 +2188,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2231,20 +2218,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2277,7 +2264,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json index 53c63b0ba..7ac817fa5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:43:58.205Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + "div": "

Resource bundle generated on 2022-02-22T07:52:42.541Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2264,37 +2348,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2390,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2516,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,15 +2603,15 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], "period": { - "start": "2015-02-08T11:34:19", - "end": "2015-02-09T11:34:19" + "start": "2015-02-08T11:34:19+05:30", + "end": "2015-02-09T11:34:19+05:30" }, "reasonCode": [ { @@ -2557,6 +2635,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2689,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2731,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2751,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2769,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2799,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2845,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2986,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3004,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3029,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3067,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3086,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3101,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3114,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3142,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3159,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3218,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3573,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3599,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3692,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3741,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3756,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3790,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3825,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3866,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3909,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3930,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3950,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4013,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4107,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4133,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4144,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4168,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4606,321 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json index 78574d69c..b061c2091 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:43:25.443Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + "div": "

Resource bundle generated on 2022-02-22T07:53:18.067Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1785,7 +1785,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1828,37 +1828,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2144,6 +2126,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2164,10 +2151,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2184,7 +2171,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2202,21 +2189,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2232,20 +2219,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2278,7 +2265,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json index 0a0068d4d..13d4f52d4 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:45:27.133Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + "div": "

Resource bundle generated on 2022-02-22T07:54:01.325Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -494,11 +494,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +742,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +758,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +777,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +807,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +917,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +930,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1187,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1221,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1259,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1285,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1381,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1408,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1433,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1458,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1480,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1505,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1530,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1552,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1577,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1602,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1624,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1751,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1769,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1794,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1819,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1841,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1863,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1885,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1913,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1938,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1960,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1985,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +2010,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1961,37 +2091,37 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2003,14 +2133,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2135,7 +2259,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2222,9 +2346,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2250,6 +2374,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2273,6 +2428,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2293,10 +2453,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2313,7 +2473,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2331,21 +2491,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2361,20 +2521,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2407,7 +2567,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2527,7 +2687,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2576,7 +2736,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2591,26 +2751,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2625,7 +2785,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2660,7 +2820,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2701,10 +2861,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2744,7 +2904,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2766,7 +2925,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2787,7 +2945,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2850,21 +3008,21 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2880,7 +3038,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json index 29df87fa2..c1fb7df88 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T11:44:56.071Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + "div": "

Resource bundle generated on 2022-02-22T07:54:32.269Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1628,37 +1628,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json index 29b453513..1272accd4 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:49:54.877Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + "div": "

Resource bundle generated on 2022-02-22T07:55:37.629Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,67 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2041,14 +2081,58 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2264,37 +2348,37 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2390,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2516,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2603,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2635,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2689,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2731,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2751,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2769,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2799,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2845,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2986,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3004,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3029,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3067,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3086,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3101,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3114,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3142,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3159,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3218,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3573,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3599,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3692,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3741,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3756,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3790,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3825,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3866,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3909,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3930,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3950,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4013,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4107,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4133,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4144,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4168,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4606,321 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json index 850c9d99d..714dbaf85 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:00:57.265Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + "div": "

Resource bundle generated on 2022-02-22T07:56:08.766Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1828,37 +1828,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2144,6 +2126,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2164,10 +2151,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2184,7 +2171,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2202,21 +2189,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2232,20 +2219,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2278,7 +2265,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json index 2663a6b38..f57d82116 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:08:15.356Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + "div": "

Resource bundle generated on 2022-02-22T07:57:02.35Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -498,7 +498,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +709,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +725,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +744,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +774,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +884,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +897,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1154,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1188,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1226,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1252,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1348,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1375,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1400,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1425,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1447,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1472,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1497,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1519,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1544,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1569,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1591,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1718,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1736,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1761,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1786,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1808,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1830,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1852,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1880,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1905,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1927,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1952,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +1977,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1961,37 +2058,37 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2003,14 +2100,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2135,7 +2226,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2222,9 +2313,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2276,6 +2367,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2296,10 +2392,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2316,7 +2412,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2334,21 +2430,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2364,20 +2460,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2410,7 +2506,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2441,17 +2537,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2467,7 +2563,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -2560,7 +2656,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2609,7 +2705,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2624,26 +2720,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2658,7 +2754,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2693,7 +2789,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2734,10 +2830,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2777,7 +2873,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2799,7 +2894,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2820,7 +2914,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2883,7 +2977,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json index 820279490..ea9706d46 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:13:12.393Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + "div": "

Resource bundle generated on 2022-02-22T07:57:37.178Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1828,37 +1828,25 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1870,14 +1858,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2002,7 +1984,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2089,9 +2071,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2143,6 +2125,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2163,10 +2150,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2183,7 +2170,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2201,21 +2188,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2231,20 +2218,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2277,7 +2264,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json index 62b532207..947fd47e6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:14:07.714Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + "div": "

Resource bundle generated on 2022-02-22T07:58:31.199Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -498,7 +498,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +709,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +725,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +744,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +774,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +884,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +897,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1154,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1188,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1226,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1252,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1348,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1375,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1400,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1425,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1447,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1472,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1497,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1519,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1544,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1569,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1591,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1718,10 @@ } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1639,14 +1736,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1661,7 +1758,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1742,25 +1839,31 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1892,7 +1995,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1979,9 +2082,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2030,6 +2133,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2050,10 +2158,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2070,7 +2178,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2088,21 +2196,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2118,20 +2226,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2164,7 +2272,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2195,17 +2303,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2221,7 +2329,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -2314,7 +2422,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2363,7 +2471,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2378,26 +2486,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2412,7 +2520,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2447,7 +2555,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2488,10 +2596,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2531,7 +2639,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2553,7 +2660,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2574,7 +2680,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2637,7 +2743,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json index c46310fc3..f9ab8dc31 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:14:50.627Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + "div": "

Resource bundle generated on 2022-02-22T07:59:08.837Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1431,14 +1431,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1453,7 +1453,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1534,25 +1534,19 @@ { "status": "active", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1684,7 +1678,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1755,9 +1749,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1768,6 +1762,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1778,10 +1777,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1798,7 +1797,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1816,21 +1815,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1846,20 +1845,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1892,7 +1891,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json index 7dec6d11d..8aa4f143f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:35:13.183Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + "div": "

Resource bundle generated on 2022-02-22T07:59:46.416Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -498,7 +498,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +709,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +725,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +744,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +774,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +884,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +897,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1154,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1188,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1226,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1252,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1348,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1375,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1400,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1425,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1447,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1472,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1497,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1519,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1544,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1569,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1591,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1718,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1736,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1761,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1786,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1808,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1830,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1852,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1880,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1905,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1927,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1952,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +1977,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1918,7 +2015,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "cancelled", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1960,34 +2057,33 @@ "location": [ { "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, { "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1998,14 +2094,8 @@ }, { "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2130,7 +2220,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2217,9 +2307,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2272,6 +2362,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2292,10 +2387,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2312,7 +2407,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2330,21 +2425,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2360,20 +2455,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2406,7 +2501,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2437,17 +2532,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2463,7 +2558,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -2556,7 +2651,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2605,7 +2700,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2620,26 +2715,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2654,7 +2749,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2689,7 +2784,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2730,10 +2825,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2773,7 +2868,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2795,7 +2889,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2816,7 +2909,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2879,7 +2972,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json index 3c8f3ce5a..882b9f70f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:35:48.22Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + "div": "

Resource bundle generated on 2022-02-22T08:00:20.271Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1215,12 +1215,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1242,16 +1242,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1267,16 +1267,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1292,14 +1292,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1314,16 +1314,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1339,16 +1339,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1364,14 +1364,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1386,16 +1386,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1411,16 +1411,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1436,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1458,7 +1458,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1488,10 +1488,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1506,16 +1506,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1531,16 +1531,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1556,14 +1556,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1578,14 +1578,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1600,14 +1600,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1622,14 +1622,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1650,16 +1650,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1675,14 +1675,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1697,16 +1697,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1722,16 +1722,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1747,7 +1747,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1785,7 +1785,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "cancelled", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1827,34 +1827,22 @@ "location": [ { "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1865,14 +1853,8 @@ }, { "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -1997,7 +1979,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2084,9 +2066,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2139,6 +2121,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2159,10 +2146,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2179,7 +2166,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2197,21 +2184,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2227,20 +2214,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2273,7 +2260,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json index 75d35d2c5..d39c43e06 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:36:37.507Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + "div": "

Resource bundle generated on 2022-02-22T08:01:24.266Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2264,37 +2348,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2390,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2516,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2603,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2635,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2689,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2731,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2751,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2769,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2799,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2845,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2986,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3004,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3029,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3067,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3086,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3101,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3114,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3142,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3159,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3218,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3573,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3599,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3692,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3741,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3756,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3790,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3825,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3866,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3909,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3930,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3950,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4013,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4107,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4133,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4144,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4168,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4606,321 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json index d2bdb8001..0b8882b5e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:37:09.88Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + "div": "

Resource bundle generated on 2022-02-22T08:01:59.66Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1585,7 +1585,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1628,37 +1628,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json index afce2ef53..ce33180fc 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:37:54.011Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + "div": "

Resource bundle generated on 2022-02-22T08:03:00.403Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -349,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -498,7 +498,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -709,10 +709,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -725,9 +725,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -744,21 +744,21 @@ }, "request": { "method": "DELETE", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -774,7 +774,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -884,10 +884,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -897,7 +897,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1154,14 +1154,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1188,7 +1188,7 @@ }, "request": { "method": "DELETE", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1226,17 +1226,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1252,7 +1252,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1348,12 +1348,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1375,16 +1375,16 @@ }, "request": { "method": "DELETE", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1400,16 +1400,16 @@ }, "request": { "method": "DELETE", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1425,14 +1425,14 @@ }, "request": { "method": "DELETE", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1447,16 +1447,16 @@ }, "request": { "method": "DELETE", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1472,16 +1472,16 @@ }, "request": { "method": "DELETE", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1497,14 +1497,14 @@ }, "request": { "method": "DELETE", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1519,16 +1519,16 @@ }, "request": { "method": "DELETE", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1544,16 +1544,16 @@ }, "request": { "method": "DELETE", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1569,14 +1569,14 @@ }, "request": { "method": "DELETE", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1591,7 +1591,104 @@ }, "request": { "method": "DELETE", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1621,10 +1718,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1639,16 +1736,16 @@ }, "request": { "method": "DELETE", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1664,16 +1761,16 @@ }, "request": { "method": "DELETE", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1689,14 +1786,14 @@ }, "request": { "method": "DELETE", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1711,14 +1808,14 @@ }, "request": { "method": "DELETE", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1733,14 +1830,14 @@ }, "request": { "method": "DELETE", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1755,14 +1852,14 @@ }, "request": { "method": "DELETE", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1783,16 +1880,16 @@ }, "request": { "method": "DELETE", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1808,14 +1905,14 @@ }, "request": { "method": "DELETE", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1830,16 +1927,16 @@ }, "request": { "method": "DELETE", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1855,16 +1952,16 @@ }, "request": { "method": "DELETE", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1880,7 +1977,7 @@ }, "request": { "method": "DELETE", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1918,7 +2015,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1961,37 +2058,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2003,14 +2100,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2135,7 +2226,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2222,9 +2313,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2276,6 +2367,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2296,10 +2392,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2316,7 +2412,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2334,21 +2430,21 @@ }, "request": { "method": "DELETE", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2364,20 +2460,20 @@ }, "request": { "method": "DELETE", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2410,7 +2506,7 @@ }, "request": { "method": "DELETE", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2441,17 +2537,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2467,7 +2563,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -2560,7 +2656,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2609,7 +2705,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2624,26 +2720,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2658,7 +2754,7 @@ }, "request": { "method": "DELETE", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2693,7 +2789,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2734,10 +2830,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -2777,7 +2873,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2799,7 +2894,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -2820,7 +2914,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2883,7 +2977,7 @@ }, "request": { "method": "DELETE", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json index b68900756..af57de348 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:38:29.719Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + "div": "

Resource bundle generated on 2022-02-22T08:03:32.624Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -651,9 +651,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -670,21 +670,21 @@ }, "request": { "method": "DELETE", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -700,7 +700,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1021,14 +1021,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1055,7 +1055,7 @@ }, "request": { "method": "DELETE", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1093,17 +1093,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1119,7 +1119,7 @@ }, "request": { "method": "DELETE", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "DELETE", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "DELETE", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "DELETE", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "DELETE", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "DELETE", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "DELETE", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "DELETE", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "DELETE", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "DELETE", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "DELETE", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "DELETE", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "DELETE", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "DELETE", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "DELETE", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "DELETE", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "DELETE", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1585,7 +1585,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1628,37 +1628,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1790,7 +1778,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1861,9 +1849,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } @@ -1884,10 +1877,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -1904,7 +1897,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -1922,21 +1915,21 @@ }, "request": { "method": "DELETE", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1952,20 +1945,20 @@ }, "request": { "method": "DELETE", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1998,7 +1991,7 @@ }, "request": { "method": "DELETE", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json index e6daf4f2c..27486be56 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:39:28.104Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + "div": "

Resource bundle generated on 2022-02-22T08:04:44.208Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -338,35 +338,6 @@ "end": "2001-01-23" } }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, { "value": "DB123", "type": { @@ -378,9 +349,9 @@ } ] }, - "system": "urn:oid:1.12", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, "period": { "start": "1924-10-11", @@ -485,12 +456,6 @@ "Son" ] }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, { "family": "Jack", "given": [ @@ -540,15 +505,6 @@ "start": "2000-01-10", "end": "2000-01-20" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" } ], "telecom": [ @@ -581,21 +537,6 @@ "value": "89898989", "use": "work", "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" } ], "communication": [ @@ -632,11 +573,44 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -843,7 +817,7 @@ "contact": [ { "organization": { - "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -951,10 +925,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -967,9 +941,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -986,17 +960,7 @@ "guarantor": [ { "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - }, - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { @@ -1008,21 +972,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1038,105 +1002,128 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "contact": [ + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { + "value": "1516", + "type": { "coding": [ { - "code": "Urgent requirement" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "name": { - "family": "RADIANT", - "given": [ - "LUCY" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } ] } }, { - "name": { - "family": "Ben", - "given": [ - "Charles" + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } ] - } - }, + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ { - "name": { - "family": "Ben2" - } + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } ], "telecom": [ { "value": "8484", - "system": "email" + "system": "email", + "use": "home" }, { "value": "717171", - "system": "phone" + "system": "phone", + "use": "home" }, { "value": "021212", - "system": "other" + "system": "other", + "use": "work" } ], - "identifier": [ + "name": [ { - "value": "1516", - "type": { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { "coding": [ { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, "request": { "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -1170,10 +1157,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -1183,7 +1170,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -1440,14 +1427,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1474,7 +1461,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1512,17 +1499,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1538,7 +1525,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1634,12 +1621,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1661,16 +1648,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1686,16 +1673,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1711,14 +1698,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1733,16 +1720,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1758,16 +1745,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1783,14 +1770,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1805,16 +1792,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1830,16 +1817,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1855,14 +1842,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1877,137 +1864,140 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", "resource": { "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", - "name": "POC", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "code": "si" } ] } }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Room-2", + "name": "Briones Bone", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "code": "bu" } ] } }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "Bed-103", + "name": "3b", "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", "physicalType": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" + "code": "lvl" } ] } }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], "physicalType": { "coding": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", - "name": "Nursing home", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", "physicalType": { "coding": [ { @@ -2019,17 +2009,111 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", - "name": "Rosewood", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", "mode": "instance", - "description": "Nursing home--Rosewood", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", "physicalType": { "coding": [ { @@ -2041,14 +2125,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -2069,16 +2153,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -2094,14 +2178,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -2116,16 +2200,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -2141,16 +2225,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -2166,7 +2250,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -2204,7 +2288,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -2264,37 +2348,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -2306,14 +2390,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2438,7 +2516,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2525,9 +2603,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2557,6 +2635,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2580,6 +2689,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2617,10 +2731,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2637,7 +2751,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2655,21 +2769,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2685,20 +2799,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2731,7 +2845,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { @@ -2872,10 +2986,10 @@ } }, { - "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e", + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "resource": { "resourceType": "Location", - "id": "a9c75502-d60a-d89b-5912-f046100cd47e", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", "name": "OT", "mode": "instance", "description": "OT--201", @@ -2890,16 +3004,16 @@ }, "request": { "method": "PUT", - "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } }, { - "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "resource": { "resourceType": "Location", - "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", "partOf": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "name": "201", "mode": "instance", @@ -2915,7 +3029,7 @@ }, "request": { "method": "PUT", - "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0" + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } }, { @@ -2953,7 +3067,7 @@ ], "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "completed", + "status": "unknown", "performedDateTime": "2005-01-25T16:10:00+05:30", "category": { "coding": [ @@ -2972,9 +3086,9 @@ "function": { "coding": [ { - "code": "88189002", - "system": "http://snomed.info/sct", - "display": "Anesthesiologist" + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } ], "text": "Anesthesiologist" @@ -2987,9 +3101,9 @@ "function": { "coding": [ { - "code": "304292004", - "system": "http://snomed.info/sct", - "display": "Surgeon" + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } ], "text": "Surgeon" @@ -3000,6 +3114,13 @@ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], "text": "Procedure Practitioner" } } @@ -3021,7 +3142,7 @@ } ], "location": { - "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e" + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, "partOf": [ { @@ -3038,10 +3159,10 @@ } }, { - "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353", + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", "resource": { "resourceType": "Organization", - "id": "3bb64820-2a2b-956c-9f45-125ec102f353", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", "name": "TestOrg", "identifier": [ { @@ -3097,7 +3218,7 @@ }, "request": { "method": "PUT", - "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353" + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } }, { @@ -3452,17 +3573,17 @@ } }, { - "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "resource": { "resourceType": "Organization", - "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", "identifier": [ { "value": "t", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, { - "value": "urn:oid:1.12", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -3478,7 +3599,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec" + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } }, { @@ -3571,7 +3692,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3620,7 +3741,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3635,26 +3756,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -3669,7 +3790,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -3704,7 +3825,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -3745,10 +3866,10 @@ } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", "identifier": [ { "value": "EI21", @@ -3788,7 +3909,6 @@ "valueQuantity": { "value": 60, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3810,7 +3930,6 @@ "valueQuantity": { "value": 120, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -3831,7 +3950,7 @@ ] }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -3894,7 +4013,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } }, { @@ -3988,7 +4107,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4014,7 +4133,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -4025,13 +4144,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -4049,139 +4168,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" - } - }, - { - "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691", - "resource": { - "resourceType": "Organization", - "id": "c073f2c1-a818-924b-8881-1481ac88d691", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "performerType": { - "coding": [ - { - "code": "EXTERNAL" - } - ] - }, - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -4619,6 +4606,321 @@ "method": "PUT", "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json index 86934d692..a31bbf428 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:40:08.921Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + "div": "

Resource bundle generated on 2022-02-22T08:05:15.361Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -635,10 +635,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:ac14f3be-177d-8a42-2ebc-13be1ada1ceb", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "ac14f3be-177d-8a42-2ebc-13be1ada1ceb", "identifier": [ { "value": "4000776", @@ -670,7 +670,7 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" } }, { @@ -1140,12 +1140,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1167,16 +1167,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1192,16 +1192,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1217,14 +1217,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1239,16 +1239,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1264,16 +1264,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1289,14 +1289,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1311,16 +1311,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1336,16 +1336,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1361,14 +1361,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1383,7 +1383,7 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } }, { @@ -1413,10 +1413,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1431,16 +1431,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1456,16 +1456,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1481,14 +1481,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1503,14 +1503,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1525,14 +1525,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1547,7 +1547,7 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { @@ -1585,7 +1585,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "planned", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1628,37 +1628,25 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1874,6 +1862,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json new file mode 100644 index 000000000..7c8639268 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json @@ -0,0 +1,253 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-04-23T18:16:37+05:30", + "identifier": { + "value": "8919-40" + }, + "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", + "entry": [ + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" + }, + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + } + }, + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T08:16:35.809Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T18:16:37+05:30", + "recorded": "2019-04-23T18:16:37+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" + } + ] + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + } + }, + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + }, + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T18:16:37+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + } + }, + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + }, + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json new file mode 100644 index 000000000..c795abd77 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json @@ -0,0 +1,291 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-04-23T18:16:37+05:30", + "identifier": { + "value": "8919-40" + }, + "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", + "entry": [ + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" + }, + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + } + }, + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T08:17:46.969Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T18:16:37+05:30", + "recorded": "2019-04-23T18:16:37+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" + } + ] + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + } + }, + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + }, + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T18:16:37+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + } + }, + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + }, + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + }, + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "145", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "569", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json new file mode 100644 index 000000000..3f353e8ea --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json @@ -0,0 +1,526 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T08:20:54.57Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:47ef213c-df51-8b48-5303-78ad9d9838b2", + "resource": { + "resourceType": "Linkage", + "id": "47ef213c-df51-8b48-5303-78ad9d9838b2", + "item": [ + { + "type": "source", + "resource": { + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + } + }, + { + "type": "historical", + "resource": { + "type": "Account", + "identifier": { + "value": "ACC1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/47ef213c-df51-8b48-5303-78ad9d9838b2" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json new file mode 100644 index 000000000..fee7e01e7 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json @@ -0,0 +1,474 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T08:21:30.267Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:c210dc77-8f38-85ac-0201-f6a3d88da448", + "resource": { + "resourceType": "Linkage", + "id": "c210dc77-8f38-85ac-0201-f6a3d88da448", + "item": [ + { + "type": "source", + "resource": { + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/c210dc77-8f38-85ac-0201-f6a3d88da448" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json index 5fb4e7d51..44bed22e7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:43:14.216Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + "div": "

Resource bundle generated on 2022-02-22T08:22:43.295Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -478,7 +478,7 @@ }, "generalPractitioner": [ { - "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, { "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" @@ -659,10 +659,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -675,9 +675,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -694,21 +694,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -724,7 +724,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -834,10 +834,10 @@ } }, { - "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", "resource": { "resourceType": "Organization", - "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", "name": "LINDAS TEST ORGANIZATION", "identifier": [ { @@ -847,7 +847,7 @@ }, "request": { "method": "PUT", - "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11" + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } }, { @@ -893,10 +893,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -913,7 +913,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -931,21 +931,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -961,20 +961,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -1007,7 +1007,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json index 9c25e84ad..b93d9f660 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:46:15.345Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + "div": "

Resource bundle generated on 2022-02-22T08:23:18.825Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -616,10 +616,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -632,9 +632,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -651,21 +651,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -681,7 +681,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -791,10 +791,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -811,7 +811,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -829,21 +829,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -859,20 +859,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -905,7 +905,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json index f592f413d..b4d0e4549 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json @@ -66,7 +66,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:46:47.034Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + "div": "

Resource bundle generated on 2022-02-22T08:23:53.225Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -474,7 +474,40 @@ "multipleBirthInteger": 2, "deceasedDateTime": "2008-08-25T15:31:30+05:30", "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, "extension": [ { @@ -666,10 +699,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -682,9 +715,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -701,21 +734,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -731,7 +764,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1052,14 +1085,14 @@ } }, { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", "resource": { "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "id": "94d0558e-593c-7585-5525-68541f8b1064", "identifier": [ { "value": "C008", - "system": "urn:oid:2.8", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1086,7 +1119,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -1124,17 +1157,17 @@ } }, { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "resource": { "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", "identifier": [ { "value": "T123", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, { - "value": "urn:oid:r2.3", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1150,7 +1183,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } }, { @@ -1246,12 +1279,12 @@ } }, { - "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737", + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "resource": { "resourceType": "Location", - "id": "9172e4a0-1ca5-646d-2183-b179f4daa737", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", "partOf": { - "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, "name": "HUH AE OMU", "identifier": [ @@ -1273,16 +1306,16 @@ }, "request": { "method": "PUT", - "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { - "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c", + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", "resource": { "resourceType": "Location", - "id": "3913ec4d-6576-5e1a-ac31-e8280583371c", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", "partOf": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, "name": "OMU B", "mode": "instance", @@ -1298,16 +1331,16 @@ }, "request": { "method": "PUT", - "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } }, { - "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "resource": { "resourceType": "Location", - "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", "partOf": { - "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c" + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, "name": "Bed 03", "mode": "instance", @@ -1323,14 +1356,14 @@ }, "request": { "method": "PUT", - "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b" + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } }, { - "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e", + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", "resource": { "resourceType": "Location", - "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", "name": "HOMERTON UNIVER", "mode": "instance", "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", @@ -1345,16 +1378,16 @@ }, "request": { "method": "PUT", - "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } }, { - "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", "resource": { "resourceType": "Location", - "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", "partOf": { - "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e" + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, "name": "Homerton UH", "mode": "instance", @@ -1370,16 +1403,16 @@ }, "request": { "method": "PUT", - "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } }, { - "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c", + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", "resource": { "resourceType": "Location", - "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", "partOf": { - "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c" + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, "name": "Floor5", "mode": "instance", @@ -1395,14 +1428,14 @@ }, "request": { "method": "PUT", - "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c" + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, { - "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", "resource": { "resourceType": "Location", - "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", "name": "4 East, room 136, bed B 4E", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1417,16 +1450,16 @@ }, "request": { "method": "PUT", - "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } }, { - "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", "resource": { "resourceType": "Location", - "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", "partOf": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, "name": "136", "mode": "instance", @@ -1442,16 +1475,16 @@ }, "request": { "method": "PUT", - "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } }, { - "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b", + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "resource": { "resourceType": "Location", - "id": "5783dafa-c6c0-e673-cca4-42087ee1831b", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", "partOf": { - "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e" + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, "name": "B", "mode": "instance", @@ -1467,14 +1500,14 @@ }, "request": { "method": "PUT", - "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b" + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } }, { - "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096", + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "resource": { "resourceType": "Location", - "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", "name": "CommunityHospital", "mode": "instance", "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", @@ -1489,7 +1522,104 @@ }, "request": { "method": "PUT", - "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096" + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } }, { @@ -1519,10 +1649,10 @@ } }, { - "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6", + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", "resource": { "resourceType": "Location", - "id": "84634858-74aa-5cdb-4547-60ec27339ac6", + "id": "9be961d3-d02a-b454-1991-fa701628c823", "name": "POC", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1537,16 +1667,16 @@ }, "request": { "method": "PUT", - "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } }, { - "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", "resource": { "resourceType": "Location", - "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", "partOf": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, "name": "Room-2", "mode": "instance", @@ -1562,16 +1692,16 @@ }, "request": { "method": "PUT", - "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } }, { - "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3", + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "resource": { "resourceType": "Location", - "id": "35353f20-6254-e794-98ed-8007490447e3", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", "partOf": { - "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42" + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, "name": "Bed-103", "mode": "instance", @@ -1587,14 +1717,14 @@ }, "request": { "method": "PUT", - "url": "Location/35353f20-6254-e794-98ed-8007490447e3" + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } }, { - "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55", + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "resource": { "resourceType": "Location", - "id": "055e10f1-222e-df73-2325-0e4396db1a55", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", "name": "Greenland", "mode": "instance", "description": "POC--Room-2--Bed-103--C--Greenland", @@ -1609,14 +1739,14 @@ }, "request": { "method": "PUT", - "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55" + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } }, { - "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d", + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "resource": { "resourceType": "Location", - "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", "name": "Nursing home", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1631,14 +1761,14 @@ }, "request": { "method": "PUT", - "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } }, { - "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", "resource": { "resourceType": "Location", - "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", "name": "Rosewood", "mode": "instance", "description": "Nursing home--Rosewood", @@ -1653,14 +1783,14 @@ }, "request": { "method": "PUT", - "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37" + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", "name": "ROOM1", "identifier": [ { @@ -1681,16 +1811,16 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } }, { - "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510", + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", "resource": { "resourceType": "Location", - "id": "6f159848-5f01-01b3-9594-80fbbe9ab510", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", "partOf": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, "name": "BED1", "mode": "instance", @@ -1706,14 +1836,14 @@ }, "request": { "method": "PUT", - "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510" + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", "name": "FACILITY1", "mode": "instance", "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", @@ -1728,16 +1858,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, "name": "BUILDING1", "mode": "instance", @@ -1753,16 +1883,16 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", "partOf": { - "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, "name": "FLOOR1", "mode": "instance", @@ -1778,7 +1908,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } }, { @@ -1816,7 +1946,7 @@ "resource": { "resourceType": "EpisodeOfCare", "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "finished", + "status": "active", "identifier": [ { "value": "EOC124", @@ -1859,37 +1989,37 @@ { "status": "planned", "location": { - "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737" + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } }, { "status": "completed", "location": { - "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, { "status": "planned", "location": { - "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6" + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false + "valueBoolean": true } ] }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { "status": "completed", "location": { - "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d" + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, "extension": [ { @@ -1901,14 +2031,8 @@ { "status": "planned", "location": { - "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } ], "type": [ @@ -2033,7 +2157,7 @@ } ], "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } }, { @@ -2120,9 +2244,9 @@ } ] }, - "system": "urn:oid:r2.3", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } } ], @@ -2152,6 +2276,37 @@ "code": "N", "display": "normal", "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] } ] }, @@ -2175,6 +2330,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -2195,10 +2355,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -2215,7 +2375,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -2233,21 +2393,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2263,20 +2423,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -2309,7 +2469,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json index 48a9962fd..a1c56cf29 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json @@ -64,7 +64,7 @@ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T10:47:28.446Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + "div": "

Resource bundle generated on 2022-02-22T08:24:24.969Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -616,10 +616,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -632,9 +632,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -651,21 +651,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -681,7 +681,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -791,10 +791,10 @@ } }, { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", "resource": { "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", "occurredDateTime": "2021-08-17T18:49:43.004+05:30", "recorded": "2029-08-01T11:21:24+05:30", "reason": [ @@ -811,7 +811,7 @@ "agent": [ { "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } } ], @@ -829,21 +829,21 @@ }, "request": { "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } }, { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", "resource": { "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "id": "3cd92576-75fd-2465-a15f-b469be921588", "identifier": [ { "value": "DRNBR", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, { - "value": "urn:oid:W1.2", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -859,20 +859,20 @@ }, "request": { "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } }, { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", "resource": { "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", "identifier": [ { "value": "C08", - "system": "urn:oid:W1.2", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, "type": { "coding": [ @@ -905,7 +905,7 @@ }, "request": { "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json index 117382a80..d9a767a70 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json @@ -50,9 +50,9 @@ ] }, "eventCoding": { - "code": "T02", + "code": "T01", "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02" + "display": "MDM^T01^MDM_T01" }, "sender": { "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" @@ -70,7 +70,7 @@ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:01:41.469Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + "div": "

Resource bundle generated on 2022-02-22T08:50:04.828Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" }, "occurredDateTime": "2008-01-31T19:15:00+05:30", "recorded": "2008-01-31T19:15:00+05:30", @@ -92,7 +92,7 @@ "activity": { "coding": [ { - "display": "MDM^T02^" + "display": "MDM^T01^MDM_T01" } ] }, @@ -167,7 +167,7 @@ } ], "activity": { - "text": "MDM^T02" + "text": "MDM^T01^MDM_T01" }, "target": [ { @@ -235,6 +235,15 @@ "given": [ "SAMPLE" ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] } ], "birthDate": "1972-12-01", @@ -246,10 +255,10 @@ } }, { - "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", "resource": { "resourceType": "Account", - "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", "identifier": [ { "value": "10000001" @@ -264,7 +273,7 @@ }, "request": { "method": "PUT", - "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b" + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } }, { @@ -340,13 +349,13 @@ } }, { - "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", "resource": { "resourceType": "Location", - "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", "name": "CCU", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -358,16 +367,16 @@ }, "request": { "method": "PUT", - "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { - "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", "resource": { "resourceType": "Location", - "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, "name": "2000", "mode": "instance", @@ -383,20 +392,20 @@ }, "request": { "method": "PUT", - "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } }, { - "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841", + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", "resource": { "resourceType": "Location", - "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", "partOf": { - "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, "name": "1", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -408,16 +417,38 @@ }, "request": { "method": "PUT", - "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" } }, { - "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177", + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", "resource": { "resourceType": "Location", - "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, "name": "2003", "mode": "instance", @@ -433,7 +464,32 @@ }, "request": { "method": "PUT", - "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } }, { @@ -451,20 +507,14 @@ { "status": "active", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { "status": "completed", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } ], "participant": [ @@ -535,6 +585,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], "subject": { "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } @@ -576,16 +631,6 @@ "masterIdentifier": { "value": "1.2.840.317.5947431.51.20080131160038" }, - "relatesTo": [ - { - "code": "appends", - "target": { - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], "docStatus": "preliminary", "status": "current" }, @@ -625,11 +670,11 @@ } }, { - "fullUrl": "urn:uuid:759e7d81-3fa3-111c-8580-9c4c71176dc2", + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", "resource": { "resourceType": "ServiceRequest", - "id": "759e7d81-3fa3-111c-8580-9c4c71176dc2", - "status": "active", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", "intent": "order", "identifier": [ { @@ -726,9 +771,9 @@ "code": { "coding": [ { - "code": "ACM", - "display": "Before Breakfast", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx" + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" } ] }, @@ -736,7 +781,7 @@ "period": 12, "periodUnit": "min", "when": [ - "ACM" + "PC" ], "offset": 2, "boundsPeriod": { @@ -752,7 +797,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/759e7d81-3fa3-111c-8580-9c4c71176dc2" + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } }, { @@ -788,9 +833,6 @@ "resource": { "resourceType": "Specimen", "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" - }, "identifier": [ { "value": "00012345", @@ -814,12 +856,53 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } }, "request": { "method": "PUT", "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json index 4350324f2..dce5637ad 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json @@ -70,7 +70,7 @@ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:21:28.605Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + "div": "

Resource bundle generated on 2022-02-22T08:50:39.786Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" }, "occurredDateTime": "2008-01-31T19:15:00+05:30", "recorded": "2008-01-31T19:15:00+05:30", @@ -246,10 +246,10 @@ } }, { - "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", "resource": { "resourceType": "Account", - "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", "identifier": [ { "value": "10000001" @@ -264,7 +264,7 @@ }, "request": { "method": "PUT", - "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b" + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } }, { @@ -340,13 +340,13 @@ } }, { - "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", "resource": { "resourceType": "Location", - "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", "name": "CCU", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -358,16 +358,16 @@ }, "request": { "method": "PUT", - "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { - "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", "resource": { "resourceType": "Location", - "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, "name": "2000", "mode": "instance", @@ -383,20 +383,20 @@ }, "request": { "method": "PUT", - "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } }, { - "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841", + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", "resource": { "resourceType": "Location", - "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", "partOf": { - "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, "name": "1", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -408,16 +408,38 @@ }, "request": { "method": "PUT", - "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } }, { - "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177", + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", "resource": { "resourceType": "Location", - "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, "name": "2003", "mode": "instance", @@ -433,7 +455,32 @@ }, "request": { "method": "PUT", - "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } }, { @@ -451,20 +498,14 @@ { "status": "active", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { "status": "completed", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } ], "participant": [ @@ -535,6 +576,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], "subject": { "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } @@ -576,16 +622,6 @@ "masterIdentifier": { "value": "1.2.840.317.5947431.51.20080131160038" }, - "relatesTo": [ - { - "code": "appends", - "target": { - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], "docStatus": "preliminary", "status": "current" }, @@ -625,11 +661,11 @@ } }, { - "fullUrl": "urn:uuid:01cd87ac-cb24-4ae6-239f-a3c355aafd49", + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", "resource": { "resourceType": "ServiceRequest", - "id": "01cd87ac-cb24-4ae6-239f-a3c355aafd49", - "status": "active", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", "intent": "order", "identifier": [ { @@ -726,9 +762,9 @@ "code": { "coding": [ { - "code": "ACM", - "display": "Before Breakfast", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx" + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" } ] }, @@ -736,7 +772,7 @@ "period": 12, "periodUnit": "min", "when": [ - "ACM" + "PC" ], "offset": 2, "boundsPeriod": { @@ -752,7 +788,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/01cd87ac-cb24-4ae6-239f-a3c355aafd49" + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } }, { @@ -788,9 +824,6 @@ "resource": { "resourceType": "Specimen", "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" - }, "identifier": [ { "value": "00012345", @@ -814,7 +847,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } }, "request": { "method": "PUT", @@ -822,11 +858,11 @@ } }, { - "fullUrl": "urn:uuid:ad3dd95e-23fb-17ca-7fa9-259b0939a4f4", + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", "resource": { "resourceType": "ServiceRequest", - "id": "ad3dd95e-23fb-17ca-7fa9-259b0939a4f4", - "status": "active", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", "intent": "order", "identifier": [ { @@ -903,7 +939,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/ad3dd95e-23fb-17ca-7fa9-259b0939a4f4" + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } }, { @@ -911,9 +947,6 @@ "resource": { "resourceType": "Specimen", "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" - }, "identifier": [ { "value": "00012367", @@ -937,7 +970,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json index fcf7e4c54..19fa0ecf9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json @@ -68,7 +68,7 @@ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:22:01.635Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + "div": "

Resource bundle generated on 2022-02-22T08:52:16.738Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" }, "occurredDateTime": "2008-01-31T19:15:00+05:30", "recorded": "2008-01-31T19:15:00+05:30", @@ -204,6 +204,15 @@ "given": [ "SAMPLE" ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] } ], "birthDate": "1972-12-01", @@ -215,10 +224,10 @@ } }, { - "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", "resource": { "resourceType": "Account", - "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", "identifier": [ { "value": "10000001" @@ -233,7 +242,7 @@ }, "request": { "method": "PUT", - "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b" + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } }, { @@ -309,13 +318,13 @@ } }, { - "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", "resource": { "resourceType": "Location", - "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", "name": "CCU", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -327,16 +336,16 @@ }, "request": { "method": "PUT", - "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { - "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", "resource": { "resourceType": "Location", - "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, "name": "2000", "mode": "instance", @@ -352,20 +361,20 @@ }, "request": { "method": "PUT", - "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } }, { - "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841", + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", "resource": { "resourceType": "Location", - "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", "partOf": { - "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, "name": "1", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -377,16 +386,38 @@ }, "request": { "method": "PUT", - "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } }, { - "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177", + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", "resource": { "resourceType": "Location", - "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, "name": "2003", "mode": "instance", @@ -402,7 +433,32 @@ }, "request": { "method": "PUT", - "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } }, { @@ -420,20 +476,14 @@ { "status": "active", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { "status": "completed", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } ], "participant": [ @@ -504,6 +554,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], "subject": { "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } @@ -545,16 +600,6 @@ "masterIdentifier": { "value": "1.2.840.317.5947431.51.20080131160038" }, - "relatesTo": [ - { - "code": "appends", - "target": { - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], "docStatus": "preliminary", "status": "current" }, @@ -594,11 +639,11 @@ } }, { - "fullUrl": "urn:uuid:46cd7f69-a39b-fcb3-d2bd-2085cc2464cf", + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", "resource": { "resourceType": "ServiceRequest", - "id": "46cd7f69-a39b-fcb3-d2bd-2085cc2464cf", - "status": "active", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", "intent": "order", "identifier": [ { @@ -695,9 +740,9 @@ "code": { "coding": [ { - "code": "ACM", - "display": "Before Breakfast", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx" + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" } ] }, @@ -705,7 +750,7 @@ "period": 12, "periodUnit": "min", "when": [ - "ACM" + "PC" ], "offset": 2, "boundsPeriod": { @@ -721,7 +766,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/46cd7f69-a39b-fcb3-d2bd-2085cc2464cf" + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } }, { @@ -757,9 +802,6 @@ "resource": { "resourceType": "Specimen", "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" - }, "identifier": [ { "value": "00012345", @@ -783,13 +825,54 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } }, "request": { "method": "PUT", "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" } }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + }, { "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", "resource": { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json index d41a283b5..166a83f34 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json @@ -70,7 +70,7 @@ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:22:23.425Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + "div": "

Resource bundle generated on 2022-02-22T08:53:12.595Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" }, "occurredDateTime": "2008-01-31T19:15:00+05:30", "recorded": "2008-01-31T19:15:00+05:30", @@ -246,10 +246,10 @@ } }, { - "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", "resource": { "resourceType": "Account", - "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", "identifier": [ { "value": "10000001" @@ -264,7 +264,7 @@ }, "request": { "method": "PUT", - "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b" + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } }, { @@ -340,13 +340,13 @@ } }, { - "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", "resource": { "resourceType": "Location", - "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", "name": "CCU", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -358,16 +358,16 @@ }, "request": { "method": "PUT", - "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { - "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", "resource": { "resourceType": "Location", - "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, "name": "2000", "mode": "instance", @@ -383,20 +383,20 @@ }, "request": { "method": "PUT", - "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2" + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } }, { - "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841", + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", "resource": { "resourceType": "Location", - "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", "partOf": { - "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, "name": "1", "mode": "instance", - "description": "CCU--2003--1", + "description": "CCU--2000--1", "physicalType": { "coding": [ { @@ -408,16 +408,38 @@ }, "request": { "method": "PUT", - "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841" + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } }, { - "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177", + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", "resource": { "resourceType": "Location", - "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", "partOf": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, "name": "2003", "mode": "instance", @@ -433,7 +455,32 @@ }, "request": { "method": "PUT", - "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177" + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } }, { @@ -451,20 +498,14 @@ { "status": "active", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } }, { "status": "completed", "location": { - "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } ], "participant": [ @@ -535,6 +576,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], "subject": { "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } @@ -576,16 +622,6 @@ "masterIdentifier": { "value": "1.2.840.317.5947431.51.20080131160038" }, - "relatesTo": [ - { - "code": "appends", - "target": { - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], "docStatus": "preliminary", "status": "current" }, @@ -625,11 +661,11 @@ } }, { - "fullUrl": "urn:uuid:01cd87ac-cb24-4ae6-239f-a3c355aafd49", + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", "resource": { "resourceType": "ServiceRequest", - "id": "01cd87ac-cb24-4ae6-239f-a3c355aafd49", - "status": "active", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", "intent": "order", "identifier": [ { @@ -726,9 +762,9 @@ "code": { "coding": [ { - "code": "ACM", - "display": "Before Breakfast", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx" + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" } ] }, @@ -736,7 +772,7 @@ "period": 12, "periodUnit": "min", "when": [ - "ACM" + "PC" ], "offset": 2, "boundsPeriod": { @@ -752,7 +788,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/01cd87ac-cb24-4ae6-239f-a3c355aafd49" + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } }, { @@ -788,9 +824,6 @@ "resource": { "resourceType": "Specimen", "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" - }, "identifier": [ { "value": "00012345", @@ -814,7 +847,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } }, "request": { "method": "PUT", @@ -822,11 +858,11 @@ } }, { - "fullUrl": "urn:uuid:7b7dd544-782a-d161-1dfe-f5045df43351", + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", "resource": { "resourceType": "ServiceRequest", - "id": "7b7dd544-782a-d161-1dfe-f5045df43351", - "status": "active", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", "intent": "order", "identifier": [ { @@ -904,7 +940,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/7b7dd544-782a-d161-1dfe-f5045df43351" + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } }, { @@ -912,9 +948,6 @@ "resource": { "resourceType": "Specimen", "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" - }, "identifier": [ { "value": "00012367", @@ -938,7 +971,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json index 8d47eb3c0..1945ff3ae 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json @@ -68,7 +68,7 @@ "id": "ff198209-2ee9-a32c-124f-d63637240f8d", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T09:22:44.962Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + "div": "

Resource bundle generated on 2022-02-22T08:53:47.709Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" }, "occurredDateTime": "2021-08-01T12:21:42+05:30", "recorded": "2021-08-01T12:21:42+05:30", @@ -420,11 +420,11 @@ } }, { - "fullUrl": "urn:uuid:cb755da5-d1d4-2d4f-0f4d-363679151ac4", + "fullUrl": "urn:uuid:c031cd63-1fa2-cb31-8841-e4a2a3c936bb", "resource": { "resourceType": "ServiceRequest", - "id": "cb755da5-d1d4-2d4f-0f4d-363679151ac4", - "status": "active", + "id": "c031cd63-1fa2-cb31-8841-e4a2a3c936bb", + "status": "unknown", "intent": "reflex-order", "orderDetail": [ { @@ -581,7 +581,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/cb755da5-d1d4-2d4f-0f4d-363679151ac4" + "url": "ServiceRequest/c031cd63-1fa2-cb31-8841-e4a2a3c936bb" } }, { @@ -661,7 +661,7 @@ } } ], - "status": "active", + "status": "unknown", "intent": "reflex-order", "subject": { "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" @@ -677,29 +677,6 @@ "resource": { "resourceType": "Specimen", "id": "2cb11a40-e62b-7255-c309-1dd5b722b803", - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "method": { - "text": "Collection Method" - }, - "collectedDateTime": "2002-02-15T10:45:00+05:30" - }, - "receivedTime": "2002-02-12T10:45:00+05:30", "identifier": [ { "value": "845439", @@ -746,6 +723,29 @@ } ] }, + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T10:45:00+05:30" + }, + "receivedTime": "2002-02-12T10:45:00+05:30", "container": [ { "additiveCodeableConcept": { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json new file mode 100644 index 000000000..b93f25f6d --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json @@ -0,0 +1,919 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:01:03.629Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json new file mode 100644 index 000000000..3ca7aa157 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json @@ -0,0 +1,995 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:01:34.478Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json new file mode 100644 index 000000000..c21396985 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json @@ -0,0 +1,965 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:02:44.036Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + }, + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" + } + ] + }, + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + } + }, + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json new file mode 100644 index 000000000..b3860af1f --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json @@ -0,0 +1,1076 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:03:17.235Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T20:00:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json new file mode 100644 index 000000000..68a5848d9 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json @@ -0,0 +1,919 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:03:55.272Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json new file mode 100644 index 000000000..616711f45 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json @@ -0,0 +1,995 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:05:12.247Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json new file mode 100644 index 000000000..d060f8a8d --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json @@ -0,0 +1,965 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:08:36.031Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + }, + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" + } + ] + }, + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + } + }, + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json new file mode 100644 index 000000000..ab93733ce --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json @@ -0,0 +1,1076 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T19:15:00+05:30", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:09:06.283Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T20:00:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json index 6a7579a4b..c0d2d7201 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json @@ -61,7 +61,7 @@ "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:53:15.699Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + "div": "

Resource bundle generated on 2022-02-22T09:15:11.404Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, "occurredDateTime": "2016-03-09T04:34:05+05:30", "recorded": "2016-03-09T04:34:05+05:30", @@ -244,6 +244,43 @@ "url": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" } }, + { + "fullUrl": "urn:uuid:f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "resource": { + "resourceType": "Organization", + "id": "f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" + } + }, + { + "fullUrl": "urn:uuid:d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "resource": { + "resourceType": "Account", + "id": "d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" + }, + "onHold": false + } + ], + "subject": [ + { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/d57aadb1-2418-cd95-5527-0d92a48b5dfa" + } + }, { "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0", "resource": { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json index 9de9c05dc..4850c9e22 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json @@ -61,7 +61,7 @@ "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:53:34.627Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + "div": "

Resource bundle generated on 2022-02-22T09:16:11.017Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, "occurredDateTime": "2016-03-09T21:02:05+05:30", "recorded": "2016-03-09T21:02:05+05:30", @@ -244,6 +244,42 @@ "url": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" } }, + { + "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "resource": { + "resourceType": "Organization", + "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + }, + { + "fullUrl": "urn:uuid:2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "resource": { + "resourceType": "Account", + "id": "2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + } + ], + "subject": [ + { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a" + } + }, { "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3", "resource": { @@ -341,18 +377,6 @@ "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" } }, - { - "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "resource": { - "resourceType": "Organization", - "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "name": "Walmart" - }, - "request": { - "method": "PUT", - "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - } - }, { "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3", "resource": { @@ -400,11 +424,11 @@ } }, { - "fullUrl": "urn:uuid:bafe469c-5cc7-f800-feae-81b33cf36940", + "fullUrl": "urn:uuid:c0150cb3-0fdf-5809-54b6-8e3f186a90d7", "resource": { "resourceType": "ServiceRequest", - "id": "bafe469c-5cc7-f800-feae-81b33cf36940", - "status": "active", + "id": "c0150cb3-0fdf-5809-54b6-8e3f186a90d7", + "status": "unknown", "intent": "order", "identifier": [ { @@ -474,7 +498,45 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940" + "url": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + }, + { + "fullUrl": "urn:uuid:c9463523-7143-2510-6861-24e4a2703f22", + "resource": { + "resourceType": "Organization", + "id": "c9463523-7143-2510-6861-24e4a2703f22", + "name": "Detroit City Hospital", + "identifier": [ + { + "value": "8175000005" + } + ], + "address": [ + { + "line": [ + "2405 Garden St" + ], + "city": "Detroit", + "state": "MI", + "postalCode": "48201", + "country": "USA" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c9463523-7143-2510-6861-24e4a2703f22" } }, { @@ -510,6 +572,20 @@ "resource": { "resourceType": "PractitionerRole", "id": "9996be7d-26c8-997e-2f57-9ce40fe59181", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "organization": { + "reference": "Organization/c9463523-7143-2510-6861-24e4a2703f22" + }, "practitioner": { "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" } @@ -524,12 +600,6 @@ "resource": { "resourceType": "Specimen", "id": "29fb3250-9864-4dad-e590-4126768684d4", - "collection": { - "collectedPeriod": { - "start": "2016-03-08T21:02:05+05:30", - "end": "2016-03-08T21:02:05+05:30" - } - }, "identifier": [ { "value": "ORD723222", @@ -555,6 +625,17 @@ ] } } + ], + "collection": { + "collectedPeriod": { + "start": "2016-03-08T21:02:05+05:30", + "end": "2016-03-08T21:02:05+05:30" + } + }, + "request": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } ] }, "request": { @@ -563,10 +644,10 @@ } }, { - "fullUrl": "urn:uuid:c55789d4-78ae-5836-21d4-48191c4763a7", + "fullUrl": "urn:uuid:7fd7b81a-cae2-53b5-1d4c-b220a32a5695", "resource": { "resourceType": "Observation", - "id": "c55789d4-78ae-5836-21d4-48191c4763a7", + "id": "7fd7b81a-cae2-53b5-1d4c-b220a32a5695", "status": "unknown", "code": { "coding": [ @@ -579,7 +660,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940" + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" } ], "valueString": "NO", @@ -605,7 +686,7 @@ }, "request": { "method": "PUT", - "url": "Observation/c55789d4-78ae-5836-21d4-48191c4763a7" + "url": "Observation/7fd7b81a-cae2-53b5-1d4c-b220a32a5695" } }, { @@ -613,9 +694,6 @@ "resource": { "resourceType": "Specimen", "id": "92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", - "collection": { - "collectedDateTime": "2016-03-08T21:02:05+05:30" - }, "type": { "coding": [ { @@ -625,6 +703,9 @@ } ] }, + "collection": { + "collectedDateTime": "2016-03-08T21:02:05+05:30" + }, "container": [ { "additiveCodeableConcept": { @@ -639,7 +720,7 @@ ], "request": [ { - "reference": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940" + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" } ] }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json index 23f9d2541..e3a858ee5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json @@ -64,7 +64,7 @@ "id": "58988e57-a45e-285b-5942-4480980652df", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:52:34.631Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + "div": "

Resource bundle generated on 2022-02-22T09:13:38.79Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, "occurredDateTime": "2021-10-20T14:41:00+05:30", "recorded": "2021-10-20T14:41:00+05:30", @@ -641,10 +641,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -657,9 +657,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -676,32 +676,33 @@ "guarantor": [ { "party": { - "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { - "start": "2016-01-01" + "start": "2001-04-10", + "end": "2001-04-15" } } ] }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -717,46 +718,52 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { "resourceType": "RelatedPerson", - "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", "identifier": [ { "value": "1516", "type": { "coding": [ { - "code": "LN", + "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "License number" + "display": "Medical record number" } ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } }, { - "value": "19290207", + "value": "55121", "type": { "coding": [ { - "code": "EI", + "code": "FI", "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" + "display": "Facility ID" } ] } }, { - "value": "2245367687", + "value": "G-SSN-12", "type": { "coding": [ { "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } ] }, @@ -767,8 +774,8 @@ { "coding": [ { - "code": "MTH", - "display": "mother", + "code": "BRO", + "display": "brother", "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" } ] @@ -787,13 +794,18 @@ ], "telecom": [ { - "value": "(608)251-7777", - "system": "phone", + "value": "8484", + "system": "email", "use": "home" }, { - "value": "(608)2517777", + "value": "717171", "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", "use": "work" } ], @@ -805,15 +817,29 @@ ] } ], - "gender": "female", + "gender": "male", "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], "patient": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } }, "request": { "method": "PUT", - "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -998,10 +1024,10 @@ } }, { - "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", "resource": { "resourceType": "Location", - "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", "name": "LABUnit01", "mode": "instance", "description": "LABUnit01--Room01--GHH", @@ -1016,16 +1042,16 @@ }, "request": { "method": "PUT", - "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", "partOf": { - "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, "name": "Room01", "mode": "instance", @@ -1041,14 +1067,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" } }, { - "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", "resource": { "resourceType": "Location", - "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", "name": "GHH", "mode": "instance", "description": "LABUnit01--Room01--GHH", @@ -1063,14 +1089,14 @@ }, "request": { "method": "PUT", - "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" } }, { - "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396", + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", "resource": { "resourceType": "Location", - "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", "name": "TraumaCentre", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -1085,16 +1111,16 @@ }, "request": { "method": "PUT", - "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "partOf": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, "name": "ROOM1", "identifier": [ @@ -1116,14 +1142,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } }, { - "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3", + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", "resource": { "resourceType": "Location", - "id": "e9bd830d-8f94-01b9-7562-854da22940d3", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", "name": "GHH1", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -1138,7 +1164,7 @@ }, "request": { "method": "PUT", - "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3" + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } }, { @@ -1156,20 +1182,14 @@ { "status": "active", "location": { - "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" } }, { "status": "completed", "location": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } } ], "participant": [ @@ -1244,6 +1264,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1682,10 +1707,59 @@ } }, { - "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f", + "fullUrl": "urn:uuid:0bf0c9dd-ca57-7366-1557-e073ee1f717a", "resource": { "resourceType": "ServiceRequest", - "id": "3622230f-85a9-b313-e26b-eabfc755e34f", + "id": "0bf0c9dd-ca57-7366-1557-e073ee1f717a", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PS-31" + } + ] + } + } + ], + "status": "active", + "intent": "order", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + }, + { + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "resource": { + "resourceType": "ServiceRequest", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", "status": "active", "intent": "order", "identifier": [ @@ -1715,6 +1789,11 @@ } ], "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "reference": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + ], "locationCode": [ { "coding": [ @@ -1738,6 +1817,9 @@ "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, "requester": { "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" }, @@ -1795,7 +1877,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } }, { @@ -1828,6 +1910,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" } @@ -1844,7 +1937,12 @@ "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", "collection": { "collectedDateTime": "2021-10-20T15:15:00+05:30" - } + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ] }, "request": { "method": "PUT", @@ -1980,7 +2078,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1995,26 +2093,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2029,7 +2127,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2064,7 +2162,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2073,7 +2171,7 @@ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, "organization": { - "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, "request": { @@ -2082,10 +2180,10 @@ } }, { - "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f", + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", "resource": { "resourceType": "Organization", - "id": "08c155be-912e-af06-d464-5b6bb63d660f", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", "name": "State Hygienic Laboratory", "identifier": [ { @@ -2116,14 +2214,14 @@ }, "request": { "method": "PUT", - "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", "identifier": [ { "value": "EI21", @@ -2153,7 +2251,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } ], "valueCodeableConcept": { @@ -2161,8 +2259,7 @@ { "code": "27268008", "display": "Salmonella", - "system": "http://snomed.info/sct", - "version": "20090731" + "system": "http://snomed.info/sct" } ], "text": "Salmonella species" @@ -2177,7 +2274,7 @@ "text": "Bacterial Culture" }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2238,7 +2335,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" } }, { @@ -2287,7 +2384,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } ], "status": "unknown", @@ -2307,57 +2404,10 @@ } }, { - "fullUrl": "urn:uuid:5dccf96a-1490-c206-c930-bded2f3d05fe", + "fullUrl": "urn:uuid:93cb07c2-034f-56b1-9a47-558f231eeea0", "resource": { "resourceType": "Specimen", - "id": "5dccf96a-1490-c206-c930-bded2f3d05fe", - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", + "id": "93cb07c2-034f-56b1-9a47-558f231eeea0", "identifier": [ { "value": "2012545", @@ -2392,14 +2442,14 @@ } ] }, - "system": "urn:uuid:2.16.840.1.114222", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "assigner": { - "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { "value": "ShipID-32", - "system": "urn:oid:SID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2424,8 +2474,64 @@ ], "text": "Blood" }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", "container": [ { + "identifier": [ + { + "value": "A59032" + } + ], + "capacity": { + "value": 10, + "unit": "ML" + }, "additiveCodeableConcept": { "coding": [ { @@ -2449,6 +2555,10 @@ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" } ] + }, + "specimenQuantity": { + "value": 5, + "unit": "ML" } } ], @@ -2489,9 +2599,9 @@ } ] }, - "system": "urn:oid:2.16.840.1.114222", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } }, "note": [ @@ -2501,7 +2611,7 @@ ], "request": [ { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } ], "parent": [ @@ -2512,7 +2622,57 @@ }, "request": { "method": "PUT", - "url": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe" + "url": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + } + }, + { + "fullUrl": "urn:uuid:9216aed5-efd7-bd84-23b9-aca219d8b23b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9216aed5-efd7-bd84-23b9-aca219d8b23b", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9216aed5-efd7-bd84-23b9-aca219d8b23b" } }, { @@ -2540,17 +2700,17 @@ } }, { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", "resource": { "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", "identifier": [ { "value": "IA PHIMS Stage", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" }, { - "value": "urn:oid:2.16.840.1.114222", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -2566,27 +2726,27 @@ }, "request": { "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } }, { - "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca", + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "resource": { "resourceType": "Organization", - "id": "322ca8cf-e43e-973c-3149-9e499675ddca", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "identifier": [ { "value": "IPHIMS Stage", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" }, { - "value": "urn:uuid:2.16.840.1.114222", + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "system": "urn:ietf:rfc:3986", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] @@ -2596,7 +2756,7 @@ }, "request": { "method": "PUT", - "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { @@ -2654,7 +2814,7 @@ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, "specimen": { - "reference": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe" + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" }, "extension": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json index feef96c85..ac0b905d1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json @@ -64,7 +64,7 @@ "id": "58988e57-a45e-285b-5942-4480980652df", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:52:56.946Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + "div": "

Resource bundle generated on 2022-02-22T09:14:17.046Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, "occurredDateTime": "2021-10-20T14:41:00+05:30", "recorded": "2021-10-20T14:41:00+05:30", @@ -556,10 +556,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -572,9 +572,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -591,21 +591,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -621,7 +621,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -806,10 +806,10 @@ } }, { - "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", "resource": { "resourceType": "Location", - "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", "name": "LABUnit01", "mode": "instance", "description": "LABUnit01--Room01--GHH", @@ -824,16 +824,16 @@ }, "request": { "method": "PUT", - "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", "partOf": { - "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, "name": "Room01", "mode": "instance", @@ -849,14 +849,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" } }, { - "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", "resource": { "resourceType": "Location", - "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", "name": "GHH", "mode": "instance", "description": "LABUnit01--Room01--GHH", @@ -871,14 +871,14 @@ }, "request": { "method": "PUT", - "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" } }, { - "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396", + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", "resource": { "resourceType": "Location", - "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", "name": "TraumaCentre", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -893,16 +893,16 @@ }, "request": { "method": "PUT", - "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "partOf": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, "name": "ROOM1", "identifier": [ @@ -924,14 +924,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } }, { - "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3", + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", "resource": { "resourceType": "Location", - "id": "e9bd830d-8f94-01b9-7562-854da22940d3", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", "name": "GHH1", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -946,7 +946,7 @@ }, "request": { "method": "PUT", - "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3" + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } }, { @@ -964,20 +964,14 @@ { "status": "active", "location": { - "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" } }, { "status": "completed", "location": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } } ], "participant": [ @@ -1052,6 +1046,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1079,10 +1078,10 @@ } }, { - "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f", + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", "resource": { "resourceType": "ServiceRequest", - "id": "3622230f-85a9-b313-e26b-eabfc755e34f", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", "status": "active", "intent": "order", "identifier": [ @@ -1135,6 +1134,9 @@ "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, "requester": { "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" }, @@ -1192,7 +1194,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } }, { @@ -1225,6 +1227,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" } @@ -1241,7 +1254,12 @@ "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", "collection": { "collectedDateTime": "2021-10-20T15:15:00+05:30" - } + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ] }, "request": { "method": "PUT", @@ -1377,7 +1395,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1392,26 +1410,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1426,7 +1444,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -1461,7 +1479,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1470,7 +1488,7 @@ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, "organization": { - "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, "request": { @@ -1479,10 +1497,10 @@ } }, { - "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f", + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", "resource": { "resourceType": "Organization", - "id": "08c155be-912e-af06-d464-5b6bb63d660f", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", "name": "State Hygienic Laboratory", "identifier": [ { @@ -1513,14 +1531,14 @@ }, "request": { "method": "PUT", - "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", "identifier": [ { "value": "EI21", @@ -1550,7 +1568,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } ], "valueCodeableConcept": { @@ -1558,8 +1576,7 @@ { "code": "27268008", "display": "Salmonella", - "system": "http://snomed.info/sct", - "version": "20090731" + "system": "http://snomed.info/sct" } ], "text": "Salmonella species" @@ -1574,7 +1591,7 @@ "text": "Bacterial Culture" }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -1635,7 +1652,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" } }, { @@ -1667,57 +1684,10 @@ } }, { - "fullUrl": "urn:uuid:10189bc7-6ef6-44fc-e74d-a24678a00fc2", + "fullUrl": "urn:uuid:2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", "resource": { "resourceType": "Specimen", - "id": "10189bc7-6ef6-44fc-e74d-a24678a00fc2", - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", + "id": "2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", "identifier": [ { "value": "2545", @@ -1752,14 +1722,14 @@ } ] }, - "system": "urn:uuid:2.16.840.1.114222", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "assigner": { - "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { "value": "ShipID-32", - "system": "urn:oid:SID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1784,6 +1754,53 @@ ], "text": "Blood" }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", "container": [ { "additiveCodeableConcept": { @@ -1849,9 +1866,9 @@ } ] }, - "system": "urn:oid:2.16.840.1.114222", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } }, "note": [ @@ -1861,7 +1878,7 @@ ], "request": [ { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } ], "parent": [ @@ -1872,7 +1889,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/10189bc7-6ef6-44fc-e74d-a24678a00fc2" + "url": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" } }, { @@ -1900,17 +1917,17 @@ } }, { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", "resource": { "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", "identifier": [ { "value": "IA PHIMS Stage", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" }, { - "value": "urn:oid:2.16.840.1.114222", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1926,27 +1943,27 @@ }, "request": { "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } }, { - "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca", + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "resource": { "resourceType": "Organization", - "id": "322ca8cf-e43e-973c-3149-9e499675ddca", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "identifier": [ { "value": "IPHIMS Stage", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" }, { - "value": "urn:uuid:2.16.840.1.114222", + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "system": "urn:ietf:rfc:3986", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] @@ -1956,7 +1973,7 @@ }, "request": { "method": "PUT", - "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { @@ -1987,12 +2004,12 @@ }, "specimen": [ { - "reference": "Specimen/10189bc7-6ef6-44fc-e74d-a24678a00fc2" + "reference": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" } ], "basedOn": [ { - "reference": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908" + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" } ] }, @@ -2002,10 +2019,10 @@ } }, { - "fullUrl": "urn:uuid:a003235d-4049-0bbd-9cac-d9dee4a90908", + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", "resource": { "resourceType": "ServiceRequest", - "id": "a003235d-4049-0bbd-9cac-d9dee4a90908", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", "status": "active", "intent": "order", "identifier": [ @@ -2073,18 +2090,21 @@ "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, "requester": { "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" }, "specimen": [ { - "reference": "Specimen/27d3f840-ef8c-5086-ea3a-4217ca3dca3f" + "reference": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" } ] }, "request": { "method": "PUT", - "url": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908" + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" } }, { @@ -2117,6 +2137,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } @@ -2158,7 +2189,7 @@ "type": { "coding": [ { - "code": "test50" + "code": "PU-50" } ] } @@ -2176,71 +2207,29 @@ } }, { - "fullUrl": "urn:uuid:27d3f840-ef8c-5086-ea3a-4217ca3dca3f", + "fullUrl": "urn:uuid:2b31b7a0-ab9d-942c-4611-89590ee58b1f", "resource": { "resourceType": "Specimen", - "id": "27d3f840-ef8c-5086-ea3a-4217ca3dca3f", + "id": "2b31b7a0-ab9d-942c-4611-89590ee58b1f", "collection": { "collectedDateTime": "2021-10-20T16:15:00+05:30" - } + }, + "request": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ] }, "request": { "method": "PUT", - "url": "Specimen/27d3f840-ef8c-5086-ea3a-4217ca3dca3f" + "url": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" } }, { - "fullUrl": "urn:uuid:5dccf96a-1490-c206-c930-bded2f3d05fe", + "fullUrl": "urn:uuid:0df7b0a3-d581-3f7c-4a37-9aba787cc146", "resource": { "resourceType": "Specimen", - "id": "5dccf96a-1490-c206-c930-bded2f3d05fe", - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", + "id": "0df7b0a3-d581-3f7c-4a37-9aba787cc146", "identifier": [ { "value": "2012545", @@ -2275,14 +2264,14 @@ } ] }, - "system": "urn:uuid:2.16.840.1.114222", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "assigner": { - "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { "value": "ShipID-32", - "system": "urn:oid:SID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2307,6 +2296,53 @@ ], "text": "Blood" }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", "container": [ { "additiveCodeableConcept": { @@ -2384,7 +2420,7 @@ ], "request": [ { - "reference": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908" + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" } ], "parent": [ @@ -2395,7 +2431,37 @@ }, "request": { "method": "PUT", - "url": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe" + "url": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" + } + }, + { + "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "resource": { + "resourceType": "Organization", + "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" } }, { @@ -2453,7 +2519,7 @@ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, "specimen": { - "reference": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe" + "reference": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" }, "extension": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json new file mode 100644 index 000000000..308458cf8 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json @@ -0,0 +1,4213 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T14:41:00+05:30", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T10:07:03.184Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T16:00:00+05:30", + "end": "2022-11-18T16:00:00+05:30" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + }, + "onHold": false, + "period": { + "start": "2016-01-01" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "resource": { + "resourceType": "RelatedPerson", + "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "identifier": [ + { + "value": "1516" + }, + { + "value": "19290207" + }, + { + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + }, + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", + "resource": { + "resourceType": "Location", + "id": "502c12bb-692b-055b-2d94-bf9805c5969e", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "resource": { + "resourceType": "Location", + "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "partOf": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" + } + }, + { + "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", + "resource": { + "resourceType": "Location", + "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", + "name": "GHH", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T14:41:00+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "resource": { + "resourceType": "RelatedPerson", + "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", + "resource": { + "resourceType": "ServiceRequest", + "id": "1694bdd9-e009-505d-1b38-a011c05aca98", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + }, + { + "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", + "resource": { + "resourceType": "Organization", + "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", + "name": "Pathology " + }, + "request": { + "method": "PUT", + "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "organization": { + "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + }, + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "resource": { + "resourceType": "Condition", + "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T18:00:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T19:00:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + }, + { + "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", + "resource": { + "resourceType": "DiagnosticReport", + "id": "248a4d68-4053-9a2a-7104-103d72488298", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + } + }, + { + "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", + "resource": { + "resourceType": "Device", + "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", + "identifier": [ + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" + }, + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + } + }, + { + "fullUrl": "urn:uuid:612c5b43-e253-a3b6-e43e-d2b616f88975", + "resource": { + "resourceType": "Observation", + "id": "612c5b43-e253-a3b6-e43e-d2b616f88975", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "OB-5.1", + "display": "Test", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" + } + ] + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Note test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" + } + }, + { + "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "resource": { + "resourceType": "Specimen", + "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2017-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + }, + { + "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "resource": { + "resourceType": "Observation", + "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueString": "Observation value", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + } + }, + { + "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", + "resource": { + "resourceType": "Observation", + "id": "95061d26-6388-e018-b093-9a687d42b908", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueQuantity": { + "value": 120 + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" + } + }, + { + "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + } + }, + { + "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", + "resource": { + "resourceType": "ServiceRequest", + "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "29adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + }, + { + "fullUrl": "urn:uuid:04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "resource": { + "resourceType": "Specimen", + "id": "04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + }, + { + "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", + "resource": { + "resourceType": "Condition", + "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2018-05-01T18:00:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T19:00:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + }, + { + "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "code": { + "coding": [ + { + "code": "3DH_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" + } + }, + { + "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "resource": { + "resourceType": "Specimen", + "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2018-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + }, + { + "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", + "resource": { + "resourceType": "DiagnosticReport", + "id": "370e1124-2579-084a-42bd-160d2fb0c774", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "4DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" + } + }, + { + "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", + "code": { + "coding": [ + { + "code": "4DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" + } + }, + { + "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "resource": { + "resourceType": "ServiceRequest", + "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "29adf2e714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-41996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T15:15:00+05:30", + "supportingInfo": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + }, + { + "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + }, + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + }, + { + "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + }, + { + "fullUrl": "urn:uuid:060657ea-b419-660c-6786-4b82543f3bd5", + "resource": { + "resourceType": "Specimen", + "id": "060657ea-b419-660c-6786-4b82543f3bd5", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + }, + { + "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", + "resource": { + "resourceType": "Observation", + "id": "d172fdac-a8ed-9480-80bb-b33992f04629", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "valueString": "Test", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + } + }, + { + "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", + "resource": { + "resourceType": "Specimen", + "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", + "identifier": [ + { + "value": "2019-PAT-1456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "parent": [ + { + "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + { + "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", + "resource": { + "resourceType": "Specimen", + "id": "15f429e9-5db1-5521-af83-8dc73baa5009", + "identifier": [ + { + "value": "2019-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + }, + { + "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", + "resource": { + "resourceType": "Observation", + "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + } + }, + { + "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "resource": { + "resourceType": "ServiceRequest", + "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + }, + { + "fullUrl": "urn:uuid:851bdda7-6cf5-57c9-970a-956116903efa", + "resource": { + "resourceType": "Specimen", + "id": "851bdda7-6cf5-57c9-970a-956116903efa", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + } + }, + { + "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", + "resource": { + "resourceType": "ServiceRequest", + "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", + "status": "revoked", + "intent": "order", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339dc6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + }, + { + "fullUrl": "urn:uuid:2b18a05d-bccc-f389-aa68-0b89fca251cd", + "resource": { + "resourceType": "Specimen", + "id": "2b18a05d-bccc-f389-aa68-0b89fca251cd", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + } + }, + { + "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "resource": { + "resourceType": "Observation", + "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ], + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + "request": { + "method": "PUT", + "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + }, + { + "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "resource": { + "resourceType": "Encounter", + "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "50011", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Acc-Mgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T14:41:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + } + }, + { + "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", + "resource": { + "resourceType": "Location", + "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", + "name": "Lab01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "resource": { + "resourceType": "Location", + "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "partOf": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + }, + "name": "Room01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" + } + }, + { + "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", + "resource": { + "resourceType": "Location", + "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", + "name": "GHH Facility", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" + } + }, + { + "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", + "resource": { + "resourceType": "Location", + "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", + "name": "Trauma-Centre", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + }, + { + "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", + "resource": { + "resourceType": "Location", + "id": "283ba5cc-3293-242c-794e-240b9ad6104e", + "partOf": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" + } + }, + { + "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "resource": { + "resourceType": "Location", + "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "name": "GHH", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" + } + }, + { + "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "resource": { + "resourceType": "Encounter", + "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5002", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Account-Manager", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T14:41:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json index 26296caf2..1d8bbd739 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json @@ -64,7 +64,7 @@ "id": "58988e57-a45e-285b-5942-4480980652df", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:51:19.004Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + "div": "

Resource bundle generated on 2022-02-22T09:17:37.462Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" }, "occurredDateTime": "2021-10-20T14:41:00+05:30", "recorded": "2021-10-20T14:41:00+05:30", @@ -591,10 +591,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -607,9 +607,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -626,21 +626,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -656,7 +656,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -841,10 +841,10 @@ } }, { - "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673", + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", "resource": { "resourceType": "Location", - "id": "b9b31f37-678e-aade-7d5d-1375a513f673", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", "name": "RADUnit01", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -859,16 +859,16 @@ }, "request": { "method": "PUT", - "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", "partOf": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, "name": "Room01", "mode": "instance", @@ -884,14 +884,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" } }, { - "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "resource": { "resourceType": "Location", - "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "name": "GHH", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -906,14 +906,14 @@ }, "request": { "method": "PUT", - "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } }, { - "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396", + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", "resource": { "resourceType": "Location", - "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", "name": "TraumaCentre", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -928,16 +928,16 @@ }, "request": { "method": "PUT", - "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "partOf": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, "name": "ROOM1", "identifier": [ @@ -959,14 +959,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } }, { - "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3", + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", "resource": { "resourceType": "Location", - "id": "e9bd830d-8f94-01b9-7562-854da22940d3", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", "name": "GHH1", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -981,7 +981,7 @@ }, "request": { "method": "PUT", - "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3" + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } }, { @@ -999,20 +999,14 @@ { "status": "active", "location": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { "status": "completed", "location": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } } ], "participant": [ @@ -1087,6 +1081,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1161,10 +1160,10 @@ } }, { - "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f", + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", "resource": { "resourceType": "ServiceRequest", - "id": "3622230f-85a9-b313-e26b-eabfc755e34f", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", "status": "active", "intent": "order", "identifier": [ @@ -1194,6 +1193,22 @@ } ], "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "FAI-29", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], "locationCode": [ { "coding": [ @@ -1223,8 +1238,8 @@ ] }, "repeat": { - "durationUnit": "s", "duration": 50, + "durationUnit": "s", "count": 21, "timeOfDay": [ "12:30:05" @@ -1252,7 +1267,7 @@ }, "specimen": [ { - "reference": "Specimen/5c78ccc8-7800-aa68-7da7-7985254fafc3" + "reference": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" } ], "reasonReference": [ @@ -1263,7 +1278,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } }, { @@ -1296,6 +1311,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } @@ -1306,17 +1332,17 @@ } }, { - "fullUrl": "urn:uuid:5c78ccc8-7800-aa68-7da7-7985254fafc3", + "fullUrl": "urn:uuid:6158edb0-9ff7-8872-c1ec-a897e3af065b", "resource": { "resourceType": "Specimen", - "id": "5c78ccc8-7800-aa68-7da7-7985254fafc3", + "id": "6158edb0-9ff7-8872-c1ec-a897e3af065b", "collection": { "collectedDateTime": "2021-10-20T15:15:00+05:30" } }, "request": { "method": "PUT", - "url": "Specimen/5c78ccc8-7800-aa68-7da7-7985254fafc3" + "url": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json index 3071181fd..748cf5ee7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json @@ -64,7 +64,7 @@ "id": "58988e57-a45e-285b-5942-4480980652df", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:51:39.847Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + "div": "

Resource bundle generated on 2022-02-22T09:18:09.166Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" }, "occurredDateTime": "2021-10-20T14:41:00+05:30", "recorded": "2021-10-20T14:41:00+05:30", @@ -641,10 +641,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -657,9 +657,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -676,32 +676,33 @@ "guarantor": [ { "party": { - "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, "onHold": false, "period": { - "start": "2016-01-01" + "start": "2001-04-10", + "end": "2001-04-15" } } ] }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -717,28 +718,52 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { - "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", "resource": { "resourceType": "RelatedPerson", - "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", "identifier": [ { - "value": "1516" + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } }, { - "value": "19290207" + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } }, { - "value": "2245367687", + "value": "G-SSN-12", "type": { "coding": [ { "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } ] }, @@ -749,8 +774,9 @@ { "coding": [ { - "code": "MOT", - "display": "MOT" + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" } ] } @@ -768,13 +794,18 @@ ], "telecom": [ { - "value": "(608)251-7777", - "system": "phone", + "value": "8484", + "system": "email", "use": "home" }, { - "value": "(608)2517777", + "value": "717171", "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", "use": "work" } ], @@ -786,15 +817,29 @@ ] } ], - "gender": "female", + "gender": "male", "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], "patient": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } }, "request": { "method": "PUT", - "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } }, { @@ -979,10 +1024,10 @@ } }, { - "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673", + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", "resource": { "resourceType": "Location", - "id": "b9b31f37-678e-aade-7d5d-1375a513f673", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", "name": "RADUnit01", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -997,16 +1042,16 @@ }, "request": { "method": "PUT", - "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", "partOf": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, "name": "Room01", "mode": "instance", @@ -1022,14 +1067,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" } }, { - "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "resource": { "resourceType": "Location", - "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "name": "GHH", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -1044,14 +1089,14 @@ }, "request": { "method": "PUT", - "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } }, { - "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396", + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", "resource": { "resourceType": "Location", - "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", "name": "TraumaCentre", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -1066,16 +1111,16 @@ }, "request": { "method": "PUT", - "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "partOf": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, "name": "ROOM1", "identifier": [ @@ -1097,14 +1142,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } }, { - "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3", + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", "resource": { "resourceType": "Location", - "id": "e9bd830d-8f94-01b9-7562-854da22940d3", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", "name": "GHH1", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -1119,7 +1164,7 @@ }, "request": { "method": "PUT", - "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3" + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } }, { @@ -1137,20 +1182,14 @@ { "status": "active", "location": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { "status": "completed", "location": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } } ], "participant": [ @@ -1225,6 +1264,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1661,10 +1705,10 @@ } }, { - "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f", + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", "resource": { "resourceType": "ServiceRequest", - "id": "3622230f-85a9-b313-e26b-eabfc755e34f", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", "status": "active", "intent": "order", "identifier": [ @@ -1748,7 +1792,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } }, { @@ -1781,6 +1825,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } @@ -1933,7 +1988,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1948,26 +2003,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1982,7 +2037,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -2017,7 +2072,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -2026,7 +2081,7 @@ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, "organization": { - "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, "request": { @@ -2035,10 +2090,10 @@ } }, { - "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f", + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", "resource": { "resourceType": "Organization", - "id": "08c155be-912e-af06-d464-5b6bb63d660f", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", "name": "State Hygienic Laboratory", "identifier": [ { @@ -2069,14 +2124,14 @@ }, "request": { "method": "PUT", - "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, { - "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", "resource": { "resourceType": "Observation", - "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", "identifier": [ { "value": "EI21", @@ -2104,18 +2159,12 @@ ], "text": "result1" }, - "basedOn": [ - { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" - } - ], "valueCodeableConcept": { "coding": [ { "code": "27268008", "display": "Salmonella", - "system": "http://snomed.info/sct", - "version": "20090731" + "system": "http://snomed.info/sct" } ], "text": "Salmonella species" @@ -2130,7 +2179,7 @@ "text": "Bacterial Culture" }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2179,6 +2228,11 @@ } } ], + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ], "note": [ { "text": "No Antibodies Detected", @@ -2191,7 +2245,7 @@ }, "request": { "method": "PUT", - "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0" + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" } }, { @@ -2238,11 +2292,6 @@ ], "text": "result1" }, - "basedOn": [ - { - "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" - } - ], "status": "unknown", "presentedForm": [ { @@ -2252,7 +2301,12 @@ ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + }, + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ] }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json index 6e56ae40a..8852d04d4 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json @@ -64,7 +64,7 @@ "id": "58988e57-a45e-285b-5942-4480980652df", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:51:55.798Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + "div": "

Resource bundle generated on 2022-02-22T09:18:40.033Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" }, "occurredDateTime": "2021-10-20T14:41:00+05:30", "recorded": "2021-10-20T14:41:00+05:30", @@ -554,10 +554,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -570,9 +570,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -589,21 +589,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -619,7 +619,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -804,10 +804,10 @@ } }, { - "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673", + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", "resource": { "resourceType": "Location", - "id": "b9b31f37-678e-aade-7d5d-1375a513f673", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", "name": "RADUnit01", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -822,16 +822,16 @@ }, "request": { "method": "PUT", - "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", "partOf": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, "name": "Room01", "mode": "instance", @@ -847,14 +847,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" } }, { - "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "resource": { "resourceType": "Location", - "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", "name": "GHH", "mode": "instance", "description": "RADUnit01--Room01--GHH", @@ -869,14 +869,14 @@ }, "request": { "method": "PUT", - "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } }, { - "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396", + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", "resource": { "resourceType": "Location", - "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", "name": "TraumaCentre", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -891,16 +891,16 @@ }, "request": { "method": "PUT", - "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", "partOf": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, "name": "ROOM1", "identifier": [ @@ -922,14 +922,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } }, { - "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3", + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", "resource": { "resourceType": "Location", - "id": "e9bd830d-8f94-01b9-7562-854da22940d3", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", "name": "GHH1", "mode": "instance", "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", @@ -944,7 +944,7 @@ }, "request": { "method": "PUT", - "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3" + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } }, { @@ -962,20 +962,14 @@ { "status": "active", "location": { - "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673" + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } }, { "status": "completed", "location": { - "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } } ], "participant": [ @@ -1050,6 +1044,11 @@ "status": "generated", "div": "

Visit Description:

" }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1077,10 +1076,10 @@ } }, { - "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f", + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", "resource": { "resourceType": "ServiceRequest", - "id": "3622230f-85a9-b313-e26b-eabfc755e34f", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", "status": "active", "intent": "order", "identifier": [ @@ -1159,7 +1158,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f" + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } }, { @@ -1192,6 +1191,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } @@ -1255,10 +1265,10 @@ } }, { - "fullUrl": "urn:uuid:a003235d-4049-0bbd-9cac-d9dee4a90908", + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", "resource": { "resourceType": "ServiceRequest", - "id": "a003235d-4049-0bbd-9cac-d9dee4a90908", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", "status": "active", "intent": "order", "identifier": [ @@ -1348,7 +1358,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908" + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json new file mode 100644 index 000000000..1be1a5943 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json @@ -0,0 +1,1395 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T14:41:00+05:30", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:19:56.824Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:e3cd6eca-335d-36c3-5614-0375edecdd4a", + "resource": { + "resourceType": "NutritionOrder", + "id": "e3cd6eca-335d-36c3-5614-0375edecdd4a", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "dateTime": "2021-10-20T14:41:00+05:30", + "note": [ + { + "text": "Annotation text" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "allergyIntolerance": [ + { + "reference": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + ], + "orderer": { + "reference": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + }, + "foodPreferenceModifier": [ + { + "coding": [ + { + "code": "P-1", + "display": "Preference Code", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "Preference code - 04+Preference Code - IV" + }, + { + "coding": [ + { + "code": "P-2", + "display": "P-code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "text": "Preference code - 04+Preference Code - IV" + } + ] + }, + "request": { + "method": "PUT", + "url": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" + } + }, + { + "fullUrl": "urn:uuid:48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "resource": { + "resourceType": "Practitioner", + "id": "48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "address": [ + { + "line": [ + "St-24, Greenwood", + "Building2" + ] + } + ], + "name": [ + { + "family": "SAWYER TOM MD", + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" + } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + { + "fullUrl": "urn:uuid:29e6afed-f958-e964-b7a1-f135fab6c279", + "resource": { + "resourceType": "PractitionerRole", + "id": "29e6afed-f958-e964-b7a1-f135fab6c279", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + }, + "practitioner": { + "reference": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json new file mode 100644 index 000000000..d24080bcd --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json @@ -0,0 +1,1432 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T14:41:00+05:30", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:21:55.267Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "resource": { + "resourceType": "SupplyRequest", + "id": "a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "identifier": [ + { + "value": "RQ101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "cancelled", + "authoredOn": "2120-10-10T20:15:00+05:30", + "requester": { + "reference": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" + }, + "occurrenceDateTime": "2021-10-20T13:45:00+05:30", + "itemCodeableConcept": { + "coding": [ + { + "code": "I45323", + "display": "Implant" + } + ] + }, + "quantity": { + "value": 1, + "code": "EA", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + }, + "deliverTo": { + "reference": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + }, + "deliverFrom": { + "reference": "Organization/6482b59c-934b-d920-616c-89e022525634" + } + }, + "request": { + "method": "PUT", + "url": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" + } + }, + { + "fullUrl": "urn:uuid:895c9a66-3463-8b94-1deb-61cd0d7e5589", + "resource": { + "resourceType": "Practitioner", + "id": "895c9a66-3463-8b94-1deb-61cd0d7e5589", + "identifier": [ + { + "value": "3850" + } + ], + "name": [ + { + "family": "ORDPROVIDER", + "given": [ + "JONES", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + } + }, + { + "fullUrl": "urn:uuid:5eba6b39-3663-2494-c4fd-923551fa026f", + "resource": { + "resourceType": "PractitionerRole", + "id": "5eba6b39-3663-2494-c4fd-923551fa026f", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + }, + "organization": { + "reference": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" + } + }, + { + "fullUrl": "urn:uuid:e8632937-77b7-6a57-3f4b-0273f00c93f4", + "resource": { + "resourceType": "Organization", + "id": "e8632937-77b7-6a57-3f4b-0273f00c93f4", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "716", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "1000 Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + } + }, + { + "fullUrl": "urn:uuid:6f75b20c-a345-5120-d85d-0598e1f0cd87", + "resource": { + "resourceType": "Organization", + "id": "6f75b20c-a345-5120-d85d-0598e1f0cd87", + "identifier": [ + { + "value": "ORSUP" + } + ], + "name": "Supply Department" + }, + "request": { + "method": "PUT", + "url": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + } + }, + { + "fullUrl": "urn:uuid:6482b59c-934b-d920-616c-89e022525634", + "resource": { + "resourceType": "Organization", + "id": "6482b59c-934b-d920-616c-89e022525634", + "identifier": [ + { + "value": "GPC" + } + ], + "name": "GPC Medical Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/6482b59c-934b-d920-616c-89e022525634" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json index 66f1a3105..de4ba39aa 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json @@ -62,7 +62,7 @@ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:49:16.824Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-02-22T09:23:37.264Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, "occurredDateTime": "2014-10-06T06:45:00", "recorded": "2014-10-06T06:45:00", @@ -210,10 +210,10 @@ } }, { - "fullUrl": "urn:uuid:f70a39cb-cf13-6f75-885d-cf691752c711", + "fullUrl": "urn:uuid:58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "resource": { "resourceType": "Account", - "id": "f70a39cb-cf13-6f75-885d-cf691752c711", + "id": "58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "identifier": [ { "value": "40007716", @@ -238,7 +238,7 @@ }, "request": { "method": "PUT", - "url": "Account/f70a39cb-cf13-6f75-885d-cf691752c711" + "url": "Account/58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf" } }, { @@ -276,7 +276,7 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, @@ -286,10 +286,10 @@ } }, { - "fullUrl": "urn:uuid:1ef60c39-1161-0129-a263-b693d23f90c3", + "fullUrl": "urn:uuid:6d823dfd-8d69-fc55-bb7c-5115364bdb34", "resource": { "resourceType": "Observation", - "id": "1ef60c39-1161-0129-a263-b693d23f90c3", + "id": "6d823dfd-8d69-fc55-bb7c-5115364bdb34", "status": "preliminary", "code": { "coding": [ @@ -336,13 +336,13 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/1ef60c39-1161-0129-a263-b693d23f90c3" + "url": "Observation/6d823dfd-8d69-fc55-bb7c-5115364bdb34" } }, { @@ -380,7 +380,7 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, @@ -390,10 +390,10 @@ } }, { - "fullUrl": "urn:uuid:2f7b51cf-44f5-547d-2815-747fd4ec7a88", + "fullUrl": "urn:uuid:e8be578a-267e-864d-eee7-21df040facdd", "resource": { "resourceType": "Observation", - "id": "2f7b51cf-44f5-547d-2815-747fd4ec7a88", + "id": "e8be578a-267e-864d-eee7-21df040facdd", "status": "preliminary", "code": { "coding": [ @@ -440,20 +440,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/2f7b51cf-44f5-547d-2815-747fd4ec7a88" + "url": "Observation/e8be578a-267e-864d-eee7-21df040facdd" } }, { - "fullUrl": "urn:uuid:73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe", + "fullUrl": "urn:uuid:4e088562-d23b-7850-733a-32f2e0ef18f9", "resource": { "resourceType": "Observation", - "id": "73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe", + "id": "4e088562-d23b-7850-733a-32f2e0ef18f9", "status": "final", "code": { "coding": [ @@ -500,20 +500,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe" + "url": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" } }, { - "fullUrl": "urn:uuid:0c653f12-916b-8b2a-511a-96b2fb03e3af", + "fullUrl": "urn:uuid:5c4619c4-2cf9-44bb-a2cd-262665709d4a", "resource": { "resourceType": "ServiceRequest", - "id": "0c653f12-916b-8b2a-511a-96b2fb03e3af", + "id": "5c4619c4-2cf9-44bb-a2cd-262665709d4a", "status": "active", "intent": "filler-order", "identifier": [ @@ -563,7 +563,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "url": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } }, { @@ -590,6 +590,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "907170a0-a8af-89c5-5a30-6b78cdb227c5", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9" } @@ -643,7 +654,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ], "specimen": [ @@ -656,16 +667,16 @@ "reference": "Observation/f736fbb2-aafc-4e52-abb9-20d77d01d302" }, { - "reference": "Observation/1ef60c39-1161-0129-a263-b693d23f90c3" + "reference": "Observation/6d823dfd-8d69-fc55-bb7c-5115364bdb34" }, { "reference": "Observation/fa77427d-7606-99a5-ae91-f316de160668" }, { - "reference": "Observation/2f7b51cf-44f5-547d-2815-747fd4ec7a88" + "reference": "Observation/e8be578a-267e-864d-eee7-21df040facdd" }, { - "reference": "Observation/73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe" + "reference": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" } ] }, @@ -679,11 +690,6 @@ "resource": { "resourceType": "Specimen", "id": "1385d82a-b545-84d8-803a-e65c038399c8", - "collection": { - "collector": { - "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" - } - }, "identifier": [ { "value": "88502218", @@ -707,7 +713,12 @@ ] } } - ] + ], + "collection": { + "collector": { + "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" + } + } }, "request": { "method": "PUT", @@ -752,10 +763,6 @@ "resource": { "resourceType": "Specimen", "id": "7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663", - "collection": { - "collectedDateTime": "2014-10-06T05:35:00" - }, - "receivedTime": "2014-10-06T08:21:00", "identifier": [ { "value": "SpecimenID", @@ -777,6 +784,10 @@ } ] }, + "collection": { + "collectedDateTime": "2014-10-06T05:35:00" + }, + "receivedTime": "2014-10-06T08:21:00", "status": "available" }, "request": { @@ -785,10 +796,10 @@ } }, { - "fullUrl": "urn:uuid:f3f13545-5a9c-5279-e1a3-6faff5d56778", + "fullUrl": "urn:uuid:21983e67-0a20-c7c1-8c83-0b5c101ff0c7", "resource": { "resourceType": "Observation", - "id": "f3f13545-5a9c-5279-e1a3-6faff5d56778", + "id": "21983e67-0a20-c7c1-8c83-0b5c101ff0c7", "status": "preliminary", "code": { "coding": [ @@ -838,20 +849,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/f3f13545-5a9c-5279-e1a3-6faff5d56778" + "url": "Observation/21983e67-0a20-c7c1-8c83-0b5c101ff0c7" } }, { - "fullUrl": "urn:uuid:690c7dfd-8d22-ac69-0f11-bf58da18db99", + "fullUrl": "urn:uuid:f8678fde-a167-6a3d-1462-97a40d24fd8f", "resource": { "resourceType": "Observation", - "id": "690c7dfd-8d22-ac69-0f11-bf58da18db99", + "id": "f8678fde-a167-6a3d-1462-97a40d24fd8f", "status": "preliminary", "code": { "coding": [ @@ -901,20 +912,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/690c7dfd-8d22-ac69-0f11-bf58da18db99" + "url": "Observation/f8678fde-a167-6a3d-1462-97a40d24fd8f" } }, { - "fullUrl": "urn:uuid:4bb79fc0-148e-6d5b-b111-6e09c39ec56e", + "fullUrl": "urn:uuid:0ec3b929-1338-f630-dcca-b251cd2f3e4f", "resource": { "resourceType": "Observation", - "id": "4bb79fc0-148e-6d5b-b111-6e09c39ec56e", + "id": "0ec3b929-1338-f630-dcca-b251cd2f3e4f", "status": "preliminary", "code": { "coding": [ @@ -964,20 +975,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/4bb79fc0-148e-6d5b-b111-6e09c39ec56e" + "url": "Observation/0ec3b929-1338-f630-dcca-b251cd2f3e4f" } }, { - "fullUrl": "urn:uuid:5597ddac-19fb-6893-705d-65097d31b66b", + "fullUrl": "urn:uuid:cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f", "resource": { "resourceType": "Observation", - "id": "5597ddac-19fb-6893-705d-65097d31b66b", + "id": "cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f", "status": "preliminary", "code": { "coding": [ @@ -1027,20 +1038,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/5597ddac-19fb-6893-705d-65097d31b66b" + "url": "Observation/cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f" } }, { - "fullUrl": "urn:uuid:e4412677-d1c2-f97d-b765-5bdfb16cdac5", + "fullUrl": "urn:uuid:6bd3891e-fce2-4551-e162-52bcb7f1e205", "resource": { "resourceType": "Observation", - "id": "e4412677-d1c2-f97d-b765-5bdfb16cdac5", + "id": "6bd3891e-fce2-4551-e162-52bcb7f1e205", "status": "preliminary", "code": { "coding": [ @@ -1090,20 +1101,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/e4412677-d1c2-f97d-b765-5bdfb16cdac5" + "url": "Observation/6bd3891e-fce2-4551-e162-52bcb7f1e205" } }, { - "fullUrl": "urn:uuid:99bb45ed-8d61-675b-dec1-6ee32bfa054a", + "fullUrl": "urn:uuid:425b6ad3-9304-3f7b-2771-0aa0dcd954ca", "resource": { "resourceType": "ServiceRequest", - "id": "99bb45ed-8d61-675b-dec1-6ee32bfa054a", + "id": "425b6ad3-9304-3f7b-2771-0aa0dcd954ca", "status": "active", "intent": "filler-order", "identifier": [ @@ -1153,7 +1164,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "url": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } }, { @@ -1200,7 +1211,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ], "specimen": [ @@ -1210,19 +1221,19 @@ ], "result": [ { - "reference": "Observation/f3f13545-5a9c-5279-e1a3-6faff5d56778" + "reference": "Observation/21983e67-0a20-c7c1-8c83-0b5c101ff0c7" }, { - "reference": "Observation/690c7dfd-8d22-ac69-0f11-bf58da18db99" + "reference": "Observation/f8678fde-a167-6a3d-1462-97a40d24fd8f" }, { - "reference": "Observation/4bb79fc0-148e-6d5b-b111-6e09c39ec56e" + "reference": "Observation/0ec3b929-1338-f630-dcca-b251cd2f3e4f" }, { - "reference": "Observation/5597ddac-19fb-6893-705d-65097d31b66b" + "reference": "Observation/cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f" }, { - "reference": "Observation/e4412677-d1c2-f97d-b765-5bdfb16cdac5" + "reference": "Observation/6bd3891e-fce2-4551-e162-52bcb7f1e205" } ] }, @@ -1236,11 +1247,6 @@ "resource": { "resourceType": "Specimen", "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33", - "collection": { - "collector": { - "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" - } - }, "identifier": [ { "value": "855238581", @@ -1264,7 +1270,12 @@ ] } } - ] + ], + "collection": { + "collector": { + "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" + } + } }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json index e5adea959..4b7fe44e8 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json @@ -63,7 +63,7 @@ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:49:47.115Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-02-22T09:25:06.091Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, "occurredDateTime": "2014-10-06T09:31:00", "recorded": "2014-10-06T09:31:00", @@ -211,10 +211,10 @@ } }, { - "fullUrl": "urn:uuid:f70a39cb-cf13-6f75-885d-cf691752c711", + "fullUrl": "urn:uuid:58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "resource": { "resourceType": "Account", - "id": "f70a39cb-cf13-6f75-885d-cf691752c711", + "id": "58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf", "identifier": [ { "value": "40007716", @@ -239,14 +239,14 @@ }, "request": { "method": "PUT", - "url": "Account/f70a39cb-cf13-6f75-885d-cf691752c711" + "url": "Account/58bd65b3-7fe0-55cf-19e9-b3cfbc026fbf" } }, { - "fullUrl": "urn:uuid:24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9", + "fullUrl": "urn:uuid:bc01c14a-802a-ef1a-7310-6285f43792ee", "resource": { "resourceType": "Observation", - "id": "24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9", + "id": "bc01c14a-802a-ef1a-7310-6285f43792ee", "status": "final", "code": { "coding": [ @@ -293,20 +293,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9" + "url": "Observation/bc01c14a-802a-ef1a-7310-6285f43792ee" } }, { - "fullUrl": "urn:uuid:1b81a0d2-b102-41aa-421b-ac645e962ce4", + "fullUrl": "urn:uuid:4bdb7be4-1916-b9c7-6bdd-68b92259d75b", "resource": { "resourceType": "Observation", - "id": "1b81a0d2-b102-41aa-421b-ac645e962ce4", + "id": "4bdb7be4-1916-b9c7-6bdd-68b92259d75b", "status": "final", "code": { "coding": [ @@ -353,20 +353,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/1b81a0d2-b102-41aa-421b-ac645e962ce4" + "url": "Observation/4bdb7be4-1916-b9c7-6bdd-68b92259d75b" } }, { - "fullUrl": "urn:uuid:26534e50-b8b4-2ec3-7f8d-c33d4c7792f1", + "fullUrl": "urn:uuid:f887f318-33d2-677f-4fc9-a657502b2f93", "resource": { "resourceType": "Observation", - "id": "26534e50-b8b4-2ec3-7f8d-c33d4c7792f1", + "id": "f887f318-33d2-677f-4fc9-a657502b2f93", "status": "final", "code": { "coding": [ @@ -413,20 +413,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/26534e50-b8b4-2ec3-7f8d-c33d4c7792f1" + "url": "Observation/f887f318-33d2-677f-4fc9-a657502b2f93" } }, { - "fullUrl": "urn:uuid:7878e0ad-8700-5b8b-47d9-7acff0e1eb34", + "fullUrl": "urn:uuid:daed3fa1-35de-05c8-848b-b368834784e0", "resource": { "resourceType": "Observation", - "id": "7878e0ad-8700-5b8b-47d9-7acff0e1eb34", + "id": "daed3fa1-35de-05c8-848b-b368834784e0", "status": "final", "code": { "coding": [ @@ -473,20 +473,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/7878e0ad-8700-5b8b-47d9-7acff0e1eb34" + "url": "Observation/daed3fa1-35de-05c8-848b-b368834784e0" } }, { - "fullUrl": "urn:uuid:437fa03d-5559-9f37-42ed-482f65dd47ce", + "fullUrl": "urn:uuid:9b917bd6-891c-83e1-df59-27d2a89f65fb", "resource": { "resourceType": "Observation", - "id": "437fa03d-5559-9f37-42ed-482f65dd47ce", + "id": "9b917bd6-891c-83e1-df59-27d2a89f65fb", "status": "final", "code": { "coding": [ @@ -533,20 +533,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ] }, "request": { "method": "PUT", - "url": "Observation/437fa03d-5559-9f37-42ed-482f65dd47ce" + "url": "Observation/9b917bd6-891c-83e1-df59-27d2a89f65fb" } }, { - "fullUrl": "urn:uuid:99bb45ed-8d61-675b-dec1-6ee32bfa054a", + "fullUrl": "urn:uuid:425b6ad3-9304-3f7b-2771-0aa0dcd954ca", "resource": { "resourceType": "ServiceRequest", - "id": "99bb45ed-8d61-675b-dec1-6ee32bfa054a", + "id": "425b6ad3-9304-3f7b-2771-0aa0dcd954ca", "status": "active", "intent": "filler-order", "identifier": [ @@ -596,7 +596,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "url": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } }, { @@ -623,6 +623,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "907170a0-a8af-89c5-5a30-6b78cdb227c5", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9" } @@ -676,7 +687,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a" + "reference": "ServiceRequest/425b6ad3-9304-3f7b-2771-0aa0dcd954ca" } ], "specimen": [ @@ -686,19 +697,19 @@ ], "result": [ { - "reference": "Observation/24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9" + "reference": "Observation/bc01c14a-802a-ef1a-7310-6285f43792ee" }, { - "reference": "Observation/1b81a0d2-b102-41aa-421b-ac645e962ce4" + "reference": "Observation/4bdb7be4-1916-b9c7-6bdd-68b92259d75b" }, { - "reference": "Observation/26534e50-b8b4-2ec3-7f8d-c33d4c7792f1" + "reference": "Observation/f887f318-33d2-677f-4fc9-a657502b2f93" }, { - "reference": "Observation/7878e0ad-8700-5b8b-47d9-7acff0e1eb34" + "reference": "Observation/daed3fa1-35de-05c8-848b-b368834784e0" }, { - "reference": "Observation/437fa03d-5559-9f37-42ed-482f65dd47ce" + "reference": "Observation/9b917bd6-891c-83e1-df59-27d2a89f65fb" } ] }, @@ -712,11 +723,6 @@ "resource": { "resourceType": "Specimen", "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33", - "collection": { - "collector": { - "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" - } - }, "identifier": [ { "value": "855238581", @@ -740,7 +746,12 @@ ] } } - ] + ], + "collection": { + "collector": { + "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" + } + } }, "request": { "method": "PUT", @@ -785,10 +796,6 @@ "resource": { "resourceType": "Specimen", "id": "6006d57e-e0a3-d90e-7d9b-546ed575c527", - "collection": { - "collectedDateTime": "2014-10-06T05:35:00" - }, - "receivedTime": "2014-10-06T06:21:00", "identifier": [ { "value": "SpecimenID", @@ -810,6 +817,10 @@ } ] }, + "collection": { + "collectedDateTime": "2014-10-06T05:35:00" + }, + "receivedTime": "2014-10-06T06:21:00", "status": "available" }, "request": { @@ -818,10 +829,10 @@ } }, { - "fullUrl": "urn:uuid:8c207e70-3fd2-2bf4-df75-256240c60258", + "fullUrl": "urn:uuid:9a972e53-b6e1-db45-025d-a4ba9c9fb63f", "resource": { "resourceType": "Observation", - "id": "8c207e70-3fd2-2bf4-df75-256240c60258", + "id": "9a972e53-b6e1-db45-025d-a4ba9c9fb63f", "status": "final", "code": { "coding": [ @@ -871,20 +882,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/8c207e70-3fd2-2bf4-df75-256240c60258" + "url": "Observation/9a972e53-b6e1-db45-025d-a4ba9c9fb63f" } }, { - "fullUrl": "urn:uuid:874ee31e-885c-d582-b76d-e145e99a2945", + "fullUrl": "urn:uuid:3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c", "resource": { "resourceType": "Observation", - "id": "874ee31e-885c-d582-b76d-e145e99a2945", + "id": "3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c", "status": "final", "code": { "coding": [ @@ -934,20 +945,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/874ee31e-885c-d582-b76d-e145e99a2945" + "url": "Observation/3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c" } }, { - "fullUrl": "urn:uuid:be4f90a2-a433-fb21-0f23-70e43de46be5", + "fullUrl": "urn:uuid:04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700", "resource": { "resourceType": "Observation", - "id": "be4f90a2-a433-fb21-0f23-70e43de46be5", + "id": "04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700", "status": "final", "code": { "coding": [ @@ -997,20 +1008,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/be4f90a2-a433-fb21-0f23-70e43de46be5" + "url": "Observation/04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700" } }, { - "fullUrl": "urn:uuid:146f1ba0-2940-de97-93af-6c0dc64e54b2", + "fullUrl": "urn:uuid:e8be578a-267e-864d-eee7-21df040facdd", "resource": { "resourceType": "Observation", - "id": "146f1ba0-2940-de97-93af-6c0dc64e54b2", + "id": "e8be578a-267e-864d-eee7-21df040facdd", "status": "final", "code": { "coding": [ @@ -1060,20 +1071,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/146f1ba0-2940-de97-93af-6c0dc64e54b2" + "url": "Observation/e8be578a-267e-864d-eee7-21df040facdd" } }, { - "fullUrl": "urn:uuid:30282793-eed9-7f34-ea78-c9465ef05757", + "fullUrl": "urn:uuid:4e088562-d23b-7850-733a-32f2e0ef18f9", "resource": { "resourceType": "Observation", - "id": "30282793-eed9-7f34-ea78-c9465ef05757", + "id": "4e088562-d23b-7850-733a-32f2e0ef18f9", "status": "final", "code": { "coding": [ @@ -1123,20 +1134,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ] }, "request": { "method": "PUT", - "url": "Observation/30282793-eed9-7f34-ea78-c9465ef05757" + "url": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" } }, { - "fullUrl": "urn:uuid:b1410115-e911-9d20-3570-fc3c1e5c347e", + "fullUrl": "urn:uuid:5c4619c4-2cf9-44bb-a2cd-262665709d4a", "resource": { "resourceType": "ServiceRequest", - "id": "b1410115-e911-9d20-3570-fc3c1e5c347e", + "id": "5c4619c4-2cf9-44bb-a2cd-262665709d4a", "status": "active", "intent": "filler-order", "identifier": [ @@ -1186,7 +1197,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "url": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } }, { @@ -1233,7 +1244,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e" + "reference": "ServiceRequest/5c4619c4-2cf9-44bb-a2cd-262665709d4a" } ], "specimen": [ @@ -1243,19 +1254,19 @@ ], "result": [ { - "reference": "Observation/8c207e70-3fd2-2bf4-df75-256240c60258" + "reference": "Observation/9a972e53-b6e1-db45-025d-a4ba9c9fb63f" }, { - "reference": "Observation/874ee31e-885c-d582-b76d-e145e99a2945" + "reference": "Observation/3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c" }, { - "reference": "Observation/be4f90a2-a433-fb21-0f23-70e43de46be5" + "reference": "Observation/04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700" }, { - "reference": "Observation/146f1ba0-2940-de97-93af-6c0dc64e54b2" + "reference": "Observation/e8be578a-267e-864d-eee7-21df040facdd" }, { - "reference": "Observation/30282793-eed9-7f34-ea78-c9465ef05757" + "reference": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" } ] }, @@ -1269,11 +1280,6 @@ "resource": { "resourceType": "Specimen", "id": "f59e2ae9-1b51-5e9f-9ef1-2f05d070db75", - "collection": { - "collector": { - "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" - } - }, "identifier": [ { "value": "88502218", @@ -1297,7 +1303,12 @@ ] } } - ] + ], + "collection": { + "collector": { + "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8" + } + } }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json index cba9fe7e0..4debe6ab7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json @@ -67,7 +67,7 @@ "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:50:36.744Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-02-22T09:25:46.081Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, "occurredDateTime": "2011-06-01T00:35:51+05:30", "recorded": "2011-06-01T00:35:51+05:30", @@ -226,7 +226,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -235,7 +235,7 @@ "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" }, "organization": { - "reference": "Organization/c8cd57a5-13a6-54d1-7dcd-d0a6b637c660" + "reference": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" } }, "request": { @@ -244,10 +244,10 @@ } }, { - "fullUrl": "urn:uuid:c8cd57a5-13a6-54d1-7dcd-d0a6b637c660", + "fullUrl": "urn:uuid:4134770e-37a2-6447-4497-d73ddee6412d", "resource": { "resourceType": "Organization", - "id": "c8cd57a5-13a6-54d1-7dcd-d0a6b637c660", + "id": "4134770e-37a2-6447-4497-d73ddee6412d", "name": "Century Hospital", "identifier": [ { @@ -276,14 +276,14 @@ }, "request": { "method": "PUT", - "url": "Organization/c8cd57a5-13a6-54d1-7dcd-d0a6b637c660" + "url": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" } }, { - "fullUrl": "urn:uuid:b9018883-1320-3dfb-e157-cb46bb7a6679", + "fullUrl": "urn:uuid:86b13b68-64ca-4bf2-8f9d-524c127b445f", "resource": { "resourceType": "Observation", - "id": "b9018883-1320-3dfb-e157-cb46bb7a6679", + "id": "86b13b68-64ca-4bf2-8f9d-524c127b445f", "status": "final", "code": { "coding": [ @@ -343,20 +343,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679" + "url": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" } }, { - "fullUrl": "urn:uuid:becb609f-f513-876c-973a-98f4a3e25295", + "fullUrl": "urn:uuid:e950bf40-a65b-1565-b77a-9e409335894c", "resource": { "resourceType": "Observation", - "id": "becb609f-f513-876c-973a-98f4a3e25295", + "id": "e950bf40-a65b-1565-b77a-9e409335894c", "status": "final", "code": { "coding": [ @@ -416,20 +416,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/becb609f-f513-876c-973a-98f4a3e25295" + "url": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" } }, { - "fullUrl": "urn:uuid:418e1d5b-7cf8-4f97-2f20-064f064073bf", + "fullUrl": "urn:uuid:57d75a50-68d1-42d2-23c7-85a2737939c3", "resource": { "resourceType": "Observation", - "id": "418e1d5b-7cf8-4f97-2f20-064f064073bf", + "id": "57d75a50-68d1-42d2-23c7-85a2737939c3", "status": "final", "code": { "coding": [ @@ -489,20 +489,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf" + "url": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" } }, { - "fullUrl": "urn:uuid:63ebf56e-13b3-032c-04f0-0b0ae2596154", + "fullUrl": "urn:uuid:d0fbf918-54d1-7ba3-5412-43a57a7f18b1", "resource": { "resourceType": "Observation", - "id": "63ebf56e-13b3-032c-04f0-0b0ae2596154", + "id": "d0fbf918-54d1-7ba3-5412-43a57a7f18b1", "status": "final", "code": { "coding": [ @@ -562,20 +562,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154" + "url": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" } }, { - "fullUrl": "urn:uuid:2fecfbb4-8bfc-33df-cc06-46079a214417", + "fullUrl": "urn:uuid:7067c914-c96b-8595-60f3-2e7df530e7f0", "resource": { "resourceType": "Observation", - "id": "2fecfbb4-8bfc-33df-cc06-46079a214417", + "id": "7067c914-c96b-8595-60f3-2e7df530e7f0", "status": "final", "code": { "coding": [ @@ -635,20 +635,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417" + "url": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" } }, { - "fullUrl": "urn:uuid:d88298c6-5018-0e69-8bff-bb2e57479ede", + "fullUrl": "urn:uuid:992117b5-5929-6b7c-5570-199ffa437877", "resource": { "resourceType": "Observation", - "id": "d88298c6-5018-0e69-8bff-bb2e57479ede", + "id": "992117b5-5929-6b7c-5570-199ffa437877", "status": "final", "code": { "coding": [ @@ -708,20 +708,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/d88298c6-5018-0e69-8bff-bb2e57479ede" + "url": "Observation/992117b5-5929-6b7c-5570-199ffa437877" } }, { - "fullUrl": "urn:uuid:4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e", + "fullUrl": "urn:uuid:444f2073-1f9b-5ccb-4c6f-225668686427", "resource": { "resourceType": "Observation", - "id": "4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e", + "id": "444f2073-1f9b-5ccb-4c6f-225668686427", "status": "final", "code": { "coding": [ @@ -781,20 +781,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e" + "url": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" } }, { - "fullUrl": "urn:uuid:b1082ae5-5936-88dc-f6ab-906231b9c7f1", + "fullUrl": "urn:uuid:e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", "resource": { "resourceType": "Observation", - "id": "b1082ae5-5936-88dc-f6ab-906231b9c7f1", + "id": "e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", "status": "final", "code": { "coding": [ @@ -854,20 +854,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/b1082ae5-5936-88dc-f6ab-906231b9c7f1" + "url": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" } }, { - "fullUrl": "urn:uuid:61c65289-d3f6-bd40-9fa1-33856ad2288f", + "fullUrl": "urn:uuid:5b437ecc-2c30-8c06-133f-465771b904ad", "resource": { "resourceType": "Observation", - "id": "61c65289-d3f6-bd40-9fa1-33856ad2288f", + "id": "5b437ecc-2c30-8c06-133f-465771b904ad", "status": "final", "code": { "coding": [ @@ -927,20 +927,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/61c65289-d3f6-bd40-9fa1-33856ad2288f" + "url": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" } }, { - "fullUrl": "urn:uuid:69a93e5e-128e-1cd9-b510-a781f1af141a", + "fullUrl": "urn:uuid:911e4e3a-2cbc-7a98-00d7-c84848cf5089", "resource": { "resourceType": "Observation", - "id": "69a93e5e-128e-1cd9-b510-a781f1af141a", + "id": "911e4e3a-2cbc-7a98-00d7-c84848cf5089", "status": "final", "code": { "coding": [ @@ -1000,20 +1000,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/69a93e5e-128e-1cd9-b510-a781f1af141a" + "url": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" } }, { - "fullUrl": "urn:uuid:95277a83-6195-ad8c-9492-f3489b45732b", + "fullUrl": "urn:uuid:56ced431-5315-0916-1416-28535869cf35", "resource": { "resourceType": "Observation", - "id": "95277a83-6195-ad8c-9492-f3489b45732b", + "id": "56ced431-5315-0916-1416-28535869cf35", "status": "final", "code": { "coding": [ @@ -1073,20 +1073,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/95277a83-6195-ad8c-9492-f3489b45732b" + "url": "Observation/56ced431-5315-0916-1416-28535869cf35" } }, { - "fullUrl": "urn:uuid:4cd993fb-7522-ee9f-69de-3d12d06960a7", + "fullUrl": "urn:uuid:a66c4fde-e0f8-969f-26fa-302858c57c3e", "resource": { "resourceType": "Observation", - "id": "4cd993fb-7522-ee9f-69de-3d12d06960a7", + "id": "a66c4fde-e0f8-969f-26fa-302858c57c3e", "status": "final", "code": { "coding": [ @@ -1146,20 +1146,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/4cd993fb-7522-ee9f-69de-3d12d06960a7" + "url": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" } }, { - "fullUrl": "urn:uuid:15122490-e5b2-954f-3960-d7c8f3f62632", + "fullUrl": "urn:uuid:a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", "resource": { "resourceType": "Observation", - "id": "15122490-e5b2-954f-3960-d7c8f3f62632", + "id": "a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", "status": "final", "code": { "coding": [ @@ -1219,20 +1219,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/15122490-e5b2-954f-3960-d7c8f3f62632" + "url": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" } }, { - "fullUrl": "urn:uuid:612d5b88-0687-46f9-3ada-0fc9ba9b5fe0", + "fullUrl": "urn:uuid:003b8354-4e8a-c413-7904-a5827158c46b", "resource": { "resourceType": "Observation", - "id": "612d5b88-0687-46f9-3ada-0fc9ba9b5fe0", + "id": "003b8354-4e8a-c413-7904-a5827158c46b", "status": "final", "code": { "coding": [ @@ -1292,20 +1292,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/612d5b88-0687-46f9-3ada-0fc9ba9b5fe0" + "url": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" } }, { - "fullUrl": "urn:uuid:0f40b9a3-8c63-ca5d-cc60-859cfa8a6660", + "fullUrl": "urn:uuid:201f8c4b-0e9a-ca62-aedd-5baf37822777", "resource": { "resourceType": "Observation", - "id": "0f40b9a3-8c63-ca5d-cc60-859cfa8a6660", + "id": "201f8c4b-0e9a-ca62-aedd-5baf37822777", "status": "final", "code": { "coding": [ @@ -1365,20 +1365,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/0f40b9a3-8c63-ca5d-cc60-859cfa8a6660" + "url": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" } }, { - "fullUrl": "urn:uuid:d9a5816e-5c0e-15fe-cd9d-417f8abd7abb", + "fullUrl": "urn:uuid:82489f84-cccb-c095-eb55-42ed77eb1c94", "resource": { "resourceType": "Observation", - "id": "d9a5816e-5c0e-15fe-cd9d-417f8abd7abb", + "id": "82489f84-cccb-c095-eb55-42ed77eb1c94", "status": "final", "code": { "coding": [ @@ -1438,20 +1438,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/d9a5816e-5c0e-15fe-cd9d-417f8abd7abb" + "url": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" } }, { - "fullUrl": "urn:uuid:db00b811-6280-5dad-bf61-07314b205438", + "fullUrl": "urn:uuid:452e4d56-c770-85d2-56d5-b8831f428ece", "resource": { "resourceType": "Observation", - "id": "db00b811-6280-5dad-bf61-07314b205438", + "id": "452e4d56-c770-85d2-56d5-b8831f428ece", "status": "final", "code": { "coding": [ @@ -1511,20 +1511,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/db00b811-6280-5dad-bf61-07314b205438" + "url": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" } }, { - "fullUrl": "urn:uuid:0b77694d-87ce-5da4-90c4-4d451437d2d9", + "fullUrl": "urn:uuid:2a2a40ab-094b-5c4f-ed4c-06da5b795adb", "resource": { "resourceType": "Observation", - "id": "0b77694d-87ce-5da4-90c4-4d451437d2d9", + "id": "2a2a40ab-094b-5c4f-ed4c-06da5b795adb", "status": "final", "code": { "coding": [ @@ -1584,20 +1584,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/0b77694d-87ce-5da4-90c4-4d451437d2d9" + "url": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" } }, { - "fullUrl": "urn:uuid:4c96bb15-0280-fea1-1715-e3f424cf55cc", + "fullUrl": "urn:uuid:50ff46fb-efee-ee90-4005-de5f705b3e05", "resource": { "resourceType": "Observation", - "id": "4c96bb15-0280-fea1-1715-e3f424cf55cc", + "id": "50ff46fb-efee-ee90-4005-de5f705b3e05", "status": "final", "code": { "coding": [ @@ -1657,20 +1657,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/4c96bb15-0280-fea1-1715-e3f424cf55cc" + "url": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" } }, { - "fullUrl": "urn:uuid:19124803-ebc8-8a88-2acc-f5b890f8c5c5", + "fullUrl": "urn:uuid:acd9efe2-e488-9629-4ee4-7381dd2f033a", "resource": { "resourceType": "Observation", - "id": "19124803-ebc8-8a88-2acc-f5b890f8c5c5", + "id": "acd9efe2-e488-9629-4ee4-7381dd2f033a", "status": "final", "code": { "coding": [ @@ -1729,20 +1729,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/19124803-ebc8-8a88-2acc-f5b890f8c5c5" + "url": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" } }, { - "fullUrl": "urn:uuid:6074e0a6-0ba6-b905-c957-13b2899a4dbe", + "fullUrl": "urn:uuid:7590df32-4991-c5ec-defe-e0dc2c2eaf1e", "resource": { "resourceType": "Observation", - "id": "6074e0a6-0ba6-b905-c957-13b2899a4dbe", + "id": "7590df32-4991-c5ec-defe-e0dc2c2eaf1e", "status": "final", "code": { "coding": [ @@ -1801,20 +1801,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/6074e0a6-0ba6-b905-c957-13b2899a4dbe" + "url": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" } }, { - "fullUrl": "urn:uuid:700cce12-7f39-bbb0-94f3-689107732835", + "fullUrl": "urn:uuid:9309af3c-7981-ab3a-916e-39e0c93849e1", "resource": { "resourceType": "Observation", - "id": "700cce12-7f39-bbb0-94f3-689107732835", + "id": "9309af3c-7981-ab3a-916e-39e0c93849e1", "status": "final", "code": { "coding": [ @@ -1873,20 +1873,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/700cce12-7f39-bbb0-94f3-689107732835" + "url": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" } }, { - "fullUrl": "urn:uuid:d198666f-2eae-1c28-ee17-d525a7a3ec85", + "fullUrl": "urn:uuid:7a7a84ca-efac-1264-4b89-afcb99a042d3", "resource": { "resourceType": "Observation", - "id": "d198666f-2eae-1c28-ee17-d525a7a3ec85", + "id": "7a7a84ca-efac-1264-4b89-afcb99a042d3", "status": "final", "code": { "coding": [ @@ -1945,20 +1945,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/d198666f-2eae-1c28-ee17-d525a7a3ec85" + "url": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" } }, { - "fullUrl": "urn:uuid:db250a50-54ff-eacd-ef4f-8f05b79aecad", + "fullUrl": "urn:uuid:cbf7415b-71cd-2693-d05f-729ad10cab5b", "resource": { "resourceType": "Observation", - "id": "db250a50-54ff-eacd-ef4f-8f05b79aecad", + "id": "cbf7415b-71cd-2693-d05f-729ad10cab5b", "status": "final", "code": { "coding": [ @@ -2017,20 +2017,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/db250a50-54ff-eacd-ef4f-8f05b79aecad" + "url": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" } }, { - "fullUrl": "urn:uuid:90c2203d-56d6-be20-2be4-9b879d3647a5", + "fullUrl": "urn:uuid:f0e1d14d-8b98-c494-88da-2ccc76244df2", "resource": { "resourceType": "Observation", - "id": "90c2203d-56d6-be20-2be4-9b879d3647a5", + "id": "f0e1d14d-8b98-c494-88da-2ccc76244df2", "status": "final", "code": { "coding": [ @@ -2089,20 +2089,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/90c2203d-56d6-be20-2be4-9b879d3647a5" + "url": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" } }, { - "fullUrl": "urn:uuid:3260b2c2-a8f9-1a32-d09f-556192b37dcd", + "fullUrl": "urn:uuid:04f6146a-df8b-3d11-aac2-5f003cbc41eb", "resource": { "resourceType": "Observation", - "id": "3260b2c2-a8f9-1a32-d09f-556192b37dcd", + "id": "04f6146a-df8b-3d11-aac2-5f003cbc41eb", "status": "final", "code": { "coding": [ @@ -2152,20 +2152,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/3260b2c2-a8f9-1a32-d09f-556192b37dcd" + "url": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" } }, { - "fullUrl": "urn:uuid:ff76c538-2861-d8cf-7fc6-418d7f0688ef", + "fullUrl": "urn:uuid:d6dd70a5-58fa-39bc-c4c8-81398826e0bb", "resource": { "resourceType": "Observation", - "id": "ff76c538-2861-d8cf-7fc6-418d7f0688ef", + "id": "d6dd70a5-58fa-39bc-c4c8-81398826e0bb", "status": "final", "code": { "coding": [ @@ -2215,20 +2215,20 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/ff76c538-2861-d8cf-7fc6-418d7f0688ef" + "url": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" } }, { - "fullUrl": "urn:uuid:7cb9f3da-bf77-1317-12a2-d70c8577ca71", + "fullUrl": "urn:uuid:f20f3493-d398-8740-ad5f-24421acdb6ad", "resource": { "resourceType": "Observation", - "id": "7cb9f3da-bf77-1317-12a2-d70c8577ca71", + "id": "f20f3493-d398-8740-ad5f-24421acdb6ad", "status": "final", "code": { "coding": [ @@ -2278,21 +2278,21 @@ ], "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ] }, "request": { "method": "PUT", - "url": "Observation/7cb9f3da-bf77-1317-12a2-d70c8577ca71" + "url": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" } }, { - "fullUrl": "urn:uuid:b0ecf708-4aeb-a32d-0074-a3ea5b591203", + "fullUrl": "urn:uuid:be7b96d7-8880-3116-f8e3-328359c8e8b1", "resource": { "resourceType": "ServiceRequest", - "id": "b0ecf708-4aeb-a32d-0074-a3ea5b591203", - "status": "active", + "id": "be7b96d7-8880-3116-f8e3-328359c8e8b1", + "status": "unknown", "intent": "filler-order", "identifier": [ { @@ -2361,7 +2361,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "url": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } }, { @@ -2404,6 +2404,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "3abddc6b-7cdf-a483-2997-914e226aa033", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" } @@ -2479,7 +2490,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203" + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } ], "specimen": [ @@ -2489,88 +2500,88 @@ ], "result": [ { - "reference": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679" + "reference": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" }, { - "reference": "Observation/becb609f-f513-876c-973a-98f4a3e25295" + "reference": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" }, { - "reference": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf" + "reference": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" }, { - "reference": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154" + "reference": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" }, { - "reference": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417" + "reference": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" }, { - "reference": "Observation/d88298c6-5018-0e69-8bff-bb2e57479ede" + "reference": "Observation/992117b5-5929-6b7c-5570-199ffa437877" }, { - "reference": "Observation/4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e" + "reference": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" }, { - "reference": "Observation/b1082ae5-5936-88dc-f6ab-906231b9c7f1" + "reference": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" }, { - "reference": "Observation/61c65289-d3f6-bd40-9fa1-33856ad2288f" + "reference": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" }, { - "reference": "Observation/69a93e5e-128e-1cd9-b510-a781f1af141a" + "reference": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" }, { - "reference": "Observation/95277a83-6195-ad8c-9492-f3489b45732b" + "reference": "Observation/56ced431-5315-0916-1416-28535869cf35" }, { - "reference": "Observation/4cd993fb-7522-ee9f-69de-3d12d06960a7" + "reference": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" }, { - "reference": "Observation/15122490-e5b2-954f-3960-d7c8f3f62632" + "reference": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" }, { - "reference": "Observation/612d5b88-0687-46f9-3ada-0fc9ba9b5fe0" + "reference": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" }, { - "reference": "Observation/0f40b9a3-8c63-ca5d-cc60-859cfa8a6660" + "reference": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" }, { - "reference": "Observation/d9a5816e-5c0e-15fe-cd9d-417f8abd7abb" + "reference": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" }, { - "reference": "Observation/db00b811-6280-5dad-bf61-07314b205438" + "reference": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" }, { - "reference": "Observation/0b77694d-87ce-5da4-90c4-4d451437d2d9" + "reference": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" }, { - "reference": "Observation/4c96bb15-0280-fea1-1715-e3f424cf55cc" + "reference": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" }, { - "reference": "Observation/19124803-ebc8-8a88-2acc-f5b890f8c5c5" + "reference": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" }, { - "reference": "Observation/6074e0a6-0ba6-b905-c957-13b2899a4dbe" + "reference": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" }, { - "reference": "Observation/700cce12-7f39-bbb0-94f3-689107732835" + "reference": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" }, { - "reference": "Observation/d198666f-2eae-1c28-ee17-d525a7a3ec85" + "reference": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" }, { - "reference": "Observation/db250a50-54ff-eacd-ef4f-8f05b79aecad" + "reference": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" }, { - "reference": "Observation/90c2203d-56d6-be20-2be4-9b879d3647a5" + "reference": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" }, { - "reference": "Observation/3260b2c2-a8f9-1a32-d09f-556192b37dcd" + "reference": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" }, { - "reference": "Observation/ff76c538-2861-d8cf-7fc6-418d7f0688ef" + "reference": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" }, { - "reference": "Observation/7cb9f3da-bf77-1317-12a2-d70c8577ca71" + "reference": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" } ] }, @@ -2584,9 +2595,6 @@ "resource": { "resourceType": "Specimen", "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79", - "collection": { - "collectedDateTime": "2011-01-04T04:04:28+05:30" - }, "identifier": [ { "value": "ORD666555", @@ -2612,7 +2620,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2011-01-04T04:04:28+05:30" + } }, "request": { "method": "PUT", @@ -2624,9 +2635,6 @@ "resource": { "resourceType": "Specimen", "id": "a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", - "collection": { - "collectedDateTime": "2011-01-04T04:04:28+05:30" - }, "type": { "coding": [ { @@ -2636,6 +2644,9 @@ } ], "text": "Blood" + }, + "collection": { + "collectedDateTime": "2011-01-04T04:04:28+05:30" } }, "request": { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json index fade60740..d14d0494e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json @@ -56,7 +56,7 @@ "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:48:50.118Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-02-22T09:23:01.071Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, "occurredDateTime": "2012-03-14T20:44:00+05:30", "recorded": "2012-03-14T20:44:00+05:30", @@ -414,7 +414,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -568,6 +568,7 @@ { "code": "appends", "target": { + "type": "DocumentReference", "identifier": { "value": "1307506", "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" @@ -596,7 +597,10 @@ ] } ], - "description": "string ofCharacters" + "description": "string ofCharacters", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } }, "request": { "method": "PUT", @@ -731,10 +735,10 @@ } }, { - "fullUrl": "urn:uuid:e3f8a0a0-4237-82ce-d31d-1529c13ad523", + "fullUrl": "urn:uuid:805f1b25-f43a-3bca-8bbd-49d530107363", "resource": { "resourceType": "ServiceRequest", - "id": "e3f8a0a0-4237-82ce-d31d-1529c13ad523", + "id": "805f1b25-f43a-3bca-8bbd-49d530107363", "status": "completed", "intent": "filler-order", "orderDetail": [ @@ -912,9 +916,9 @@ "code": { "coding": [ { - "code": "ACM", - "display": "Before Breakfast", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx" + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" } ] }, @@ -922,7 +926,7 @@ "period": 12, "periodUnit": "min", "when": [ - "ACM" + "PC" ], "offset": 2, "boundsPeriod": { @@ -937,7 +941,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523" + "url": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" } }, { @@ -1354,7 +1358,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523" + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" } ], "specimen": [ @@ -1364,7 +1368,7 @@ ], "result": [ { - "reference": "Observation/700b7d4e-2516-cae2-2f83-a0a85eab1025" + "reference": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" } ] }, @@ -1661,29 +1665,6 @@ "resource": { "resourceType": "Specimen", "id": "95c9f253-3bac-cf73-202b-907e4e997489", - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "method": { - "text": "Collection Method" - }, - "collectedDateTime": "2002-02-15T10:45:00+05:30" - }, - "receivedTime": "2002-02-12T10:45:00+05:30", "identifier": [ { "value": "845439", @@ -1730,6 +1711,29 @@ } ] }, + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T10:45:00+05:30" + }, + "receivedTime": "2002-02-12T10:45:00+05:30", "container": [ { "additiveCodeableConcept": { @@ -1899,7 +1903,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1914,26 +1918,26 @@ } }, { - "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", "resource": { "resourceType": "Device", - "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", "identifier": [ { "value": "EI12.3", - "system": "urn:uuid:UI2", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } }, { - "system": "urn:oid:UI1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1948,7 +1952,7 @@ }, "request": { "method": "PUT", - "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } }, { @@ -1983,7 +1987,7 @@ "coding": [ { "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1992,7 +1996,7 @@ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, "organization": { - "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, "request": { @@ -2001,10 +2005,10 @@ } }, { - "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f", + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", "resource": { "resourceType": "Organization", - "id": "08c155be-912e-af06-d464-5b6bb63d660f", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", "name": "State Hygienic Laboratory", "identifier": [ { @@ -2035,14 +2039,14 @@ }, "request": { "method": "PUT", - "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f" + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } }, { - "fullUrl": "urn:uuid:700b7d4e-2516-cae2-2f83-a0a85eab1025", + "fullUrl": "urn:uuid:cdbf1614-4191-7f8c-d914-c071cc2a44bc", "resource": { "resourceType": "Observation", - "id": "700b7d4e-2516-cae2-2f83-a0a85eab1025", + "id": "cdbf1614-4191-7f8c-d914-c071cc2a44bc", "identifier": [ { "value": "EI21", @@ -2075,8 +2079,7 @@ { "code": "27268008", "display": "Salmonella", - "system": "http://snomed.info/sct", - "version": "20090731" + "system": "http://snomed.info/sct" } ], "text": "Salmonella species" @@ -2091,7 +2094,7 @@ "text": "Bacterial Culture" }, "device": { - "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a" + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, "bodySite": { "coding": [ @@ -2127,7 +2130,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523" + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" } ], "extension": [ @@ -2164,7 +2167,7 @@ }, "request": { "method": "PUT", - "url": "Observation/700b7d4e-2516-cae2-2f83-a0a85eab1025" + "url": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" } }, { @@ -2196,57 +2199,10 @@ } }, { - "fullUrl": "urn:uuid:ea6d5bd5-5c2e-227c-c792-f3f8eb46691b", + "fullUrl": "urn:uuid:e42df22d-2f6d-d024-aa57-9d069936760a", "resource": { "resourceType": "Specimen", - "id": "ea6d5bd5-5c2e-227c-c792-f3f8eb46691b", - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", + "id": "e42df22d-2f6d-d024-aa57-9d069936760a", "identifier": [ { "value": "2012545", @@ -2281,14 +2237,14 @@ } ] }, - "system": "urn:uuid:2.16.840.1.114222", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "assigner": { - "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { "value": "ShipID-32", - "system": "urn:oid:SID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -2313,6 +2269,53 @@ ], "text": "Blood" }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", "container": [ { "additiveCodeableConcept": { @@ -2396,7 +2399,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b" + "url": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" } }, { @@ -2454,23 +2457,23 @@ } }, { - "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca", + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "resource": { "resourceType": "Organization", - "id": "322ca8cf-e43e-973c-3149-9e499675ddca", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", "identifier": [ { "value": "IPHIMS Stage", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" }, { - "value": "urn:uuid:2.16.840.1.114222", + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", "system": "urn:ietf:rfc:3986", "type": { "coding": [ { "code": "GUID", - "display": "Same as UUID.", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] @@ -2480,7 +2483,7 @@ }, "request": { "method": "PUT", - "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca" + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } }, { @@ -2511,7 +2514,7 @@ }, "specimen": [ { - "reference": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b" + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" } ] }, @@ -2575,7 +2578,7 @@ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" }, "specimen": { - "reference": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b" + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" }, "extension": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json index b38b0f206..abd09771d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json @@ -68,7 +68,7 @@ "id": "1af3c547-cdab-c300-08bf-cc3836b6381a", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:50:13.765Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-02-22T09:26:24.489Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, "occurredDateTime": "2002-02-15T09:30:00", "recorded": "2002-02-15T09:30:00", @@ -208,10 +208,10 @@ } }, { - "fullUrl": "urn:uuid:4af7a7fb-e594-e5b3-43b9-969188e0c692", + "fullUrl": "urn:uuid:8ce7c059-b284-2c5e-bc0f-c30b93fdaa8e", "resource": { "resourceType": "Account", - "id": "4af7a7fb-e594-e5b3-43b9-969188e0c692", + "id": "8ce7c059-b284-2c5e-bc0f-c30b93fdaa8e", "identifier": [ { "value": "AC555444444" @@ -226,7 +226,7 @@ }, "request": { "method": "PUT", - "url": "Account/4af7a7fb-e594-e5b3-43b9-969188e0c692" + "url": "Account/8ce7c059-b284-2c5e-bc0f-c30b93fdaa8e" } }, { @@ -284,7 +284,7 @@ ], "basedOn": [ { - "reference": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369" + "reference": "ServiceRequest/10ffaaff-1f45-e217-a589-672caec1153e" } ] }, @@ -294,10 +294,10 @@ } }, { - "fullUrl": "urn:uuid:0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369", + "fullUrl": "urn:uuid:10ffaaff-1f45-e217-a589-672caec1153e", "resource": { "resourceType": "ServiceRequest", - "id": "0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369", + "id": "10ffaaff-1f45-e217-a589-672caec1153e", "status": "active", "intent": "filler-order", "identifier": [ @@ -360,7 +360,7 @@ }, "request": { "method": "PUT", - "url": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369" + "url": "ServiceRequest/10ffaaff-1f45-e217-a589-672caec1153e" } }, { @@ -395,6 +395,17 @@ "resource": { "resourceType": "PractitionerRole", "id": "4fe9acb3-89ca-75f6-471d-59fdad148a9d", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], "practitioner": { "reference": "Practitioner/cb12815d-2663-5dcf-5f10-0f9e57083be1" } @@ -450,7 +461,7 @@ }, "basedOn": [ { - "reference": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369" + "reference": "ServiceRequest/10ffaaff-1f45-e217-a589-672caec1153e" } ], "specimen": [ @@ -474,9 +485,6 @@ "resource": { "resourceType": "Specimen", "id": "03cf7725-1dd2-d3e3-65da-f7aa7b36e632", - "collection": { - "collectedDateTime": "2002-02-15T07:30:00" - }, "identifier": [ { "value": "845439", @@ -502,7 +510,10 @@ ] } } - ] + ], + "collection": { + "collectedDateTime": "2002-02-15T07:30:00" + } }, "request": { "method": "PUT", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json new file mode 100644 index 000000000..e7d05e5de --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json @@ -0,0 +1,1732 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:34:01.904Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 18", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json new file mode 100644 index 000000000..0afa6ebd6 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json @@ -0,0 +1,2244 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:34:31.956Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + } + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + }, + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + }, + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + } + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ], + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + } + }, + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Submission", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "type": { + "coding": [ + { + "code": "CN" + } + ] + }, + "context": { + "period": { + "start": "2000-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2000-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2000-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + }, + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + }, + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + }, + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + }, + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json new file mode 100644 index 000000000..dda81f806 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json @@ -0,0 +1,2802 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:36:20.478Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 80, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json new file mode 100644 index 000000000..f19eafa39 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json @@ -0,0 +1,3441 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:37:21.163Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ], + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + } + }, + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + ], + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + } + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + }, + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + }, + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Antibodies detected", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "type": { + "coding": [ + { + "code": "CN" + } + ] + }, + "context": { + "period": { + "start": "2000-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2000-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2000-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + }, + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + }, + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + }, + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + }, + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + } + }, + { + "fullUrl": "urn:uuid:12062591-8d86-396b-ac8c-c28aba726bd2", + "resource": { + "resourceType": "Practitioner", + "id": "12062591-8d86-396b-ac8c-c28aba726bd2", + "identifier": [ + { + "value": "Mily" + } + ], + "name": [ + { + "family": "Antony", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json new file mode 100644 index 000000000..5dac9b752 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json @@ -0,0 +1,2887 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:38:52.628Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:959de135-72a9-8eca-8466-f72569728c13", + "resource": { + "resourceType": "ServiceRequest", + "id": "959de135-72a9-8eca-8466-f72569728c13", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU_31" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "80" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json new file mode 100644 index 000000000..80d961b51 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json @@ -0,0 +1,3034 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T14:46:33+05:30", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:39:22.38Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "80" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4432d203-d7f8-41a3-4a33-1fdd2273def6", + "resource": { + "resourceType": "ServiceRequest", + "id": "4432d203-d7f8-41a3-4a33-1fdd2273def6", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "note": [ + { + "text": "Follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 12, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "QOD", + "display": "every other day", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + }, + { + "fullUrl": "urn:uuid:b6178ff2-41f5-639e-14d9-061004b4ce81", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b6178ff2-41f5-639e-14d9-061004b4ce81", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/b6178ff2-41f5-639e-14d9-061004b4ce81" + } + }, + { + "fullUrl": "urn:uuid:a3cead74-dc41-60c8-989a-2462337f6acf", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a3cead74-dc41-60c8-989a-2462337f6acf", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a3cead74-dc41-60c8-989a-2462337f6acf" + } + }, + { + "fullUrl": "urn:uuid:f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f8d9acb0-2453-703f-7423-4c6abc17f4d1" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json new file mode 100644 index 000000000..3fe7ea0a1 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json @@ -0,0 +1,3458 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:46:11.898Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerLifetime": { + "value": 100, + "unit": "mg" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json new file mode 100644 index 000000000..01ef44de0 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json @@ -0,0 +1,3843 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:46:42.413Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + }, + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ + { + "value": "1552" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + } + }, + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + } + }, + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + } + }, + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ + { + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json new file mode 100644 index 000000000..517efd452 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json @@ -0,0 +1,3499 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:48:05.842Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "mo", + "system": "http://unitsofmeasure.org", + "code": "mo" + } + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json new file mode 100644 index 000000000..4de91115f --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json @@ -0,0 +1,3913 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:48:36.466Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + } + }, + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + }, + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ + { + "value": "1552" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + } + }, + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + } + }, + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + } + }, + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ + { + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "Test", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + }, + { + "fullUrl": "urn:uuid:f3484f07-7a60-db29-1d1b-0577b0069e15", + "resource": { + "resourceType": "Task", + "id": "f3484f07-7a60-db29-1d1b-0577b0069e15", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/f3484f07-7a60-db29-1d1b-0577b0069e15" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json new file mode 100644 index 000000000..31cdc40ed --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json @@ -0,0 +1,2892 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:51:11.139Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "O" + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json new file mode 100644 index 000000000..c4c873fd0 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json @@ -0,0 +1,3648 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T09:51:39.501Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "resource": { + "resourceType": "Medication", + "id": "e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "code": { + "coding": [ + { + "code": "308191", + "display": "amoxicillin 500 MG Oral Capsule", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + }, + { + "code": "323510009", + "display": "Amoxicillin 500 mg oral capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385049006", + "display": "Capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + } + }, + { + "fullUrl": "urn:uuid:0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "resource": { + "resourceType": "MedicationDispense", + "id": "0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385049006", + "unit": "Capsule", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Capsule" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "ADB", + "display": "Abdomen", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/0cd1106d-1307-4f0c-1ef7-0a35165bdbed" + } + }, + { + "fullUrl": "urn:uuid:aaabbc3b-a186-0461-6456-9974f494563b", + "resource": { + "resourceType": "Practitioner", + "id": "aaabbc3b-a186-0461-6456-9974f494563b", + "identifier": [ + { + "value": "9141339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Anny", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json index 006c08e55..a68f92101 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:39:05.598Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + "div": "

Resource bundle generated on 2022-02-22T09:52:45.417Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" }, "occurredDateTime": "2021-09-14T14:35:00+05:30", "recorded": "2021-09-14T14:35:00+05:30", @@ -311,7 +311,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -475,7 +475,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -488,10 +488,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -506,20 +506,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -531,16 +531,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -556,7 +556,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -607,7 +607,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -620,10 +620,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -644,16 +644,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -669,7 +694,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1001,10 +1026,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1017,9 +1042,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1036,21 +1061,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1066,7 +1091,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1251,10 +1276,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1283,16 +1308,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1322,14 +1347,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1358,14 +1383,14 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { - "fullUrl": "urn:uuid:919b83dc-2853-4a8d-c96a-bdecb51f1fcc", + "fullUrl": "urn:uuid:2d2a3226-c568-67d5-b72d-197016a744fe", "resource": { "resourceType": "Location", - "id": "919b83dc-2853-4a8d-c96a-bdecb51f1fcc", + "id": "2d2a3226-c568-67d5-b72d-197016a744fe", "name": "GENOPD", "mode": "instance", "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", @@ -1380,16 +1405,16 @@ }, "request": { "method": "PUT", - "url": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc" + "url": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" } }, { - "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "fullUrl": "urn:uuid:c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", "resource": { "resourceType": "Location", - "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333", + "id": "c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", "partOf": { - "reference": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc" + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" }, "name": "ROOM1", "identifier": [ @@ -1411,14 +1436,14 @@ }, "request": { "method": "PUT", - "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333" + "url": "Location/c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50" } }, { - "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "fullUrl": "urn:uuid:7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", "resource": { "resourceType": "Location", - "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6", + "id": "7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", "name": "FACILITY1", "mode": "instance", "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", @@ -1433,16 +1458,16 @@ }, "request": { "method": "PUT", - "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "url": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" } }, { - "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699", + "fullUrl": "urn:uuid:60f9253f-2278-912d-b0cb-29905def8a31", "resource": { "resourceType": "Location", - "id": "3b0911cb-4361-cd8d-b188-463af033c699", + "id": "60f9253f-2278-912d-b0cb-29905def8a31", "partOf": { - "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6" + "reference": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" }, "name": "BUILDING1", "mode": "instance", @@ -1458,7 +1483,7 @@ }, "request": { "method": "PUT", - "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699" + "url": "Location/60f9253f-2278-912d-b0cb-29905def8a31" } }, { @@ -1476,20 +1501,14 @@ { "status": "active", "location": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { "status": "completed", "location": { - "reference": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": false - } - ] + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + } } ], "participant": [ @@ -1584,6 +1603,11 @@ } ] }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], "subject": { "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, @@ -1710,7 +1734,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1759,7 +1783,7 @@ "coding": [ { "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/PractitionerRole" + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" } ] } @@ -1774,10 +1798,10 @@ } }, { - "fullUrl": "urn:uuid:053a101a-4c1b-a99a-7a2b-2adf7dd1b55e", + "fullUrl": "urn:uuid:41e75a04-7180-c2c5-d139-5abc95b2fe05", "resource": { "resourceType": "Observation", - "id": "053a101a-4c1b-a99a-7a2b-2adf7dd1b55e", + "id": "41e75a04-7180-c2c5-d139-5abc95b2fe05", "status": "final", "code": { "coding": [ @@ -1791,7 +1815,6 @@ "valueQuantity": { "value": 72, "code": "beats/min", - "unit": "beats/min", "system": "urn:iso:std:iso:3986" }, "referenceRange": [ @@ -1829,7 +1852,7 @@ }, "request": { "method": "PUT", - "url": "Observation/053a101a-4c1b-a99a-7a2b-2adf7dd1b55e" + "url": "Observation/41e75a04-7180-c2c5-d139-5abc95b2fe05" } }, { @@ -1876,7 +1899,7 @@ "identifier": [ { "value": "DI20", - "system": "urn:oid:DTUI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1902,7 +1925,7 @@ { "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", "valueReference": { - "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } } ] @@ -1913,13 +1936,13 @@ } }, { - "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22", + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", "resource": { "resourceType": "Condition", - "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", "identifier": [ { - "system": "urn:oid:UI", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "type": { "coding": [ { @@ -1937,7 +1960,7 @@ }, "request": { "method": "PUT", - "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22" + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } }, { @@ -2007,7 +2030,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json index 1557678d8..2992f8ccc 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:39:40.333Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + "div": "

Resource bundle generated on 2022-02-22T09:53:10.667Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" }, "occurredDateTime": "2021-08-10T14:45:00+05:30", "recorded": "2021-08-10T14:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json index af3fa2275..d1d6e1ff9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:40:21.421Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + "div": "

Resource bundle generated on 2022-02-22T09:53:48.376Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" }, "occurredDateTime": "2021-09-20T14:41:00+05:30", "recorded": "2021-09-20T14:41:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1238,7 +1263,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, @@ -1280,10 +1305,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1312,16 +1337,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1351,14 +1376,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1387,7 +1412,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json index dd38f2c02..4e452298f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:40:48.961Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + "div": "

Resource bundle generated on 2022-02-22T09:54:14.848Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" }, "occurredDateTime": "2021-08-18T14:45:00+05:30", "recorded": "2021-08-18T14:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json index f73d594e6..45ee1882b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:41:34.023Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + "div": "

Resource bundle generated on 2022-02-22T09:54:46.179Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" }, "occurredDateTime": "2021-09-20T14:41:00+05:30", "recorded": "2021-09-20T14:41:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1238,7 +1263,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" } ] }, @@ -1280,10 +1305,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:18e734c1-7258-6297-f8aa-fbcf2188c7bb", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "18e734c1-7258-6297-f8aa-fbcf2188c7bb", "name": "055", "mode": "instance", "description": "055--Room02--GH Clinic", @@ -1312,16 +1337,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" } }, { - "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "fullUrl": "urn:uuid:96860c54-dfeb-5e05-abe0-9e5d518e5865", "resource": { "resourceType": "Location", - "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "id": "96860c54-dfeb-5e05-abe0-9e5d518e5865", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" }, "name": "Room02", "mode": "instance", @@ -1351,14 +1376,14 @@ }, "request": { "method": "PUT", - "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba" + "url": "Location/96860c54-dfeb-5e05-abe0-9e5d518e5865" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:36e00a7a-d432-5856-498d-a698f70a8f15", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "36e00a7a-d432-5856-498d-a698f70a8f15", "name": "GH Clinic", "mode": "instance", "description": "055--Room02--GH Clinic", @@ -1387,7 +1412,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/36e00a7a-d432-5856-498d-a698f70a8f15" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json index ad49d45a4..03687cc69 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:42:05.307Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + "div": "

Resource bundle generated on 2022-02-22T09:55:14.367Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" }, "occurredDateTime": "2021-08-17T14:45:00+05:30", "recorded": "2021-08-17T14:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3" + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3" + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:49df5da3-db7b-385e-1b05-81bb68f542e3", + "fullUrl": "urn:uuid:b66d2815-7fb1-5d31-cba4-786795453f66", "resource": { "resourceType": "Location", - "id": "49df5da3-db7b-385e-1b05-81bb68f542e3", + "id": "b66d2815-7fb1-5d31-cba4-786795453f66", "name": "LabUnit102", "mode": "instance", "description": "LabUnit102--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3" + "url": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:03162b68-aea3-37a0-0d98-94e29ee09823", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "03162b68-aea3-37a0-0d98-94e29ee09823", "partOf": { - "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3" + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/03162b68-aea3-37a0-0d98-94e29ee09823" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:b448ecd3-a552-3ac7-08ab-a52774f67b11", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "b448ecd3-a552-3ac7-08ab-a52774f67b11", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit102--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/b448ecd3-a552-3ac7-08ab-a52774f67b11" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json index 921264796..93a8dd027 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:42:52.655Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + "div": "

Resource bundle generated on 2022-02-22T09:55:47.135Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" }, "occurredDateTime": "2021-09-23T14:41:00+05:30", "recorded": "2021-09-23T14:41:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1238,7 +1263,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, @@ -1280,10 +1305,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1312,16 +1337,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1351,14 +1376,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1387,7 +1412,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json index 1b4e075bf..45c12be40 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:43:28.077Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + "div": "

Resource bundle generated on 2022-02-22T09:56:16.823Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" }, "occurredDateTime": "2021-08-18T13:45:00+05:30", "recorded": "2021-08-18T13:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json index 3e41b68fb..0561339fd 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:44:06.903Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + "div": "

Resource bundle generated on 2022-02-22T09:56:50.691Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" }, "occurredDateTime": "1989-08-18T14:41:00+05:30", "recorded": "1989-08-18T14:41:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1238,7 +1263,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, @@ -1280,10 +1305,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1312,16 +1337,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1351,14 +1376,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1387,7 +1412,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json index 3ebd03c82..13a34077b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:44:32.016Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + "div": "

Resource bundle generated on 2022-02-22T09:57:18.396Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" }, "occurredDateTime": "2021-08-10T15:15:00+05:30", "recorded": "2021-08-10T15:15:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json index 5404fa40b..169710e50 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:45:32.192Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + "div": "

Resource bundle generated on 2022-02-22T09:59:32.471Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" }, "occurredDateTime": "2021-09-23T14:41:00+05:30", "recorded": "2021-09-23T14:41:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1238,7 +1263,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, @@ -1280,10 +1305,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1312,16 +1337,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1351,14 +1376,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1387,7 +1412,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json index 28bb2671c..75ba88f16 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:45:54.523Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + "div": "

Resource bundle generated on 2022-02-22T09:59:59.087Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" }, "occurredDateTime": "2021-08-10T13:45:00+05:30", "recorded": "2021-08-10T13:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json index 5cb07b512..64611f98c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:46:35.241Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + "div": "

Resource bundle generated on 2022-02-22T10:00:45.34Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" }, "occurredDateTime": "2021-09-24T13:15:00+05:30", "recorded": "2021-09-24T13:15:00+05:30", @@ -310,7 +310,7 @@ }, { "actor": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "period": { "start": "2021-09-24T12:45:00+05:30" @@ -474,7 +474,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -487,10 +487,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -505,20 +505,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -530,16 +530,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -555,7 +555,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -606,7 +606,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -619,10 +619,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -643,16 +643,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -668,7 +693,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1000,10 +1025,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1016,9 +1041,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1035,21 +1060,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1065,7 +1090,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1235,7 +1260,7 @@ ], "locationReference": [ { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } ] }, @@ -1277,10 +1302,10 @@ } }, { - "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608", + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", "resource": { "resourceType": "Location", - "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", "name": "055", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1309,16 +1334,16 @@ }, "request": { "method": "PUT", - "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } }, { - "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", "resource": { "resourceType": "Location", - "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", "partOf": { - "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608" + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, "name": "Room01", "mode": "instance", @@ -1348,14 +1373,14 @@ }, "request": { "method": "PUT", - "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } }, { - "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf", + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", "resource": { "resourceType": "Location", - "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", "name": "GH Clinic", "mode": "instance", "description": "055--Room01--GH Clinic", @@ -1384,7 +1409,7 @@ }, "request": { "method": "PUT", - "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf" + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json index 9a6378ef3..f5d8cebf4 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json @@ -64,7 +64,7 @@ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", "text": { "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:46:53.449Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + "div": "

Resource bundle generated on 2022-02-22T10:01:15.618Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" }, "occurredDateTime": "2021-08-18T14:45:00+05:30", "recorded": "2021-08-18T14:45:00+05:30", @@ -308,7 +308,7 @@ }, { "actor": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "status": "tentative" }, @@ -348,7 +348,7 @@ }, { "actor": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "status": "tentative" }, @@ -371,7 +371,7 @@ }, { "actor": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "status": "tentative" }, @@ -532,7 +532,7 @@ ], "location": [ { - "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } ], "practitioner": { @@ -545,10 +545,10 @@ } }, { - "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", "resource": { "resourceType": "Location", - "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb", + "id": "01972772-633a-aae6-c377-70073d6923d3", "name": "FACILITY2", "mode": "instance", "description": "FACILITY2--BUILDING2--FLOOR2", @@ -563,20 +563,20 @@ }, "request": { "method": "PUT", - "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb" + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } }, { - "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", "resource": { "resourceType": "Location", - "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", "partOf": { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, "name": "BUILDING2", "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "description": "FACILITY2--BUILDING2--FLOOR2", "physicalType": { "coding": [ { @@ -588,16 +588,16 @@ }, "request": { "method": "PUT", - "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } }, { - "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", "resource": { "resourceType": "Location", - "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, "name": "FLOOR2", "mode": "instance", @@ -613,7 +613,7 @@ }, "request": { "method": "PUT", - "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf" + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } }, { @@ -664,7 +664,7 @@ ], "location": [ { - "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } ], "practitioner": { @@ -677,10 +677,10 @@ } }, { - "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "resource": { "resourceType": "Location", - "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", "name": "FACILITY3", "identifier": [ { @@ -701,16 +701,41 @@ }, "request": { "method": "PUT", - "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e" + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } }, { - "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", "resource": { "resourceType": "Location", - "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", "partOf": { - "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3" + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, "name": "FLOOR1", "mode": "instance", @@ -726,7 +751,7 @@ }, "request": { "method": "PUT", - "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff" + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } }, { @@ -1058,10 +1083,10 @@ } }, { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "resource": { "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", "identifier": [ { "value": "4000776", @@ -1074,9 +1099,9 @@ } ] }, - "system": "urn:oid:2.4", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, "period": { "start": "1924-10-11", @@ -1093,21 +1118,21 @@ }, "request": { "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", "resource": { "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", "identifier": [ { "value": "AccMgr", "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, { - "value": "urn:oid:2.4", + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", "system": "urn:ietf:rfc:3986", "type": { "coding": [ @@ -1123,7 +1148,7 @@ }, "request": { "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, { @@ -1266,7 +1291,7 @@ ], "locationReference": [ { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } ] }, @@ -1304,10 +1329,10 @@ } }, { - "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", "resource": { "resourceType": "Location", - "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", "name": "LabUnit101", "mode": "instance", "description": "LabUnit101--Lab Room 01--GHH Hospital", @@ -1325,16 +1350,16 @@ }, "request": { "method": "PUT", - "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" } }, { - "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853", + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", "resource": { "resourceType": "Location", - "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", "partOf": { - "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725" + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, "name": "Lab Room 01", "mode": "instance", @@ -1353,17 +1378,17 @@ }, "request": { "method": "PUT", - "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853" + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } }, { - "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8", + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", "resource": { "resourceType": "Location", - "id": "9d04f983-a391-647a-07a8-e8bf59f77de8", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", "name": "GHH Hospital", "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", + "description": "LabUnit101--Lab Room 01--GHH Hospital", "physicalType": { "coding": [ { @@ -1373,14 +1398,12 @@ ] }, "alias": [ - "Location available for lab test", - "Location available for imaging", - "Location available for checkup" + "Location available for lab test" ] }, "request": { "method": "PUT", - "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8" + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } }, { @@ -1442,7 +1465,7 @@ ], "locationReference": [ { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } ] }, @@ -1480,10 +1503,10 @@ } }, { - "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", "resource": { "resourceType": "Location", - "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", "name": "DiagnosticUnit201", "mode": "instance", "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", @@ -1501,16 +1524,16 @@ }, "request": { "method": "PUT", - "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } }, { - "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "resource": { "resourceType": "Location", - "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", "partOf": { - "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6" + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, "name": "Imaging Room 01", "mode": "instance", @@ -1529,7 +1552,32 @@ }, "request": { "method": "PUT", - "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208" + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } }, { @@ -1558,10 +1606,10 @@ } }, { - "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", "resource": { "resourceType": "Location", - "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", "name": "OPD12", "mode": "instance", "description": "OPD12--Room 55--GHH Hospital", @@ -1579,16 +1627,16 @@ }, "request": { "method": "PUT", - "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } }, { - "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6", + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", "resource": { "resourceType": "Location", - "id": "928bc54e-abd5-e128-504a-f02faf5598e6", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", "partOf": { - "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c" + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, "name": "Room 55", "mode": "instance", @@ -1607,7 +1655,32 @@ }, "request": { "method": "PUT", - "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6" + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json index f88f4571b..ede3546ac 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json @@ -5,6 +5,7 @@ "identifier": { "value": "NIST-IZ-001.00" }, + "id": "b6868261-f37f-4552-69e7-6cb342d2eb33", "entry": [ { "fullUrl": "urn:uuid:5cddb2d1-c441-ec21-1c0c-96605dd3a9c0", @@ -59,6 +60,84 @@ "url": "MessageHeader/5cddb2d1-c441-ec21-1c0c-96605dd3a9c0" } }, + { + "fullUrl": "urn:uuid:cab498e7-22e3-614e-b9ff-079c8535c9d8", + "resource": { + "resourceType": "Provenance", + "id": "cab498e7-22e3-614e-b9ff-079c8535c9d8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T10:02:38.219Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2012-07-01T08:22:00", + "recorded": "2012-07-01T08:22:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/8a4905a9-ae0d-541f-4fde-2e228bbb0f70" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "target": [ + { + "reference": "Bundle/b6868261-f37f-4552-69e7-6cb342d2eb33" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/cab498e7-22e3-614e-b9ff-079c8535c9d8" + } + }, + { + "fullUrl": "urn:uuid:8a4905a9-ae0d-541f-4fde-2e228bbb0f70", + "resource": { + "resourceType": "Organization", + "id": "8a4905a9-ae0d-541f-4fde-2e228bbb0f70", + "identifier": [ + { + "value": "X68", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-X68" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/8a4905a9-ae0d-541f-4fde-2e228bbb0f70" + } + }, + { + "fullUrl": "urn:uuid:57e4a003-b56b-2993-9714-18b188c68595", + "resource": { + "resourceType": "Organization", + "id": "57e4a003-b56b-2993-9714-18b188c68595", + "identifier": [ + { + "value": "NIST Test Iz Reg", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Test-Iz-Reg" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/57e4a003-b56b-2993-9714-18b188c68595" + } + }, { "fullUrl": "urn:uuid:1b2dce0f-93ae-fae4-cc64-b90257c96f1b", "resource": { @@ -108,7 +187,7 @@ "system": "phone" } ], - "active": "true", + "active": true, "extension": [ { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", @@ -181,181 +260,6 @@ "url": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" } }, - { - "fullUrl": "urn:uuid:57ea8417-a3d9-a03e-3e89-0e2800129af1", - "resource": { - "resourceType": "Practitioner", - "id": "57ea8417-a3d9-a03e-3e89-0e2800129af1", - "identifier": [ - { - "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" - } - ], - "name": [ - { - "family": "RADON", - "given": [ - "NICHOLAS" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/57ea8417-a3d9-a03e-3e89-0e2800129af1" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Practitioner", - "identifier": [ - { - "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" - } - ], - "name": [ - { - "family": "RADON", - "given": [ - "NICHOLAS" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/" - } - }, - { - "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "resource": { - "resourceType": "Practitioner", - "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "identifier": [ - { - "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" - } - ], - "name": [ - { - "family": "RADON", - "given": [ - "NICHOLAS" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Location" - }, - "request": { - "method": "PUT", - "url": "Location/" - } - }, - { - "fullUrl": "urn:uuid:cab498e7-22e3-614e-b9ff-079c8535c9d8", - "resource": { - "resourceType": "Provenance", - "id": "cab498e7-22e3-614e-b9ff-079c8535c9d8", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:47:48.697Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2012-07-01T08:22:00", - "recorded": "2012-07-01T08:22:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/8a4905a9-ae0d-541f-4fde-2e228bbb0f70" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "target": [ - { - "reference": "Bundle/" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/cab498e7-22e3-614e-b9ff-079c8535c9d8" - } - }, - { - "fullUrl": "urn:uuid:82fcb02d-52a4-17af-a707-923501f587d1", - "resource": { - "resourceType": "Account", - "id": "82fcb02d-52a4-17af-a707-923501f587d1", - "status": "active", - "subject": [ - { - "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/82fcb02d-52a4-17af-a707-923501f587d1" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Encounter", - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Organization" - }, - "request": { - "method": "PUT", - "url": "Organization/" - } - }, { "fullUrl": "urn:uuid:a17fe59e-2385-e7c3-59c4-14f214cf72c7", "resource": { @@ -408,133 +312,17 @@ } }, { - "fullUrl": "urn:uuid:9d7483ec-3273-a9d9-0d6c-da4895472607", + "fullUrl": "urn:uuid:10141832-eac5-52c9-6d9d-a7a25450d22e", "resource": { - "resourceType": "Immunization", - "id": "9d7483ec-3273-a9d9-0d6c-da4895472607", - "identifier": [ - { - "value": "IZ-783274", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NDA", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443" - } - ] - }, - "actor": { - "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" - } - }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443" - } - ] - }, - "actor": { - "reference": "Practitioner/6389563f-944d-cf03-c166-cab811fa11b5" - } - } - ], - "patient": { - "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" - }, - "occurrenceDateTime": "2012-08-14", - "vaccineCode": { - "coding": [ - { - "code": "140", - "display": "Influenza, seasonal, injectable, preservative free", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "lotNumber": "Z0860BB", - "expirationDate": "2012-11-04", - "status": "completed", - "manufacturer": { - "reference": "Organization/bcdbbced-4721-ecce-55fe-75020f5c6048" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" - } - }, - { - "fullUrl": "urn:uuid:bcdbbced-4721-ecce-55fe-75020f5c6048", - "resource": { - "resourceType": "Organization", - "id": "bcdbbced-4721-ecce-55fe-75020f5c6048", - "identifier": [ - { - "value": "CSL", - "system": "MVX" - } - ], - "name": "CSL Behring" - }, - "request": { - "method": "PUT", - "url": "Organization/bcdbbced-4721-ecce-55fe-75020f5c6048" - } - }, - { - "fullUrl": "urn:uuid:6389563f-944d-cf03-c166-cab811fa11b5", - "resource": { - "resourceType": "Practitioner", - "id": "6389563f-944d-cf03-c166-cab811fa11b5", - "identifier": [ - { - "value": "7832-1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" - } - ], - "name": [ - { - "family": "Lemon", - "given": [ - "Mike", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6389563f-944d-cf03-c166-cab811fa11b5" - } - }, - { - "fullUrl": "urn:uuid:ac8dc02f-77b0-7070-13d1-836f465308c7", - "resource": { - "resourceType": "Observation", - "id": "ac8dc02f-77b0-7070-13d1-836f465308c7", - "status": "final", - "code": { - "coding": [ - { - "code": "64994-7", - "display": "Vaccine funding program eligibility category", - "system": "http://loinc.org" + "resourceType": "Observation", + "id": "10141832-eac5-52c9-6d9d-a7a25450d22e", + "status": "final", + "code": { + "coding": [ + { + "code": "64994-7", + "display": "Vaccine funding program eligibility category", + "system": "http://loinc.org" } ] }, @@ -560,15 +348,25 @@ "subject": { "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" }, - "partOf": [ + "extension": [ { - "reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } } ] }, "request": { "method": "PUT", - "url": "Observation/ac8dc02f-77b0-7070-13d1-836f465308c7" + "url": "Observation/10141832-eac5-52c9-6d9d-a7a25450d22e" } }, { @@ -598,10 +396,30 @@ "subject": { "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], "partOf": [ { "reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" } + ], + "basedOn": [ + { + "reference": "ServiceRequest/ee32e20a-a706-37b7-eeef-6680b395a832" + } ] }, "request": { @@ -627,10 +445,30 @@ "subject": { "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], "partOf": [ { "reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" } + ], + "basedOn": [ + { + "reference": "ServiceRequest/ee32e20a-a706-37b7-eeef-6680b395a832" + } ] }, "request": { @@ -656,16 +494,283 @@ "subject": { "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], "partOf": [ { "reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" } + ], + "basedOn": [ + { + "reference": "ServiceRequest/ee32e20a-a706-37b7-eeef-6680b395a832" + } ] }, "request": { "method": "PUT", "url": "Observation/c1c03ed1-957c-31a3-95d2-1e9409ae213c" } + }, + { + "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "resource": { + "resourceType": "Practitioner", + "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "identifier": [ + { + "value": "57422", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" + } + ], + "name": [ + { + "family": "RADON", + "given": [ + "NICHOLAS" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + } + }, + { + "fullUrl": "urn:uuid:9d7483ec-3273-a9d9-0d6c-da4895472607", + "resource": { + "resourceType": "Immunization", + "id": "9d7483ec-3273-a9d9-0d6c-da4895472607", + "identifier": [ + { + "value": "IZ-783274", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NDA", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/6389563f-944d-cf03-c166-cab811fa11b5" + } + } + ], + "patient": { + "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" + }, + "occurrenceDateTime": "2012-08-14", + "vaccineCode": { + "coding": [ + { + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "MilliLiter [SI Volume Units]", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New immunization record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "Z0860BB", + "expirationDate": "2012-11-04", + "status": "completed", + "manufacturer": { + "reference": "Organization/bcdbbced-4721-ecce-55fe-75020f5c6048" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "LD", + "display": "Left Arm", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V05", + "display": "VFC eligible - Federally Qualified Health Center Patient (under-insured)", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607" + } + }, + { + "fullUrl": "urn:uuid:ee32e20a-a706-37b7-eeef-6680b395a832", + "resource": { + "resourceType": "ServiceRequest", + "id": "ee32e20a-a706-37b7-eeef-6680b395a832", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "IZ-783274", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NDA", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b" + }, + "requester": { + "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ee32e20a-a706-37b7-eeef-6680b395a832" + } + }, + { + "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033", + "resource": { + "resourceType": "PractitionerRole", + "id": "3abddc6b-7cdf-a483-2997-914e226aa033", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" + } + }, + { + "fullUrl": "urn:uuid:bcdbbced-4721-ecce-55fe-75020f5c6048", + "resource": { + "resourceType": "Organization", + "id": "bcdbbced-4721-ecce-55fe-75020f5c6048", + "identifier": [ + { + "value": "CSL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "CSL Behring" + }, + "request": { + "method": "PUT", + "url": "Organization/bcdbbced-4721-ecce-55fe-75020f5c6048" + } + }, + { + "fullUrl": "urn:uuid:6389563f-944d-cf03-c166-cab811fa11b5", + "resource": { + "resourceType": "Practitioner", + "id": "6389563f-944d-cf03-c166-cab811fa11b5", + "identifier": [ + { + "value": "7832-1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" + } + ], + "name": [ + { + "family": "Lemon", + "given": [ + "Mike", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6389563f-944d-cf03-c166-cab811fa11b5" + } } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json new file mode 100644 index 000000000..ba953d689 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json @@ -0,0 +1,4291 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T10:05:15.806Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + }, + { + "fullUrl": "urn:uuid:b078ac32-02fb-9749-1cb5-6c7766185ea9", + "resource": { + "resourceType": "ServiceRequest", + "id": "b078ac32-02fb-9749-1cb5-6c7766185ea9", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + }, + "note": [ + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + }, + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + } + }, + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json new file mode 100644 index 000000000..138ffafb2 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json @@ -0,0 +1,4458 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T10:05:49.32Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + }, + { + "fullUrl": "urn:uuid:c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "resource": { + "resourceType": "ServiceRequest", + "id": "c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + }, + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + } + }, + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + } + }, + { + "fullUrl": "urn:uuid:9dc51316-3b86-fe81-dad0-6018e526d43e", + "resource": { + "resourceType": "Immunization", + "id": "9dc51316-3b86-fe81-dad0-6018e526d43e", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2014-10-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed", + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/9dc51316-3b86-fe81-dad0-6018e526d43e" + } + }, + { + "fullUrl": "urn:uuid:97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "resource": { + "resourceType": "ServiceRequest", + "id": "97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/97a02aa1-5d37-07ce-9424-b4d2bfcdef49" + } + }, + { + "fullUrl": "urn:uuid:729d7e70-12fb-da13-46eb-3818c172ae2f", + "resource": { + "resourceType": "Immunization", + "id": "729d7e70-12fb-da13-46eb-3818c172ae2f", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2013-11-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + } + }, + { + "fullUrl": "urn:uuid:9732220b-4f71-14f7-8f19-de460a1a515b", + "resource": { + "resourceType": "ServiceRequest", + "id": "9732220b-4f71-14f7-8f19-de460a1a515b", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + } + }, + { + "fullUrl": "urn:uuid:cfd5887f-8b44-e556-cb3f-b0559624aedc", + "resource": { + "resourceType": "Observation", + "id": "cfd5887f-8b44-e556-cb3f-b0559624aedc", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" + }, + { + "code": "30963-3" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cfd5887f-8b44-e556-cb3f-b0559624aedc" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json index 78b45d002..9a6949ce5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json @@ -5,6 +5,7 @@ "identifier": { "value": "NIST-IZ-AD-2.1_Send_V04_Z22" }, + "id": "3364f83f-1a00-2742-2d21-2244f2ba834d", "entry": [ { "fullUrl": "urn:uuid:aefd5bbc-563b-7d19-5096-4b5754c338c1", @@ -63,6 +64,92 @@ "url": "MessageHeader/aefd5bbc-563b-7d19-5096-4b5754c338c1" } }, + { + "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", + "resource": { + "resourceType": "Provenance", + "id": "87847f45-4a99-9d88-c439-65574d8fd20b", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-02-22T10:01:59.011Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2015-06-24T19:17:27.655+05:30", + "recorded": "2015-06-24T19:17:27.655+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "target": [ + { + "reference": "Bundle/3364f83f-1a00-2742-2d21-2244f2ba834d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" + } + }, + { + "fullUrl": "urn:uuid:8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "resource": { + "resourceType": "Organization", + "id": "8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "identifier": [ + { + "value": "NISTEHRFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTEHRFAC" + } + ], + "partOf": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + }, + "name": "NISTEHRFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + }, + { + "fullUrl": "urn:uuid:421aa904-409c-709f-ad7d-f1a7673d884f", + "resource": { + "resourceType": "Organization", + "id": "421aa904-409c-709f-ad7d-f1a7673d884f", + "identifier": [ + { + "value": "NISTIISFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTIISFAC" + } + ], + "partOf": { + "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + }, + "name": "NISTIISFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + } + }, { "fullUrl": "urn:uuid:8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", "resource": { @@ -113,7 +200,7 @@ ], "multipleBirthInteger": 1, "deceasedBoolean": false, - "active": "true", + "active": true, "extension": [ { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", @@ -157,116 +244,220 @@ } }, { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "fullUrl": "urn:uuid:89c802dd-30ec-8f4e-c374-059cfde1c975", "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ + "resourceType": "Observation", + "id": "89c802dd-30ec-8f4e-c374-059cfde1c975", + "status": "final", + "code": { + "coding": [ + { + "code": "30963-3", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { "coding": [ { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - ] + ], + "text": "Final" } - }, + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/89c802dd-30ec-8f4e-c374-059cfde1c975" + } + }, + { + "fullUrl": "urn:uuid:195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "resource": { + "resourceType": "Observation", + "id": "195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "status": "final", + "code": { + "coding": [ + { + "code": "64994-7", + "display": "Vaccine Funding Program Eligibility", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "method": { + "coding": [ + { + "code": "VXC40", + "display": "per immunization", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { "coding": [ { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - ] + ], + "text": "Final" } } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - }, - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" - } ] }, "request": { "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + "url": "Observation/195cc57b-4ab5-49fd-4e1d-53f79651bf13" } }, { - "fullUrl": "urn:uuid:", + "fullUrl": "urn:uuid:ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", "resource": { - "resourceType": "Practitioner", - "identifier": [ + "resourceType": "Observation", + "id": "ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { "coding": [ { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - ] + ], + "text": "Final" } - }, + } + ], + "partOf": [ { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2" + } + }, + { + "fullUrl": "urn:uuid:0878a797-17ce-3674-ac45-5f740963c772", + "resource": { + "resourceType": "Observation", + "id": "0878a797-17ce-3674-ac45-5f740963c772", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2015-06-24", + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { "coding": [ { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - ] + ], + "text": "Final" } } ], - "name": [ + "partOf": [ { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - }, + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + ], + "basedOn": [ { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" } ] }, "request": { "method": "PUT", - "url": "Practitioner/" + "url": "Observation/0878a797-17ce-3674-ac45-5f740963c772" } }, { @@ -297,100 +488,12 @@ "Elizabeth" ], "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Location" - }, - "request": { - "method": "PUT", - "url": "Location/" - } - }, - { - "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", - "resource": { - "resourceType": "Provenance", - "id": "87847f45-4a99-9d88-c439-65574d8fd20b", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2021-10-29T08:47:17.095Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2015-06-24T19:17:27.655+05:30", - "recorded": "2015-06-24T19:17:27.655+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "target": [ - { - "reference": "Bundle/" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" - } - }, - { - "fullUrl": "urn:uuid:99ce28f5-c743-ed2e-b88e-47f2e32d23d5", - "resource": { - "resourceType": "Account", - "id": "99ce28f5-c743-ed2e-b88e-47f2e32d23d5", - "status": "active", - "subject": [ - { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/99ce28f5-c743-ed2e-b88e-47f2e32d23d5" - } - }, - { - "fullUrl": "urn:uuid:", - "resource": { - "resourceType": "Encounter", - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } + } + ] }, "request": { "method": "PUT", - "url": "Encounter/" + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } }, { @@ -430,7 +533,8 @@ "coding": [ { "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" } ] }, @@ -443,7 +547,8 @@ "coding": [ { "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" } ] }, @@ -461,56 +566,51 @@ { "code": "49281-0215-88", "display": "TENIVAC", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NDC" + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" } ] }, + "primarySource": true, "lotNumber": "315841", "expirationDate": "2015-12-16", "status": "completed", "manufacturer": { "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "MVX" - } - ], - "name": "Sanofi Pasteur" - }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - { - "fullUrl": "urn:uuid:4f69f58b-f17b-5490-8131-f15d196e9d44", - "resource": { - "resourceType": "Observation", - "id": "4f69f58b-f17b-5490-8131-f15d196e9d44", - "status": "final", - "code": { + }, + "route": { "coding": [ { - "code": "30963-3", - "display": "Vaccine Funding Source", - "system": "http://loinc.org" + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" } ] }, - "valueCodeableConcept": { + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { "coding": [ { "code": "PHC70", @@ -519,137 +619,145 @@ } ] }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "partOf": [ + "programEligibility": [ { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] } ] }, "request": { "method": "PUT", - "url": "Observation/4f69f58b-f17b-5490-8131-f15d196e9d44" + "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" } }, { - "fullUrl": "urn:uuid:c37e67e6-8592-cb8c-3111-f561fa2d8a4c", + "fullUrl": "urn:uuid:6aa18dc9-978e-a9e5-5533-ec8376372c0d", "resource": { - "resourceType": "Observation", - "id": "c37e67e6-8592-cb8c-3111-f561fa2d8a4c", - "status": "final", - "code": { - "coding": [ - { - "code": "64994-7", - "display": "Vaccine Funding Program Eligibility", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + "resourceType": "ServiceRequest", + "id": "6aa18dc9-978e-a9e5-5533-ec8376372c0d", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - ] - }, - "effectiveDateTime": "2015-06-24", - "method": { - "coding": [ - { - "code": "VXC40", - "display": "per immunization", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + }, + { + "value": "13696", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - ] - }, + } + ], "subject": { "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" }, - "partOf": [ + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] } - ] + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } }, "request": { "method": "PUT", - "url": "Observation/c37e67e6-8592-cb8c-3111-f561fa2d8a4c" + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" } }, { - "fullUrl": "urn:uuid:068ce7b5-9620-1ac7-3117-b4b46fe2e2a2", + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", "resource": { - "resourceType": "Observation", - "id": "068ce7b5-9620-1ac7-3117-b4b46fe2e2a2", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "partOf": [ + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" } - ] + ], + "name": "Sanofi Pasteur" }, "request": { "method": "PUT", - "url": "Observation/068ce7b5-9620-1ac7-3117-b4b46fe2e2a2" + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" } }, { - "fullUrl": "urn:uuid:1fc2db78-b289-a0ce-5b3e-7576f72e58b9", + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", "resource": { - "resourceType": "Observation", - "id": "1fc2db78-b289-a0ce-5b3e-7576f72e58b9", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - ] - }, - "valueDateTime": "2015-06-24", - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "partOf": [ + } + ], + "name": [ { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" } ] }, "request": { "method": "PUT", - "url": "Observation/1fc2db78-b289-a0ce-5b3e-7576f72e58b9" + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } }, { @@ -684,6 +792,19 @@ } ] }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, "status": "completed" }, "request": { @@ -692,13 +813,33 @@ } }, { - "fullUrl": "urn:uuid:", + "fullUrl": "urn:uuid:3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", "resource": { - "resourceType": "Organization" + "resourceType": "ServiceRequest", + "id": "3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } }, "request": { "method": "PUT", - "url": "Organization/" + "url": "ServiceRequest/3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae" } }, { @@ -733,12 +874,55 @@ } ] }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, "status": "completed" }, "request": { "method": "PUT", "url": "Immunization/07ff92a4-c57e-8726-a03a-1241de54a9c3" } + }, + { + "fullUrl": "urn:uuid:568bfd87-8b76-703a-b0d3-5449d0f37c58", + "resource": { + "resourceType": "ServiceRequest", + "id": "568bfd87-8b76-703a-b0d3-5449d0f37c58", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/568bfd87-8b76-703a-b0d3-5449d0f37c58" + } } ] } \ No newline at end of file From 33be73842ea65386622e231fd52db136f17c57bb Mon Sep 17 00:00:00 2001 From: sowu880 <57981365+sowu880@users.noreply.github.com> Date: Tue, 22 Mar 2022 16:11:02 +0800 Subject: [PATCH 05/15] Fix Time Zone Bug (#353) * test bug * fix timesone bug * update unittests * update tests * update tests Co-authored-by: Qiwei Jin Co-authored-by: yankunhuang-pku <66581117+yankunhuang-pku@users.noreply.github.com> --- .../Filters/DateFiltersTests.cs | 42 ++++++++++--------- .../Models/PartialDateTime.cs | 2 +- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs index 8f2013466..5e559c77b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs @@ -26,9 +26,9 @@ public static IEnumerable GetValidDataForAddHyphensDate() // We assume the local timezone is +08:00. public static IEnumerable GetValidDataWithoutTimeZoneForAddHyphensDateWithUtcTimeZoneHandling() { - yield return new object[] { @"200101", "utc", @"2000-12" }; - yield return new object[] { @"20010102", "utc", @"2001-01-01" }; - yield return new object[] { @"19850101000000", "utc", @"1984-12-31" }; + yield return new object[] { @"200101", "utc", new DateTime(2001, 1, 1) }; + yield return new object[] { @"20010102", "utc", new DateTime(2001, 1, 2) }; + yield return new object[] { @"19880101000000", "utc", new DateTime(1988, 1, 1, 0, 0, 0) }; } public static IEnumerable GetValidDataForAddSeconds() @@ -37,9 +37,11 @@ public static IEnumerable GetValidDataForAddSeconds() yield return new object[] { string.Empty, 60, "local", string.Empty }; yield return new object[] { @"1970-01-01T00:01:00.000+10:00", -60, "utc", @"1969-12-31T14:00:00.000Z" }; + yield return new object[] { @"1970-01-01T00:01:00.000+05:30", -60, "utc", @"1969-12-31T18:30:00.000Z" }; - yield return new object[] { @"1970-01-01T00:01:00Z", 60.123, "preserve", @"1970-01-01T00:02:00.123Z" }; + yield return new object[] { @"1970-01-01T00:01:00Z", 60.123, "preserve", @"1970-01-01T00:02:00.123Z" }; yield return new object[] { @"1970-01-01T00:01:00+06:00", 60.000, "preserve", @"1970-01-01T00:02:00+06:00" }; + yield return new object[] { @"1970-01-01T00:01:00+06:30", 60.000, "preserve", @"1970-01-01T00:02:00+06:30" }; yield return new object[] { @"2001-01", 60, "preserve", @"2001-01-01T00:01:00" }; yield return new object[] { @"1970-01-01T00:01:00+14:00", 60, "utc", @"1969-12-31T10:02:00Z" }; @@ -52,8 +54,8 @@ public static IEnumerable GetValidDataForAddSeconds() // We assume the local timezone is +08:00. public static IEnumerable GetValidDataWithoutTimeZoneForAddSecondsWithUtcTimeZoneHandling() { - yield return new object[] { @"1924-10-10", 60000, "utc", @"1924-10-10T08:40:00Z" }; - yield return new object[] { @"1970-01-01", 60, "utc", @"1969-12-31T16:01:00Z" }; + yield return new object[] { @"1988-10-10", 60000, "utc", @"1988-10-10T08:40:00Z", new DateTime(1988, 10, 10) }; + yield return new object[] { @"1970-01-01", 60, "utc", @"1969-12-31T16:01:00Z", new DateTime(1970, 1, 1) }; } public static IEnumerable GetValidDataForFormatAsDateTime() @@ -76,9 +78,13 @@ public static IEnumerable GetValidDataForFormatAsDateTime() // If time zone provided, it should be formatted according to TimeZoneHandling yield return new object[] { @"20110103143428-0800", "preserve", @"2011-01-03T14:34:28-08:00" }; + yield return new object[] { @"20110103143428-0845", "preserve", @"2011-01-03T14:34:28-08:45" }; yield return new object[] { @"20110103143428-0800", "utc", @"2011-01-03T22:34:28Z" }; + yield return new object[] { @"20110103143428-0845", "utc", @"2011-01-03T23:19:28Z" }; + yield return new object[] { @"19701231115959+0600", "preserve", @"1970-12-31T11:59:59+06:00" }; yield return new object[] { @"19701231115959+0600", "utc", @"1970-12-31T05:59:59Z" }; + yield return new object[] { @"19701231115959+0630", "utc", @"1970-12-31T05:29:59Z" }; // Skip this test in pipeline, as the local time zone is different // yield return new object[] { @"2001", "utc", @"2000" }; @@ -90,10 +96,9 @@ public static IEnumerable GetValidDataForFormatAsDateTime() // We assume the local timezone is +08:00. public static IEnumerable GetValidDataWithoutTimeZoneForFormatAsDateTimeWithUtcTimeZoneHandling() { - yield return new object[] { @"200101", "utc", @"2000-12" }; - yield return new object[] { @"20050110045253", "utc", @"2005-01-09T20:52:53Z" }; - yield return new object[] { @"20110103143428", "utc", @"2011-01-03T06:34:28Z" }; - yield return new object[] { @"19701231115959", "utc", @"1970-12-31T03:59:59Z" }; + yield return new object[] { @"20050110045253", "utc", @"2005-01-09T20:52:53Z", new DateTime(2005, 1, 10, 4, 52, 53) }; + yield return new object[] { @"19880103143428", "utc", @"1988-01-03T06:34:28Z", new DateTime(1988, 1, 3, 14, 34, 28) }; + yield return new object[] { @"19701231115959", "utc", @"1970-12-31T03:59:59Z", new DateTime(1970, 12, 31, 11, 59, 59) }; } public static IEnumerable GetInvalidDataForAddHyphensDate() @@ -154,11 +159,11 @@ public void GivenSeconds_WhenAddOnValidDateTime_CorrectDateTimeStringShouldBeRet [Theory] [MemberData(nameof(GetValidDataWithoutTimeZoneForAddSecondsWithUtcTimeZoneHandling))] - public void GivenSeconds_WhenAddOnValidDataWithoutTimeZone_CorrectDateTimeShouldBeReturned(string originalDateTime, double seconds, string timeZoneHandling, string expectedDateTime) + public void GivenSeconds_WhenAddOnValidDataWithoutTimeZone_CorrectDateTimeShouldBeReturned(string originalDateTime, double seconds, string timeZoneHandling, string expectedDateTime, DateTime inputDateTime) { var result = Filters.AddSeconds(originalDateTime, seconds, timeZoneHandling); var dateTimeOffset = DateTimeOffset.Parse(result); - dateTimeOffset = dateTimeOffset.AddHours(TimeZoneInfo.Local.GetUtcOffset(DateTime.Now).Hours - 8); + dateTimeOffset = dateTimeOffset.AddHours(TimeZoneInfo.Local.GetUtcOffset(inputDateTime).TotalHours - 8); var dateTimeString = dateTimeOffset.ToString("yyyy-MM-ddTHH:mm:ssZ"); Assert.Equal(expectedDateTime, dateTimeString); } @@ -181,13 +186,12 @@ public void GivenADate_WhenAddHyphensDate_ConvertedDateShouldBeReturned(string i [Theory] [MemberData(nameof(GetValidDataWithoutTimeZoneForAddHyphensDateWithUtcTimeZoneHandling))] - public void GivenAValidDataWithoutTimeZone_WhenAddHyphensDate_CorrectDateTimeShouldBeReturned(string input, string timeZoneHandling, string expected) + public void GivenAValidDataWithoutTimeZone_WhenAddHyphensDate_CorrectDateTimeShouldBeReturned(string input, string timeZoneHandling, DateTime inputDateTime) { var result = Filters.AddHyphensDate(input, timeZoneHandling); - var dateTimeOffset = DateTimeOffset.Parse(result); - dateTimeOffset = dateTimeOffset.AddHours(TimeZoneInfo.Local.GetUtcOffset(DateTime.Now).Hours - 8); - var dateTimeString = dateTimeOffset.ToString("yyyy-MM-dd"); - Assert.Contains(expected, dateTimeString); + var dateTimeOffset = new DateTimeOffset(inputDateTime); + var dateTimeString = dateTimeOffset.ToUniversalTime().ToString("yyyy-MM-dd"); + Assert.Contains(result, dateTimeString); } [Theory] @@ -200,11 +204,11 @@ public void GivenADateTime_WhenFormatAsDateTime_ConvertedDateTimeStringShouldBeR [Theory] [MemberData(nameof(GetValidDataWithoutTimeZoneForFormatAsDateTimeWithUtcTimeZoneHandling))] - public void GivenAValidDataWithoutTimeZone_WhenFormatAsDateTime_ConvertedDateTimeShouldBeReturned(string input, string timeZoneHandling, string expectedDateTime) + public void GivenAValidDataWithoutTimeZone_WhenFormatAsDateTime_ConvertedDateTimeShouldBeReturned(string input, string timeZoneHandling, string expectedDateTime, DateTime inputDateTime) { var result = Filters.FormatAsDateTime(input, timeZoneHandling); var dateTimeOffset = DateTimeOffset.Parse(result); - dateTimeOffset = dateTimeOffset.AddHours(TimeZoneInfo.Local.GetUtcOffset(DateTime.Now).Hours - 8); + dateTimeOffset = dateTimeOffset.AddHours(TimeZoneInfo.Local.GetUtcOffset(inputDateTime).TotalHours - 8); var dateTimeString = dateTimeOffset.ToString("yyyy-MM-ddTHH:mm:ssZ"); Assert.Contains(expectedDateTime, dateTimeString); } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs index 72803fe12..1c7b254aa 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs @@ -39,7 +39,7 @@ public PartialDateTime(string input, DateTimeType type = DateTimeType.Fhir) int second = groups["second"].Success ? int.Parse(groups["second"].Value) : 0; int millisecond = groups["millisecond"].Success ? int.Parse(groups["millisecond"].Value) : 0; - var timeSpan = TimeSpan.FromHours(TimeZoneInfo.Local.GetUtcOffset(DateTime.Now).Hours); + var timeSpan = TimeZoneInfo.Local.GetUtcOffset(new DateTime(year, month, day, hour, minute, second, millisecond)); if (groups["timeZone"].Success) { if (groups["timeZone"].Value == "Z") From bc036776f879cd4ceb9ab6d1c7693a3c94247bbe Mon Sep 17 00:00:00 2001 From: Boya Wu <38548227+BoyaWu10@users.noreply.github.com> Date: Tue, 22 Mar 2022 16:36:10 +0800 Subject: [PATCH 06/15] Fix warnings (#364) --- .../FunctionalTests.cs | 52 +++++++++---------- .../RuleBasedTests.cs | 11 ++-- 2 files changed, 32 insertions(+), 31 deletions(-) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 4d16c7496..3d613af52 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -90,7 +90,7 @@ public static IEnumerable GetDataForHl7v2() new[] { @"SIU_S26", @"SIU-S26-01.hl7", @"SIU-S26-01-expected.json" }, new[] { @"SIU_S26", @"SIU-S26-02.hl7", @"SIU-S26-02-expected.json" }, - new[] { "ORU_R01", "ORU-R01-01.hl7", @"ORU-R01-01-expected.json" }, + new[] { @"ORU_R01", @"ORU-R01-01.hl7", @"ORU-R01-01-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-01.hl7", @"ORM-O01-01-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-02.hl7", @"ORM-O01-02-expected.json" }, @@ -98,19 +98,19 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ORM_O01", @"ORM-O01-04.hl7", @"ORM-O01-04-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-05.hl7", @"ORM-O01-05-expected.json" }, - new[] { "MDM_T01", "MDM-T01-01.hl7", @"MDM-T01-01-expected.json"}, - new[] { "MDM_T01", "MDM-T01-02.hl7", @"MDM-T01-02-expected.json"}, - new[] { "MDM_T02", "MDM-T02-01.hl7", @"MDM-T02-01-expected.json"}, - new[] { "MDM_T02", "MDM-T02-02.hl7", @"MDM-T02-02-expected.json"}, - new[] { "MDM_T02", "MDM-T02-03.hl7", @"MDM-T02-03-expected.json"}, - new[] { @"MDM_T05", @"MDM-T05-01.hl7", @"MDM-T05-01-expected.json"}, - new[] { @"MDM_T05", @"MDM-T05-02.hl7", @"MDM-T05-02-expected.json"}, - new[] { @"MDM_T06", @"MDM-T06-01.hl7", @"MDM-T06-01-expected.json"}, - new[] { @"MDM_T06", @"MDM-T06-02.hl7", @"MDM-T06-02-expected.json"}, - new[] { @"MDM_T09", @"MDM-T09-01.hl7", @"MDM-T09-01-expected.json"}, - new[] { @"MDM_T09", @"MDM-T09-02.hl7", @"MDM-T09-02-expected.json"}, - new[] { @"MDM_T10", @"MDM-T10-01.hl7", @"MDM-T10-01-expected.json"}, - new[] { @"MDM_T10", @"MDM-T10-02.hl7", @"MDM-T10-02-expected.json"}, + new[] { @"MDM_T01", @"MDM-T01-01.hl7", @"MDM-T01-01-expected.json" }, + new[] { @"MDM_T01", @"MDM-T01-02.hl7", @"MDM-T01-02-expected.json" }, + new[] { @"MDM_T02", @"MDM-T02-01.hl7", @"MDM-T02-01-expected.json" }, + new[] { @"MDM_T02", @"MDM-T02-02.hl7", @"MDM-T02-02-expected.json" }, + new[] { @"MDM_T02", @"MDM-T02-03.hl7", @"MDM-T02-03-expected.json" }, + new[] { @"MDM_T05", @"MDM-T05-01.hl7", @"MDM-T05-01-expected.json" }, + new[] { @"MDM_T05", @"MDM-T05-02.hl7", @"MDM-T05-02-expected.json" }, + new[] { @"MDM_T06", @"MDM-T06-01.hl7", @"MDM-T06-01-expected.json" }, + new[] { @"MDM_T06", @"MDM-T06-02.hl7", @"MDM-T06-02-expected.json" }, + new[] { @"MDM_T09", @"MDM-T09-01.hl7", @"MDM-T09-01-expected.json" }, + new[] { @"MDM_T09", @"MDM-T09-02.hl7", @"MDM-T09-02-expected.json" }, + new[] { @"MDM_T10", @"MDM-T10-01.hl7", @"MDM-T10-01-expected.json" }, + new[] { @"MDM_T10", @"MDM-T10-02.hl7", @"MDM-T10-02-expected.json" }, new[] { @"RDE_O11", @"RDE-O11-01.hl7", @"RDE-O11-01-expected.json" }, new[] { @"RDE_O11", @"RDE-O11-02.hl7", @"RDE-O11-02-expected.json" }, @@ -120,20 +120,20 @@ public static IEnumerable GetDataForHl7v2() new[] { @"RDS_O13", @"RDS-O13-01.hl7", @"RDS-O13-01-expected.json" }, new[] { @"RDS_O13", @"RDS-O13-02.hl7", @"RDS-O13-02-expected.json" }, - new[] { "OML_O21", "OML-O21-01.hl7", @"OML-O21-01-expected.json"}, - new[] { "OML_O21", "OML-O21-02.hl7", @"OML-O21-02-expected.json"}, - new[] { @"OML_O21", @"OML-O21-03.hl7", @"OML-O21-03-expected.json"}, + new[] { @"OML_O21", @"OML-O21-01.hl7", @"OML-O21-01-expected.json" }, + new[] { @"OML_O21", @"OML-O21-02.hl7", @"OML-O21-02-expected.json" }, + new[] { @"OML_O21", @"OML-O21-03.hl7", @"OML-O21-03-expected.json" }, - new[] { "OUL_R22", "OUL-R22-01.hl7", @"OUL-R22-01-expected.json"}, - new[] { "OUL_R22", "OUL-R22-02.hl7", @"OUL-R22-02-expected.json"}, - new[] { "OUL_R23", "OUL-R23-01.hl7", @"OUL-R23-01-expected.json"}, - new[] { "OUL_R23", "OUL-R23-02.hl7", @"OUL-R23-02-expected.json"}, - new[] { "OUL_R24", "OUL-R24-01.hl7", @"OUL-R24-01-expected.json"}, - new[] { "OUL_R24", "OUL-R24-02.hl7", @"OUL-R24-02-expected.json"}, + new[] { @"OUL_R22", @"OUL-R22-01.hl7", @"OUL-R22-01-expected.json" }, + new[] { @"OUL_R22", @"OUL-R22-02.hl7", @"OUL-R22-02-expected.json" }, + new[] { @"OUL_R23", @"OUL-R23-01.hl7", @"OUL-R23-01-expected.json" }, + new[] { @"OUL_R23", @"OUL-R23-02.hl7", @"OUL-R23-02-expected.json" }, + new[] { @"OUL_R24", @"OUL-R24-01.hl7", @"OUL-R24-01-expected.json" }, + new[] { @"OUL_R24", @"OUL-R24-02.hl7", @"OUL-R24-02-expected.json" }, + + new[] { @"VXU_V04", @"VXU-V04-01.hl7", @"VXU-V04-01-expected.json" }, + new[] { @"VXU_V04", @"VXU-V04-02.hl7", @"VXU-V04-02-expected.json" }, - new[] { @"VXU_V04", @"VXU-V04-01.hl7", @"VXU-V04-01-expected.json"}, - new[] { @"VXU_V04", @"VXU-V04-02.hl7", @"VXU-V04-02-expected.json"}, - new[] { @"ADT_A01", @"ADT01-23.hl7", @"ADT01-23-expected.json" }, new[] { @"ADT_A01", @"ADT01-28.hl7", @"ADT01-28-expected.json" }, new[] { @"ADT_A04", @"ADT04-23.hl7", @"ADT04-23-expected.json" }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs index 5d3366478..16289a027 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs @@ -60,7 +60,7 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ADT_A06", "ADT-A06-01.hl7" }, new object[] { "ADT_A06", "ADT-A06-02.hl7" }, new object[] { "ADT_A07", "ADT-A07-01.hl7" }, - new object[] { "ADT_A07", "ADT-A07-02.hl7" }, + new object[] { "ADT_A07", "ADT-A07-02.hl7" }, new object[] { "ADT_A08", "ADT-A08-01.hl7" }, new object[] { "ADT_A08", "ADT-A08-02.hl7" }, new object[] { "ADT_A09", "ADT-A09-01.hl7" }, @@ -117,7 +117,6 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ORM_O01", "ORM-O01-03.hl7" }, new object[] { "ORM_O01", "ORM-O01-04.hl7" }, new object[] { "ORM_O01", "ORM-O01-05.hl7" }, - new object[] { "MDM_T01", "MDM-T01-01.hl7" }, new object[] { "MDM_T01", "MDM-T01-02.hl7" }, @@ -233,10 +232,12 @@ public async Task CheckOnePatient(string templateName, string samplePath, DataTy { var result = await ConvertData(templateName, samplePath, dataType); var patients = result.SelectTokens("$.entry[?(@.resource.resourceType == 'Patient')].resource.id"); - if (templateName == "ADT_A40" || templateName == "ADT_A41" ) { + if (templateName == "ADT_A40" || templateName == "ADT_A41") + { Assert.Equal(0, patients?.Count()); } - else { + else + { Assert.Equal(1, patients?.Count()); } } @@ -500,7 +501,7 @@ internal static class ResourceFilter "resourceType", "type", "fullUrl", "id", "method", "url", "reference", "system", "code", "display", "gender", "use", "preferred", "status", "mode", "div", "valueString", "valueCode", "text", "endpoint", "value", "category", "type", "criticality", "priority", "severity", "description", - "intent", "docStatus", "contentType", "authorString", "unit" + "intent", "docStatus", "contentType", "authorString", "unit", }; private static readonly HashSet _explicitValues = new HashSet From 3fc00a3562d7a03692900c5d7ee94eb2d3c8af57 Mon Sep 17 00:00:00 2001 From: Boya Wu <38548227+BoyaWu10@users.noreply.github.com> Date: Fri, 25 Mar 2022 14:46:22 +0800 Subject: [PATCH 07/15] Turn on mac functional test check (#367) --- release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.yml b/release.yml index 793e2f107..98f3f0543 100644 --- a/release.yml +++ b/release.yml @@ -195,7 +195,7 @@ stages: - job: OSX_Functional_Test pool: CompassMacHosted - continueOnError: true + continueOnError: false steps: - checkout: none #skip checking out the default repository resource - task: DownloadBuildArtifacts@0 From 6d9b1cd3e063f7fcf0c108f64634c89caf7f0273 Mon Sep 17 00:00:00 2001 From: sowu880 <57981365+sowu880@users.noreply.github.com> Date: Mon, 28 Mar 2022 09:23:55 +0500 Subject: [PATCH 08/15] Change Default Time Zone Handling (#363) * add tests * update tests * update functional tests * update tests --- data/SampleData/Ccda/170.314B2_Amb_CCD.ccda | 10 +- .../Ccda/Diagnostic_Imaging_Report.ccda | 4 +- .../SampleData/Ccda/History_and_Physical.ccda | 6 +- data/SampleData/Ccda/Patient-1.ccda | 138 +- data/SampleData/Hl7v2/ADT01-23.hl7 | 6 +- data/SampleData/Hl7v2/ADT01-28.hl7 | 4 +- data/SampleData/Hl7v2/ADT04-23.hl7 | 8 +- data/SampleData/Hl7v2/ADT04-251.hl7 | 4 +- data/SampleData/Hl7v2/ADT04-28.hl7 | 6 +- .../IZ_1_1.1_Admin_Child_Max_Message.hl7 | 2 +- data/SampleData/Hl7v2/LAB-ORU-1.hl7 | 26 +- data/SampleData/Hl7v2/LAB-ORU-2.hl7 | 30 +- data/SampleData/Hl7v2/ORU-R01-RMGEAD.hl7 | 4 +- .../FunctionalTests.cs | 41 + ...ir.Liquid.Converter.FunctionalTests.csproj | 2 +- .../Ccda/CCD/170.314B2_Amb_CCD-expected.json | 2218 ++-- .../Ccda/CCD/C-CDA_R2-1_CCD.xml-expected.json | 30 +- ...t-Document-Replace-C-CDAR2.1-expected.json | 14 +- .../Expected/Ccda/CCD/CCD-expected.json | 38 +- .../CDA_with_Embedded_PDF-expected.json | 4 +- .../ConsultationNote/Care_Plan-expected.json | 4 +- .../Consultation_Note-expected.json | 28 +- .../Unstructured_Document_embed-expected.json | 6 +- ...t-Closing-Referral-C-CDAR2.1-expected.json | 4 +- .../Discharge_Summary-expected.json | 30 +- .../Diagnostic_Imaging_Report-expected.json | 960 +- .../History_and_Physical-expected.json | 3910 +++--- .../Operative_Note-expected.json | 10 +- .../OperativeNote/Patient-1-expected.json | 1690 +-- ...ion-Direct-Address-C-CDAR2.1-expected.json | 4 +- .../Procedure_Note-expected.json | 14 +- ...in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json | 22 +- .../ProgressNote/Progress_Note-expected.json | 6 +- .../ReferralNote/Referral_Note-expected.json | 28 +- .../Ccda/ReferralNote/sample-expected.json | 6 +- .../Transfer_Summary-expected.json | 28 +- ...tructured_Document_reference-expected.json | 6 +- .../Hl7v2/ADT_A01/ADT-A01-01-expected.json | 10120 ++++++++-------- .../Hl7v2/ADT_A01/ADT-A01-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A01/ADT01-23-expected.json | 18 +- .../Hl7v2/ADT_A01/ADT01-28-expected.json | 16 +- .../Hl7v2/ADT_A02/ADT-A02-01-expected.json | 6714 +++++----- .../Hl7v2/ADT_A02/ADT-A02-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A03/ADT-A03-01-expected.json | 10042 +++++++-------- .../Hl7v2/ADT_A03/ADT-A03-02-expected.json | 3844 +++--- .../Hl7v2/ADT_A04/ADT-A04-01-expected.json | 10042 +++++++-------- .../Hl7v2/ADT_A04/ADT-A04-02-expected.json | 4358 +++---- .../Hl7v2/ADT_A04/ADT04-23-expected.json | 26 +- .../Hl7v2/ADT_A04/ADT04-251-expected.json | 16 +- .../Hl7v2/ADT_A04/ADT04-28-expected.json | 24 +- .../Hl7v2/ADT_A05/ADT-A05-01-expected.json | 9412 +++++++------- .../Hl7v2/ADT_A05/ADT-A05-02-expected.json | 4358 +++---- .../Hl7v2/ADT_A06/ADT-A06-01-expected.json | 5338 ++++---- .../Hl7v2/ADT_A06/ADT-A06-02-expected.json | 1942 +-- .../Hl7v2/ADT_A07/ADT-A07-01-expected.json | 4994 ++++---- .../Hl7v2/ADT_A07/ADT-A07-02-expected.json | 1878 +-- .../Hl7v2/ADT_A08/ADT-A08-01-expected.json | 10026 +++++++-------- .../Hl7v2/ADT_A08/ADT-A08-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A09/ADT-A09-01-expected.json | 2896 ++--- .../Hl7v2/ADT_A09/ADT-A09-02-expected.json | 2160 ++-- .../Hl7v2/ADT_A10/ADT-A10-01-expected.json | 2896 ++--- .../Hl7v2/ADT_A10/ADT-A10-02-expected.json | 2160 ++-- .../Hl7v2/ADT_A11/ADT-A11-01-expected.json | 5870 ++++----- .../Hl7v2/ADT_A11/ADT-A11-02-expected.json | 4348 +++---- .../Hl7v2/ADT_A13/ADT-A13-01-expected.json | 10040 +++++++-------- .../Hl7v2/ADT_A13/ADT-A13-02-expected.json | 4356 +++---- .../Hl7v2/ADT_A14/ADT-A14-01-expected.json | 9412 +++++++------- .../Hl7v2/ADT_A14/ADT-A14-02-expected.json | 4358 +++---- .../Hl7v2/ADT_A15/ADT-A15-01-expected.json | 6008 ++++----- .../Hl7v2/ADT_A15/ADT-A15-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A16/ADT-A16-01-expected.json | 9412 +++++++------- .../Hl7v2/ADT_A16/ADT-A16-02-expected.json | 4358 +++---- .../Hl7v2/ADT_A25/ADT-A25-01-expected.json | 5886 ++++----- .../Hl7v2/ADT_A25/ADT-A25-02-expected.json | 4356 +++---- .../Hl7v2/ADT_A26/ADT-A26-01-expected.json | 5244 ++++---- .../Hl7v2/ADT_A26/ADT-A26-02-expected.json | 3654 +++--- .../Hl7v2/ADT_A27/ADT-A27-01-expected.json | 5876 ++++----- .../Hl7v2/ADT_A27/ADT-A27-02-expected.json | 4348 +++---- .../Hl7v2/ADT_A28/ADT-A28-01-expected.json | 9412 +++++++------- .../Hl7v2/ADT_A28/ADT-A28-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A29/ADT-A29-01-expected.json | 5886 ++++----- .../Hl7v2/ADT_A29/ADT-A29-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A31/ADT-A31-01-expected.json | 9412 +++++++------- .../Hl7v2/ADT_A31/ADT-A31-02-expected.json | 3842 +++--- .../Hl7v2/ADT_A40/ADT-A40-01-expected.json | 464 +- .../Hl7v2/ADT_A40/ADT-A40-02-expected.json | 526 +- .../Hl7v2/ADT_A41/ADT-A41-01-expected.json | 990 +- .../Hl7v2/ADT_A41/ADT-A41-02-expected.json | 894 +- .../Hl7v2/ADT_A47/ADT-A47-01-expected.json | 1992 +-- .../Hl7v2/ADT_A47/ADT-A47-02-expected.json | 1792 +-- .../Hl7v2/ADT_A60/ADT-A60-01-expected.json | 5204 ++++---- .../Hl7v2/ADT_A60/ADT-A60-02-expected.json | 2174 ++-- .../Hl7v2/MDM_T01/MDM-T01-01-expected.json | 1712 +-- .../Hl7v2/MDM_T01/MDM-T01-02-expected.json | 1854 +-- .../Hl7v2/MDM_T02/MDM-T02-01-expected.json | 1796 +-- .../Hl7v2/MDM_T02/MDM-T02-02-expected.json | 2010 +-- .../Hl7v2/MDM_T02/MDM-T02-03-expected.json | 3948 +++--- .../Hl7v2/MDM_T05/MDM-T05-01-expected.json | 1732 +-- .../Hl7v2/MDM_T05/MDM-T05-02-expected.json | 1876 +-- .../Hl7v2/MDM_T06/MDM-T06-01-expected.json | 1818 +-- .../Hl7v2/MDM_T06/MDM-T06-02-expected.json | 2032 ++-- .../Hl7v2/MDM_T09/MDM-T09-01-expected.json | 1732 +-- .../Hl7v2/MDM_T09/MDM-T09-02-expected.json | 1876 +-- .../Hl7v2/MDM_T10/MDM-T10-01-expected.json | 1820 +-- .../Hl7v2/MDM_T10/MDM-T10-02-expected.json | 2032 ++-- .../OML_O21/MDHHS-OML-O21-1-expected.json | 836 +- .../OML_O21/MDHHS-OML-O21-2-expected.json | 1400 +-- .../Hl7v2/OML_O21/OML-O21-01-expected.json | 5434 ++++----- .../Hl7v2/OML_O21/OML-O21-02-expected.json | 4848 ++++---- .../Hl7v2/OML_O21/OML-O21-03-expected.json | 8040 ++++++------ .../Hl7v2/ORM_O01/ORM-O01-01-expected.json | 2640 ++-- .../Hl7v2/ORM_O01/ORM-O01-02-expected.json | 4426 +++---- .../Hl7v2/ORM_O01/ORM-O01-03-expected.json | 2618 ++-- .../Hl7v2/ORM_O01/ORM-O01-04-expected.json | 2656 ++-- .../Hl7v2/ORM_O01/ORM-O01-05-expected.json | 2722 ++--- .../Hl7v2/ORU_R01/LAB-ORU-1-expected.json | 146 +- .../Hl7v2/ORU_R01/LAB-ORU-2-expected.json | 166 +- .../LRI_2.0-NG_CBC_Typ_Message-expected.json | 5288 ++++---- .../Hl7v2/ORU_R01/ORU-R01-01-expected.json | 4956 ++++---- .../ORU_R01/ORU-R01-RMGEAD-expected.json | 22 +- .../Hl7v2/OUL_R22/OUL-R22-01-expected.json | 3286 ++--- .../Hl7v2/OUL_R22/OUL-R22-02-expected.json | 4272 +++---- .../Hl7v2/OUL_R23/OUL-R23-01-expected.json | 5496 ++++----- .../Hl7v2/OUL_R23/OUL-R23-02-expected.json | 6782 +++++------ .../Hl7v2/OUL_R24/OUL-R24-01-expected.json | 5668 ++++----- .../Hl7v2/OUL_R24/OUL-R24-02-expected.json | 5978 ++++----- .../Hl7v2/RDE_O11/RDE-O11-01-expected.json | 6874 +++++------ .../Hl7v2/RDE_O11/RDE-O11-02-expected.json | 7590 ++++++------ .../Hl7v2/RDE_O25/RDE-O25-01-expected.json | 6950 +++++------ .../Hl7v2/RDE_O25/RDE-O25-02-expected.json | 7726 ++++++------ .../Hl7v2/RDS_O13/RDS-O13-01-expected.json | 5736 ++++----- .../Hl7v2/RDS_O13/RDS-O13-02-expected.json | 7194 +++++------ .../Hl7v2/SIU_S12/SIU-S12-01-expected.json | 3996 +++--- .../Hl7v2/SIU_S12/SIU-S12-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S13/SIU-S13-01-expected.json | 2746 ++--- .../Hl7v2/SIU_S13/SIU-S13-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S14/SIU-S14-01-expected.json | 2746 ++--- .../Hl7v2/SIU_S14/SIU-S14-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S15/SIU-S15-01-expected.json | 2746 ++--- .../Hl7v2/SIU_S15/SIU-S15-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S16/SIU-S16-01-expected.json | 2746 ++--- .../Hl7v2/SIU_S16/SIU-S16-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S17/SIU-S17-01-expected.json | 2746 ++--- .../Hl7v2/SIU_S17/SIU-S17-02-expected.json | 3252 ++--- .../Hl7v2/SIU_S26/SIU-S26-01-expected.json | 2740 ++--- .../Hl7v2/SIU_S26/SIU-S26-02-expected.json | 3252 ++--- ..._1.1_Admin_Child_Max_Message-expected.json | 8 +- .../Hl7v2/VXU_V04/VXU-V04-01-expected.json | 8208 ++++++------- .../Hl7v2/VXU_V04/VXU-V04-02-expected.json | 8522 ++++++------- .../Expected/Hl7v2/VXU_V04/VXU-expected.json | 1828 +-- .../Input/CcdaTestTimezoneInput.ccda | 56 + .../Input/Hl7v2TestTimezoneInput.hl7v2 | 2 + .../Template/CcdaTestTimezoneTemplate.liquid | 9 + .../Template/Hl7v2TestTimezoneTemplate.liquid | 9 + .../Filters/DateFiltersTests.cs | 76 +- .../Filters/DateFilters.cs | 2 +- .../Models/PartialDateTime.cs | 12 +- 157 files changed, 231956 insertions(+), 231791 deletions(-) create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/CcdaTestTimezoneInput.ccda create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/Hl7v2TestTimezoneInput.hl7v2 create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/CcdaTestTimezoneTemplate.liquid create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/Hl7v2TestTimezoneTemplate.liquid diff --git a/data/SampleData/Ccda/170.314B2_Amb_CCD.ccda b/data/SampleData/Ccda/170.314B2_Amb_CCD.ccda index 754020dab..d84dd4fd1 100644 --- a/data/SampleData/Ccda/170.314B2_Amb_CCD.ccda +++ b/data/SampleData/Ccda/170.314B2_Amb_CCD.ccda @@ -204,7 +204,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -985,7 +985,7 @@ - + @@ -996,7 +996,7 @@ - + @@ -1947,7 +1947,7 @@ - + diff --git a/data/SampleData/Ccda/Diagnostic_Imaging_Report.ccda b/data/SampleData/Ccda/Diagnostic_Imaging_Report.ccda index f56316c42..8ccc4dd6c 100644 --- a/data/SampleData/Ccda/Diagnostic_Imaging_Report.ccda +++ b/data/SampleData/Ccda/Diagnostic_Imaging_Report.ccda @@ -244,7 +244,7 @@ - + @@ -562,7 +562,7 @@ End of Reason for study Section - + diff --git a/data/SampleData/Ccda/History_and_Physical.ccda b/data/SampleData/Ccda/History_and_Physical.ccda index 8cc37deae..f6aede84c 100644 --- a/data/SampleData/Ccda/History_and_Physical.ccda +++ b/data/SampleData/Ccda/History_and_Physical.ccda @@ -1781,7 +1781,7 @@ RESULTS - + @@ -1813,7 +1813,7 @@ RESULTS - + @@ -1844,7 +1844,7 @@ RESULTS - + diff --git a/data/SampleData/Ccda/Patient-1.ccda b/data/SampleData/Ccda/Patient-1.ccda index 47f850c6a..571a759cf 100644 --- a/data/SampleData/Ccda/Patient-1.ccda +++ b/data/SampleData/Ccda/Patient-1.ccda @@ -21,7 +21,7 @@ CDA Header Community Health and Hospitals: Health Summary - + @@ -115,7 +115,7 @@ CDA Header - - + @@ -935,7 +935,7 @@ Encounters section displayName="Routine general medical examination at a health care facility" codeSystemName="ICD-9-CM"/> - + @@ -1000,7 +1000,7 @@ Immunizations section - + @@ -1063,7 +1063,7 @@ Immunizations section - + @@ -1238,7 +1238,7 @@ Medications section - + @@ -1268,7 +1268,7 @@ Medications section - + @@ -1298,7 +1298,7 @@ Medications section - + @@ -1328,7 +1328,7 @@ Medications section - + @@ -1358,7 +1358,7 @@ Medications section - + @@ -1388,7 +1388,7 @@ Medications section - + @@ -1418,7 +1418,7 @@ Medications section - + @@ -1448,7 +1448,7 @@ Medications section - + @@ -1607,7 +1607,7 @@ Problems section codeSystemName="HL7ActClass" displayName="Concern"/> - + @@ -1617,7 +1617,7 @@ Problems section - + - + @@ -1661,7 +1661,7 @@ Problems section - + - + @@ -1705,7 +1705,7 @@ Problems section - + - + @@ -1994,7 +1994,7 @@ Procedures section displayName="Exercise counseling" codeSystemName="ICD-9-CM"/> - + @@ -2015,7 +2015,7 @@ Procedures section displayName="Radiographic imaging procedure (procedure)" codeSystemName="SNOMED-CT"/> - + @@ -2034,7 +2034,7 @@ Procedures section - + @@ -2053,7 +2053,7 @@ Procedures section - + @@ -2072,7 +2072,7 @@ Procedures section - + @@ -2091,7 +2091,7 @@ Procedures section - + @@ -2116,7 +2116,7 @@ Procedures section displayName="Ophthalmic examination and evaluation" codeSystemName="SNOMED-CT"/> - + @@ -2135,7 +2135,7 @@ Procedures section - + @@ -2602,7 +2602,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2636,7 +2636,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2660,7 +2660,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2684,7 +2684,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2708,7 +2708,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2776,7 +2776,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2810,7 +2810,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2834,7 +2834,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2858,7 +2858,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2882,7 +2882,7 @@ Note that C-CDA schema explicitly allows one, and only one, per - + @@ -2954,7 +2954,7 @@ Social History section - + @@ -3185,7 +3185,7 @@ Vital Signs section - + @@ -3198,7 +3198,7 @@ Vital Signs section - + @@ -3214,7 +3214,7 @@ Vital Signs section - + @@ -3230,7 +3230,7 @@ Vital Signs section - + @@ -3244,7 +3244,7 @@ Vital Signs section - + @@ -3257,7 +3257,7 @@ Vital Signs section - + @@ -3273,7 +3273,7 @@ Vital Signs section - + @@ -3289,7 +3289,7 @@ Vital Signs section - + @@ -3305,7 +3305,7 @@ Vital Signs section - + @@ -3378,7 +3378,7 @@ Vital Signs section - + @@ -3391,7 +3391,7 @@ Vital Signs section - + @@ -3407,7 +3407,7 @@ Vital Signs section - + @@ -3423,7 +3423,7 @@ Vital Signs section - + @@ -3439,7 +3439,7 @@ Vital Signs section - + @@ -3453,7 +3453,7 @@ Vital Signs section - + @@ -3466,7 +3466,7 @@ Vital Signs section - + @@ -3482,7 +3482,7 @@ Vital Signs section - + @@ -3498,7 +3498,7 @@ Vital Signs section - + @@ -3514,7 +3514,7 @@ Vital Signs section - + diff --git a/data/SampleData/Hl7v2/ADT01-23.hl7 b/data/SampleData/Hl7v2/ADT01-23.hl7 index e78578bc3..83c2cf0c1 100644 --- a/data/SampleData/Hl7v2/ADT01-23.hl7 +++ b/data/SampleData/Hl7v2/ADT01-23.hl7 @@ -1,8 +1,8 @@ -MSH|^~\&|AccMgr|1|||20050110045504||ADT^A01|599102|P|2.3||| -EVN|A01|20050110045502||||| +MSH|^~\&|AccMgr|1|||20050110045504+0700||ADT^A01|599102|P|2.3||| +EVN|A01|20050110045502+0700||||| PID|1||10006579^^^1^MR^1||DUCK^DONALD^D||19241010|M||1|111 DUCK ST^^FOWL^CA^999990000^^M|1|8885551212|8885551212|1|2||40007716^^^AccMgr^VN^1|123121234|||||||||||NO NK1|1|DUCK^HUEY|SO|3583 DUCK RD^^FOWL^CA^999990000|8885552222||Y|||||||||||||| -PV1|1|I|PREOP^101^1^1^^^S|3|||37^DISNEY^WALT^^^^^^AccMgr^^^^CI|||01||||1|||37^DISNEY^WALT^^^^^^AccMgr^^^^CI|2|40007716^^^AccMgr^VN|4|||||||||||||||||||1||G|||20050110045253|||||| +PV1|1|I|PREOP^101^1^1^^^S|3|||37^DISNEY^WALT^^^^^^AccMgr^^^^CI|||01||||1|||37^DISNEY^WALT^^^^^^AccMgr^^^^CI|2|40007716^^^AccMgr^VN|4|||||||||||||||||||1||G|||20050110045502+0700|||||| GT1|1|8291|DUCK^DONALD^D||111^DUCK ST^^FOWL^CA^999990000|8885551212||19241010|M||1|123121234||||#Cartoon Ducks Inc|111^DUCK ST^^FOWL^CA^999990000|8885551212||PT| DG1|1|I9|71596^OSTEOARTHROS NOS-L/LEG ^I9|OSTEOARTHROS NOS-L/LEG ||A| IN1|1|MEDICARE|3|MEDICARE|||||||Cartoon Ducks Inc|19891001|||4|DUCK^DONALD^D|1|19241010|111^DUCK ST^^FOWL^CA^999990000|||||||||||||||||123121234A||||||PT|M|111 DUCK ST^^FOWL^CA^999990000|||||8291 diff --git a/data/SampleData/Hl7v2/ADT01-28.hl7 b/data/SampleData/Hl7v2/ADT01-28.hl7 index 6a0277165..e542c9362 100644 --- a/data/SampleData/Hl7v2/ADT01-28.hl7 +++ b/data/SampleData/Hl7v2/ADT01-28.hl7 @@ -1,5 +1,5 @@ -MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1|| -EVN|A01|200708181123|| +MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|19880818112600+0700|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1|| +EVN|A01|20070818112300+0700|| PID|1||PATID1234^5^M11^ADT1^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN^ADAM^A^III||19610615|M||C|2222 HOME STREET^^GREENSBORO^NC^27401-1020|GL|(555) 555-2004|(555)555-2004||S||PATID12345001^2^M10^ADT1^AN^A|444333333|987654^NC| NK1|1|NUCLEAR^NELDA^W|SPO^SPOUSE||||NK^NEXT OF KIN PV1|1|I|2000^2012^01||||004777^ATTEND^AARON^A|||SUR||||ADM|A0| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT04-23.hl7 b/data/SampleData/Hl7v2/ADT04-23.hl7 index acb5c3aed..18fd84223 100644 --- a/data/SampleData/Hl7v2/ADT04-23.hl7 +++ b/data/SampleData/Hl7v2/ADT04-23.hl7 @@ -1,8 +1,8 @@ -MSH|^~\&|NES|NINTENDO|TESTSYSTEM|TESTFACILITY|20010101000000||ADT^A04|Q123456789T123456789X123456|P|2.3 -EVN|A04|20010101000000|||^KOOPA^BOWSER^^^^^^^CURRENT -PID|1||123456789^^^^MR||BROS^MARIO^^^^||19850101000000|M|||123 FAKE STREET^MARIO LUIGI BROS PLACE^TOADSTOOL KINGDOM^NES^A1B2C3^JP^HOME^^1234|1234|(555)555-0123^HOME^JP:1234567^^1^555^5550123~(555)555-0124^HOME^JP:1234568^^1^555^5550124|||S|MSH|12345678|||||||0|||||N +MSH|^~\&|NES|NINTENDO|TESTSYSTEM|TESTFACILITY|20010101000000+0700||ADT^A04|Q123456789T123456789X123456|P|2.3 +EVN|A04|20010101000000+0700|||^KOOPA^BOWSER^^^^^^^CURRENT +PID|1||123456789^^^^MR||BROS^MARIO^^^^||19850101000000+0700|M|||123 FAKE STREET^MARIO LUIGI BROS PLACE^TOADSTOOL KINGDOM^NES^A1B2C3^JP^HOME^^1234|1234|(555)555-0123^HOME^JP:1234567^^1^555^5550123~(555)555-0124^HOME^JP:1234568^^1^555^5550124|||S|MSH|12345678|||||||0|||||N NK1|1|PEACH^PRINCESS^^^^|SO|ANOTHER CASTLE^^TOADSTOOL KINGDOM^NES^^JP|(123)555-1234|(123)555-2345|NOK||||||||||||| NK1|2|TOADSTOOL^PRINCESS^^^^|SO|YET ANOTHER CASTLE^^TOADSTOOL KINGDOM^NES^^JP|(123)555-3456|(123)555-4567|EMC||||||||||||| -PV1|1|O|ABCD^EFGH^|||^^|123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR NBR^|^DOG^DUCKHUNT^^^^^^^CURRENT||CRD|||||||123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR NBR^|AO|0123456789|1|||||||||||||||||||MSH||A|||20010101000000 +PV1|1|O|ABCD^EFGH^|||^^|123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR NBR^|^DOG^DUCKHUNT^^^^^^^CURRENT||CRD|||||||123456^DINO^YOSHI^^^^^^MSRM^CURRENT^^^NEIGHBOURHOOD DR NBR^|AO|0123456789|1|||||||||||||||||||MSH||A|||20010101000000+0700 IN1|1|PAR^PARENT||||LUIGI IN1|2|FRI^FRIEND||||PRINCESS \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT04-251.hl7 b/data/SampleData/Hl7v2/ADT04-251.hl7 index f961f1bab..326a1793f 100644 --- a/data/SampleData/Hl7v2/ADT04-251.hl7 +++ b/data/SampleData/Hl7v2/ADT04-251.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|REDOX|RDX|||20190504181205||ADT^A04|1270326314|T|2.3||||||||| +MSH|^~\&|REDOX|RDX|||20190504181205+0700||ADT^A04|1270326314|T|2.3||||||||| PID|||MRN12345^5^M11^^MR^Special Hospital||Doe^Jane||19780101|F||2106-3||||||||123456789 NK1|1|JOHNSON^CONWAY^^^^^L|SPOUS||(130) 724-0433^PRN^PH^^^431^2780404~(330) 274-8214^ORN^PH^^^330^2748214||EMERGENCY -PV1||E|||||12345^Johnson^Peter|||||||||||||||||||||||||||||||||||||201905020700 \ No newline at end of file +PV1||E|||||12345^Johnson^Peter|||||||||||||||||||||||||||||||||||||20190504181205+0700 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT04-28.hl7 b/data/SampleData/Hl7v2/ADT04-28.hl7 index 6f619e29c..8a5adb50a 100644 --- a/data/SampleData/Hl7v2/ADT04-28.hl7 +++ b/data/SampleData/Hl7v2/ADT04-28.hl7 @@ -1,8 +1,8 @@ -MSH|^~\&|REDOX|RDX|||20190504181205||ADT^A04|1270326314|T|2.3||||||||| -EVN|A04|20181017025543||||| +MSH|^~\&|REDOX|RDX|||20190504181205+0700||ADT^A04|1270326314|T|2.3||||||||| +EVN|A04|20181017025543+0700||||| PID|||0000000001^^^MR~e167267c-16c9-4fe3-96ae-9cff5703e90a^^^EHRID~a1d4ee8aba494ca^^^NIST||Bixby^Timothy^Paul||20080106|M|||4762 Hickory Street^^Monroe^WI^53566^US|Green|8088675301^^^|||Married||1234|101-01-0001|||||||||||||||||||| PD1||||4356789876^Granite^Pat^^^^MD^^NPI||||||||||||||||| NK1||Bixby^Barbara^|Mother|4762 Hickory Street^^Monroe^WI^53566^US^^^Green|+19189368865||Emergency Contact|||||||||||||||||||||||||||||||| -PV1||I|3N^136^B^RES General Hospital^^Inpatient||||4356789876^Granite^Pat^^^^^^NPI|^^^^^^^^|||||||||||1234|||||||||||||||||||||||||20181017222805|||||||| +PV1||I|3N^136^B^RES General Hospital^^Inpatient||||4356789876^Granite^Pat^^^^^^NPI|^^^^^^^^|||||||||||1234|||||||||||||||||||||||||20181017222805+0700|||||||| GT1|1||Bixby^Kent|Bixby^Barbara|4762 Hickory Street^^Monroe^WI^53566^USA^^^Green||||||Father|||||Accelerator Labs|1456 Old Sauk Road^^Madison^WI^53719^USA^^^Dane|8083451121||||||||||||||||||||||||||||||||||||||| IN1||31572^HMO Deductable Plan^Payor ID|60054^^^^|aetna (60054 0131)|PO Box 14080^^Lexington^KY^40512-4079^US^^^Fayette||8089541123|847025-024-0009|Accelerator Labs|||20150101|20201231|||^|||^^^^^^^^|||||||||||||||||9140860055||||||||||||||||| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/IZ_1_1.1_Admin_Child_Max_Message.hl7 b/data/SampleData/Hl7v2/IZ_1_1.1_Admin_Child_Max_Message.hl7 index c0cdc3f59..13b6c238b 100644 --- a/data/SampleData/Hl7v2/IZ_1_1.1_Admin_Child_Max_Message.hl7 +++ b/data/SampleData/Hl7v2/IZ_1_1.1_Admin_Child_Max_Message.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|Test EHR Application|X68||NIST Test Iz Reg|201207010822||VXU^V04^VXU_V04|NIST-IZ-001.00|P|2.5.1|||AL|ER +MSH|^~\&|Test EHR Application|X68||NIST Test Iz Reg|20120701082200+0700||VXU^V04^VXU_V04|NIST-IZ-001.00|P|2.5.1|||AL|ER PID|1||D26376273^^^NIST MPI^MR||Snow^Madelynn^Ainsley^^^^L|Lam^Morgan|20070706|F||2076-8^Native Hawaiian or Other Pacific Islander^CDCREC|32 Prescott Street Ave^^Warwick^MA^02452^USA^L||^PRN^PH^^^657^5558563|||||||||2186-5^non Hispanic or Latino^CDCREC PD1|||||||||||02^Reminder/Recall - any method^HL70215|||||A|20120701|20120701 NK1|1|Lam^Morgan^^^^^L|MTH^Mother^HL70063|32 Prescott Street Ave^^Warwick^MA^02452^USA^L|^PRN^PH^^^657^5558563 diff --git a/data/SampleData/Hl7v2/LAB-ORU-1.hl7 b/data/SampleData/Hl7v2/LAB-ORU-1.hl7 index a17d01100..2d02bf1d9 100644 --- a/data/SampleData/Hl7v2/LAB-ORU-1.hl7 +++ b/data/SampleData/Hl7v2/LAB-ORU-1.hl7 @@ -1,16 +1,16 @@ -MSH|^~\&|SomeSystem||TransformationAgent||201410060645||ORU^R01|182|T|2.5|| +MSH|^~\&|SomeSystem||TransformationAgent||20141006064500+0700||ORU^R01|182|T|2.5|| PID|1||10006579^^^1^MR^1||DUCK^DONALD^D||19241010|M||1|111 DUCK ST^^FOWL^CA^999990000^^M|1|8885551212|8885551212|1|2||40007716^^^AccMgr^VN^1|123121234|||||||||||NO -OBR|2|88502218|82503246|24317-0^Hemogram and platelet count, automated^LN||||||^COLLECT^JOHN|P|| |||^URO^^^^DR|||||||201410060929||F|F|||||||&CYTO&JANE^201410060929 +OBR|2|88502218|82503246|24317-0^Hemogram and platelet count, automated^LN||||||^COLLECT^JOHN|P|| |||^URO^^^^DR|||||||20141006092900+0700||F|F|||||||&CYTO&JANE^20141006092900+0700 OBX|1|NM|11156-7^LEUKOCYTES^LN||||||||I| -OBX|2|NM|11273-0^ERYTHROCYTES^LN||4.06|tera.l-1||N|||P|||201410060627 +OBX|2|NM|11273-0^ERYTHROCYTES^LN||4.06|tera.l-1||N|||P|||20141006062700+0700 OBX|3|NM|20509-6^HEMOGLOBIN^LN||||||||I| -OBX|4|NM|20570-8^HEMATOCRIT^LN||40.1|%||N|||P|||201410060830 -OBX|5|NM|11125-2^PLATELETS^LN||221|giga.l-1||N|||F|||201410060830 -SPM|1|SpecimenID||BLD|||||||P||||||201410060535|201410060821||Y||||||1 -OBR|1|855238581|890775544|26464-8^Differential WBC Count, buffy coat^LN||||||^COLLECT^JOHN|P| ||||^URO^^^^DR|||||||201410060929|||F|||||||&CYTO&JANE^201410060929 -OBX|1|NM|23761-0^NEUTROPHILS/100 LEUKOCYTES^LN||72|%||N|||P|||201410060627 -OBX|2|NM|26450-7^EOSINOPHILS/100 LEUKOCYTES^LN||2|%||N|||P|||201410060627 -OBX|3|NM|26478-8^LYMPHOCYTES/100 LEUKOCYTES^LN||20|%||N|||P|||201410060627 -OBX|4|NM|26485-3^MONOCYTES/100 LEUKOCYTES^LN||6|%||N|||P|||201410060627 -OBX|5|NM|30180-4^BASOPHILS/100 LEUKOCYTES^LN||0|%||N|||P|||201410060627 -SPM|1|SpecimenID||BLD|||||||P||||||201410060535|201410060821||Y||||||1 \ No newline at end of file +OBX|4|NM|20570-8^HEMATOCRIT^LN||40.1|%||N|||P|||20141006083000+0700 +OBX|5|NM|11125-2^PLATELETS^LN||221|giga.l-1||N|||F|||20141006083000+0700 +SPM|1|SpecimenID||BLD|||||||P||||||20141006053500+0700|20141006082100+0700||Y||||||1 +OBR|1|855238581|890775544|26464-8^Differential WBC Count, buffy coat^LN||||||^COLLECT^JOHN|P| ||||^URO^^^^DR|||||||20141006092900+0700|||F|||||||&CYTO&JANE^20141006092900+0700 +OBX|1|NM|23761-0^NEUTROPHILS/100 LEUKOCYTES^LN||72|%||N|||P|||20141006062700+0700 +OBX|2|NM|26450-7^EOSINOPHILS/100 LEUKOCYTES^LN||2|%||N|||P|||20141006062700+0700 +OBX|3|NM|26478-8^LYMPHOCYTES/100 LEUKOCYTES^LN||20|%||N|||P|||20141006062700+0700 +OBX|4|NM|26485-3^MONOCYTES/100 LEUKOCYTES^LN||6|%||N|||P|||20141006062700+0700 +OBX|5|NM|30180-4^BASOPHILS/100 LEUKOCYTES^LN||0|%||N|||P|||20141006062700+0700 +SPM|1|SpecimenID||BLD|||||||P||||||20141006053500+0700|20141006082100+0700||Y||||||1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/LAB-ORU-2.hl7 b/data/SampleData/Hl7v2/LAB-ORU-2.hl7 index 0ea6424e2..f267b686e 100644 --- a/data/SampleData/Hl7v2/LAB-ORU-2.hl7 +++ b/data/SampleData/Hl7v2/LAB-ORU-2.hl7 @@ -1,16 +1,16 @@ -MSH|^~\&|SomeSystem||TransformationAgent||201410060931||ORU^R01|ControlID|T|2.5|||||USA||EN +MSH|^~\&|SomeSystem||TransformationAgent||20141006093100+0700||ORU^R01|ControlID|T|2.5|||||USA||EN PID|1||10006579^^^1^MR^1||DUCK^DONALD^D||19241010|M||1|111 DUCK ST^^FOWL^CA^999990000^^M|1|8885551212|8885551212|1|2||40007716^^^AccMgr^VN^1|123121234|||||||||||NO -OBR|1|855238581|890775544|26464-8^Differential WBC Count, buffy coat^LN||||||^COLLECT^JOHN|P| ||||^URO^^^^DR|||||||201410060929|||F|||||||&CYTO&JANE^201410060929 -OBX|1|NM|30180-4^BASOPHILS/100 LEUKOCYTES^LN||0|%||N|||F|||201410060830 -OBX|2|NM|23761-0^NEUTROPHILS/100 LEUKOCYTES^LN||72|%||N|||F|||201410060830 -OBX|3|NM|26450-7^EOSINOPHILS/100 LEUKOCYTES^LN||2|%||N|||F|||201410060830 -OBX|4|NM|26478-8^LYMPHOCYTES/100 LEUKOCYTES^LN||20|%||N|||F|||201410060830 -OBX|5|NM|26485-3^MONOCYTES/100 LEUKOCYTES^LN||6|%||N|||F|||201410060830 -SPM|1|SpecimenID||BLD|||||||P||||||201410060535|201410060621||Y||||||1 -OBR|2|88502218|82503246|24317-0^Hemogram and platelet count, automated^LN||||||^COLLECT^JOHN|P|| |||^URO^^^^DR|||||||201410060929|||F|||||||&CYTO&JANE^201410060929 -OBX|1|NM|20509-6^HEMOGLOBIN^LN||13.4|g/l-1||N|||F|||201410060830 -OBX|2|NM|11156-7^LEUKOCYTES^LN||8.2|giga.l-1||N|||F|||201410060830 -OBX|3|NM|11273-0^ERYTHROCYTES^LN||4.08|tera.l-1||N|||F|||201410060830 -OBX|4|NM|20570-8^HEMATOCRIT^LN||39.7|%||N|||F|||201410060830 -OBX|5|NM|11125-2^PLATELETS^LN||220|giga.l-1||N|||F|||201410060830 -SPM|1|SpecimenID||BLD|||||||P||||||201410060535|201410060621||Y||||||1 \ No newline at end of file +OBR|1|855238581|890775544|26464-8^Differential WBC Count, buffy coat^LN||||||^COLLECT^JOHN|P| ||||^URO^^^^DR|||||||20141006092900+0700|||F|||||||&CYTO&JANE^20141006092900+0700 +OBX|1|NM|30180-4^BASOPHILS/100 LEUKOCYTES^LN||0|%||N|||F|||20141006083000+0700 +OBX|2|NM|23761-0^NEUTROPHILS/100 LEUKOCYTES^LN||72|%||N|||F|||20141006083000+0700 +OBX|3|NM|26450-7^EOSINOPHILS/100 LEUKOCYTES^LN||2|%||N|||F|||20141006083000+0700 +OBX|4|NM|26478-8^LYMPHOCYTES/100 LEUKOCYTES^LN||20|%||N|||F|||20141006083000+0700 +OBX|5|NM|26485-3^MONOCYTES/100 LEUKOCYTES^LN||6|%||N|||F|||20141006083000+0700 +SPM|1|SpecimenID||BLD|||||||P||||||20141006053500+0700|20141006062100+0700||Y||||||1 +OBR|2|88502218|82503246|24317-0^Hemogram and platelet count, automated^LN||||||^COLLECT^JOHN|P|| |||^URO^^^^DR|||||||20141006092900+0700|||F|||||||&CYTO&JANE^20141006092900+0700 +OBX|1|NM|20509-6^HEMOGLOBIN^LN||13.4|g/l-1||N|||F|||20141006083000+0700 +OBX|2|NM|11156-7^LEUKOCYTES^LN||8.2|giga.l-1||N|||F|||20141006083000+0700 +OBX|3|NM|11273-0^ERYTHROCYTES^LN||4.08|tera.l-1||N|||F|||20141006083000+0700 +OBX|4|NM|20570-8^HEMATOCRIT^LN||39.7|%||N|||F|||20141006083000+0700 +OBX|5|NM|11125-2^PLATELETS^LN||220|giga.l-1||N|||F|||20141006083000+0700 +SPM|1|SpecimenID||BLD|||||||P||||||20141006053500+0700|20141006062100+0700||Y||||||1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORU-R01-RMGEAD.hl7 b/data/SampleData/Hl7v2/ORU-R01-RMGEAD.hl7 index 4217dc336..14c1f6bc3 100644 --- a/data/SampleData/Hl7v2/ORU-R01-RMGEAD.hl7 +++ b/data/SampleData/Hl7v2/ORU-R01-RMGEAD.hl7 @@ -1,4 +1,4 @@ -MSH|^~\&|GHH LAB|ELAB-3|GHH OE|BLDG4|200202150930||ORU^R01|CNTRL-3456|P|2.4| +MSH|^~\&|GHH LAB|ELAB-3|GHH OE|BLDG4|20020215093000+0600||ORU^R01|CNTRL-3456|P|2.4| PID|||555-44-4444||EVERYWOMAN^EVE^E^^^^L|JONES|19620320|F|||153 FERNWOOD DR.^^STATESVILLE^OH^35292||(206)3345232|(206)752-121||||AC555444444||67-A4335^OH^20030520 -OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||200202150730|||||||||555-55-5555^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||444-44-4444^HIPPOCRATES^HOWARD H^^^^MD +OBR|1|845439^GHH OE|1045813^GHH LAB|15545^GLUCOSE|||20020215073000+0600|||||||||555-55-5555^PRIMARY^PATRICIA P^^^^MD^^|||||||||F||||||444-44-4444^HIPPOCRATES^HOWARD H^^^^MD OBX|1|SN|1554-5^GLUCOSE^POST 12H CFST:MCNC:PT:SER/PLAS:QN||^182|mg/dl|70_105|H|||F \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 3d613af52..1c3f32021 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -206,6 +206,47 @@ public static IEnumerable GetDataForJson() }); } + [Fact] + public void GivenCcdaMessageForTimezoneTesting_WhenConvert_ExpectedResultShouldBeReturned() + { + var inputFile = Path.Combine("TestData", "TimezoneHandling", "Input", "CcdaTestTimezoneInput.ccda"); + var ccdaProcessor = new CcdaProcessor(); + var templateDirectory = Path.Join("TestData", "TimezoneHandling", "Template"); + + var inputContent = File.ReadAllText(inputFile); + var actualContent = ccdaProcessor.Convert(inputContent, "CcdaTestTimezoneTemplate", new TemplateProvider(templateDirectory, DataType.Ccda)); + + var actualObject = JsonConvert.DeserializeObject>(actualContent); + + Assert.Equal("2001-01", actualObject["datetime1"]); + Assert.Equal("2001-01-01", actualObject["datetime2"]); + Assert.Equal("2001-01-01", actualObject["datetime3"]); + Assert.Contains("2001-11-11T12:00:00", actualObject["datetime4"].ToString()); + Assert.Contains("2001-11-11T12:23:00", actualObject["datetime5"].ToString()); + Assert.Equal("2020-01-01T01:01:01+08:00", actualObject["datetime6"]); + } + + [Fact] + public void GivenHl7v2MessageForTimeZoneTesting_WhenConvert_ExpectedResultShouldBeReturned() + { + var inputFile = Path.Combine("TestData", "TimezoneHandling", "Input", "Hl7v2TestTimezoneInput.hl7v2"); + var hl7v2Processor = new Hl7v2Processor(); + var templateDirectory = Path.Join("TestData", "TimezoneHandling", "Template"); + + var inputContent = File.ReadAllText(inputFile); + var traceInfo = new Hl7v2TraceInfo(); + var actualContent = hl7v2Processor.Convert(inputContent, "Hl7v2TestTimezoneTemplate", new TemplateProvider(templateDirectory, DataType.Hl7v2), traceInfo); + + var actualObject = JsonConvert.DeserializeObject>(actualContent); + + Assert.Equal("2001-01", actualObject["datetime1"]); + Assert.Equal("2001-01-01", actualObject["datetime2"]); + Assert.Equal("2001-01-01", actualObject["datetime3"]); + Assert.Contains("2001-11-11T12:00:00", actualObject["datetime4"].ToString()); + Assert.Contains("2001-11-11T12:23:00", actualObject["datetime5"].ToString()); + Assert.Equal("2020-01-01T01:01:01+08:00", actualObject["datetime6"]); + } + [Theory] [MemberData(nameof(GetDataForHl7v2))] public void GivenHl7v2Message_WhenConverting_ExpectedFhirResourceShouldBeReturned(string rootTemplate, string inputFile, string expectedFile) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests.csproj b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests.csproj index 273da3ead..670d48b04 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests.csproj +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests.csproj @@ -31,7 +31,7 @@ - + PreserveNewest diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json index 18f99366f..62d424d1e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json @@ -1,1154 +1,1154 @@ -{ - "resourceType": "Bundle", - "type": "batch", - "entry": [ - { - "fullUrl": "urn:uuid:55ae51bf-be65-0fc9-8a12-e6449e33d7db", - "resource": { - "resourceType": "Composition", - "id": "55ae51bf-be65-0fc9-8a12-e6449e33d7db", - "identifier": { - "use": "official", - "value": "1.3.6.1.4.1.22812.3.99930.3.1" - }, - "status": "final", - "type": { - "coding": [ - { - "code": "34133-9", - "display": "SUMMARIZATION OF EPISODE NOTE", - "system": "http://loinc.org" +{ + "resourceType": "Bundle", + "type": "batch", + "entry": [ + { + "fullUrl": "urn:uuid:f7e787bb-8eaa-eab7-9bd7-ffc5bdc79260", + "resource": { + "resourceType": "Composition", + "id": "f7e787bb-8eaa-eab7-9bd7-ffc5bdc79260", + "identifier": { + "use": "official", + "value": "1.3.6.1.4.1.22812.3.99930.3.1" + }, + "status": "final", + "type": { + "coding": [ + { + "code": "34133-9", + "display": "SUMMARIZATION OF EPISODE NOTE", + "system": "http://loinc.org" + } + ] + }, + "date": "2013-01-30T08:00:51-05:00", + "title": "Continuity of Care Document", + "confidentiality": "V", + "attester": [ + { + "mode": "legal", + "time": "2013-01-30T08:00:51-05:00", + "party": { + "reference": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" + } + } + ], + "event": [ + { + "period": { + "start": "2012-08-15T09:00:51-05:00", + "end": "2013-01-30T08:00:51-05:00" + } + } + ], + "section": [ + { + "title": "Reason For Referral", + "text": { + "status": "generated", + "div": "
Reason For Referral
" + }, + "code": { + "coding": [ + { + "code": "42349-1", + "display": "Reason For Referral", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Functional Status", + "text": { + "status": "generated", + "div": "
Functional Status
" + }, + "code": { + "coding": [ + { + "code": "47420-5", + "display": "Functional Status", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Problems", + "text": { + "status": "generated", + "div": "
Problems
" + }, + "code": { + "coding": [ + { + "code": "11450-4", + "display": "Problem List", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Medications", + "text": { + "status": "generated", + "div": "
Medications
" + }, + "code": { + "coding": [ + { + "code": "10160-0", + "display": "History of medication use", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Allergies and Adverse Reactions", + "text": { + "status": "generated", + "div": "
Allergies and Adverse Reactions
" + }, + "code": { + "coding": [ + { + "code": "48765-2", + "display": "Allergies, adverse reactions, alerts", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Immunization", + "text": { + "status": "generated", + "div": "
Immunization
" + }, + "code": { + "coding": [ + { + "code": "11369-6", + "display": "Immunizations", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Social History", + "text": { + "status": "generated", + "div": "
Social History
" + }, + "code": { + "coding": [ + { + "code": "29762-2", + "display": "Social History", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Vital Signs", + "text": { + "status": "generated", + "div": "
Vital Signs
" + }, + "code": { + "coding": [ + { + "code": "8716-3", + "display": "Vital Signs", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Results", + "text": { + "status": "generated", + "div": "
Results
" + }, + "code": { + "coding": [ + { + "code": "30954-2", + "display": "Relevant diagnostic tests and/or laboratory data", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Plan of Care", + "text": { + "status": "generated", + "div": "
Plan of Care
" + }, + "code": { + "coding": [ + { + "code": "18776-5", + "display": "Plan of Care", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Instructions", + "text": { + "status": "generated", + "div": "
Instructions
" + }, + "code": { + "coding": [ + { + "code": "69730-0", + "display": "Instructions", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Encounters", + "text": { + "status": "generated", + "div": "
Encounters
" + }, + "code": { + "coding": [ + { + "code": "46240-8", + "display": "Encounters", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + } + ], + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + }, + "encounter": { + "reference": "Encounter/27f04c7f-8603-8e19-14b8-c8b5cee1f87f" + }, + "custodian": { + "reference": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" + }, + "author": [ + { + "reference": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" + }, + { + "reference": "Device/20249d1d-01be-7214-0e99-0950cbdbdbbd" + } + ] + }, + "request": { + "method": "PUT", + "url": "Composition/f7e787bb-8eaa-eab7-9bd7-ffc5bdc79260" } - ] }, - "date": "2013-01-30T21:00:51+08:00", - "title": "Continuity of Care Document", - "confidentiality": "V", - "attester": [ - { - "mode": "legal", - "time": "2013-01-30T21:00:51+08:00", - "party": { - "reference": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" - } - } - ], - "event": [ - { - "period": { - "start": "2012-08-15T09:00:51", - "end": "2013-01-30T21:00:51+08:00" - } - } - ], - "section": [ - { - "title": "Reason For Referral", - "text": { - "status": "generated", - "div": "
Reason For Referral
" - }, - "code": { - "coding": [ - { - "code": "42349-1", - "display": "Reason For Referral", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Functional Status", - "text": { - "status": "generated", - "div": "
Functional Status
" - }, - "code": { - "coding": [ - { - "code": "47420-5", - "display": "Functional Status", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Problems", - "text": { - "status": "generated", - "div": "
Problems
" - }, - "code": { - "coding": [ - { - "code": "11450-4", - "display": "Problem List", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Medications", - "text": { - "status": "generated", - "div": "
Medications
" - }, - "code": { - "coding": [ - { - "code": "10160-0", - "display": "History of medication use", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Allergies and Adverse Reactions", - "text": { - "status": "generated", - "div": "
Allergies and Adverse Reactions
" - }, - "code": { - "coding": [ - { - "code": "48765-2", - "display": "Allergies, adverse reactions, alerts", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Immunization", - "text": { - "status": "generated", - "div": "
Immunization
" - }, - "code": { - "coding": [ - { - "code": "11369-6", - "display": "Immunizations", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Social History", - "text": { - "status": "generated", - "div": "
Social History
" - }, - "code": { - "coding": [ - { - "code": "29762-2", - "display": "Social History", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Vital Signs", - "text": { - "status": "generated", - "div": "
Vital Signs
" - }, - "code": { - "coding": [ - { - "code": "8716-3", - "display": "Vital Signs", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Results", - "text": { - "status": "generated", - "div": "
Results
" - }, - "code": { - "coding": [ - { - "code": "30954-2", - "display": "Relevant diagnostic tests and/or laboratory data", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Plan of Care", - "text": { - "status": "generated", - "div": "
Plan of Care
" - }, - "code": { - "coding": [ - { - "code": "18776-5", - "display": "Plan of Care", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Instructions", - "text": { - "status": "generated", - "div": "
Instructions
" - }, - "code": { - "coding": [ - { - "code": "69730-0", - "display": "Instructions", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Encounters", - "text": { - "status": "generated", - "div": "
Encounters
" - }, - "code": { - "coding": [ - { - "code": "46240-8", - "display": "Encounters", - "system": "http://loinc.org" - } - ] + { + "fullUrl": "urn:uuid:b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0", + "resource": { + "resourceType": "Practitioner", + "id": "b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "1111111111" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", + "value": "91138" + } + ], + "name": [ + { + "family": "Khan", + "given": [ + "Samir" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "line": [ + "Get Well Clinic", + "1004 Healthcare Dr." + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "97005" + } + ], + "telecom": [ + { + "system": "phone", + "value": "+1-(555)555-1004" + } + ] }, - "mode": "snapshot" - } - ], - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - }, - "encounter": { - "reference": "Encounter/c007ac7d-5502-54c7-09a9-a45b4c84c5cd" - }, - "custodian": { - "reference": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" - }, - "author": [ - { - "reference": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" - }, - { - "reference": "Device/20249d1d-01be-7214-0e99-0950cbdbdbbd" - } - ] - }, - "request": { - "method": "PUT", - "url": "Composition/55ae51bf-be65-0fc9-8a12-e6449e33d7db" - } - }, - { - "fullUrl": "urn:uuid:b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0", - "resource": { - "resourceType": "Practitioner", - "id": "b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "1111111111" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", - "value": "91138" - } - ], - "name": [ - { - "family": "Khan", - "given": [ - "Samir" - ], - "prefix": [ - "Dr" - ] - } - ], - "address": [ - { - "line": [ - "Get Well Clinic", - "1004 Healthcare Dr." - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "97005" - } - ], - "telecom": [ - { - "system": "phone", - "value": "+1-(555)555-1004" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" - } - }, - { - "fullUrl": "urn:uuid:c007ac7d-5502-54c7-09a9-a45b4c84c5cd", - "resource": { - "resourceType": "Encounter", - "id": "c007ac7d-5502-54c7-09a9-a45b4c84c5cd", - "status": "unknown", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.3.4", - "value": "5283815" - } - ], - "period": { - "start": "2012-08-15T09:00:51", - "end": "2013-01-30T21:00:51+08:00" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/c007ac7d-5502-54c7-09a9-a45b4c84c5cd" - } - }, - { - "fullUrl": "urn:uuid:e43c8521-43e8-af8f-23fe-a3ab2556e7fc", - "resource": { - "resourceType": "Organization", - "id": "e43c8521-43e8-af8f-23fe-a3ab2556e7fc", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", - "value": "3" - } - ], - "name": "Get Well Clinic", - "address": [ - { - "line": [ - "Get Well Clinic", - "1004 Healthcare Dr." - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "97005" - } - ], - "telecom": [ - { - "system": "phone", - "value": "+1-(555)555-1004" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" - } - }, - { - "fullUrl": "urn:uuid:20249d1d-01be-7214-0e99-0950cbdbdbbd", - "resource": { - "resourceType": "Device", - "id": "20249d1d-01be-7214-0e99-0950cbdbdbbd", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.3.3", - "value": "3" - } - ], - "type": { - "coding": [ - { - "display": "Enterprise EHR Clinical System 11.200.4210.17305" + "request": { + "method": "PUT", + "url": "Practitioner/b14b88db-3f12-cd84-2ddb-b2e6cab1f3c0" } - ] - }, - "manufacturer": "Enterprise EHR Clinical System 11.200.4210.17305", - "version": [ - { - "value": "Enterprise EHR Clinical System 11.200.4210.17305; Transform 4.1.1.18" - } - ], - "owner": { - "reference": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" - } - }, - "request": { - "method": "PUT", - "url": "Device/20249d1d-01be-7214-0e99-0950cbdbdbbd" - } - }, - { - "fullUrl": "urn:uuid:a656b459-dec5-7b46-77eb-41c20c9a5901", - "resource": { - "resourceType": "Patient", - "id": "a656b459-dec5-7b46-77eb-41c20c9a5901", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] }, - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", - "value": "110107073916280" - } - ], - "name": [ - { - "family": "Everyman", - "given": [ - "Adam" - ] - } - ], - "birthDate": "1962-10-22", - "gender": "male", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White" + { + "fullUrl": "urn:uuid:27f04c7f-8603-8e19-14b8-c8b5cee1f87f", + "resource": { + "resourceType": "Encounter", + "id": "27f04c7f-8603-8e19-14b8-c8b5cee1f87f", + "status": "unknown", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.3.4", + "value": "5283815" + } + ], + "period": { + "start": "2012-08-15T09:00:51-05:00", + "end": "2013-01-30T08:00:51-05:00" } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino" - } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ] - } - ], - "address": [ - { - "use": "home", - "line": [ - "1234 Six Forks" - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "97005" - } - ], - "telecom": [ - { - "system": "phone", - "value": "+1-(555)555-3333", - "use": "home" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "system": "urn:ietf:bcp:47", - "code": "en", - "display": "English" - } - ] }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - { - "fullUrl": "urn:uuid:2353559d-3d4c-a788-97c2-1e36d0473b16", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "2353559d-3d4c-a788-97c2-1e36d0473b16", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", - "value": "613618700107" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", - "value": "613618700109" - } - ], - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", - "code": "resolved" + "request": { + "method": "PUT", + "url": "Encounter/27f04c7f-8603-8e19-14b8-c8b5cee1f87f" } - ] }, - "reaction": [ - { - "substance": { - "coding": [ - { - "code": "7982", - "display": "Penicillin G benzathine", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" - } - ] - }, - "manifestation": [ - { - "coding": [ - { - "code": "55561003", - "display": "Active", - "system": "http://snomed.info/sct" - } + { + "fullUrl": "urn:uuid:e43c8521-43e8-af8f-23fe-a3ab2556e7fc", + "resource": { + "resourceType": "Organization", + "id": "e43c8521-43e8-af8f-23fe-a3ab2556e7fc", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", + "value": "3" + } + ], + "name": "Get Well Clinic", + "address": [ + { + "line": [ + "Get Well Clinic", + "1004 Healthcare Dr." + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "97005" + } + ], + "telecom": [ + { + "system": "phone", + "value": "+1-(555)555-1004" + } ] - } - ] - }, - { - "substance": { - "coding": [ - { - "code": "7982", - "display": "Penicillin G benzathine", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" - } - ] }, - "manifestation": [ - { - "coding": [ - { - "code": "247472004", - "display": "Hives", - "system": "http://snomed.info/sct" - } - ] - } - ] - } - ], - "onsetDateTime": "1998-01-10", - "patient": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/2353559d-3d4c-a788-97c2-1e36d0473b16" - } - }, - { - "fullUrl": "urn:uuid:0823560f-afcc-d264-5c62-2a4ad7dc11cf", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "0823560f-afcc-d264-5c62-2a4ad7dc11cf", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", - "value": "624373800001" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", - "value": "637073500005" - } - ], - "clinicalStatus": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", - "code": "resolved" + "request": { + "method": "PUT", + "url": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" } - ] }, - "reaction": [ - { - "substance": { - "coding": [ - { - "code": "261000", - "display": "Codeine phosphate", - "system": "http://snomed.info/sct" - } - ] - }, - "manifestation": [ - { - "coding": [ - { - "code": "55561003", - "display": "Active", - "system": "http://snomed.info/sct" - } - ] - } - ] - }, - { - "substance": { - "coding": [ - { - "code": "261000", - "display": "Codeine phosphate", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:20249d1d-01be-7214-0e99-0950cbdbdbbd", + "resource": { + "resourceType": "Device", + "id": "20249d1d-01be-7214-0e99-0950cbdbdbbd", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.3.3", + "value": "3" + } + ], + "type": { + "coding": [ + { + "display": "Enterprise EHR Clinical System 11.200.4210.17305" + } + ] + }, + "manufacturer": "Enterprise EHR Clinical System 11.200.4210.17305", + "version": [ + { + "value": "Enterprise EHR Clinical System 11.200.4210.17305; Transform 4.1.1.18" + } + ], + "owner": { + "reference": "Organization/e43c8521-43e8-af8f-23fe-a3ab2556e7fc" } - ] }, - "manifestation": [ - { - "coding": [ - { - "code": "422587007", - "display": "Nausea", - "system": "http://snomed.info/sct" - } - ] - } - ] - } - ], - "onsetDateTime": "2001-01-10T00:00:00", - "patient": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/0823560f-afcc-d264-5c62-2a4ad7dc11cf" - } - }, - { - "fullUrl": "urn:uuid:fd272f60-b3b2-c1a4-2f66-c4d459abc715", - "resource": { - "resourceType": "MedicationStatement", - "id": "fd272f60-b3b2-c1a4-2f66-c4d459abc715", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.9", - "value": "659122500005" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.9", - "value": "659122500007" - } - ], - "dosage": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "Puffs" - } - } - ] - } - ], - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - }, - "medicationReference": { - "reference": "Medication/d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64" - } - }, - "request": { - "method": "PUT", - "url": "MedicationStatement/fd272f60-b3b2-c1a4-2f66-c4d459abc715" - } - }, - { - "fullUrl": "urn:uuid:d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64", - "resource": { - "resourceType": "Medication", - "id": "d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64", - "code": { - "coding": [ - { - "code": "573621", - "display": "Albuterol 0.09 MG/ACTUAT metered dose", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64" - } - }, - { - "fullUrl": "urn:uuid:b5ab02bc-3b05-b81a-d770-fcac49ba807d", - "resource": { - "resourceType": "Condition", - "id": "b5ab02bc-3b05-b81a-d770-fcac49ba807d", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", - "value": "615028800003" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", - "value": "659935200001" - } - ], - "clinicalStatus": { - "coding": [ - { - "code": "55561003", - "display": "Active", - "system": "http://snomed.info/sct" + "request": { + "method": "PUT", + "url": "Device/20249d1d-01be-7214-0e99-0950cbdbdbbd" } - ] }, - "code": { - "coding": [ - { - "code": "64109004", - "display": "Costochondritis", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:a656b459-dec5-7b46-77eb-41c20c9a5901", + "resource": { + "resourceType": "Patient", + "id": "a656b459-dec5-7b46-77eb-41c20c9a5901", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", + "value": "110107073916280" + } + ], + "name": [ + { + "family": "Everyman", + "given": [ + "Adam" + ] + } + ], + "birthDate": "1962-10-22", + "gender": "male", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1234 Six Forks" + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "97005" + } + ], + "telecom": [ + { + "system": "phone", + "value": "+1-(555)555-3333", + "use": "home" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" } - ] }, - "onsetDateTime": "2012-08-15", - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b5ab02bc-3b05-b81a-d770-fcac49ba807d" - } - }, - { - "fullUrl": "urn:uuid:2337a2f4-1a3c-23ea-bb95-d73049e9204f", - "resource": { - "resourceType": "Condition", - "id": "2337a2f4-1a3c-23ea-bb95-d73049e9204f", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", - "value": "636842200007" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", - "value": "660100900011" - } - ], - "clinicalStatus": { - "coding": [ - { - "code": "55561003", - "display": "Active", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:2353559d-3d4c-a788-97c2-1e36d0473b16", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "2353559d-3d4c-a788-97c2-1e36d0473b16", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", + "value": "613618700107" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", + "value": "613618700109" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "resolved" + } + ] + }, + "reaction": [ + { + "substance": { + "coding": [ + { + "code": "7982", + "display": "Penicillin G benzathine", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "code": "55561003", + "display": "Active", + "system": "http://snomed.info/sct" + } + ] + } + ] + }, + { + "substance": { + "coding": [ + { + "code": "7982", + "display": "Penicillin G benzathine", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "code": "247472004", + "display": "Hives", + "system": "http://snomed.info/sct" + } + ] + } + ] + } + ], + "onsetDateTime": "1998-01-10", + "patient": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/2353559d-3d4c-a788-97c2-1e36d0473b16" } - ] }, - "code": { - "coding": [ - { - "code": "195967001", - "display": "Asthma", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:ba4e86d0-f601-b3bc-fc62-3e0b72318e0e", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "ba4e86d0-f601-b3bc-fc62-3e0b72318e0e", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", + "value": "624373800001" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.10.2", + "value": "637073500005" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "resolved" + } + ] + }, + "reaction": [ + { + "substance": { + "coding": [ + { + "code": "261000", + "display": "Codeine phosphate", + "system": "http://snomed.info/sct" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "code": "55561003", + "display": "Active", + "system": "http://snomed.info/sct" + } + ] + } + ] + }, + { + "substance": { + "coding": [ + { + "code": "261000", + "display": "Codeine phosphate", + "system": "http://snomed.info/sct" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "code": "422587007", + "display": "Nausea", + "system": "http://snomed.info/sct" + } + ] + } + ] + } + ], + "onsetDateTime": "2001-01-10T00:00:00-05:00", + "patient": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/ba4e86d0-f601-b3bc-fc62-3e0b72318e0e" } - ] }, - "onsetDateTime": "2011-09-25T13:00:00+08:00", - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Condition/2337a2f4-1a3c-23ea-bb95-d73049e9204f" - } - }, - { - "fullUrl": "urn:uuid:377bc352-6e5e-a8e5-d8ec-53c7631bb889", - "resource": { - "resourceType": "DiagnosticReport", - "id": "377bc352-6e5e-a8e5-d8ec-53c7631bb889", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", - "value": "659988700005" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "82374", - "display": "CO2", - "system": "http://www.ama-assn.org/go/cpt" + { + "fullUrl": "urn:uuid:fd272f60-b3b2-c1a4-2f66-c4d459abc715", + "resource": { + "resourceType": "MedicationStatement", + "id": "fd272f60-b3b2-c1a4-2f66-c4d459abc715", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.9", + "value": "659122500005" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.9", + "value": "659122500007" + } + ], + "dosage": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "Puffs" + } + } + ] + } + ], + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + }, + "medicationReference": { + "reference": "Medication/d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64" + } + }, + "request": { + "method": "PUT", + "url": "MedicationStatement/fd272f60-b3b2-c1a4-2f66-c4d459abc715" } - ] }, - "effectiveDateTime": "2012-08-15", - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - }, - "performer": [ - { - "reference": "Practitioner/7aa34e67-c584-ddc5-64b5-17988d4d9fab" - } - ], - "result": [ - { - "reference": "Observation/57b3e387-7bc2-a581-a668-b22cace62a33" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/377bc352-6e5e-a8e5-d8ec-53c7631bb889" - } - }, - { - "fullUrl": "urn:uuid:7aa34e67-c584-ddc5-64b5-17988d4d9fab", - "resource": { - "resourceType": "Practitioner", - "id": "7aa34e67-c584-ddc5-64b5-17988d4d9fab", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", - "value": "3333" - } - ], - "name": [ - { - "family": "Nightingale", - "given": [ - "Nancy" - ], - "suffix": [ - "RN" - ] - } - ], - "address": [ - { - "line": [ - "Get Well Clinic", - "1004 Healthcare Dr." - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "97005" - } - ], - "telecom": [ - { - "system": "phone", - "value": "+1-(555)555-1014" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/7aa34e67-c584-ddc5-64b5-17988d4d9fab" - } - }, - { - "fullUrl": "urn:uuid:57b3e387-7bc2-a581-a668-b22cace62a33", - "resource": { - "resourceType": "Observation", - "id": "57b3e387-7bc2-a581-a668-b22cace62a33", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", - "value": "6599887000031" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", - "value": "6599889000031" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "2028-9", - "display": "CO2", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64", + "resource": { + "resourceType": "Medication", + "id": "d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64", + "code": { + "coding": [ + { + "code": "573621", + "display": "Albuterol 0.09 MG/ACTUAT metered dose", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/d7ad4ff0-a6d7-9116-c7b9-d101b8e94a64" } - ] - }, - "effectiveDateTime": "2012-08-15", - "valueQuantity": { - "value": 25, - "unit": "mmol/L" }, - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Observation/57b3e387-7bc2-a581-a668-b22cace62a33" - } - }, - { - "fullUrl": "urn:uuid:5e203a24-4f4d-92ad-1afd-67edbeb18004", - "resource": { - "resourceType": "Observation", - "id": "5e203a24-4f4d-92ad-1afd-67edbeb18004", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "ASSERTION", - "display": "Assertion", - "system": "urn:oid:2.16.840.1.113883.5.4" + { + "fullUrl": "urn:uuid:b5ab02bc-3b05-b81a-d770-fcac49ba807d", + "resource": { + "resourceType": "Condition", + "id": "b5ab02bc-3b05-b81a-d770-fcac49ba807d", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", + "value": "615028800003" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", + "value": "659935200001" + } + ], + "clinicalStatus": { + "coding": [ + { + "code": "55561003", + "display": "Active", + "system": "http://snomed.info/sct" + } + ] + }, + "code": { + "coding": [ + { + "code": "64109004", + "display": "Costochondritis", + "system": "http://snomed.info/sct" + } + ] + }, + "onsetDateTime": "2012-08-15", + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b5ab02bc-3b05-b81a-d770-fcac49ba807d" } - ] }, - "effectivePeriod": { - "start": "2012" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "266919005", - "display": "Never smoker", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:2337a2f4-1a3c-23ea-bb95-d73049e9204f", + "resource": { + "resourceType": "Condition", + "id": "2337a2f4-1a3c-23ea-bb95-d73049e9204f", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", + "value": "636842200007" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.1.2.1", + "value": "660100900011" + } + ], + "clinicalStatus": { + "coding": [ + { + "code": "55561003", + "display": "Active", + "system": "http://snomed.info/sct" + } + ] + }, + "code": { + "coding": [ + { + "code": "195967001", + "display": "Asthma", + "system": "http://snomed.info/sct" + } + ] + }, + "onsetDateTime": "2011-09-25T01:00:00-04:00", + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Condition/2337a2f4-1a3c-23ea-bb95-d73049e9204f" } - ] }, - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Observation/5e203a24-4f4d-92ad-1afd-67edbeb18004" - } - }, - { - "fullUrl": "urn:uuid:fe7a527f-e3af-84b6-65ac-248dcfd7a9ac", - "resource": { - "resourceType": "Observation", - "id": "fe7a527f-e3af-84b6-65ac-248dcfd7a9ac", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "ASSERTION", - "display": "Assertion", - "system": "urn:oid:2.16.840.1.113883.5.4" + { + "fullUrl": "urn:uuid:377bc352-6e5e-a8e5-d8ec-53c7631bb889", + "resource": { + "resourceType": "DiagnosticReport", + "id": "377bc352-6e5e-a8e5-d8ec-53c7631bb889", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", + "value": "659988700005" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "82374", + "display": "CO2", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "effectiveDateTime": "2012-08-15", + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + }, + "performer": [ + { + "reference": "Practitioner/7aa34e67-c584-ddc5-64b5-17988d4d9fab" + } + ], + "result": [ + { + "reference": "Observation/57b3e387-7bc2-a581-a668-b22cace62a33" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/377bc352-6e5e-a8e5-d8ec-53c7631bb889" } - ] }, - "effectivePeriod": { - "start": "2012" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "428041000124106", - "display": "Current some day smoker", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:7aa34e67-c584-ddc5-64b5-17988d4d9fab", + "resource": { + "resourceType": "Practitioner", + "id": "7aa34e67-c584-ddc5-64b5-17988d4d9fab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3", + "value": "3333" + } + ], + "name": [ + { + "family": "Nightingale", + "given": [ + "Nancy" + ], + "suffix": [ + "RN" + ] + } + ], + "address": [ + { + "line": [ + "Get Well Clinic", + "1004 Healthcare Dr." + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "97005" + } + ], + "telecom": [ + { + "system": "phone", + "value": "+1-(555)555-1014" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7aa34e67-c584-ddc5-64b5-17988d4d9fab" } - ] }, - "subject": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Observation/fe7a527f-e3af-84b6-65ac-248dcfd7a9ac" - } - }, - { - "fullUrl": "urn:uuid:8e360cad-38ee-2b8e-4a1a-c566621e7e05", - "resource": { - "resourceType": "Immunization", - "id": "8e360cad-38ee-2b8e-4a1a-c566621e7e05", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.4", - "value": "637382500009" - }, - { - "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.4", - "value": "637382500011" - } - ], - "occurrenceDateTime": "2012-08-15", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "Influenza virus vaccine", - "system": "urn:oid:2.16.840.1.113883.12.292" + { + "fullUrl": "urn:uuid:57b3e387-7bc2-a581-a668-b22cace62a33", + "resource": { + "resourceType": "Observation", + "id": "57b3e387-7bc2-a581-a668-b22cace62a33", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", + "value": "6599887000031" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.5", + "value": "6599889000031" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "2028-9", + "display": "CO2", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2012-08-15", + "valueQuantity": { + "value": 25, + "unit": "mmol/L" + }, + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Observation/57b3e387-7bc2-a581-a668-b22cace62a33" } - ] }, - "status": "completed", - "route": { - "coding": [ - { - "code": "C28161", - "display": "INTRAMUSCULAR", - "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + { + "fullUrl": "urn:uuid:5e203a24-4f4d-92ad-1afd-67edbeb18004", + "resource": { + "resourceType": "Observation", + "id": "5e203a24-4f4d-92ad-1afd-67edbeb18004", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "ASSERTION", + "display": "Assertion", + "system": "urn:oid:2.16.840.1.113883.5.4" + } + ] + }, + "effectivePeriod": { + "start": "2012" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "266919005", + "display": "Never smoker", + "system": "http://snomed.info/sct" + } + ] + }, + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Observation/5e203a24-4f4d-92ad-1afd-67edbeb18004" } - ] }, - "site": { - "coding": [ - { - "code": "368208006", - "display": "Left Arm", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:fe7a527f-e3af-84b6-65ac-248dcfd7a9ac", + "resource": { + "resourceType": "Observation", + "id": "fe7a527f-e3af-84b6-65ac-248dcfd7a9ac", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "ASSERTION", + "display": "Assertion", + "system": "urn:oid:2.16.840.1.113883.5.4" + } + ] + }, + "effectivePeriod": { + "start": "2012" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "428041000124106", + "display": "Current some day smoker", + "system": "http://snomed.info/sct" + } + ] + }, + "subject": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Observation/fe7a527f-e3af-84b6-65ac-248dcfd7a9ac" } - ] }, - "patient": { - "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/8e360cad-38ee-2b8e-4a1a-c566621e7e05" - } - }, - { - "fullUrl": "urn:uuid:453a2c11-25b2-6ed5-d292-d0a1abbbc622", - "resource": { - "resourceType": "DocumentReference", - "id": "453a2c11-25b2-6ed5-d292-d0a1abbbc622", - "type": { - "coding": [ - { - "code": "34133-9", - "display": "SUMMARIZATION OF EPISODE NOTE", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:8e360cad-38ee-2b8e-4a1a-c566621e7e05", + "resource": { + "resourceType": "Immunization", + "id": "8e360cad-38ee-2b8e-4a1a-c566621e7e05", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.4", + "value": "637382500009" + }, + { + "system": "urn:oid:1.3.6.1.4.1.22812.3.99930.3.4.4", + "value": "637382500011" + } + ], + "occurrenceDateTime": "2012-08-15", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "Influenza virus vaccine", + "system": "urn:oid:2.16.840.1.113883.12.292" + } + ] + }, + "status": "completed", + "route": { + "coding": [ + { + "code": "C28161", + "display": "INTRAMUSCULAR", + "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + } + ] + }, + "site": { + "coding": [ + { + "code": "368208006", + "display": "Left Arm", + "system": "http://snomed.info/sct" + } + ] + }, + "patient": { + "reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901" + } + }, + "request": { + "method": "PUT", + "url": "Immunization/8e360cad-38ee-2b8e-4a1a-c566621e7e05" } - ] }, - "date": "2021-07-02T05:38:35.873Z", - "status": "current", - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "H4sIAAAAAAAACu09aXPiSJaf/S9yvR96JrYBHZy1Lk9gwGVP25gGXD2zExMdMqSNYoTkkITL7l+/L3WRmVLqAIGxG6q6C3SklC/ffeXZ316XRsVx3wzsLDB2kfv2jL/+5OJXt/bqGD+hhY0fv/60cN3nL7Xajx8/qvoCVzXDcGa2/uw6M8Nazasza1nrDfo1parUJtN/3gwm5Gf1H5Obn/52fvZflQo6K/QcWarKUrOqyNV2XTwwqlTOz3qGbuozzehbs9USmy6C55jO19OVbX5ZGK2KZT99eVFP/cNfXh396yk1mR9qFS6oKZIk1/5xezOZLfBSq+im42rmDJ+en5zZWDOWPWuO0Qz+9/X0fnJag8Pk9a/nCF4fm45umV9PR3e9/u9XfQk+dekU2Zblfj1VqnIT5gDTqcqy2m6r8EX1B8DLZ0NzuUGub0c3v/f63bHy+83g++BGThlI4scRX1lV4C+cqMob3KN49+jMezabzZbU6Sjh68Gsqk24tk6uV9qyAr87nY4qwb/+M2drEKp1WVUrnVPv5+TNgddJegUYj75kqC3h3pu762HvFM11B2bw5h+b3N/edsfX/9edXt8N0d0lGoyuJ3f9ARreTQf+hHXXwOc9y3R1c6W7b8h6RD3NxijEmrOaf8nJGX58xDNXf8FTfYnRi2as4AmKJKvkr9SWpIZckRqSD/yZZT7qc7hf1wwYNkIT8aQaVaXhz+rr6ff49K5uWqgXH9R7mKGZTyvtCVPIiM1KgI82nln2fKrZT9g9Pzk5e9ZcHYYYW2RSJ/zyybIkSy2ppXbkptKWcqwieQgMo83nNlo55E2BOMgRx7WBnLtwHDvOjW7ic1lR62iiv6JLy/6Pc1aLX+HdOIO5nY8s24V5zc9q3s9gREDN87sxuZN88w4+W/DDIFM/77RgEc5q1BF/PGtluvbb+f0EBgu+k+M18s7eNxcbAKVluKjw88v/yJW/NBqNv8J/FRU+p8HkRsF8AzD6TzBhibxvJ2eP2lI33s4HL9h+W2rmWS044J99AvQxz7tzbXlW8797h2vRAADHJbAtgAyM/4K/YXOObWpdb7Noo+FTFRnqQbfdBY2scqepyJKihBfY2myNM2nkpqjtEDVhgGZF5ejst4Xu4nBU7C6A736zrdVz8cHbzUqDG3xouegKDmgwKrJsdAOQMa3waWvcXy5XhN+7gMcBtHNwM7XabsP3qgpyJBiy0H3wNeU+mmzkjtoi3xuE8VVhxOi2RPJ9ik4/g/zDNgapc23OIxS1VxHAa0IYAC2s0RQGsl6Afdh39hPA8o81pDgeoOam+gDzv4HU/g0bBvJFLo3OGZQlg0gMhwqpMZF1xB6RzDsSuQ48A12BsHYXM4+z21Xx7SLek8x8cnAfIfuh+U9NsDTR+vnc+qzGMvMzbeUuLDIEyLFMmQSXO47+ZOJ5N7zNW3kRiterzVNWNISfgAWyWNMhtxWTF+fbLfZ2a314YmZNDNFKjbDthEQaFzK/LAQCZgKHbFrC+FxEfz3vw+HgKyt54DX5Z64PhQgDR8JvpaBeQaZD/hzRpwD6+NDWzac+ftFnAZ6CVrJ61Gbuysb2LWCvQcTs+cB0sf1s6w5Gg6txQHmagXzJjUDUgSlUrYP4r8otleB/8jg+BVmP7g+gv41G/l80tTXTebTsJfIEZ1VuAynSQzL4mjBJUHoByR1gnHh+lHYHJ+3Eq5PKcmYrx7XmuuZdGF7Xow4y6x6dOCLAISOAaJnWmECtMIxI/dBNwiO8G8Z4pj8Hii4cB6kyx3P64IbiJlR1jtpKmrgBrRSDqpHAao/mQUn0kgjgs1oCqpODSXRxZuAnzSBslTiQwEYsoL0RQtSIoKdMVM+7tObDIOUD5hHzKEVmQ6qpcSS0D2cWhGsOHogE3PJMhCOuHU3QknGNQ6uzeeCp9xje3aPHr7BNTAFwwkLYZ2bAGIRxQSSmNxqfJvCohtJW23Ijn07QDogxilukBiqUuCu/N5pW6qHLE0IlaqhlMBGGwL1p/aC4syLBW0odwp1Dr9lCf1pk8W8AWmzos2dsEzGBbS/gFsBnfBk47wu5MiNvYDGHa+T5K+ZvjW57XJkwJcvM4WWGJazX1RDmoxHnYh7Z+lKz3/zIzyjwxUVvFy6GtxqhV5bAPfS/RlckSMPt5GFuNJMSImLhRAh8nMjF3iRxSPj8g4NBd/mwgkWwAAy+A82HxqU20yHYpMMI4RutHbXbeGq3ddWmGC8C6yWP+SLWxyiFrJBfO1FqM3I7TXKnyG4hR6V5aiJXTeKrnrM5ZAkHxyDKJUE/npc3xnEkwQ9KgvImJDgEpIL4IqizWECJQ0gAeeMp0Vk9EvIbD2G6/tdPSol7FtU9XlRDDoSzMsgK7VpQK9HncwpqWaq3WGELGP1Rab3e2YDWR0Cp2BaQ+Qib5tseBS7AjrJaiKETM2wAWMtny4RDvpkDOQFwgAxsPg1MD3oBx9jCvKnv3xiBI8kzIShBzXg9f8/IgxwIL/o0v7DmPkBLSp07YZ/kGZQe+4qwMTfHjVzINIP4elqHTKhORS4t0W2MNcA0kleFxiRbxNaMdVaKl7+WcEWU2hZM6tWfrPemxK/oous+QK8vDbrdfrfXPQW8ryKfaNCzAQNi5GCM3IXuoCBRAQFvQJigAMAHPbyhAMU9fr0ylpZJ7KzLQBygKXZcSAQLnhfST/QqhCYiwFPIsMESpSQywql64iK16opE0pFKWqRw1iT2CUS9WjNqfx1i58ULZECGWMSUZtqzN/PY/aF8uHacFSZgDi4Mb4SkrWX4A8bXHsJn+b8XWJuvf8OBUJiE50EVWoLEgC/c8T5A3kk8gV1NN/hT8JMampxknnzmPgQELnqTOfLyh33N6HWp6aavG0VXhAhNXXZhGXP2qjjeX3S7FwMP84cWosB7DbxKt/30UAZ3oykkHk14i9e5/iJ6C/oywG7LnAPthDhT/Emac/1kWjbJXWaufbBzDAmLMk+D+Zys+Glp0zW0B2ycnt+ZDnYzJvMlGQQCyKSggtyodFdPFSLZCqxqJmB8jC8PNI7POtgrU6HoM4MvSACR5Hs9Kc4h28nmcImROEPS8JtmPhDCWnMmCC6smV0y4+tZTyZovi/4yPdK43vdiO+toXtke0e2l0zeR7a3S7ZHacTE6ItM5JMz64EYjZ6BSMe57i4mp2hpWXP/5+D7MKL4QpoxuDeCaFeSf0SSWnlMSu/Y2gzK6ynpNONa9WR4dzvoo940cpLU2w0VHCVNsapt6EvdN6GpN6B0afgVJdiHtut/M8rf+jZqHQKvx8qDePA2xCIxMCQ1UbfEzWiRKU0/J/GuM+8G9OroX7waudNeP4RDs9logIclcJttAVau8oJi+WuZcQbZlk86wHZKQzE/GGF+SSOc1bzbIvyncDskAwr390wHLfWg6UBtqfAQ+MS8paHsDj2w6FE352CNFycGXyM4EsOWxNAtnxj25SZZ15YxfhJZrjekMKOhBD8JuMNBKi7RDQhAzkUSnErxjLASlfUkMH6DZP+FwHsh8l3Q8p3zW3BeC+7Z6R6LXHp7TGvvXVz84intPfCyW7MFOAxsIH7evxa8bMKxPFZpAe9E7mckeiY4v0TCYKyulamabz69rb0RyQc39UQUB0XcB7HFWif4Hzb3PqT4HtbW6GWI2F1PJ8oN4ixAMdr5HggUmH8wD8ddLLUjXX4wulQalQl+JnQpH+kS6LIf4fPu6JK1mRmLWWwWazMm7bNLFOVSzACxFdCEWKjShlinZ4XlsgbEYzXgogbYFRLJFig6FqWZ9e6IcpXVMCBKYSjBpjVXhnFpaC+W/fX0fvhLtk3rrdsYwxLA1J2F/kzluEzuL/5Oa9qFjbzC6xvFActZYdbeK2OdYyOWZ0M2Gk2pFXelBCo381DGYhQaO6E+St/JeFBy4psQ47L8KEKsS/el1GWS1VAv15fC6eSMMpFsQhaBq8CK5O3IzGSy4Jqk7KiTEpKZT2J5SdunEZeTTJyZ45Sa6ZQ/3ykr6ylcNR5ERRKOT1LyoBKyobJTkDMTkTOyo8JJ8U9NzJTiT/E4yCVHhpON+gpEAGML2/xsJQCTJFWkepiLxMNq3Z6ARnihUDuJOh/xl2QgZ/qQPh5mXeMhYNZFawTMfKSPhhmTFSNmBpAykDHzsdmIwq/dunL8JI+yMR5c+rVB26gbhRUOnjV64pztYebb21s41wIXsQpqBHjp2OdxklwocyIbnFsX/v6cAj1FAJegxzSaQOd8jyrfRuGFJu9W9Q/H8OQ89RbxDYCDMzczevEe5orabNcVT/XMG7wQj9UkfBVUJrCLj+bKwZgrxVc4y1wpvs4fyVwJvXP7M1fAzlBEOskmlovcaXSaABO5XNPF91ZuY7EkgLaAxZKp26XB8ajbHXW7o26XSp2RH/eo25Wg2+2tZkEQjJfkJnDB0oLxVxCEJ6Vm1iNa4nnQW5T0wuUi87fRyY8ZnF8H6f7uhTS2CgXmCl95MaXosf3guV3jYeVi2zKQVJU66PZbDcyB++4UoA+H8RzNLScx0rLraHsp6QG8y4GNj94EMJj+dodG95eXE/Rr8wqNxkPUnaD+9XjQmw761W3CTB8NIhchRH5Y6Hn1+OggTBpLI0d/RQtrZTtIc5CJ8RwQA3xi6McC4z8gu6u0UJwgraJWLNmApLKykVs4cGnZU8IPWGiRFNh8lwbshLnYO/Kb7i50M+GGgOyL3MHXGgUz5g+lxqdJVYINJgKVAqFIlUv8EGR4xIZjs4aDI1wNlHeMrdgih5iSLnKALpgokNKRMh/eYSXK30iJCu88AOysHvyNGrpUO3XWDp9cdPu3tCV+PZxu6meR6RBqLMYnK2CdwCdXAW692skzVqv4WHnSPH12U16OJ2WmXn+/+X06ocK5fOgOfBV0WqRXS1w8nCx4+ih4PCI7eOjuimDD5BnP9Ecdz7+ePmoGaDTIgtACqawHm5d6UTioW1HndTCcV5BT+/V0kf02tgWyPEfPA7WqkDVMUMmGvWs0XWBHW9mhExgsfrWtAMpxJcCDyeh63J3ejf+J/nI9vOreeLte/JV6S6I6/LrSvIBKBPpwOqSul2LszEYElnkP13ATEb5g3nnCROpKp8nnLHcH47vJ3c3P6HYwHYwHfSa1wXRWS4/rrx33vckttVhUV+I5+ILmK9a3etsd3m/ub1Mohyr3rFsYxNY1g+W1EaU0WmpTyeGXaQd7IdAgHr8OIdzFQymPnsiydJHTRsQMApWUswoFoxCWzkQ5/RgjaW1BmrUZfPSP6R8dhx57OljINbmtESF/IgmQPuhOhJNem/NgB4X189J98LRsKI41rGOPbQPQaNYTnZheQxCPW5EuB2RKnoIHgUTN9TLQt3TxFfePBrro1u5Rym5OM6+LROt27GuXq40WB7Dcd9bZO+nNjoKAXMnhvlpxd3XMozzYcyiucFRNoN+9nzeGLEhSC4l2q9moKKV5Y7qGge0nHTs/I21OuBlGwBB8/gCH4KTLd5WIbvFac3SDu8bhXR/SWbPrRO3+xY1ndo8wpB7pBmQgoW/oAZt/aMRO3Mik2WV9QqxzwI56KuRP4Q/qGKTK3zWzInc67R06JMosbgiJKT84Q0LKLHBYu3R6AXZdARN0DtybVcw1kF7skafWo/8tAE45zoN9MIsLsLT8qqs5PjKHosyBbLB5ZA504w0fm4YaxFgSS4T+xNzhYhBA5x1di7tL1qLMxFjpgdqU2ySzI3cuT67BOhsMdiDa7UbuyETnI1FPSA5JCc7Hg6plYQ3P7RFqvdFlSUjFDUghVncyGYyJ9zK7eIlNgSsxPysBLTZIyspjQgMhQcweniYpHEHM7dUT4D2hirc0c3uL1KzA1DnWklCQOtaSHGtJ0vIN/b623ofqaxtefKwl+VPUkjxDTB+cQ88QThMFo9iryB6+KaEocjEwfq8Bshegoy+97TJMnpWWrU5bKTGyJHB68akUwmhSEVHjgVYcl+JjSsECi/1y8QozBqbMWnNLc558itYatoowbaj0FVb7FKpjmzDkUJLCzrYx3roCaN9hB0HgIS30kIUHt5eT6WHgAZX6UY4B4O3EK8atTXV2NuqQEYEMXKelJSqLDIHAFMgQJMK7U2o0lHqr3lJKLy/3fMmciBBz6ELwTeHQsVqNPZTUFTKzcbiXAE1nA8LHhEb29lsnRBOgdmQ47DLBFGeRUldbqtf0Im/NV8pgaktqqUVy4T6354n4vomLwf/8qfxPG6BVuv9pA9Q6bP+TEDk+oxcqiKHtqD7waK8fez8chL1OL8Pd9Gp7kzqBblJIx6cNWzMdX0QkK6jEdJLKbn7khcbR88JynhcgQWIapsDQj2LqR8P+aNgfDfs8hn1xzeoQDPsg7eEDG/Z1RWkQh0qr5B78Xh7I9pZ9EoAPzLJ/54JqRdTdXG12Ks3STM3r5XJl6n/4k+dydelzH7yK+vqdqqj9516bj4C9EBdAL7q9coAWZrP8uXkfukt5mBHvFQEBGv3Z+5VHRbi6i7NSz6hG3Rz+Zox+gx9d1LWXB5Ov917ltCZ+8k55gY+gqrIUH2WDctbEfT9q2y+LzZl7VM8xVt4eV/RYBH5emwxt6mkH5HftdQkIklV3e11y3a14b6Fd1aQCYJoyL+uG03H39n7Su7/pjuna0udn29JmC0KT1LTUZhve1iuHK1OFColz001bQm6QvWcLP6+DKVxt1DctXGXTBgQbtisdxhUfGP3f+Z3LBVJ52ypVbnGE65PgaCi9CjWzu7KwtzLHiFT45GBAzLJy+TTbdlUuIw8uo6NySj/lvN2U03sp80lG2X2U13tBM8sVTxaKuaSCpslDiN244BaEqFFSI+WgjfIQxCm/vbwPkdUj6Zw8HpIqR+8rdTJWRC14PVH75ITmyZ8ynHpw9aFyFA2jmavSaTWVEsOYE2sG7AsFPbs445I9WXBv8cnS+g/Zwz3cmDx9K/EUTXlIGhghB4bDdlxvzdVGJ9HOYFvf5H+f3sq2vVMWaE1z7W3Xr3Yg+3q26H09k519XA9QeCGvMjKHEzCGq5B5Rd54FxF0Wdk+br6zVtRKs9mRO15ImnXqUURAq8VsIDPW5lSWgEeSCDftrRXmG2d0rs/sW1+wa312z/ocHevz9qvPk2EsFP2pQEkV9xmPy5LF7ArxOcWfUhAf1iauR6a3B6ZXV9pSnbApWYF/+NY2AnmbnwsqpNnzkQseueBn4YL7MkGi92fcOy25WVFLM0C+6yC9wdX+FAttUWdKimyRGFY8hDXFjhs/OsbOynB3GvC6Sg94kUAPUTrTWqdCKMhNO297s8jVfbUmbIcRvfF17lcG7PrhQEoUaX6YKyaTFRDaW3jNg+h5nhjWFSZum8IPCJck1zNa0np8pJvlBMH23YPhMsCbTQNQDA5eZeFg/gX8bQ8LKHca1AoaDx9zBUOol7KC38pbwYsRIvLFMohjeqfL2KAJcbn819XTvz/oUn4rcSkvS13Kvq7tZS2lT7OWlyWu5aDEtSQt029Bv0YQ1MevqKcZsxVRO+e7XVklqWncB13aYDn2mrRh2U8aJJOx1lHv5n4yHYxLcqgoKX3Pm01JIb5PKVcck90KkSn1ajZJNmuj3JwA3xwhbrnt6rpSEi1KCwVvsMnuMRRcRihY2jYULNpMN2Mr3dSNdHcSA870uQFqy5KasMHaMfzwWcIPrKtpX1WiSmqZaCREFMLcC0qRNJnU2Gi4SCxtsxFvW5W8mD9bv+9Zrxt0ZY9b46VsWimWawmhg9Gvp+H1LSncT+Jfuvn7yvk3i965dulOZjQprMZf6OMu3Z+is5KgaCTGnQ6RX8kyzbHk9vYsix5RbWw2YilcS5XrcqXDca3fNuVaV4fFtcCvF7Et4+F37YVmW58JIeXyMVJ+P0Fab0ukMItBScqJuAFefjswvGxE4tT3bH1KtFRK55ObjVgSUkJGJ7+pC+0O3QArLw8MK6U/A1aqnbKxcrMRy5HeHbnRrPBpiGLP7gZIOjgsJCUswMdRuST0PLBsE/4NSc1L4PB9vxwT+JGUZaJKnUa9xDx3SLLBL6SRy1zXIGnAcfUZIgENb48jgAMCx73l7eT4BjlmrsblovjZILvNQ+ljZ2brXpJ8/OR3gqMlZaMwcYcIBU7z7YASpXiUWWrrg9erPv5yYPsyU4kpSJa+qGrhEJNlz7FNsDBXEGsdAep3v/m7xNwpOw6bNRCEQS2jdrNx+EycPMTcm5mp5IFpl/lM5cXFLrpTCIv9s6S4mJy2hW+nTdqE5O5TR4eU8ukCSbWYoyg9t62oLV4/BaQ8+CjYsSDyWBC5n4LInMEwcFIfg2GftRbnnczTtODVWnKoOX1ujczhOpsPV4pdqkhKO+ZVZqRRfvsz0LAOxgCNXMq+NsauBbHlILQP7wOrQV6osI16EPbeuj8z0zKr3Wp53oaSzL2RoZnIegT/BNgCrClHnypY0kxuBUaA7tbQzixsZgzDmGnIqciiBlzCFlxiK5DTxHlLMLQF094kvf9WTrMvzfBgLkvYU7d7cdH1TKBvlmZ8QX7sCN1YTvIeqMmmneAoa9ck27lOafNdb6Ur2PR1815Zwlnnto9jFnKhIQsBoFbCwsQzNktZGoJjm+MPS2yHR0u9bpehpa7jLpYauHJN7Qkv4cojRWWt+JGi3pGiWL8N57lJaZiRIckHoZe8uBx/b+lJJe6Tj7f5/MpYWqYGhtXjyvRUNESKG50Pj+Tn0TqhMdYc8d7piY0ZM+GD/mJ7o/51a0AVm1XfrqIRNs03NAI3BUzuDpwVYKRUkImJM9z/pfntNA5xEXcw5LNtvegJDvOs628gWO7fEwBz/cyfAyD3bfTRVcHKJX4gmmBSFOLdl67Y/CXpC12I9T7iQezzzxO77Y5/3dTfXxfvedRQ6u1W4ZBvai+Y8eByvF0vmIKzYzrOlzK/fP4jUS+pSH6QyW2z7UwkbPNtPMP1jsybFxF/RswxlW9DIBkyx6VgRyD2ldP7XqVtGZQZn0mJ0MSQQYk+uSuVyPBcsnJy48l6i208CVNJbz2Z2Xwytf1k/gaUWS0oU/OxhbVHLNHlyM3meHVQdBRKz3gNElzjFx554jShCimjDolMK74rS44M8FicLx6CEW7Xc3PXy7tdz6TPXVyU7amMF5rmWMDoFFmp5NgkR2nwzu0uqC7dJ4xu9VdQCruzFemadg9+Yu5h+RL2hTsQjW7YuQc4UlBHfbddd8aTu+H+t0yV07dWabX9Pzm3VWGb8+aTeHlbbEn1JtwnqRvut0KZUR9yx5XU1oCb7FNSqJsTd/HWHe2+3d1srHiKO9k3GpDpkRNVVTryWCKeKu2O3IQYI5+kP3jF9kx3SENZ10KG5WD0gyslYXFZ2Ps7iCnk7pxv4h+iJJb1w2awiMAbxUktgj6ix4rvj978+89S8b2Lxpw7ZGPyO/OxutSUm2RD1lhXZC7uUpB/RXGcQ+Bfh9KmMHpRWuFudloqpFuVtwuXCabjyt/gmUspoE/lTClI7jYeResuep7DOoYtCLRsa2XPsJe3jnTqwSjwhM7RfGUTOanNlzoQN8kmT2svnvkuXf9d5jp2vYdiXxQTOK9MBxvkWctgH4zYS7yAzI7HFjfwx6VvZX49XO+eWjSDKnHD8JTNS4CPSNVOVU3wND0DJcBbD+armUcTZE+fSLMBy65JBBPfgR8bjxXioRhxNxflDD7O5OYLca28jD3lP8BCqG0QEK04a/Z9RSPbWlqbgL+7I/DvbTPDSBCyvZSUulRpl8ZF1wFXjofSkdicRTZ8Z9W97x142e0DYyQOEYy+JzK6961dKRxc7fvFUXpm5zImukqA0ANd25otLHNu667u7AAQsUf3w2dTV6U3b4NAgOcDTowubfHCRYAd20/pUDCm1MGEUdy8MVzfKlpHcD0zSBDB3fd+maLI7cYpfIfPIqSOIFi7856ERWOVW0QqSyq+LaXmqtPxbFhGdjK7rRTbkNCTVNm7EdLhylxaDzsup/Pk24yHGJoS2fFG3n5bnqM77ehO+xjutFzhyiLByq1ClXsMVOaq48obpPSdqjGVil+t5BCkMACZGH4skl+TbiJvlVnTlkTrpoAoasf6yCTo9lvYckzJU+69p/YVjGU88XFx3qgTmZsvEAvP2VkoVmkrSgcCBzz5rBdoixAtI+Z3G5+N1bdyMnyDKG1Y4qc2FLX0TZ05E5WzG4WbCBcCtzAVjJzx7mYhnJunbEFFhemIy7YKkZ/1Wvom9fZthlQgO+Ba/BNjSC9eh9APwA8Rw/wCuJ+Cn1vTP8QNm0AsKi89PTKJo9NDQmpC5CFMTE4Q3pae0RB5H9MuTM1lSHFVeol3EKkgu2KTJlLnzPmzmi+6NaNvzVYk0HH+/0wuKf1NHgEA", - "hash": "ODE1ZmZkODYwYmRmMmMyMWU1YmEwM2ZhNDY2ODEyZjBkYWEyY2Q5MQ==" + { + "fullUrl": "urn:uuid:d354a122-c1fc-fecf-b620-ed4918aa1e63", + "resource": { + "resourceType": "DocumentReference", + "id": "d354a122-c1fc-fecf-b620-ed4918aa1e63", + "type": { + "coding": [ + { + "code": "34133-9", + "display": "SUMMARIZATION OF EPISODE NOTE", + "system": "http://loinc.org" + } + ] + }, + "date": "2022-03-25T13:36:42.099Z", + "status": "current", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "H4sIAAAAAAAACu09aXPiSJaf/S9y2Q89E9uADs5alycw4LKnbUyDXT2zExMdMqSNYoRESMJl96/fl7rITCl1gLCxG6q6C3SklC/ffeXp316WRtVxXw3sLDB2kfu6wl9/cvGLW39xjJ/QwsaPX39auO7qS73+48ePmr7ANc0wnJmtr1xnZljreW1mLev94aCu1JT69O6f18Mp+Vn7x/T6p7+dnf5XtYpOCz1Hlmqy1Kopcq3TEA+MqtWz076hm/pMMwbWbL3EpovgOabztbK2zS8Lo1217Kcvz2rFP/zlxdG/VqjJ/FBrcEFdkSS5/o+b6+lsgZdaVTcdVzNnuHJ2cmpjzVj2rTlGM/jf18r9tFKHw+T1r+YIXh+bjm6ZXyvj2/7g98uBBJ+GVEG2ZblfK0pNbsEcYDo1WVY7HRW+qP4AeLkyNJcb5OpmfP17f9CbKL9fD78Pr+WUgSR+HPGVNQX+womavMU9inePzrxnq9VqS92uEr4ezKrWgmsb5HqlIyvwu9vtqhL86z9ztgGh2pBVtdqteD+nrw68TtIrwHj0JSNtCfde316N+hU01x2Ywat/bHp/c9ObXP1f7+7qdoRuL9BwfDW9HQzR6PZu6E9Ydw181rdMVzfXuvuKrEfU12yMQqw5rfuXnJzix0c8c/VnfKcvMXrWjDU8QZFklfyVOpLUlKtSU/KBP7PMR30O9+uaAcNGaCKeVLOmNP1Zfa18j0/v8rqN+vFBvYcZmvm01p4whYzYrAb4aOOZZc/vNPsJu2cnJ6crzdVhiIlFJnXCL58sS7LUltpqV24pHSnHKpKHwDDafG6jtUPeFIiDHHFcG8i5B8ex41zrJj6TFbWBpvoLurDs/zin9fgV3o0zmNvZ2LJdmNf8tO79DEYE1Dy7nZA7yTfv4MqCHwaZ+lm3DYtwWqeO+ONZa9O1X8/upzBY8J0cr5N39r652AAoLcNFhZ9f/keu/qXZbP4V/quq8KkEkxsH8w3A6D/BhCXyvp2cPmpL3Xg9Gz5j+3Wpmaf14IB/9gnQxzzrzbXlad3/7h2uRwMAHJfAtgAyMP4z/obNObapdb3Joo2mT1VkqAfddhc0ssrdliJLihJeYGuzDc6kkZuidkLUhAFaVZWjs98WuovDUbG7AL77zbbWq+KDd1rVJjf4yHLRJRzQYFRk2egaIGNa4dM2uL9crgm/dwGPA2jn4GZqrdOB7zUV5EgwZKH74GvKfTTZyF21Tb43CeOrwYjRbYnk+xSdXoH8wzYGqXNlziMUtdcRwOtCGAAtbNAUBrKegX3Yt/YTwPKPDaQ4HqDmpvoA87+B1P4NGwbyRS6NzhmUJYNIDIcKqTGRdcQekcw7ErkOPANdgrB2FzOPs9s18e0i3pPMfHJwHyH7oflPXbA00fr53Pq0zjLzU23tLiwyBMixTJkElzuO/mTieS+8zVt5EYo3aq0KKxrCT8ACWazpktuKyYuz3RZ7t7U+PDGzIYZopcbYdkIijQuZXxYCATOFQzYtYXwuor+cDeBw8JWVPPCa/DM3h0KEgSPht1JQryDTIX+O6FMAfXxo6+bTAD/rswBPQStZP2ozd21j+waw1yBi9mxouthe2bqD0fByElCeZiBfciMQdWAK1Rog/mtyWyX4nzyOT0HWo/sD6G+rkf8X3dma6Txa9hJ5grMmd4AU6SEZfE2YJCi9gOQOME48P0q7g5N24tVJZTmzteNac13zLgyv61MHmXWPThwR4JARQLRMG0ygVhhGpH7oJuER3g0TPNNXgaILx0GqzPGcPriluAlVnaO2kiZuQCvFoGoksNqjeVASvSQC+LSegOrkYBJdnBr4STMIWyUOJLARC2hvhBA1IugpE9XzLm34MEj5gHnEPEqR2ZBqahwJ7cOZBeGagwciAbc8E+GIa0cTtGRc49DqdB546j2Gd/vo8StsE1MAnLAQ9pkZMAZhXBCJ6Y8nlQQe1VQ6akdu5tMJOgExRnGL1ECFEnfl98d31Ubo8oRQiRpqGUyEIXBvWj8o7qxI8JZSl+XOcNVCf1pkMXGAXGz80xW2iazAthd1C4A0uQg8+IX8mZFLsJjXNXL/FXO6Rrc9rk2YkmXmcDXDOjYaagj48ZjzM49tfanZr374Zxw45KK3C1fEW5LQNUvgHjphoysSROJuQjE3rkkJYbFwIgQ+TuRnb5FgJHz+wcGgt3xYwyJYAAbfi+ZD40Kb6RBx0mGE8I023tpd3LW7+mtTLBiBCZPHhhErZZRWVsi5nSi6GeGdJr5TBLiQrdKMNZG1JjFXz+McsoSDYxDlkqAf1Msb6DiS4AclQXkbEhwBUkGQEXRaLKDEEWSBvPKU6KwfCflNRjBd/+snpcQ3FtV9XlRDIoSzNsgK7VtQK9HncwpqWWq0WWELGP1Rab3R3YLWx0Cp2BaQ+Rib5usbClyAHWW6EGsnZt0AsJYry4RDvq0DiQFwgAxsPg1ND3oBx9jBxmm8k0UCR5KnQ/CCmvYGCJ65B9kQXhxqfm7NfaiWlER3wj7JMy09HhahZG62GzmTaS7xtdKAnKhuVS4t5W2CNUA3kmGFJiRvxNaMTX6Kl8mWcEWU5BZM6sWfrPemxMPooqsBQG8gDXu9Qa/fqwDy15BPOWhlwIAYORgjd6E7KEhZQMAgECYoAPBBD68owHOPaa+NpWUSY+sikAnoDjsupIQFzwuJKHoVQhgR4Clk2GKJUlIa4VQjcZHaDUUiiUklLVI4axIFBcpeb7i1vw6x8+IFMiBXLOJMM23lzTx2fygkrhxnjQmYgwvDGyF9axn+gPG1h/BZ/u8F1uab33AglCjhedCHliA24At3fACQdxJPYFfTDf4U/KSGJieZJ5+6DwGBi95kjrxMYl89ellquukrSNEVIUJTl51bxpy9Ko73573e+dDD/JGFKPBeAa/SbT9RlMHdaAqJRxPe4mWuP4vegr4MsNsy50A7Ic4Uf5LmXD2Zlk2ymJlrH+wcQ8KizNNgPicrXiltuob2gI3K2a3pYDdjMl+SQSCATAoqyM1qb/1UJeKtwKpmAsbH+PJA4/isg70yFYo+M/iCBBBJvteT4hyynWwPlxiJMyQNv2nmA8GsDWeCMMOG2SUzvr71ZIL6+4yPfK80vteL+N4Guke2d2R7yeR9ZHv7ZHuURkwsv8hOPjm1Hojl6FmJdMTr9nxaQUvLmvs/h99HEcUX0ozBxxHEvZKcJJLUzmNXesc2ZlBed0m3Fdeqp6Pbm+EA9e8iT0mj01TBW9ISq9qGvtR9O5p6A0qXhl9Rqn1ou/43o/xtbqPWIXB9rD2IB29DLBIDQ3oTdUvclhbZ0/RzEu869W5AL47+xauWq/QHIRxarWYT3CyB72wHsHI1GBTL38iMU8i7fNIBtnc0FPODEeaXNMJp3bstwn8Kt0MyoHD/jemgrR40HahtFR4Cn5jLNJTdoRsWPermHKzx4sTgawRHYtiRGHrlE8NbuUk2VWaMn0SWG00pzG0owU8CPnGQikt0DQKQc5EEp1I8I6xEZT0JjN8g2X8h8F6IfBe0fOf8FpzXgnt2uscil94e09r75+e/eEp7H1zt1mwBDgMbiJ/3rwUvm3Asj1VawDuR+xmJngnOL5EwGKtrZarm209vZ29E8sFtPRHFQRH3Qeyw1gn+h+29Dym+h401ehEids/TiXKDOAtQjHb+BgQKzD+Yh+MultqRLj8YXSrN6hSvCF3KR7oEuhxE+Lw/umRtZsZiFpvF2oxJAO0RRbkUM0BsBbQgIKp0INbpWWG5rAHxWE24qAl2hURSBoqORWlm/VuiXGW1DojyGEqwac21YVwY2rNlf63cj37Jtmm9dZtgWAKYurPQV1Siy/T+/O+0pl3YyCu8vlEcsJwVZu29MtY5NmJ5NmSz2ZLacVdKoHIzD2UsRqGxE+qj9J2MByUnvgkxLsuPIsS6dF9KQyapDY1yfSmcTs4oE8kmZBG4CqxI3o7MzCgLrklKkTopIaP5JJactHsucTkZxZmJTqnpTvmTnrJSn8JV40FUJOv4JCUZKiElKjsPOTMbOSNFKpwU/9TEdCn+FI+DXIZkONmow0AEMLbEzU9ZAjBJUlVqRClLHKw2jQpohBcKtZOoBxJ/SQZypg/p42HWNR4CZl20QcDMR/pomDFZMWJmACkDGTMfm40o/NptashP8igbk+GFXyW0i7pRWOHgWaMnztluZr69vYNzLXARq6BGgJeOfR4nyYUyJ7LBuXXh788p0FMEcAl6TLMFdM53q/JtFF5o8m5V/3AMT85SbxHfADg4czOjF+9hrqitTkPxVM+8wQvxWC3CV0FlArv4aK4cjLlSfIWzzJXi6/yRzJXQO/d25grYGYpIJ9nGcpG7zW4LYCKXa7r43spdLJYE0BawWDJ1uzQ4HnW7o2531O1SqTPy4x51uxJ0uzerWRAE4yW5BVywtGD8JQThSb2Z9YiWeB50GSVdcbnI/E108mMG5zdBur97IY2dQoG5wldeTCl67CB4bs94WLvYtgwk1aQuuvlWB3PgvncH0IfDeI7mlpMYadl3tL2U9ADe5cDGR68DGNz9dovG9xcXU/Rr6xKNJyPUm6LB1WTYvxsOaruEmT4aRM5DiPyw0Gr9+OggTFpMI0d/QQtrbTtIc5CJ8RwQA3xi6McC4z8gu6u0UJwgraJeLNmApLKykVs4cGHZd4QfsNAiKbD5Lg3YCXOxd+Q33V3oZsINAdkXuYOvNQpmzB9KjU+TqgQbTAQqBUKRqhf4IcjwiA3HZg0HR7gaKO8YW7FFDjElXeQAXTBRIKUjZT68w0qUv5ESFd57ANhZP/hbNvSoxuqsHT497w1uaEv8anS3rZ9FpkOosRifrIB1Ap9cVbiNWjfPWO3iY+VJ8/TZTXk5npSZevX9+ve7KRXO5UN34Kug0yK9WuLi4WTB08fB4xHZy0N31wQbpis80x91PP9aedQM0GiQBaEFUl4PNi/1onBQt6Ie7GA4ryGn9mtlkf02tgWyPEfjA7WmkDVMUMlG/St0t8COtrZDJzBY/GpHAZTjSoCH0/HVpHd3O/kn+svV6LJ37e1/8VfqLYnq8Ota8wIqEejD6ZC6XoqxM1sSWOY9XMNNRPiCeecJE2ko3Rafs9wbTm6nt9c/o5vh3XAyHDCpDaazXnpcf+O4709vqMWi+hPPwRc0X7O+1Zve6H57f5tCOVS5Z93AILauGSyvjSil2VZbSg6/TCfYFYEG8eRlBOEuHkp59ESWpYucNiJmEKiknFUoGIWwdCbK6ccYSX8L0rbN4KN/TCfpOPTY08FCbshtgwj5E0mA9EF3Ipz0ypwHeylsnpfug6dlQ3GsYR17bBuAZquR6MT0uoJ43Ip0OSBT8hQ8CCRqrpeBvqOLr7h/NNBFd3aPUnZzmnldJFq3Z1+7XGu2OYDlvrPB3klvexQE5EoO99WLu6tjHuXhG4fiCkfVBPrd+3ljyIIktZDotFvNqlKaN6ZnGNh+0rHzM9LmhJthBAzB5w9wCE66fFeJ6BavNUcvuGsS3vUhnTX7TtQenF97ZvcYQ+qRbkAGEvqGHrD5h0bsxK1Mmn3WJ8Q6B+ypp0L+FP6gjkGq/l0zq3K329mjQ6LM4oaQmPKDMySkzAKHjUunH2DXJTBB58C9WcVcA+nFHnlqPQbfAuCU4zx4C2ZxDpaWX3U1x0fmUJQ5kK02j8yBbrzhY9NIgxhLYonQn5g7nA8D6Lyja3F/yVqUmRgrPVBbcodkduTO5ck1WHeLwQ5Eu93KHZnofCTqCckhKcH5eFC1LKzhuTtCbba8LAmpuAEpxOpNp8MJ8V5mFy+xKXAl5mcloMUWSVl5TGggJIjZw9MkhSOIub1+ArwnVPGaZm7vkJoVmDrHWhIKUsdakmMtSVq+od/X1vvQ7W+Di4+1JH+KWpIVxPTBObSCcJooGMVeRXbzTQlFkYuB8XsNkL0AHX3pTY9h8qy0bHc7SomRJYHTi0+lEEaTiogaD7TiuBQfUwoWWOyXi1eYMTBl1ppbmrPkU7TWsFOEaUulr7Dap1Ad24Qhh5IUdraN8c4VQG8ddhAEHtJCD1l4cHMxvTsMPKBSP8oxALw9ecW4ta3OzkYdMiKQgeu0tERlkSEQmAIZgkR4d0qNhtJoN9pK6eXlni+ZExFiDl0IvikcOlar8QYldYXMbBzuJUDT2ZDwMaGRvfv+CdEEqG0ZDrtMMMVZpDTUtuo1vchb85UymNqW2mqRXLjP7Xkivm/iYkg2JT6/E2oL3Ep3Qm2BX4fthErHkM/ojwqiaXuqFDxa7scuEAdhudPLcHt3ubtxnUA3KaTj04atmY4vJ5JVVWJESWW3QfKC5Gi1sJzVAsRITNcUmPxRdP1o4h9N/KOJn8fEL65eHYKJHyRAfGATv6EoTeJaaZfcjd/LCNndxk8C8IHZ+O9cWq2I+pyrrW61VZrRebVcrk39D3/yXNYufe6D11NfvVM9tf/cK/MRsBciBOhZt9cO0MJslj9L70P3Kw9z471yIECjP3vn8qgcV3dxVhIa1bKbw9+M0a/xo4t69vJgMvfeq7DWxE/eKS8EEtRXluKtbFIem7gDSO34BbI5s5AaOcbK2+2KHovAz2uYod152gH5XX9ZAoJkVeBelVyBK95laF/VqQCYlszLutHdpHdzP+3fX/cmdJXpamVb2mxBaJKaltrqwNt6hXFlqlAhcW67fUvIDbJ3b+HndTAlrM3GtiWsbAKBYP92pcs45QOj/zu/kblAKu9ar8otjnB9EhwNpdejZvZZFnZZ5hiRCp8cDIhZVi6zZtf+ymVkxGX0Vk7prJy3r3J6V2U+3Si7o/JmV2hmueJpQzGXVNA+eQQBHBfcghA/SmqpHDRUHoE45Xeb9yGyfiQ9lCcjUu/ofaVOxsqpBa8naqSc0Eb5UwZWD65SVI5CYjRzVbrtllJiQHNqzYB9oaB7F2dcsicL7jI+XVr/Ibu5h1uUp28qnqIpj0grI+TAcNiO6625Guok2hlsE5z879Nf27Z3ygKtaa697vvVDmSHzza9w2eys4/rBgov5NVI5nACxnAVcrDIG+8jli4ruwfP99aUWmm1unLXi0uzTj2KCGi1mA1kxhqeyhLwSBLmpr21wszjjB72mR3sC/avz+5en6N3fd7O9XlyjYWiPxUoqeI+43FZsphdIT67+FMK4sPazvXI9N6A6TWUjtQgbEpW4B++yY1A3ubnggpp+3zkgkcu+Fm44FuZINH7M+6dttyqqqUZIN91kN7gan+KhbaoMyVFtkgMKx7CusOOGz86wc7acPca8LpMD3iRQA9ROtOaqEIoyE07b3uzyNWHtS5sjBG98VXuVwbs+uFAShRpg5grJpMVEHqz8JoH0bM8MaxLTNw2hR8QLkmuZ7SlzfhIN8sJgr11N4aLAG+2DUAxOHiZhYP5F/C3N1hAudukVtB4+JgrGEK9lBX8Vt4Kno8RkS+WQRzTe13GJk2Iy+W/Lp/+/UGX8luJS3lR6lIOdO1N1lL6NGt5UeJaDktcS9I8/Qb0awRBffyC+poxWxO1c77flVWS2sd90KUNluNNkzYs+0mDZDLWOupf30/vhpOSHCpKSgf0VktSiO9TyhXHZDdFZIq+Wi2SzdosNyfAN0eIW263Cq+URIvSQsFbbLd7DAWXEQqWdg0Fi7bVzdhUN3VL3b3EgDN9boDasqQmbLV2DD98lvAD62p6q1JRJbVWNBIiCmHuBaVImkxqbjVcJJZ22ZK3o0pezJ+t5Pes1y36s8et8VK2rxTLtYTQwfjXSnh9Wwp3lviXbv6+dv7Noneu/bqTGU0Kq/EX+rhf96fosSQoGolxp0PkV7JMcyy5szvLokdUm9uNWArXUuWGXO1yXOu3bbnW5WFxLfDrRWzLePhde6bZ1mdCSLl8jJTfT5A2OhIpzGJQknIiboGX3w4ML5uROPU9W58SLZXS+eR2I5aElJDRyW/vQrtDt8DKiwPDSunPgJVqt2ys3G7EcqR3V262qnwaotizuwWSDg8LSQkL8HFULgk9DyzbhH9DUvMSOHzfL8cEfiRlmahSt9koMc8dkmzwM2nkMtc1SBpwXH2GSEDD2+0I4IDAcW95ezq+Qo6Zq3G5KH42yH7zUAbYmdm6lyQfP/md4GhJ2ShM3CFCgUq+vVCiFI8yS2198HrVx18ObIdmKjEFydIXVS0cYrLsObYJFuYKYm0iQIPeN3+/mFtlz2GzJoIwqGXUr7cOn4mTh5h7MzOVPDDtM5+pvLjYee8OwmL/LCkuJqdt5tvtkDYhuZvV0SGlfLpAUi3mOErP7Shqm9dPASkPPgp2LIg8FkS+TUFkzmAYOKmPwbDPWovzTuZpWvBqIznUnD63ZuZw3e2HK8UuVSSlE/MqM9Iov/0ZaFgHY4BGLmVfG2PXgthyENqH94HVIC9U2EY9CHtv06mZaZnVabc9b0NJ5t7Y0ExkPYJ/AmwB1pSjTxUsaSa3AiNAtxtoZxY2M4ZhzDTkVGRRAy5hCy6xFchp4rwlGNqCaW+S3n8rp9mXZngwlyXsrts7P+95JtA3SzO+ID92hK4tJ3k31GTTTnCUtWuS7VyntPluNtUVbP+6fa8s4axz28cxC7nQkIUAUC9hYeIZm6UsDcGx7fGHJbbDo6V+r8fQUs9xF0sNXLmm9oSXcOWRorJW/EhR70hRrN+G89ykNMzIkOTD0EteXI6/t/SkEvfJx9uGfm0sLVMDw+pxbXoqGiLFjc6HR/KzaJ3QBGuOeBf1xMaMmfBBf7G9Uf+6M6CKzWpg19AYm+YrGoObAiZ3C84KMFKqyMTEGe7/0vx2Goe4iHsYcmVbz3qCwzzr+msIlvv3BMDcPPPnAMgDG310VbB6gR+IJpgUhXj3pSs2f0n6QhdivY94EPv888Rue5Nft/X3N8S7HzWVRqddOOSb2gtmMryY7NYLpuDsmI7zpcwvn/9I1Esqkh9kcrtsOxMJ23wbz3C9I/PmRcSfEXNM5dsVSIbMcSnYFoh95fS+V2lbBmXGZ1IiNDFkUKJP7kolMjyXrJzceLLRZhtPwlTSW09mNp9MbT+ZvwFlVgvK1HxsYe0RS3Q5crM5Xh0UHYXSM16DBNf4hUeeOE2oQsqoQyLTiu/KkiMDPBbni4dghNv1XN/2827XMx1wFxdleyrjhaY5FjA6RVaqOTbJUZq8c7sHqkvvCaMb/QWUwt5sTbqm3YOfmHtYvoR94Q5E42t27gGOFNRR323Xncn0dvT2m6fK6VurtDv+n5zbqrDNefNJvLwttqRGC+6T1C33W6HMqA+540pqa8Bt9ikp1M2Ju3jnjnbfbq+3VjzFneybTcj0yImqKh15LBFPlU5XbkGMkU/SH75ge6Y7pKGsayHDcjD6wZWSsLgs7P0dxBRyd8438Q9REstZ9LAZLCLwRnFSi6CP6LHi+6M3//6zVHzvozHnHtmY/M58rCG15BbZlTXWFZmLuxTkX1Ec5xD416G0KYxelFa4W922CulW5e3CZYLpuPa3euZSCuhTOVMKkruNR9G6877nsI5hCwIt21rbM+zlrSOdejAKPKFzNF/bRE5q86UOxE2yydPai2e+S89/l7mOXe+h2BfFBM5r08EGedYy2Acj9hLPILPjscUt/HHpm5pfjTa7pxbNoErcOjxl8xLgI1KtW1MTPE0roAR46+F8PfNoguzpE2k2YNm1iGDiO/Bj47FKPBRj7uainMHHmdx8Ia6Vl7G7/AdYCLUDAqIdZ82+r2hsW0trG/D39gT+N9vMMBKEbC8lpSFVO6Vx0U3AleOhdCQ2Z5EN31n1zfcOvOgNgDEShwhG3xMZ3fvWrhQOrg784ig9s3MZE10lQOiDrm3NFpY5t3VXd/YAiNijB+GzqavSm7dBIMDzASdGl3Z44SLAju2ndCgYU+pgwihu3hiubxVtIrieGSSI4L71fpmiyO3WKXyHzyKkriBYu/eehEVjlTtEKksqvi2l5qrb9WxYRnYyu60U25DQk1TZuxHS4cpcWg87Lqfz5NuMhxiaEtnxRq5KTbZR3HZ78xx9akef2sfwqeWKWRaJWO4Ur3zDaGWuYq68kUrfsxrTq/jVSo5DCqOQiTHIIkk26XbyTuk1HUm0bgrIo06smUyCgr+DQcfUPeXegOqtIrKMOz4u05sNInjzRWPhOXuLxyodRelC9IAnn80C7RCnZWT9foO0sSJXbq+5LUK1YZ2f2lTU0nd25uxUzngU7iRcCNzCfDByxrubhXBunrIDFRWmIy7lKkR+1nXp29W79xpSgeyAa/FPjCG9eB1CZwA/RAzzC+B+Cn7uTP8QPGwBsai89PTIJI5ODwn5CZGbMDFDQXhbelpD5IJMuzA1oSHFX+ll30G4gmyNTTpJnTHnT+u+6NaMgTVbk2jH2f8Dm+4j5mYeAQA=", + "hash": "ZDAzOGQzZWY5MjIxOGY1NDg2Y2YwNmFiOWQ2NTdhODYxYzQ4ZGM4OQ==" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/d354a122-c1fc-fecf-b620-ed4918aa1e63" } - } - ] - }, - "request": { - "method": "PUT", - "url": "DocumentReference/453a2c11-25b2-6ed5-d292-d0a1abbbc622" - } - } - ] + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/C-CDA_R2-1_CCD.xml-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/C-CDA_R2-1_CCD.xml-expected.json index 7a7da9193..cafc91f01 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/C-CDA_R2-1_CCD.xml-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/C-CDA_R2-1_CCD.xml-expected.json @@ -1,4 +1,4 @@ -{ +{ "resourceType": "Bundle", "type": "batch", "entry": [ @@ -21,13 +21,13 @@ } ] }, - "date": "2013-08-16T02:30:00+08:00", + "date": "2013-08-15T10:30:00-08:00", "title": "Patient Chart Summary", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2013-08-16T14:36:15+08:00", + "time": "2013-08-15T22:36:15-08:00", "party": { "reference": "Practitioner/b0ac12ce-9e58-22b8-f79a-aba2409dac02" } @@ -637,7 +637,7 @@ ] } ], - "onset": "2008-02-27T00:05:00+08:00" + "onset": "2008-02-26T08:05:00-08:00" } ], "onsetDateTime": "1998-05-01", @@ -1022,8 +1022,8 @@ ] }, "effectivePeriod": { - "start": "2008-03-20T00:30:00+08:00", - "end": "2008-03-20T00:30:00+08:00" + "start": "2008-03-19T08:30:00-08:00", + "end": "2008-03-19T08:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1087,7 +1087,7 @@ } ] }, - "effectiveDateTime": "2008-03-20T00:30:00+08:00", + "effectiveDateTime": "2008-03-19T08:30:00-08:00", "valueQuantity": { "value": 13.2, "unit": "g/dL" @@ -1199,7 +1199,7 @@ } ] }, - "effectiveDateTime": "2008-03-20T00:30:00+08:00", + "effectiveDateTime": "2008-03-19T08:30:00-08:00", "valueQuantity": { "value": 6.7, "unit": "10*9/L" @@ -1276,7 +1276,7 @@ } ] }, - "effectiveDateTime": "2008-03-20T00:30:00+08:00", + "effectiveDateTime": "2008-03-19T08:30:00-08:00", "valueQuantity": { "value": 123, "unit": "10*9/L" @@ -1353,7 +1353,7 @@ } ] }, - "effectiveDateTime": "2008-03-20T00:30:00+08:00", + "effectiveDateTime": "2008-03-19T08:30:00-08:00", "valueQuantity": { "value": 35.3, "unit": "%" @@ -1430,7 +1430,7 @@ } ] }, - "effectiveDateTime": "2008-03-20T00:30:00+08:00", + "effectiveDateTime": "2008-03-19T08:30:00-08:00", "valueQuantity": { "value": 4.21, "unit": "10*12/L" @@ -1492,8 +1492,8 @@ ] }, "effectivePeriod": { - "start": "2008-03-21T01:30:00+08:00", - "end": "2008-03-21T01:30:00+08:00" + "start": "2008-03-20T09:30:00-08:00", + "end": "2008-03-20T09:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1544,7 +1544,7 @@ } ] }, - "effectiveDateTime": "2008-03-21T01:30:00+08:00", + "effectiveDateTime": "2008-03-20T09:30:00-08:00", "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" } @@ -3120,7 +3120,7 @@ } ] }, - "date": "2021-07-02T05:38:36.096Z", + "date": "2022-03-25T08:35:30.332Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-Parent-Document-Replace-C-CDAR2.1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-Parent-Document-Replace-C-CDAR2.1-expected.json index a61fa9c8e..08064d6f0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-Parent-Document-Replace-C-CDAR2.1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-Parent-Document-Replace-C-CDAR2.1-expected.json @@ -1,4 +1,4 @@ -{ +{ "resourceType": "Bundle", "type": "batch", "entry": [ @@ -21,7 +21,7 @@ } ] }, - "date": "2015-07-23T07:00:00+08:00", + "date": "2015-07-22T18:00:00-05:00", "title": "CCD Demonstrating Replacement of Prior CCD", "confidentiality": "N", "attester": [ @@ -36,8 +36,8 @@ "event": [ { "period": { - "start": "2015-07-23T07:00:00+08:00", - "end": "2015-07-23T12:00:00+08:00" + "start": "2015-07-22T18:00:00-05:00", + "end": "2015-07-22T23:00:00-05:00" } } ], @@ -465,8 +465,8 @@ } ], "period": { - "start": "2015-07-23T07:00:00+08:00", - "end": "2015-07-23T12:00:00+08:00" + "start": "2015-07-22T18:00:00-05:00", + "end": "2015-07-22T23:00:00-05:00" } }, "request": { @@ -975,7 +975,7 @@ } ] }, - "date": "2021-07-02T05:38:36.183Z", + "date": "2022-03-25T08:35:30.84Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-expected.json index 1b502f880..b639b0875 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/CCD-expected.json @@ -1,4 +1,4 @@ -{ +{ "resourceType": "Bundle", "type": "batch", "entry": [ @@ -21,13 +21,13 @@ } ] }, - "date": "2014-10-15T23:30:26+08:00", + "date": "2014-10-15T10:30:26-05:00", "title": "Summary of Patient Chart", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2014-10-15T23:30:26+08:00", + "time": "2014-10-15T10:30:26-05:00", "party": { "reference": "Practitioner/b0ac12ce-9e58-22b8-f79a-aba2409dac02" } @@ -37,7 +37,7 @@ { "period": { "start": "2014-10-01", - "end": "2014-10-15T23:30:26+08:00" + "end": "2014-10-15T10:30:26-05:00" } } ], @@ -622,7 +622,7 @@ } ] }, - "effectiveDateTime": "2014-10-15T23:30:26+08:00", + "effectiveDateTime": "2014-10-15T10:30:26-05:00", "subject": { "reference": "Patient/03a91833-bc93-2b74-b2a0-7851c2c34ebc" } @@ -668,7 +668,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueCodeableConcept": { "coding": [ { @@ -723,7 +723,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 120, "unit": "mm[Hg]" @@ -773,7 +773,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 80, "unit": "mm[Hg]" @@ -823,7 +823,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 80, "unit": "/min" @@ -873,7 +873,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 37.2, "unit": "Cel" @@ -923,7 +923,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 18, "unit": "/min" @@ -973,7 +973,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 170.2, "unit": "cm" @@ -1023,7 +1023,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 108.863, "unit": "kg" @@ -1073,7 +1073,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 37.58, "unit": "kg/m2" @@ -1123,7 +1123,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "valueQuantity": { "value": 98, "unit": "%" @@ -1164,8 +1164,8 @@ ] }, "performedPeriod": { - "start": "2014-10-02T23:30:26+08:00", - "end": "2014-10-03T01:42:45+08:00" + "start": "2014-10-02T10:30:26-05:00", + "end": "2014-10-02T12:42:45-05:00" }, "bodySite": [ { @@ -1259,7 +1259,7 @@ } ] }, - "effectiveDateTime": "2014-10-01T23:30:26+08:00", + "effectiveDateTime": "2014-10-01T10:30:26-05:00", "bodySite": { "coding": [ { @@ -1301,7 +1301,7 @@ } ] }, - "date": "2021-07-02T05:38:36.225Z", + "date": "2022-03-25T08:35:31.259Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/CDA_with_Embedded_PDF-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/CDA_with_Embedded_PDF-expected.json index 8600331bb..51c079c4a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/CDA_with_Embedded_PDF-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/CDA_with_Embedded_PDF-expected.json @@ -21,7 +21,7 @@ } ] }, - "date": "2014-08-01T07:22:00+08:00", + "date": "2014-07-31T17:22:00-06:00", "title": "Personal Advance Care Document", "confidentiality": "N", "subject": { @@ -345,7 +345,7 @@ } ] }, - "date": "2021-07-02T05:38:38.901Z", + "date": "2022-03-25T08:35:32.707Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Care_Plan-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Care_Plan-expected.json index 5e9b7128f..b6a886391 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Care_Plan-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Care_Plan-expected.json @@ -21,7 +21,7 @@ } ] }, - "date": "2013-08-21T03:20:00+08:00", + "date": "2013-08-20T11:20:00-08:00", "title": "Good Health Hospital Care Plan", "confidentiality": "N", "attester": [ @@ -456,7 +456,7 @@ } ] }, - "date": "2021-07-02T05:38:38.755Z", + "date": "2022-03-25T08:35:32.835Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Consultation_Note-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Consultation_Note-expected.json index 97b3529cc..6aca2261e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Consultation_Note-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Consultation_Note-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2013-08-01T21:00:00+08:00", + "date": "2013-08-01T05:00:00-08:00", "title": "Community Health Consult Note", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2013-08-02T14:36:15+08:00", + "time": "2013-08-01T22:36:15-08:00", "party": { "reference": "Practitioner/08161958-acd8-1ccb-1416-a6a3b9a2c973" } @@ -629,7 +629,7 @@ ] } ], - "onset": "2008-02-27T00:05:00+08:00" + "onset": "2008-02-26T08:05:00-08:00" } ], "onsetDateTime": "1998-05-01", @@ -997,8 +997,8 @@ ] }, "effectivePeriod": { - "start": "2013-03-12T00:30:00+08:00", - "end": "2013-03-12T00:30:00+08:00" + "start": "2013-03-11T08:30:00-08:00", + "end": "2013-03-11T08:30:00-08:00" }, "subject": { "reference": "Patient/b6d7e193-338c-f580-36eb-156f27ed3541" @@ -1062,7 +1062,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 13.2, "unit": "g/dL" @@ -1174,7 +1174,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 6.7, "unit": "10*9/L" @@ -1251,7 +1251,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 123, "unit": "10*9/L" @@ -1328,7 +1328,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 35.3, "unit": "%" @@ -1405,7 +1405,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 4.21, "unit": "10*12/L" @@ -1467,8 +1467,8 @@ ] }, "effectivePeriod": { - "start": "2008-03-21T01:30:00+08:00", - "end": "2008-03-21T01:30:00+08:00" + "start": "2008-03-20T09:30:00-08:00", + "end": "2008-03-20T09:30:00-08:00" }, "subject": { "reference": "Patient/b6d7e193-338c-f580-36eb-156f27ed3541" @@ -1519,7 +1519,7 @@ } ] }, - "effectiveDateTime": "2008-03-21T01:30:00+08:00", + "effectiveDateTime": "2008-03-20T09:30:00-08:00", "subject": { "reference": "Patient/b6d7e193-338c-f580-36eb-156f27ed3541" } @@ -2416,7 +2416,7 @@ } ] }, - "date": "2021-07-02T05:38:39.018Z", + "date": "2022-03-25T08:35:31.086Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Unstructured_Document_embed-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Unstructured_Document_embed-expected.json index 528ba6c1c..9f6d2e817 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Unstructured_Document_embed-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ConsultationNote/Unstructured_Document_embed-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2012-09-17T07:18:00+08:00", + "date": "2012-09-16T19:18:00-04:00", "title": "Community Health and Hospitals: Discharge Summary (UD)", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2009-02-28T02:00:00+08:00", + "time": "2009-02-27T13:00:00-05:00", "party": { "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } @@ -363,7 +363,7 @@ } ] }, - "date": "2021-07-02T05:38:39.827Z", + "date": "2022-03-25T08:35:32.432Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Consult-Document-Closing-Referral-C-CDAR2.1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Consult-Document-Closing-Referral-C-CDAR2.1-expected.json index be198b582..baa7cf3b1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Consult-Document-Closing-Referral-C-CDAR2.1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Consult-Document-Closing-Referral-C-CDAR2.1-expected.json @@ -21,7 +21,7 @@ } ] }, - "date": "2018-06-24T01:00:00+08:00", + "date": "2018-06-23T09:00:00-08:00", "title": "Community Health Consult Note", "confidentiality": "N", "subject": { @@ -367,7 +367,7 @@ } ] }, - "date": "2021-07-02T05:38:40.839Z", + "date": "2022-03-25T08:35:32.049Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Discharge_Summary-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Discharge_Summary-expected.json index 7499981d9..6226c1ecf 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Discharge_Summary-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/DischargeSummary/Discharge_Summary-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2014-09-18T08:04:00+08:00", + "date": "2014-09-17T19:04:00-05:00", "title": "Community Health and Hospitals: Discharge Summary", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2014-09-18T08:04:00+08:00", + "time": "2014-09-17T19:04:00-05:00", "party": { "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } @@ -36,8 +36,8 @@ "event": [ { "period": { - "start": "2014-09-10T08:04:00+08:00", - "end": "2014-09-17T08:04:00+08:00" + "start": "2014-09-09T19:04:00-05:00", + "end": "2014-09-16T19:04:00-05:00" } } ], @@ -481,8 +481,8 @@ } ], "period": { - "start": "2014-09-10T08:04:00+08:00", - "end": "2014-09-17T08:04:00+08:00" + "start": "2014-09-09T19:04:00-05:00", + "end": "2014-09-16T19:04:00-05:00" }, "hospitalization": { "dischargeDisposition": { @@ -1115,8 +1115,8 @@ ] }, "performedPeriod": { - "start": "2014-09-10T22:22:05+08:00", - "end": "2014-09-11T00:15:14+08:00" + "start": "2014-09-10T09:22:05-05:00", + "end": "2014-09-10T11:15:14-05:00" }, "bodySite": [ { @@ -1174,7 +1174,7 @@ } ] }, - "effectiveDateTime": "2014-09-16T21:45:00+08:00", + "effectiveDateTime": "2014-09-16T08:45:00-05:00", "valueQuantity": { "value": 177, "unit": "cm" @@ -1234,7 +1234,7 @@ } ] }, - "effectiveDateTime": "2014-09-16T21:45:00+08:00", + "effectiveDateTime": "2014-09-16T08:45:00-05:00", "valueQuantity": { "value": 86, "unit": "kg" @@ -1294,7 +1294,7 @@ } ] }, - "effectiveDateTime": "2014-09-16T21:45:00+08:00", + "effectiveDateTime": "2014-09-16T08:45:00-05:00", "valueQuantity": { "value": 80, "unit": "mm[Hg]" @@ -1354,7 +1354,7 @@ } ] }, - "effectiveDateTime": "2014-09-16T21:45:00+08:00", + "effectiveDateTime": "2014-09-16T08:45:00-05:00", "valueQuantity": { "value": 55, "unit": "mm[Hg]" @@ -1413,7 +1413,7 @@ } ] }, - "effectiveDateTime": "2014-09-11T01:54:00+08:00", + "effectiveDateTime": "2014-09-10T12:54:00-05:00", "valueCodeableConcept": { "coding": [ { @@ -1610,7 +1610,7 @@ ], "status": "in-progress", "effectivePeriod": { - "start": "2014-09-17T02:00:00+08:00" + "start": "2014-09-16T13:00:00-05:00" }, "dosage": { "route": { @@ -1672,7 +1672,7 @@ } ] }, - "date": "2021-07-02T05:38:41.132Z", + "date": "2022-03-25T08:35:32.587Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/Diagnostic_Imaging_Report-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/Diagnostic_Imaging_Report-expected.json index b62597b0a..e745c9aee 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/Diagnostic_Imaging_Report-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/Diagnostic_Imaging_Report-expected.json @@ -1,496 +1,496 @@ { - "resourceType": "Bundle", - "type": "batch", - "entry": [ - { - "fullUrl": "urn:uuid:c36a2594-cac7-3ab2-6df3-9a1c8a069958", - "resource": { - "resourceType": "Composition", - "id": "c36a2594-cac7-3ab2-6df3-9a1c8a069958", - "identifier": { - "use": "official", - "value": "2.16.840.1.113883.19.4.27" - }, - "status": "final", - "type": { - "coding": [ - { - "code": "18748-4", - "display": "Diagnostic Imaging Report", - "system": "http://loinc.org" + "resourceType": "Bundle", + "type": "batch", + "entry": [ + { + "fullUrl": "urn:uuid:79229697-621c-1df6-55ec-f6e52c9fb4aa", + "resource": { + "resourceType": "Composition", + "id": "79229697-621c-1df6-55ec-f6e52c9fb4aa", + "identifier": { + "use": "official", + "value": "2.16.840.1.113883.19.4.27" + }, + "status": "final", + "type": { + "coding": [ + { + "code": "18748-4", + "display": "Diagnostic Imaging Report", + "system": "http://loinc.org" + } + ] + }, + "date": "2005-03-29T17:15:04-05:00", + "title": "Chest X-Ray, PA and LAT View", + "confidentiality": "N", + "attester": [ + { + "mode": "legal", + "time": "2005-03-29T22:44:11-05:00", + "party": { + "reference": "Practitioner/e1ba9b33-b82e-7558-1732-131914e8e2cc" + } + } + ], + "event": [ + { + "period": { + "start": "2006-08-23T22:24:00-05:00" + } + } + ], + "section": [ + { + "title": "DICOM Object Catalog", + "text": { + "status": "generated", + "div": "
DICOM Object Catalog
" + }, + "code": { + "coding": [ + { + "code": "121181", + "display": "DICOM Object Catalog", + "system": "urn:oid:1.2.840.10008.2.16.4" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Indications for Procedure", + "text": { + "status": "generated", + "div": "
Indications for Procedure
" + }, + "code": { + "coding": [ + { + "code": "121109", + "display": "Indications for Procedure", + "system": "urn:oid:1.2.840.10008.2.16.4" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "History", + "text": { + "status": "generated", + "div": "
History
" + }, + "code": { + "coding": [ + { + "code": "11329-0", + "display": "History", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Findings", + "text": { + "status": "generated", + "div": "
Findings
" + }, + "code": { + "coding": [ + { + "code": "121070", + "display": "Findings", + "system": "urn:oid:1.2.840.10008.2.16.4" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Impressions", + "text": { + "status": "generated", + "div": "
Impressions
" + }, + "code": { + "coding": [ + { + "code": "121072", + "display": "Impressions", + "system": "urn:oid:1.2.840.10008.2.16.4" + } + ] + }, + "mode": "snapshot" + } + ], + "subject": { + "reference": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" + }, + "encounter": { + "reference": "Encounter/b4d9de2a-5f31-773c-6bc9-a19ddc23af7d" + }, + "custodian": { + "reference": "Organization/93f37570-5790-ddaa-f614-1a827f39d4ce" + }, + "author": [ + { + "reference": "Practitioner/7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Composition/79229697-621c-1df6-55ec-f6e52c9fb4aa" } - ] }, - "date": "2005-03-30T06:15:04+08:00", - "title": "Chest X-Ray, PA and LAT View", - "confidentiality": "N", - "attester": [ - { - "mode": "legal", - "time": "2005-03-30T11:44:11+08:00", - "party": { - "reference": "Practitioner/e1ba9b33-b82e-7558-1732-131914e8e2cc" - } - } - ], - "event": [ - { - "period": { - "start": "2006-08-23T22:24:00" - } - } - ], - "section": [ - { - "title": "DICOM Object Catalog", - "text": { - "status": "generated", - "div": "
DICOM Object Catalog
" - }, - "code": { - "coding": [ - { - "code": "121181", - "display": "DICOM Object Catalog", - "system": "urn:oid:1.2.840.10008.2.16.4" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Indications for Procedure", - "text": { - "status": "generated", - "div": "
Indications for Procedure
" - }, - "code": { - "coding": [ - { - "code": "121109", - "display": "Indications for Procedure", - "system": "urn:oid:1.2.840.10008.2.16.4" - } - ] + { + "fullUrl": "urn:uuid:e1ba9b33-b82e-7558-1732-131914e8e2cc", + "resource": { + "resourceType": "Practitioner", + "id": "e1ba9b33-b82e-7558-1732-131914e8e2cc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19.5", + "value": "KP00017" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ] + } + ], + "address": [ + { + "line": [ + "21 North Ave." + ], + "city": "Burlington", + "state": "MA", + "country": "USA", + "postalCode": "02368" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(555)555-1003", + "use": "work" + } + ] }, - "mode": "snapshot" - }, - { - "title": "History", - "text": { - "status": "generated", - "div": "
History
" - }, - "code": { - "coding": [ - { - "code": "11329-0", - "display": "History", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Findings", - "text": { - "status": "generated", - "div": "
Findings
" - }, - "code": { - "coding": [ - { - "code": "121070", - "display": "Findings", - "system": "urn:oid:1.2.840.10008.2.16.4" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Impressions", - "text": { - "status": "generated", - "div": "
Impressions
" - }, - "code": { - "coding": [ - { - "code": "121072", - "display": "Impressions", - "system": "urn:oid:1.2.840.10008.2.16.4" - } - ] - }, - "mode": "snapshot" - } - ], - "subject": { - "reference": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" - }, - "encounter": { - "reference": "Encounter/b4d9de2a-5f31-773c-6bc9-a19ddc23af7d" + "request": { + "method": "PUT", + "url": "Practitioner/e1ba9b33-b82e-7558-1732-131914e8e2cc" + } }, - "custodian": { - "reference": "Organization/93f37570-5790-ddaa-f614-1a827f39d4ce" + { + "fullUrl": "urn:uuid:b4d9de2a-5f31-773c-6bc9-a19ddc23af7d", + "resource": { + "resourceType": "Encounter", + "id": "b4d9de2a-5f31-773c-6bc9-a19ddc23af7d", + "status": "unknown", + "identifier": [ + { + "system": "urn:oid:1.3.6.4.1.4.1.2835.12", + "value": "9937012" + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/b4d9de2a-5f31-773c-6bc9-a19ddc23af7d" + } }, - "author": [ - { - "reference": "Practitioner/7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2" - } - ] - }, - "request": { - "method": "PUT", - "url": "Composition/c36a2594-cac7-3ab2-6df3-9a1c8a069958" - } - }, - { - "fullUrl": "urn:uuid:e1ba9b33-b82e-7558-1732-131914e8e2cc", - "resource": { - "resourceType": "Practitioner", - "id": "e1ba9b33-b82e-7558-1732-131914e8e2cc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] + { + "fullUrl": "urn:uuid:93f37570-5790-ddaa-f614-1a827f39d4ce", + "resource": { + "resourceType": "Organization", + "id": "93f37570-5790-ddaa-f614-1a827f39d4ce", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:2.16.840.1.113883.19.5" + } + ], + "name": "Good Health Clinic", + "address": [ + { + "use": "work", + "line": [ + "17 Daws Rd." + ], + "city": "Blue Bell", + "state": "MA", + "country": "USA", + "postalCode": "02368" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(555)555-1212", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/93f37570-5790-ddaa-f614-1a827f39d4ce" + } }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19.5", - "value": "KP00017" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ] - } - ], - "address": [ - { - "line": [ - "21 North Ave." - ], - "city": "Burlington", - "state": "MA", - "country": "USA", - "postalCode": "02368" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(555)555-1003", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e1ba9b33-b82e-7558-1732-131914e8e2cc" - } - }, - { - "fullUrl": "urn:uuid:b4d9de2a-5f31-773c-6bc9-a19ddc23af7d", - "resource": { - "resourceType": "Encounter", - "id": "b4d9de2a-5f31-773c-6bc9-a19ddc23af7d", - "status": "unknown", - "identifier": [ - { - "system": "urn:oid:1.3.6.4.1.4.1.2835.12", - "value": "9937012" - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/b4d9de2a-5f31-773c-6bc9-a19ddc23af7d" - } - }, - { - "fullUrl": "urn:uuid:93f37570-5790-ddaa-f614-1a827f39d4ce", - "resource": { - "resourceType": "Organization", - "id": "93f37570-5790-ddaa-f614-1a827f39d4ce", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:2.16.840.1.113883.19.5" - } - ], - "name": "Good Health Clinic", - "address": [ - { - "use": "work", - "line": [ - "17 Daws Rd." - ], - "city": "Blue Bell", - "state": "MA", - "country": "USA", - "postalCode": "02368" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(555)555-1212", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/93f37570-5790-ddaa-f614-1a827f39d4ce" - } - }, - { - "fullUrl": "urn:uuid:7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2", - "resource": { - "resourceType": "Practitioner", - "id": "7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] + { + "fullUrl": "urn:uuid:7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2", + "resource": { + "resourceType": "Practitioner", + "id": "7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "KP00017" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ] + } + ], + "address": [ + { + "line": [ + "21 North Ave." + ], + "city": "Burlington", + "state": "MA", + "country": "USA", + "postalCode": "02368" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(555)555-1003", + "use": "work" + } + ], + "qualification": [ + { + "code": { + "coding": [ + { + "code": "200000000X", + "display": "Allopathic & Osteopathic Physicians", + "system": "http://nucc.org/provider-taxonomy" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2" + } }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "KP00017" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ] - } - ], - "address": [ - { - "line": [ - "21 North Ave." - ], - "city": "Burlington", - "state": "MA", - "country": "USA", - "postalCode": "02368" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(555)555-1003", - "use": "work" - } - ], - "qualification": [ - { - "code": { - "coding": [ - { - "code": "200000000X", - "display": "Allopathic & Osteopathic Physicians", - "system": "http://nucc.org/provider-taxonomy" - } - ] + { + "fullUrl": "urn:uuid:ed5160e5-df41-5e17-49f6-a8e0873676bc", + "resource": { + "resourceType": "Patient", + "id": "ed5160e5-df41-5e17-49f6-a8e0873676bc", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19.5", + "value": "12345" + } + ], + "name": [ + { + "use": "usual", + "family": "Everyman", + "given": [ + "Adam" + ] + } + ], + "birthDate": "1954-11-25", + "gender": "male", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "17 Daws Rd." + ], + "city": "Blue Bell", + "state": "MA", + "country": "USA", + "postalCode": "02368" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(781)555-1212", + "use": "home" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/7876b236-bb9c-7e0b-4e50-d35b6f2ed1b2" - } - }, - { - "fullUrl": "urn:uuid:ed5160e5-df41-5e17-49f6-a8e0873676bc", - "resource": { - "resourceType": "Patient", - "id": "ed5160e5-df41-5e17-49f6-a8e0873676bc", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19.5", - "value": "12345" - } - ], - "name": [ - { - "use": "usual", - "family": "Everyman", - "given": [ - "Adam" - ] - } - ], - "birthDate": "1954-11-25", - "gender": "male", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino" + { + "fullUrl": "urn:uuid:c381d143-1762-43d8-9fb2-df8fc9e51d77", + "resource": { + "resourceType": "RelatedPerson", + "id": "c381d143-1762-43d8-9fb2-df8fc9e51d77", + "relationship": [ + { + "coding": [ + { + "code": "GRFTH", + "display": "Grandfather", + "system": "urn:oid:2.16.840.1.113883.5.111" + } + ] + } + ], + "name": [ + { + "family": "Relative", + "given": [ + "Ralph" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "(781)555-1212", + "use": "home" + } + ], + "address": [ + { + "use": "home", + "line": [ + "17 Daws Rd." + ], + "city": "Blue Bell", + "state": "MA", + "country": "USA", + "postalCode": "02368" + } + ], + "patient": { + "reference": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ] - } - ], - "address": [ - { - "use": "home", - "line": [ - "17 Daws Rd." - ], - "city": "Blue Bell", - "state": "MA", - "country": "USA", - "postalCode": "02368" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(781)555-1212", - "use": "home" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "system": "urn:ietf:bcp:47" - } - ] }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" - } - }, - { - "fullUrl": "urn:uuid:c381d143-1762-43d8-9fb2-df8fc9e51d77", - "resource": { - "resourceType": "RelatedPerson", - "id": "c381d143-1762-43d8-9fb2-df8fc9e51d77", - "relationship": [ - { - "coding": [ - { - "code": "GRFTH", - "display": "Grandfather", - "system": "urn:oid:2.16.840.1.113883.5.111" - } - ] - } - ], - "name": [ - { - "family": "Relative", - "given": [ - "Ralph" - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "(781)555-1212", - "use": "home" - } - ], - "address": [ - { - "use": "home", - "line": [ - "17 Daws Rd." - ], - "city": "Blue Bell", - "state": "MA", - "country": "USA", - "postalCode": "02368" - } - ], - "patient": { - "reference": "Patient/ed5160e5-df41-5e17-49f6-a8e0873676bc" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/c381d143-1762-43d8-9fb2-df8fc9e51d77" - } - }, - { - "fullUrl": "urn:uuid:24cabcdf-dc86-0e48-59d9-3c8000a27726", - "resource": { - "resourceType": "DocumentReference", - "id": "24cabcdf-dc86-0e48-59d9-3c8000a27726", - "type": { - "coding": [ - { - "code": "18748-4", - "display": "Diagnostic Imaging Report", - "system": "http://loinc.org" + "request": { + "method": "PUT", + "url": "RelatedPerson/c381d143-1762-43d8-9fb2-df8fc9e51d77" } - ] }, - "date": "2021-07-02T05:38:42.848Z", - "status": "current", - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "H4sIAAAAAAAACu1ce3PaSpb/O9+il5nacaZiQAJs7MG+RbAde9cPFpybVG1tpWSpDZqrB6OHbWZrv/v8TqsltYTA4GDf1N5QeUCru0/3efc5p9X75cl12AMPQtv3jmpavVlj3DN9y/YmR7XPt2e73RoLI8OzDMf3+FFtzsPaL8c9GrYbRnOHh1POIxbNZ3gY8aeo8RQ6NTYN+P1RbXDSr9NPDPi33V12a0cOP2Tyc2IbE88PI9tkF64xAUA24jM/iNiZ7XDPcGXXwS6m+TbSv+UDvskB35IBddrDIOBGxC12N6dhl4aHRRts4Hth7EQ0+afAj2cf2OXlgLE/XxphNJga3oRbJxh2yPSm1t7VtF1NZ3rrUO8cNg/YbrPTbLKdL9z6wNB+7T+Ibu/ZnwHhry/8YN+h6Ri2y4NDdju1QxYa7szh7B67ZqaPddteyAI+C3jI8SuyHzizjMhg3OEuWkIW+flzZizHZJ0BgpzZ4jPbxFgDP80I1DYcZk6NwDAjHvwlZFNuONFUAKqzvjcHhJC7d47hmZwAGmjAkBlYxfcYlm36tmfaFi3RIUA+sx0nDqMA+GRGyFwDkxTXjdaZH4b2ncM/sAgrMx3bs01MG5qgeGD7GDVnnh+xO85mjhGLvnIbYi7bw8AS0vCThthexD0LLFBAT7JqYJFW8AHr92mcH+Sw+QM9EkDyifHN4qE98ZL5sJw4xFeAB4n+HnsChezRBspoI4JJ2SCd8tqPeAhizJKdG6LzpxjYqr+ccXZ3j3sphBPfjGlmBtb3wsOn0D6qTaNodthoPD4+1h9bdT+YNPRmU2t8vbocm1PuGrvgKwiFyWvJqKNaHHiHU2d/F30PH1qy+dC178uPGmhLH5uWsWxkaEVm8Rm11I7fCfHHFghJ59yweMCSDb3rEX3cgW8R71vQIZ/HtQaaSaFcWCzw/eiopte1vXq33axrdU1rdbstfAFQaBvuJYpreDM4+XZ+0sSn3RQTEMTPY/aJezwARSTUWw6aEIMK2JH8tQpQs67jDx7UtQJEoTCae7vNgwzcco32PWA7q8DaK6Y4qLfr+n5pdHOv2dW72j7+1fY6ySRmjn2tu9/u7rZr4ud4HmKpVXPvETLyLtdQ1ke1y5uL60GNWXaI3c2TtqUoSYhMBuF4MOVhxL7ujoz5BzbsMxgbdtm/Zb/a/LHXSPq86/H7ew6he+C3UJ3swXBiLvbTabb0A21f6zTbQl/LHXn3QjXZhmNHc4W9rp/bWqeud8Qc0HyT2JhwZTD3diV7hjwC9RTMavgcHDR14GU5QcRQaWyvY/cODCk3oolHATf9wLo1ggmPjt8Jpro+/cIGN9dnpHjZnRFyIUO7qUYb+dBV4/P+5aXQmFLn+ffsv7V6/a//Q+z2rqf0xU/BNOrK9VYbPLaCjQQ+MM6wrIDU4FHtfAihpiaoe5j/Ph7wMLy0PX6s7bMT4zFkI6veayw+FqNM0OT4IzbOPnLH6TXEbzkf5OL4qk9D6ZtohM2AjSE6HDf11l6311Bakgn92IuC+fHnMUamP+hBg9YsvkWwQqbvpgjHz8Od/a72vtPpwOhrei3bWbJZibRkfvJGkueXycbf9SZgRe+4bxlur5F8T9rvDdd25senIPMcJrDXkA3iYYMmSr4algtVLswlRkNNQT0prHb1PJ8KnqGp7uwgmqpioR102pqW8DF1cGFaga8xUBqHRSAFab0ygsDm1hoisij9V2UYKfCAO/bE9uOwfw9rbQtbqKxBa2qt0jIG0wCIsQ1vEcr55T4UiJyQKTOyNfDV3N/LFmWYqmDrGlRqeRlfpnbEn9eEequ7uM4R5mf/Dlfib+w0msJkg8MhtYOTQboCLpqFU1pYSHdvt1NaCLwJdo4GAwPIc7nEjj3/1VYGrRdYwL5kaMU6fBqd3Z6XFvcpgL6+N+AEBWuQQNOW0JT0GD2Qi6hSNi9VN6sUzhKVs47SWaF2VMWzuepRSDAU3nYKLlMeuf4ZGc5sWlBAuQqCnAjdUlBBBSWE7xWQ8kZFvYDgZjpI+Z7QKYNcjcu1kLkKm0V0NnL4vUZpcYrVdt2YXGVSDnJghUW/D3YH1xnaXbQpD0dfRiVmH3GTA6MW+wJlBwv6PMfvNSscJbmO/h20VzS/Utl+Fvg4n8HymPNLHEwEhlLpK0ue76+hqve0ZxcwzGEq6+D3PEATv4A7lnJuEGdqvbEU0yBQbjtpQw9wxYKbYAL99c+cHs/4rpnxEtxKeyUfno6oyRlItaVrCtiXVMAUpq1QKbqG8xu4ivVJdpboFKlS4gCLmUS+p+qUajFYQwiWi4DiyDSWYDRDe+Ln9RpFb7JnxNHUpyngdi960LrehsuQedDoHian3346rOw3/ucQhy0N54tlRGzXpblVTQjgJZ+va5wxmlqJ5fuO42OXU9jBxITdYHTaMpzOQ7Cx4YWKv3q8BpGfc1SriPzGnio4OeHmZrNV4uaMUqoKV1R8YhvOuRfMKz3VMcU/lripWFV58rwp5Qy0pN8oRHOKMEzABaOlPdEk8fas0Ksc1m7pHf0nLd+ClimFeo0CCXsmAnq+dAUycg6URvLv5bFTefDWyj4Tj2XKPms7/h5HcoUf+co6fw0k58RU6IMZlR+2d+8HrhgAT8aeSSPdSyOnauPS3tvULstAUCREOFqLjPQshwjDVzWYwC3sc9kaeg6fGA6pOIoiwbnZwHQSFXAKDlRfUoSNlmnETaxqKR7z0769gU6s4gXhT/3kjeiPzhslNkDcMMAPG8GaJCtK28fB8fSMTA+t14eLGqUzIAuFpqTPcHTzay1VCV7sOGeO8eAHiP9cqAHYyicp3qqHZUBXoqmPcKVlVOKpL7ddDCX0whgBuKfjqxMYveRrBQrLoNXGHI0K2oShOosdxPYcynHd3NMoHGWEU7kQvm52EMDezyLYWl1PFKbW2oOu1Ot7ev3goN1st/e7nY7epZRIghZK2bD/pVH/h0YKmhumCXtP0UQvic4D4ZRSRtjdYmj1FYNCWUXfsc0526HkYxp6R4JwPEqTiFaapbvjJnKZXCwxTVeGM1ibe1ukrNnJxeDm6r0I11fG5/X1t9et2l6XtkcIxaYEJn+4HWrr7/CgaocHtEMRCPoBdthrSHYl96LEyr10RrGEhLlDHjzYJkfSAIAUldAf3GYaYU3saFpb7yL+r3ebHQVPYRRbc5ZmgNnnixO2nBat9Wmxp8BISbFHpAj4P2Lk9YAaxCtMbsEdYgD6+/CbEoDYb3ba7YW8B5Qb5SgBEusgBCG4ZfuTwJhNkZREbYT1N5Hs9+NI1GgEqB9BrQKOScgw7oTv1whmVORMBsPbtsRfIb2ZqFHHf1RcTcrbtnT4mtLLBGstjOkhSUjOLLg+Nz3DkTA97zbIOyN1kGeXFl3WCqaBbUauYY0THmPFaFC3M2rqTX3daNBC7kCcAUwDzDWUYTF2azz5nu+Cjc4vhv3+++Up6ZFh2b7jT/Kw51IL+4yNrXZFClY2s7MyveXxJXH7AUSlFLNfZmpVY1vpsVT5LCJUmDKKUFaq+hExgLKGEuINpvfC7Kwk7GUiZSSfspaD2MvKilNyJvx6NroSDhDsPJ6kPTLVMb4ZsgtVOe3gGNT9gKNQ9z1BWtQAufZaV1VJGcq+6PiDf+qJOREuSGFpdJAs7EcUFrgz1MGlTgmVyrkzQrA3OfWES1vppBwctPabpAHStRJDt8Hd9FfvtpAZSwNdy+oclLqNtGcKcFjpcvZvr09eIvj6inqTNfVBW37WiA2Xo8Pdk42iw1vQB2mF0JBK4SAFb6QLKMECKT4JEG6S34tq4syYL1EQZ+K/lWm9tRVBFRMJaVjC2nRwU0QgFwjhxiBBZFLgw/roWwkA9Xki6y+tfytVw1V9Em10c/d3SBAbIJAJ3c7GJE6+ty2wid4hly0pAVS8tZObwfgUHhtzEZ5Kmk5/vU5DjhsIIdWaVUgHzKzWLTC9ovZIX5LZhl5ZFIuTQbnUowpVGUyupl5fl2Rj8ku3TBsSQHPBj66kyqbKMdNa3+mTL5BWa0HRboe0AqUKmLUtSkruMo22QJlK0sN5RpXs6wLLWEJydVIUgarwqT1TjCWEIasy2Yh9NmEg+Bqwe60c2S/yX+C2gJ3a3U4TZ2Z1qjI7dbbEToJMyobf9f4Ro6wSB62s8CMzb4qmah1sBz7KI0QRZ+2YqTZOAhXsLKEORtuBiIqGWUwnV3E+SA6BAroApiKiUYEJspB5Vcum8lctga8ig2N/VnC53wJmLo7pRnXU88lKk5DtoFAdB+u8CPh9ccT6IkwRwzs61xgLVvrTxdWn5eK8qUWQ4bbvEOiFA0lBQ5QEu8DSHXmCELXpqzi/sl4bjA+yr8H7onQbZcYIcON/IQlFFhc4e0JAhCPReCuuAhmzGUI5AvkNy4YXWEAxHRUl0VOBUG4v8Cdx1BNXGB4Ny/9FxpLEzF/6Jzei9kNEtLCBo43MbzJUqLS1xlZpXTGHL1ynjeZYJLSYieJJYGyxu0W0FVhByEyOushntiCNxnaG/aKskCIiohRaVqkiuaoCQMQxcyFSVdyCIP6RhBSM8FNI/whCmhB6W0Kqs50Fi/YiKcWyvldKEQwwM6DLOyrdZCcZSpCn3zc41J/CEUAA8A3P9kqI41VDGCNu0FVKRFRldmaru6Ebk35gT2zKq2Rh2ix/Ek0NkTdxwcyw9pbPkxyKvICK0G4Nhb+Sy0OxyGGax6kxSf66uJdpRFFg38FpSFiV1ZSN0d3IUZYJUmagAG+7+QEOiv5eZFbExU7qLOXGSscBLfifJCkZ0kcoVcSEqTu2RMkZRPmmRoikEPfSHcV0oUb0gVGJ3ZmwMGLX1CYHlZeeTSJ9ouTyJ/mitmc6sUhdzcUEoiSEFZL/9VJoqDqAg0DqVg4py6mTxSjFzbml/bKrddKcQgmNY0qhEaWc2JuwKHb9QNFPryX2UsRfVx7eVrYrFNk5kj5+MH/leGQF02moUdttbu1Kp9xHic1kawVTSUuC7IohjhN5+MsQQpkPTRuyDonNRdr4qHbmWd5Eqx2PfYT2o2ngGxEC57JHZq1KQFTbuhDUzAgSJHd05S11tnN7+lW10stc1JuP4+3EFNPUT4W2gMnfjrYoEW3jqGCiHp9C+zB508OpTC1Vn+X+JKmVjy+ETir8ld/Zu3hV2fwddQ5jZzb0vzcJ30btbJTjyNi+zPT7W2L6dO8lVZU2v0RXybFr6Cq9dkzOEVKRiKOIwAjl/GOXnC7p73iUS3eYY7s2vX+CuiPHjhCYITwz20JlM0/akSF8oCuvzpxeS2HCaaH6mZkhbm9Kn6b0ETAdBhdwGiX2XFwfJxfHdDgypJaYGuqUsqWezzz+CDcHpUriFR7JgvAESzHEswA5QHiKlOTNgTr8PmJT24nDDyyMUVZg+wEWuQPYLkfGsLwq445KaNod131fZ302uGWhaYj3idB1JRcamJws8gHu44AulTJOqkOoCokKh8eUrw2xezittHixn+Tpgx1SSPafmMSNQzN2/PA3aHYcF1iWnVzIOZCDR5uJ4TnCKbyzQDBPzIzw6B2KDqhD7AXcNYLfqOF507OKiU4kblZzEfUCExGqvgva2I8DqGZouSs4WNg+WbnVoMcYcHNP3XVFzYMbfzuPXEe+3OdnwK46FpC8z+IbYtgoHJcoy+3giz2WF3gh4p1LFJe9UcYqCbGteSn7W0pKS+36pl6Kuq1igkfgDwqRB9CV7D5AuYebS9C6mcXxcJTUcL6UjBsTSpYULpJKb+9pdP9y//mzwMHeIr3G1zdXpydQ2QuvJ7Bi6MgQSrcY2pXRh9tyfGuREomuK8W0KocvZNeISDBeSYQjP88zcSGr8LYL8rtgCbgFQKW00jMBtwOV+Sv4bPhftXQUvUol9mzQyC2kPHqiei7hELkedHiWDhUvcPg8+Fx4Ociv+cvblOKCBW6u5OckMLl2im38+eN//ADRe9pHUh+oaZ3OezVmVK4jLMVaXyE5V1hMc2ExA8KKUm79/zqpV457D0ZSLhM+Q44K/hl/LIfAf2YDX5YN3EKCL+FfhWfPAnBMWGbWTVJ6y9XC6ObiI2pSV+iFjW2drIVfIlcItx6sdZYsveSjhI0FGJuhQyL5Ix2fDAQZqr2x73EQXoS6QtFJdQlRa29j5IkXGtFhQzISneROkg4V8MqG9OIazoX6SrRi9+o817MZ6VVDnxkoKDeMg5mPo7OIUafqbQMJGY1vStR6MZU3o3Fas11J4P54fDq6vcDSnn2HTMGjrCTcAGKdC13xrst3lJ5VHV0XhGuZn7nE11QPtxUctnSyxfKvF7PVixK2FUNWJW5/tBDr6wYif88Y64VLV9XIB3+jKGv59L0laVP2Uc4h5k9eEjTNh68RN23Vjq+RcjXpEJcET2ex4/oeWU5xkzBEZHJUCEUilCrCkGn8MY1HLkYQkxf2IuhYijeW44Fhkj525vTCUsRo6YUOnglISZKcPyXJ4O/NQOWIeY0k1NuFf1rbZsA3jQC1XpinKhGUasaLlKi6ybs55tUbA8Ibya7TDoj3QN90OpW4pRuv3RffeH2V667ZZuhF2fI16GLF9AJuSNs0okSHDdLTlTwq20iqQ0Sf9EXcSh1H6cKiiNf7Dwh02MiWMDv6wB6ntjkVuZekBATfBPWoCT5qvRDOW32Iyq/g/lAVUhevbYaKNla8JKlw20t93muU31R+/C92kHS8a2AAAA==", - "hash": "MWYzZjQ3OGE3MjQ2ZmEzZTYzNDIwZTgyNGQzYjA1NGU2ZmQ3YjRhZQ==" + { + "fullUrl": "urn:uuid:4462b2af-cad5-4826-1853-38d52e64fe60", + "resource": { + "resourceType": "DocumentReference", + "id": "4462b2af-cad5-4826-1853-38d52e64fe60", + "type": { + "coding": [ + { + "code": "18748-4", + "display": "Diagnostic Imaging Report", + "system": "http://loinc.org" + } + ] + }, + "date": "2022-03-25T13:32:47.511Z", + "status": "current", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "H4sIAAAAAAAACu1ce3PaSpb/O9+il5nacaZiQAJs7MG+RbAde9cPFpybVG1tpWSpDZqrB6OHbWZrv/v8TqsltYTA4GDf1N5QeUCru0/3efc5p9X75cl12AMPQtv3jmpavVlj3DN9y/YmR7XPt2e73RoLI8OzDMf3+FFtzsPaL8c9GrYbRnOHh1POIxbNZ3gY8aeo8RQ6NTYN+P1RbXDSr9NPDPi33V12a0cOP2Tyc2IbE88PI9tkF64xAUA24jM/iNiZ7XDPcGXXwS6m+TbSv+UDvskB35IBddrDIOBGxC12N6dhl4aHRRts4Hth7EQ0+afAj2cf2OXlgLE/XxphNJga3oRbJxh2yPSm1t7VtF1NZ3rrUO8cNg/YbrPTbLKdL9z6wNB+7T+Ibu/ZnwHhry/8YN+h6Ri2y4NDdju1QxYa7szh7B67ZqaPddteyAI+C3jI8SuyHzizjMhg3OEuWkIW+flzZizHZJ0BgpzZ4jPbxFgDP80I1DYcZk6NwDAjHvwlZFNuONFUAKqzvjcHhJC7d47hmZwAGmjAkBlYxfcYlm36tmfaFi3RIUA+sx0nDqMA+GRGyFwDkxTXjdaZH4b2ncM/sAgrMx3bs01MG5qgeGD7GDVnnh+xO85mjhGLvnIbYi7bw8AS0vCThthexD0LLFBAT7JqYJFW8AHr92mcH+Sw+QM9EkDyifHN4qE98ZL5sJw4xFeAB4n+HnsChezRBspoI4JJ2SCd8tqPeAhizJKdG6LzpxjYqr+ccXZ3j3sphBPfjGlmBtb3wsOn0D6qTaNodthoPD4+1h9bdT+YNPRmU2t8vbocm1PuGrvgKwiFyWvJqKNaHHiHU2d/F30PH1qy+dC178uPGmhLH5uWsWxkaEVm8Rm11I7fCfHHFghJ59yweMCSDb3rEX3cgW8R71vQIZ/HtQaaSaFcWCzw/eiopte1vXq33axrdU1rdbstfAFQaBvuJYpreDM4+XZ+0sSn3RQTEMTPY/aJezwARSTUWw6aEIMK2JH8tQpQs67jDx7UtQJEoTCae7vNgwzcco32PWA7q8DaK6Y4qLfr+n5pdHOv2dW72j7+1fY6ySRmjn2tu9/u7rZr4ud4HmKpVXPvETLyLtdQ1ke1y5uL60GNWXaI3c2TtqUoSYhMBuF4MOVhxL7ujoz5BzbsMxgbdtm/Zb/a/LHXSPq86/H7ew6he+C3UJ3swXBiLvbTabb0A21f6zTbQl/LHXn3QjXZhmNHc4W9rp/bWqeud8Qc0HyT2JhwZTD3diV7hjwC9RTMavgcHDR14GU5QcRQaWyvY/cODCk3oolHATf9wLo1ggmPjt8Jpro+/cIGN9dnpHjZnRFyIUO7qUYb+dBV4/P+5aXQmFLn+ffsv7V6/a//Q+z2rqf0xU/BNOrK9VYbPLaCjQQ+MM6wrIDU4FHtfAihpiaoe5j/Ph7wMLy0PX6s7bMT4zFkI6veayw+FqNM0OT4IzbOPnLH6TXEbzkf5OL4qk9D6ZtohM2AjSE6HDf11l6311Bakgn92IuC+fHnMUamP+hBg9YsvkWwQqbvpgjHz8Od/a72vtPpwOhrei3bWbJZibRkfvJGkueXycbf9SZgRe+4bxlur5F8T9rvDdd25senIPMcJrDXkA3iYYMmSr4algtVLswlRkNNQT0prHb1PJ8KnqGp7uwgmqpioR102pqW8DF1cGFaga8xUBqHRSAFab0ygsDm1hoisij9V2UYKfCAO/bE9uOwfw9rbQtbqKxBa2qt0jIG0wCIsQ1vEcr55T4UiJyQKTOyNfDV3N/LFmWYqmDrGlRqeRlfpnbEn9eEequ7uM4R5mf/Dlfib+w0msJkg8MhtYOTQboCLpqFU1pYSHdvt1NaCLwJdo4GAwPIc7nEjj3/1VYGrRdYwL5kaMU6fBqd3Z6XFvcpgL6+N+AEBWuQQNOW0JT0GD2Qi6hSNi9VN6sUzhKVs47SWaF2VMWzuepRSDAU3nYKLlMeuf4ZGc5sWlBAuQqCnAjdUlBBBSWE7xWQ8kZFvYDgZjpI+Z7QKYNcjcu1kLkKm0V0NnL4vUZpcYrVdt2YXGVSDnJghUW/D3YH1xnaXbQpD0dfRiVmH3GTA6MW+wJlBwv6PMfvNSscJbmO/h20VzS/Utl+Fvg4n8HymPNLHEwEhlLpK0ue76+hqve0ZxcwzGEq6+D3PEATv4A7lnJuEGdqvbEU0yBQbjtpQw9wxYKbYAL99c+cHs/4rpnxEtxKeyUfno6oyRlItaVrCtiXVMAUpq1QKbqG8xu4ivVJdpboFKlS4gCLmUS+p+qUajFYQwiWi4DiyDSWYDRDe+Ln9RpFb7JnxNHUpyngdi960LrehsuQedDoHian3346rOw3/ucQhy0N54tlRGzXpblVTQjgJZ+va5wxmlqJ5fuO42OXU9jBxITdYHTaMpzOQ7Cx4YWKv3q8BpGfc1SriPzGnio4OeHmZrNV4uaMUqoKV1R8YhvOuRfMKz3VMcU/lripWFV58rwp5Qy0pN8oRHOKMEzABaOlPdEk8fas0Ksc1m7pHf0nLd+ClimFeo0CCXsmAnq+dAUycg6URvLv5bFTefDWyj4Tj2XKPms7/h5HcoUf+co6fw0k58RU6IMZlR+2d+8HrhgAT8aeSSPdSyOnauPS3tvULstAUCREOFqLjPQshwjDVzWYwC3sc9kaeg6fGA6pOIoiwbnZwHQSFXAKDlRfUoSNlmnETaxqKR7z0769gU6s4gXhT/3kjeiPzhslNkDcMMAPG8GaJCtK28fB8fSMTA+t14eLGqUzIAuFpqTPcHTzay1VCV7sOGeO8eAHiP9cqAHYyicp3qqHZUBXoqmPcKVlVOKpL7ddDCX0whgBuKfjqxMYveRrBQrLoNXGHI0K2oShOosdxPYcynHd3NMoHGWEU7kQvm52EMDezyLYWl1PFKbW2oOu1Ot7ev3goN1st/e7nY7epZRIghZK2bD/pVH/h0YKmhumCXtP0UQvic4D4ZRSRtjdYmj1FYNCWUXfsc0526HkYxp6R4JwPEqTiFaapbvjJnKZXCwxTVeGM1ibe1ukrNnJxeDm6r0I11fG5/X1t9et2l6XtkcIxaYEJn+4HWrr7/CgaocHtEMRCPoBdthrSHYl96LEyr10RrGEhLlDHjzYJkfSAIAUldAf3GYaYU3saFpb7yL+r3ebHQVPYRRbc5ZmgNnnixO2nBat9Wmxp8BISbFHpAj4P2Lk9YAaxCtMbsEdYgD6+/CbEoDYb3ba7YW8B5Qb5SgBEusgBCG4ZfuTwJhNkZREbYT1N5Hs9+NI1GgEqB9BrQKOScgw7oTv1whmVORMBsPbtsRfIb2ZqFHHf1RcTcrbtnT4ms1m7mqCvxYG9pApJI8WrJ/bn+FI2J93GySfkT/IU0yLfmsF58BAI+GwxjGPsWJIqNsZNfWmvm5IaCGBIA4CpgEOG8rYGLs1nnzPd8FL5xfDfv/98rz0yLBs3/EneexzqZl9xtBW+yMFU5sZW5nj8viS4P0A8lIK3C+zt6rFrXRbqhwXES9MGUVoLFUHiUBAWU0JGQfne2F2YBJGMxE1ElJZ0EHsZWUVKjkTfj0bXQkvCMYeT9Iemf4Y3wzZhaqhdnAW6n7Aeaj7niAtqoFcha2rr6QgZV90/ME/9cSmCD+ksDQ6TRb2I6oL3BmK4VLPhOrl3Bkh2JucesKvrfRUDg5a+01SA+laiaHb4G76q3dbSI+l0a5lxQ5K8UbaMwU4rPQ7+7fXJy8RfH1F0cma+qAtP2sEiMsh4u7JRiHiLeiDtExoSPVwkII30gWUZYEUnwSIOcnvRTVxZsyXKIgz8d/K3N7aiqCKiYQ0LGFtOr0pIpALhPBlkCUyKfphffStBID6PJH1lxbBlUriqj6JNrq5+zskiA0QzYRuZ2MSJ9/bFthE75DfltQBKi7byc1gfAq3jbmIUSVNp79ep3HHDYSQCs4qpANmVusWmF5Re6QvyWxDryyKxcmgXO9RhaoMJlfzr69LsjE5p1umDQmgueBMV1JlU+WYaa3vdMwXSKu1oGi3Q1qBUgXM2hYlJXeZRlugTCXp4UGjVPZ1gWUsIbk6qYxAafjUninGEsKQlZpsxD6bMBB8Ddi9Vo7sF/kvcFvATu1up4mDszpVmZ06W2InQSZlw+96/4hRW4nTVlb9kZk3RVO1DrYDHzUSopKzdsxUGyeBCnaWUAej7UBEWcMspuOrOB8kJ0EBXQBTEdGowARZyLy0ZVP5q5bAV5HBsT8ruNxvATMXx3SjOor6ZLlJyHZQrY7TdV4J/L44Yn0RprDhHZ1rjAUr/eni6tNycd7UIsiY23cI9MKBpKAhSoJdYOmOPEGIAvVVnF9ZtA3GB9nX4H1Rv41aY0S58b+QhCKLC5w9ISrCkW28FfeBjNkM8RyB/IZlwwssoJiOipLoqUAoVxj4kzjqiXsMj4bl/yIDSmLmL/2TG1EAIsJa2MDRRuY3GSpU2lpjq7SumMMXrtNGcywSWsxEQSUwttjdItoKrCBkJkdd5DNbkEZjO8N+UVZIERFRCi2rVJFcVQEggpm5EKkqbkEQ/0hCCkb4KaR/BCFNCL0tIdXZzoJFe5GUYlnfK6UIBpgZ0OUdlW6ykwwlyNPvGxzqT+EIIAD4hmd7JcTxqiGMETfoPiUiqjJFs9Xd0LVJP7AnNiVXsjBtlkSJpoZInrhgZlh7y+dJIkXeQkVot4bqX8nloVjkME3m1Jgkf11czjSiKLDv4DQkrMpqysboguQoSwcpM1CAt938AAdFfy/SK+J2J3WWcmOl44AW/E+SlAzpI5QqYsLUHVuiDA2ifFMjRGaIe+mOYrpVI/rAqMTuTFgYsWtqk4PKS88mkT5RcgOUfFHbM51Y5K/mYgJRF8IKFQD1UmioOoCDQOpWDinLqZPFKMX1uaX9svt10pxCCY1jyqMRpZzYm7Aodv1A0U+vJfZSxF9XHt5WtisU2TmSPn4wf+V4ZAXTaShU221u7V6n3EeJzWRrBVNJS4LsiiGOE3n4yxBCmQ9NG7IOic1F7vioduZZ3kSrHY99hPajaeAbEQLnskdmrUpAVNu6ENTMCBIkF3XlVXW2c3v6VbXSy1zUm4/j7cQU09RPhbaAyd+OtigRbeOoYKIen0L7MHndw6lMLVWf5f4kqZWPL4ROKvyV39m7eFXZ/B11DmNnNvS/NwnfRu1slOPI2L7M9PtbYvp07yVVlTa/RFfJsWvoKr12TM4RUpGIo4jACOX8Y5ecLunveJRLd5hjuza9hIK6I8eOEJghPDPbQnkzT9qRIXyge6/OnN5NYcJpoSKamSGucEqfpvQRMB0GF3AaJfZc3CEnF8d0ODKklpga6pSypZ7PPP4INwf1SuI9HsmC8ARLMcSzADlAeIqU5M2BOvw+YlPbicMPLIxRVmD7ARa5A9guR8awvCrjjupo2h3XfV9nfTa4ZaFpiJeK0J0lFxqYnCzyAe7jgG6WMk6qQ6gKiQqHx5SvDbF7OK20eLGf5OmDHVJI9p+YxI1DM3b88DdodhwXWJadXMg5kINHm4nhOcIpvLNAME/MjPDoHYoOqEPsBdw1gt+o4XnTs4qJTiRuVnMR9QITEaq+C9rYjwOoZmi5KzhY2D5ZudWgxxhwc0/ddUXNgxt/O49cR77h52fArjoWkLzU4hti2KgelyjL7eCLPZYXeCHixUsUl71RxioJsa15KftbSkpL7fqmXoq6rWKCR+APCpEH0JXsPkC5h5tL0LqZxfFwlBRyvpSMGxNK1hUukkpv72l0CXP/+bPAwd4ivcbXN1enJ1DZC+8osGLoyBBKtxjaldGH23J8a5ESia4rxbQqhy9k14hIMF5JhCM/zzNxK6vwygvyu2AJuAVApbTSMwG3A5X5K/hs+F+1dBS9TyX2bNDILaQ8eqJ6LuEQuR50eJYOFW9x+Dz4XHhDyK/5G9yU4oIFbq7k5yQwuXaKbfz543/8ANF72kdSH6hpnc57NWZUriMsxVpfITlXWExzYTEDwopSc/3/OqlXjnsPRlIuEz5Djgr+GX8sh8B/ZgNflg3cQoIv4V+FZ88CcExYZtZNUnrL1cLo5uIjalJX6IWNbZ2shV8iVwi3Hqx1liy96aOEjQUYm6FDIvkjHZ8MBBmqvbHvcRBehLpC0Ul1CVFrb2Pkibca0WFDMhKd5E6SDhXwyob04hrOhfpetGL36jzXsxnpVUOfGSgoN4yDmY+js4hRp+ptAwkZjW9K1HoxlTejcVqzXUng/nh8Orq9wNKefZFMwaOsJNwAYp0LXfHCy3eUnlUdXReEa5mfucTXVA+3FRy2dLLF8q8Xs9WLErYVQ1Ylbn+0EOvrBiJ/zxjrhUv31cgHf6Moa/n0vSVpU/ZRziHmT14SNM2HrxE3bdWOr5FyNekQlwRPZ7Hj+h5ZTnGdMERkclQIRSKUKsKQafwxjUcuRhCTt/Yi6FiKN5bjgWGSPnbm9NZSxGjprQ6eCUhJkpw/Jcng781A5Yh5jSTU24V/WttmwDeNALVemKcqEZRqxouUqLrOuznm1RsDwhvJ7tQOiPdA33Q6lbila6/dF197fZU7r9lm6G3Z8l3oYsX0Fm5I2zSiRIcN0tOVPCrbSKpDRJ/0bdxKHUfpwqKI1/sPCHTYyJYwO/rAHqe2ORW5l6QEBN8E9agJPmq9EM5bfYgq3cP9ocqkLl7bFhUNrXhdUuHKl/q81yi/s/z4X4Z12sV1YAAA", + "hash": "NTYwNTM0NGI2NjgyOTZlMmMwZWRjYWZhYTFjNzc1Mzg2ZjE5MmQ4ZA==" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/4462b2af-cad5-4826-1853-38d52e64fe60" } - } - ] - }, - "request": { - "method": "PUT", - "url": "DocumentReference/24cabcdf-dc86-0e48-59d9-3c8000a27726" - } - } - ] + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/History_and_Physical-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/History_and_Physical-expected.json index 75df8267a..786a28e76 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/History_and_Physical-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/HistoryandPhysical/History_and_Physical-expected.json @@ -1,2037 +1,2037 @@ { - "resourceType": "Bundle", - "type": "batch", - "entry": [ - { - "fullUrl": "urn:uuid:f33ce807-4d64-25f2-3ab6-5cf6609654cd", - "resource": { - "resourceType": "Composition", - "id": "f33ce807-4d64-25f2-3ab6-5cf6609654cd", - "identifier": { - "use": "official", - "value": "2.16.840.1.113883.19.5.99999.1" - }, - "status": "final", - "type": { - "coding": [ - { - "code": "34117-2", - "display": "History and Physical Note", - "system": "http://loinc.org" - } - ] - }, - "date": "2012-09-17T07:05:00+08:00", - "title": "Community Health and Hospitals: History & Physical", - "confidentiality": "N", - "attester": [ - { - "mode": "legal", - "time": "2009-02-28T02:00:00+08:00", - "party": { - "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" - } - } - ], - "section": [ - { - "title": "ALLERGIES, ADVERSE REACTIONS, ALERTS", - "text": { - "status": "generated", - "div": "
ALLERGIES, ADVERSE REACTIONS, ALERTS
" - }, - "code": { - "coding": [ - { - "code": "48765-2", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "ASSESSMENT", - "text": { - "status": "generated", - "div": "
ASSESSMENT
" - }, - "code": { - "coding": [ - { - "code": "51848-0", - "display": "ASSESSMENT", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "REASON FOR VISIT/CHIEF COMPLAINT", - "text": { - "status": "generated", - "div": "
REASON FOR VISIT/CHIEF COMPLAINT
" - }, - "code": { - "coding": [ - { - "code": "46239-0", - "display": "REASON FOR VISIT + CHIEF COMPLAINT", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "FAMILY HISTORY", - "text": { - "status": "generated", - "div": "
FAMILY HISTORY
" - }, - "code": { - "coding": [ - { - "code": "10157-6", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "GENERAL STATUS", - "text": { - "status": "generated", - "div": "
GENERAL STATUS
" - }, - "code": { - "coding": [ - { - "code": "10210-3", - "display": "GENERAL STATUS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "PAST MEDICAL HISTORY", - "text": { - "status": "generated", - "div": "
PAST MEDICAL HISTORY
" - }, - "code": { - "coding": [ - { - "code": "11348-0", - "display": "HISTORY OF PAST ILLNESS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "HISTORY OF PRESENT ILLNESS", - "text": { - "status": "generated", - "div": "
HISTORY OF PRESENT ILLNESS
" + "resourceType": "Bundle", + "type": "batch", + "entry": [ + { + "fullUrl": "urn:uuid:b16a925c-1df5-20f4-759b-3f4b3452b5cb", + "resource": { + "resourceType": "Composition", + "id": "b16a925c-1df5-20f4-759b-3f4b3452b5cb", + "identifier": { + "use": "official", + "value": "2.16.840.1.113883.19.5.99999.1" + }, + "status": "final", + "type": { + "coding": [ + { + "code": "34117-2", + "display": "History and Physical Note", + "system": "http://loinc.org" + } + ] + }, + "date": "2012-09-16T19:05:00-04:00", + "title": "Community Health and Hospitals: History & Physical", + "confidentiality": "N", + "attester": [ + { + "mode": "legal", + "time": "2009-02-27T13:00:00-05:00", + "party": { + "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" + } + } + ], + "section": [ + { + "title": "ALLERGIES, ADVERSE REACTIONS, ALERTS", + "text": { + "status": "generated", + "div": "
ALLERGIES, ADVERSE REACTIONS, ALERTS
" + }, + "code": { + "coding": [ + { + "code": "48765-2", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "ASSESSMENT", + "text": { + "status": "generated", + "div": "
ASSESSMENT
" + }, + "code": { + "coding": [ + { + "code": "51848-0", + "display": "ASSESSMENT", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "REASON FOR VISIT/CHIEF COMPLAINT", + "text": { + "status": "generated", + "div": "
REASON FOR VISIT/CHIEF COMPLAINT
" + }, + "code": { + "coding": [ + { + "code": "46239-0", + "display": "REASON FOR VISIT + CHIEF COMPLAINT", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "FAMILY HISTORY", + "text": { + "status": "generated", + "div": "
FAMILY HISTORY
" + }, + "code": { + "coding": [ + { + "code": "10157-6", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "GENERAL STATUS", + "text": { + "status": "generated", + "div": "
GENERAL STATUS
" + }, + "code": { + "coding": [ + { + "code": "10210-3", + "display": "GENERAL STATUS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "PAST MEDICAL HISTORY", + "text": { + "status": "generated", + "div": "
PAST MEDICAL HISTORY
" + }, + "code": { + "coding": [ + { + "code": "11348-0", + "display": "HISTORY OF PAST ILLNESS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "HISTORY OF PRESENT ILLNESS", + "text": { + "status": "generated", + "div": "
HISTORY OF PRESENT ILLNESS
" + }, + "code": { + "coding": [ + { + "code": "10164-2", + "display": "HISTORY OF PRESENT ILLNESS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "IMMUNIZATIONS", + "text": { + "status": "generated", + "div": "
IMMUNIZATIONS
" + }, + "code": { + "coding": [ + { + "code": "11369-6", + "display": "History of immunizations", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "MEDICATIONS", + "text": { + "status": "generated", + "div": "
MEDICATIONS
" + }, + "code": { + "coding": [ + { + "code": "10160-0", + "display": "HISTORY OF MEDICATION USE", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "PHYSICAL EXAMINATION", + "text": { + "status": "generated", + "div": "
PHYSICAL EXAMINATION
" + }, + "code": { + "coding": [ + { + "code": "29545-1", + "display": "PHYSICAL FINDINGS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "PLAN OF CARE", + "text": { + "status": "generated", + "div": "
PLAN OF CARE
" + }, + "code": { + "coding": [ + { + "code": "18776-5", + "display": "Treatment plan", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "PROBLEMS", + "text": { + "status": "generated", + "div": "
PROBLEMS
" + }, + "code": { + "coding": [ + { + "code": "11450-4", + "display": "PROBLEM LIST", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "PROCEDURES", + "text": { + "status": "generated", + "div": "
PROCEDURES
" + }, + "code": { + "coding": [ + { + "code": "47519-4", + "display": "HISTORY OF PROCEDURES", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "RESULTS", + "text": { + "status": "generated", + "div": "
RESULTS
" + }, + "code": { + "coding": [ + { + "code": "30954-2", + "display": "RESULTS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "REVIEW OF SYSTEMS", + "text": { + "status": "generated", + "div": "
REVIEW OF SYSTEMS
" + }, + "code": { + "coding": [ + { + "code": "10187-3", + "display": "REVIEW OF SYSTEMS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "SOCIAL HISTORY", + "text": { + "status": "generated", + "div": "
SOCIAL HISTORY
" + }, + "code": { + "coding": [ + { + "code": "29762-2", + "display": "Social History", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "VITAL SIGNS", + "text": { + "status": "generated", + "div": "
VITAL SIGNS
" + }, + "code": { + "coding": [ + { + "code": "8716-3", + "display": "VITAL SIGNS", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "encounter": { + "reference": "Encounter/786d8ce8-8ab9-f2f3-9418-aa9de43e7f79" + }, + "custodian": { + "reference": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" + }, + "author": [ + { + "reference": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" + } + ] }, - "code": { - "coding": [ - { - "code": "10164-2", - "display": "HISTORY OF PRESENT ILLNESS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "IMMUNIZATIONS", - "text": { - "status": "generated", - "div": "
IMMUNIZATIONS
" - }, - "code": { - "coding": [ - { - "code": "11369-6", - "display": "History of immunizations", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "MEDICATIONS", - "text": { - "status": "generated", - "div": "
MEDICATIONS
" - }, - "code": { - "coding": [ - { - "code": "10160-0", - "display": "HISTORY OF MEDICATION USE", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "PHYSICAL EXAMINATION", - "text": { - "status": "generated", - "div": "
PHYSICAL EXAMINATION
" - }, - "code": { - "coding": [ - { - "code": "29545-1", - "display": "PHYSICAL FINDINGS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "PLAN OF CARE", - "text": { - "status": "generated", - "div": "
PLAN OF CARE
" - }, - "code": { - "coding": [ - { - "code": "18776-5", - "display": "Treatment plan", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "PROBLEMS", - "text": { - "status": "generated", - "div": "
PROBLEMS
" - }, - "code": { - "coding": [ - { - "code": "11450-4", - "display": "PROBLEM LIST", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "PROCEDURES", - "text": { - "status": "generated", - "div": "
PROCEDURES
" - }, - "code": { - "coding": [ - { - "code": "47519-4", - "display": "HISTORY OF PROCEDURES", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "RESULTS", - "text": { - "status": "generated", - "div": "
RESULTS
" - }, - "code": { - "coding": [ - { - "code": "30954-2", - "display": "RESULTS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "REVIEW OF SYSTEMS", - "text": { - "status": "generated", - "div": "
REVIEW OF SYSTEMS
" - }, - "code": { - "coding": [ - { - "code": "10187-3", - "display": "REVIEW OF SYSTEMS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "SOCIAL HISTORY", - "text": { - "status": "generated", - "div": "
SOCIAL HISTORY
" - }, - "code": { - "coding": [ - { - "code": "29762-2", - "display": "Social History", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "VITAL SIGNS", - "text": { - "status": "generated", - "div": "
VITAL SIGNS
" - }, - "code": { - "coding": [ - { - "code": "8716-3", - "display": "VITAL SIGNS", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "encounter": { - "reference": "Encounter/786d8ce8-8ab9-f2f3-9418-aa9de43e7f79" - }, - "custodian": { - "reference": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" - }, - "author": [ - { - "reference": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" - } - ] - }, - "request": { - "method": "PUT", - "url": "Composition/f33ce807-4d64-25f2-3ab6-5cf6609654cd" - } - }, - { - "fullUrl": "urn:uuid:151bd63c-93e9-9838-dd94-f74d3b63be52", - "resource": { - "resourceType": "Practitioner", - "id": "151bd63c-93e9-9838-dd94-f74d3b63be52", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "999999999" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ] - } - ], - "address": [ - { - "line": [ - "1001 Village Avenue" - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" - } - }, - { - "fullUrl": "urn:uuid:786d8ce8-8ab9-f2f3-9418-aa9de43e7f79", - "resource": { - "resourceType": "Encounter", - "id": "786d8ce8-8ab9-f2f3-9418-aa9de43e7f79", - "status": "unknown", - "class": { - "code": "99213", - "display": "Evaluation and Management", - "system": "http://www.ama-assn.org/go/cpt" - }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19", - "value": "9937012" - } - ], - "period": { - "start": "2009-02-28T02:00:00+08:00", - "end": "2009-02-28T02:00:00+08:00" - }, - "location": [ - { - "location": { - "reference": "Location/6dfdc7c6-e225-71eb-cec1-75870e529061" + "request": { + "method": "PUT", + "url": "Composition/b16a925c-1df5-20f4-759b-3f4b3452b5cb" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/786d8ce8-8ab9-f2f3-9418-aa9de43e7f79" - } - }, - { - "fullUrl": "urn:uuid:6dfdc7c6-e225-71eb-cec1-75870e529061", - "resource": { - "resourceType": "Location", - "id": "6dfdc7c6-e225-71eb-cec1-75870e529061" - }, - "request": { - "method": "PUT", - "url": "Location/6dfdc7c6-e225-71eb-cec1-75870e529061" - } - }, - { - "fullUrl": "urn:uuid:ccf335f7-e962-e711-c0ac-aca0f1f41b74", - "resource": { - "resourceType": "Organization", - "id": "ccf335f7-e962-e711-c0ac-aca0f1f41b74", - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "99999999" - } - ], - "name": "Community Health and Hospitals", - "address": [ - { - "use": "work", - "line": [ - "1002 Healthcare Drive " - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" - } - }, - { - "fullUrl": "urn:uuid:b818f780-0177-affe-d9d2-2aefb7adeee2", - "resource": { - "resourceType": "Practitioner", - "id": "b818f780-0177-affe-d9d2-2aefb7adeee2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "99999999" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ] - } - ], - "address": [ - { - "line": [ - "1002 Healthcare Drive " - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ], - "qualification": [ - { - "code": { - "coding": [ - { - "code": "200000000X", - "display": "Allopathic & Osteopathic Physicians", - "system": "http://nucc.org/provider-taxonomy" - } - ] + { + "fullUrl": "urn:uuid:151bd63c-93e9-9838-dd94-f74d3b63be52", + "resource": { + "resourceType": "Practitioner", + "id": "151bd63c-93e9-9838-dd94-f74d3b63be52", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "999999999" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ] + } + ], + "address": [ + { + "line": [ + "1001 Village Avenue" + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" - } - }, - { - "fullUrl": "urn:uuid:5510eaa6-2ad2-b82b-248b-aba749e28fa1", - "resource": { - "resourceType": "Patient", - "id": "5510eaa6-2ad2-b82b-248b-aba749e28fa1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19.5.99999.2", - "value": "998991" - }, - { - "system": "http://hl7.org/fhir/sid/us-ssn", - "value": "111-00-2330" - } - ], - "name": [ - { - "use": "usual", - "family": "Jones", - "given": [ - "Isabella", - "Isa" - ] - } - ], - "birthDate": "2005-05-01", - "gender": "female", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "detailed", - "valueCoding": { - "code": "1966-1", - "display": "Aleut" - } - }, - { - "url": "text", - "valueString": "Aleut" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino" - } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ] - } - ], - "address": [ - { - "use": "home", - "line": [ - "1357 Amber Drive" - ], - "city": "Beaverton", - "state": "OR", - "country": "US", - "postalCode": "97867" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(816)276-6909", - "use": "home" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "system": "urn:ietf:bcp:47", - "code": "en", - "display": "English" - } - ] + { + "fullUrl": "urn:uuid:786d8ce8-8ab9-f2f3-9418-aa9de43e7f79", + "resource": { + "resourceType": "Encounter", + "id": "786d8ce8-8ab9-f2f3-9418-aa9de43e7f79", + "status": "unknown", + "class": { + "code": "99213", + "display": "Evaluation and Management", + "system": "http://www.ama-assn.org/go/cpt" + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19", + "value": "9937012" + } + ], + "period": { + "start": "2009-02-27T13:00:00-05:00", + "end": "2009-02-27T13:00:00-05:00" + }, + "location": [ + { + "location": { + "reference": "Location/6dfdc7c6-e225-71eb-cec1-75870e529061" + } + } + ] }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - { - "fullUrl": "urn:uuid:ee674bd9-634f-7bfb-de2e-510f1248a374", - "resource": { - "resourceType": "RelatedPerson", - "id": "ee674bd9-634f-7bfb-de2e-510f1248a374", - "relationship": [ - { - "coding": [ - { - "code": "GRPRN", - "display": "Grandparent", - "system": "urn:oid:2.16.840.1.113883.5.111" - } - ] - } - ], - "name": [ - { - "family": "Jones", - "given": [ - "Ralph" - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "(816)276-6909", - "use": "home" - } - ], - "address": [ - { - "use": "home", - "line": [ - "1357 Amber Drive" - ], - "city": "Beaverton", - "state": "OR", - "country": "US", - "postalCode": "97867" - } - ], - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/ee674bd9-634f-7bfb-de2e-510f1248a374" - } - }, - { - "fullUrl": "urn:uuid:50ccb6ac-dfb5-e450-492d-59897da92127", - "resource": { - "resourceType": "FamilyMemberHistory", - "id": "50ccb6ac-dfb5-e450-492d-59897da92127", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:9123aedf-5315-4c3a-aeef-1e98319cc6b5" - } - ], - "status": "completed", - "relationship": { - "coding": [ - { - "code": "9947008", - "display": "Biological father", - "system": "http://snomed.info/sct" + "request": { + "method": "PUT", + "url": "Encounter/786d8ce8-8ab9-f2f3-9418-aa9de43e7f79" } - ] }, - "sex": { - "coding": [ - { - "code": "M", - "display": "Male", - "system": "urn:oid:2.16.840.1.113883.5.1" + { + "fullUrl": "urn:uuid:6dfdc7c6-e225-71eb-cec1-75870e529061", + "resource": { + "resourceType": "Location", + "id": "6dfdc7c6-e225-71eb-cec1-75870e529061" + }, + "request": { + "method": "PUT", + "url": "Location/6dfdc7c6-e225-71eb-cec1-75870e529061" } - ] }, - "bornString": "1910", - "condition": [ - { - "code": { - "coding": [ - { - "code": "22298006", - "display": "Myocardial infarction", - "system": "http://snomed.info/sct" - } - ] + { + "fullUrl": "urn:uuid:ccf335f7-e962-e711-c0ac-aca0f1f41b74", + "resource": { + "resourceType": "Organization", + "id": "ccf335f7-e962-e711-c0ac-aca0f1f41b74", + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "99999999" + } + ], + "name": "Community Health and Hospitals", + "address": [ + { + "use": "work", + "line": [ + "1002 Healthcare Drive " + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ] }, - "contributedToDeath": true, - "onsetAge": { - "value": 57, - "system": "http://unitsofmeasure.org", - "code": "a" + "request": { + "method": "PUT", + "url": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" } - }, - { - "code": { - "coding": [ - { - "code": "46635009", - "display": "Diabetes mellitus type 1", - "system": "http://snomed.info/sct" - } - ] + }, + { + "fullUrl": "urn:uuid:b818f780-0177-affe-d9d2-2aefb7adeee2", + "resource": { + "resourceType": "Practitioner", + "id": "b818f780-0177-affe-d9d2-2aefb7adeee2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "99999999" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ] + } + ], + "address": [ + { + "line": [ + "1002 Healthcare Drive " + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ], + "qualification": [ + { + "code": { + "coding": [ + { + "code": "200000000X", + "display": "Allopathic & Osteopathic Physicians", + "system": "http://nucc.org/provider-taxonomy" + } + ] + } + } + ] }, - "contributedToDeath": true, - "onsetAge": { - "value": 40, - "system": "http://unitsofmeasure.org", - "code": "a" + "request": { + "method": "PUT", + "url": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" } - } - ], - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "FamilyMemberHistory/50ccb6ac-dfb5-e450-492d-59897da92127" - } - }, - { - "fullUrl": "urn:uuid:7fb981b6-d4b7-2688-c7a7-4bb629844a3a", - "resource": { - "resourceType": "MedicationStatement", - "id": "7fb981b6-d4b7-2688-c7a7-4bb629844a3a", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:cdbd33f0-6cde-11db-9fe1-0800200c9a66" - } - ], - "dosage": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 1, - "unit": "mg/actuat" - } - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" }, - "medicationReference": { - "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" - } - }, - "request": { - "method": "PUT", - "url": "MedicationStatement/7fb981b6-d4b7-2688-c7a7-4bb629844a3a" - } - }, - { - "fullUrl": "urn:uuid:917b88e2-d186-dfbd-12c1-0e096f2f105d", - "resource": { - "resourceType": "Medication", - "id": "917b88e2-d186-dfbd-12c1-0e096f2f105d", - "code": { - "coding": [ - { - "code": "573621", - "display": "Proventil 0.09 MG/ACTUAT inhalant solution", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + { + "fullUrl": "urn:uuid:5510eaa6-2ad2-b82b-248b-aba749e28fa1", + "resource": { + "resourceType": "Patient", + "id": "5510eaa6-2ad2-b82b-248b-aba749e28fa1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19.5.99999.2", + "value": "998991" + }, + { + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "111-00-2330" + } + ], + "name": [ + { + "use": "usual", + "family": "Jones", + "given": [ + "Isabella", + "Isa" + ] + } + ], + "birthDate": "2005-05-01", + "gender": "female", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "detailed", + "valueCoding": { + "code": "1966-1", + "display": "Aleut" + } + }, + { + "url": "text", + "valueString": "Aleut" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1357 Amber Drive" + ], + "city": "Beaverton", + "state": "OR", + "country": "US", + "postalCode": "97867" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(816)276-6909", + "use": "home" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" - } - }, - { - "fullUrl": "urn:uuid:be809b86-cc24-5e4d-be31-4ccaec2b2b31", - "resource": { - "resourceType": "MedicationRequest", - "id": "be809b86-cc24-5e4d-be31-4ccaec2b2b31", - "intent": "order", - "status": "completed", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" }, - "medicationReference": { - "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" - }, - "requester": { - "reference": "Practitioner/029fabd5-fdc5-c9c6-fbf1-0ede210c2410" - } - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/be809b86-cc24-5e4d-be31-4ccaec2b2b31" - } - }, - { - "fullUrl": "urn:uuid:029fabd5-fdc5-c9c6-fbf1-0ede210c2410", - "resource": { - "resourceType": "Practitioner", - "id": "029fabd5-fdc5-c9c6-fbf1-0ede210c2410", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9815fe4de8" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ], - "prefix": [ - "Dr." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/029fabd5-fdc5-c9c6-fbf1-0ede210c2410" - } - }, - { - "fullUrl": "urn:uuid:cca5f885-584d-d6e2-8a2b-5cea177bf04d", - "resource": { - "resourceType": "MedicationRequest", - "id": "cca5f885-584d-d6e2-8a2b-5cea177bf04d", - "identifier": [ - { - "system": "urn:oid:1.2.3.4.56789.1", - "value": "cb734647-fc99-424c-a864-7e3cda82e704" - } - ], - "intent": "order", - "status": "completed", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "medicationReference": { - "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" - } - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/cca5f885-584d-d6e2-8a2b-5cea177bf04d" - } - }, - { - "fullUrl": "urn:uuid:b04b42ed-9c6f-35bb-172c-1600ae302fac", - "resource": { - "resourceType": "DiagnosticReport", - "id": "b04b42ed-9c6f-35bb-172c-1600ae302fac", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:7d5a02b0-67a4-11db-bd13-0800200c9a66" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "43789009", - "display": "CBC WO DIFFERENTIAL", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:ee674bd9-634f-7bfb-de2e-510f1248a374", + "resource": { + "resourceType": "RelatedPerson", + "id": "ee674bd9-634f-7bfb-de2e-510f1248a374", + "relationship": [ + { + "coding": [ + { + "code": "GRPRN", + "display": "Grandparent", + "system": "urn:oid:2.16.840.1.113883.5.111" + } + ] + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "Ralph" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "(816)276-6909", + "use": "home" + } + ], + "address": [ + { + "use": "home", + "line": [ + "1357 Amber Drive" + ], + "city": "Beaverton", + "state": "OR", + "country": "US", + "postalCode": "97867" + } + ], + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/ee674bd9-634f-7bfb-de2e-510f1248a374" } - ] }, - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "result": [ - { - "reference": "Observation/7648e038-613c-ce31-4ad2-d07d61fd0cf8" - }, - { - "reference": "Observation/8a3e2b42-67b7-a705-e389-02efe8f3fc0d" - }, - { - "reference": "Observation/39280aa7-e530-fb41-0b85-23d151ac6524" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/b04b42ed-9c6f-35bb-172c-1600ae302fac" - } - }, - { - "fullUrl": "urn:uuid:7648e038-613c-ce31-4ad2-d07d61fd0cf8", - "resource": { - "resourceType": "Observation", - "id": "7648e038-613c-ce31-4ad2-d07d61fd0cf8", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "30313-1", - "display": "HGB", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:50ccb6ac-dfb5-e450-492d-59897da92127", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "50ccb6ac-dfb5-e450-492d-59897da92127", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:9123aedf-5315-4c3a-aeef-1e98319cc6b5" + } + ], + "status": "completed", + "relationship": { + "coding": [ + { + "code": "9947008", + "display": "Biological father", + "system": "http://snomed.info/sct" + } + ] + }, + "sex": { + "coding": [ + { + "code": "M", + "display": "Male", + "system": "urn:oid:2.16.840.1.113883.5.1" + } + ] + }, + "bornString": "1910", + "condition": [ + { + "code": { + "coding": [ + { + "code": "22298006", + "display": "Myocardial infarction", + "system": "http://snomed.info/sct" + } + ] + }, + "contributedToDeath": true, + "onsetAge": { + "value": 57, + "system": "http://unitsofmeasure.org", + "code": "a" + } + }, + { + "code": { + "coding": [ + { + "code": "46635009", + "display": "Diabetes mellitus type 1", + "system": "http://snomed.info/sct" + } + ] + }, + "contributedToDeath": true, + "onsetAge": { + "value": 40, + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + ], + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "FamilyMemberHistory/50ccb6ac-dfb5-e450-492d-59897da92127" } - ] - }, - "effectiveDateTime": "2000-03-23T14:30:00", - "valueQuantity": { - "value": 13.2, - "unit": "g/dl" }, - "referenceRange": [ - { - "low": { - "value": 12.0, - "unit": "g/dl" + { + "fullUrl": "urn:uuid:7fb981b6-d4b7-2688-c7a7-4bb629844a3a", + "resource": { + "resourceType": "MedicationStatement", + "id": "7fb981b6-d4b7-2688-c7a7-4bb629844a3a", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:cdbd33f0-6cde-11db-9fe1-0800200c9a66" + } + ], + "dosage": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "unit": "mg/actuat" + } + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "medicationReference": { + "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" + } }, - "high": { - "value": 15.5, - "unit": "g/dl" + "request": { + "method": "PUT", + "url": "MedicationStatement/7fb981b6-d4b7-2688-c7a7-4bb629844a3a" } - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "performer": [ - { - "reference": "Practitioner/d369ddaf-25f4-4cf0-811d-f3b27e5c7d47" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7648e038-613c-ce31-4ad2-d07d61fd0cf8" - } - }, - { - "fullUrl": "urn:uuid:d369ddaf-25f4-4cf0-811d-f3b27e5c7d47", - "resource": { - "resourceType": "Practitioner", - "id": "d369ddaf-25f4-4cf0-811d-f3b27e5c7d47", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9816ff4de8" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d369ddaf-25f4-4cf0-811d-f3b27e5c7d47" - } - }, - { - "fullUrl": "urn:uuid:8a3e2b42-67b7-a705-e389-02efe8f3fc0d", - "resource": { - "resourceType": "Observation", - "id": "8a3e2b42-67b7-a705-e389-02efe8f3fc0d", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "33765-9", - "display": "WBC", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:917b88e2-d186-dfbd-12c1-0e096f2f105d", + "resource": { + "resourceType": "Medication", + "id": "917b88e2-d186-dfbd-12c1-0e096f2f105d", + "code": { + "coding": [ + { + "code": "573621", + "display": "Proventil 0.09 MG/ACTUAT inhalant solution", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" } - ] - }, - "effectiveDateTime": "2000-03-23T14:30:00", - "valueQuantity": { - "value": 6.7, - "unit": "10+3/ul" }, - "referenceRange": [ - { - "low": { - "value": 4.3, - "unit": "10+3/ul" + { + "fullUrl": "urn:uuid:be809b86-cc24-5e4d-be31-4ccaec2b2b31", + "resource": { + "resourceType": "MedicationRequest", + "id": "be809b86-cc24-5e4d-be31-4ccaec2b2b31", + "intent": "order", + "status": "completed", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "medicationReference": { + "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" + }, + "requester": { + "reference": "Practitioner/029fabd5-fdc5-c9c6-fbf1-0ede210c2410" + } }, - "high": { - "value": 10.8, - "unit": "10+3/ul" + "request": { + "method": "PUT", + "url": "MedicationRequest/be809b86-cc24-5e4d-be31-4ccaec2b2b31" } - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "performer": [ - { - "reference": "Practitioner/3aa24f02-894c-60d9-b26e-d22b084abe55" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/8a3e2b42-67b7-a705-e389-02efe8f3fc0d" - } - }, - { - "fullUrl": "urn:uuid:3aa24f02-894c-60d9-b26e-d22b084abe55", - "resource": { - "resourceType": "Practitioner", - "id": "3aa24f02-894c-60d9-b26e-d22b084abe55", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:2a620154-9d11-439e-92b3-5d9815ff4de8" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3aa24f02-894c-60d9-b26e-d22b084abe55" - } - }, - { - "fullUrl": "urn:uuid:39280aa7-e530-fb41-0b85-23d151ac6524", - "resource": { - "resourceType": "Observation", - "id": "39280aa7-e530-fb41-0b85-23d151ac6524", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "26515-7", - "display": "PLT", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:029fabd5-fdc5-c9c6-fbf1-0ede210c2410", + "resource": { + "resourceType": "Practitioner", + "id": "029fabd5-fdc5-c9c6-fbf1-0ede210c2410", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9815fe4de8" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ], + "prefix": [ + "Dr." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/029fabd5-fdc5-c9c6-fbf1-0ede210c2410" } - ] - }, - "effectiveDateTime": "2000-03-23T14:30:00", - "valueQuantity": { - "value": 123, - "unit": "10+3/ul" }, - "referenceRange": [ - { - "low": { - "value": 150, - "unit": "10+3/ul" + { + "fullUrl": "urn:uuid:cca5f885-584d-d6e2-8a2b-5cea177bf04d", + "resource": { + "resourceType": "MedicationRequest", + "id": "cca5f885-584d-d6e2-8a2b-5cea177bf04d", + "identifier": [ + { + "system": "urn:oid:1.2.3.4.56789.1", + "value": "cb734647-fc99-424c-a864-7e3cda82e704" + } + ], + "intent": "order", + "status": "completed", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "medicationReference": { + "reference": "Medication/917b88e2-d186-dfbd-12c1-0e096f2f105d" + } }, - "high": { - "value": 350, - "unit": "10+3/ul" + "request": { + "method": "PUT", + "url": "MedicationRequest/cca5f885-584d-d6e2-8a2b-5cea177bf04d" } - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "L", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "performer": [ - { - "reference": "Practitioner/88770970-88b9-01ef-5e74-0eba777f4fef" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/39280aa7-e530-fb41-0b85-23d151ac6524" - } - }, - { - "fullUrl": "urn:uuid:88770970-88b9-01ef-5e74-0eba777f4fef", - "resource": { - "resourceType": "Practitioner", - "id": "88770970-88b9-01ef-5e74-0eba777f4fef", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9815ff4de8" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/88770970-88b9-01ef-5e74-0eba777f4fef" - } - }, - { - "fullUrl": "urn:uuid:347929cc-6c18-a140-7974-e9d22b6e9001", - "resource": { - "resourceType": "Observation", - "id": "347929cc-6c18-a140-7974-e9d22b6e9001", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19", - "value": "123456789" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "72166-2", - "display": "Tobacco smoking status NHIS", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:b5dc3327-d0b0-cf0c-13a3-27bae542448a", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b5dc3327-d0b0-cf0c-13a3-27bae542448a", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:7d5a02b0-67a4-11db-bd13-0800200c9a66" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "43789009", + "display": "CBC WO DIFFERENTIAL", + "system": "http://snomed.info/sct" + } + ] + }, + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "result": [ + { + "reference": "Observation/628c88e9-b821-4ba9-6ff8-f872e5485b83" + }, + { + "reference": "Observation/3795fd3b-410a-950e-0f29-c94f9aef7f86" + }, + { + "reference": "Observation/4f7a2f4c-c628-f7e5-fb5a-4f8c1ba3d1a7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/b5dc3327-d0b0-cf0c-13a3-27bae542448a" } - ] }, - "effectiveDateTime": "2012-09-10", - "valueCodeableConcept": { - "coding": [ - { - "code": "8517006", - "display": "Former smoker", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:628c88e9-b821-4ba9-6ff8-f872e5485b83", + "resource": { + "resourceType": "Observation", + "id": "628c88e9-b821-4ba9-6ff8-f872e5485b83", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "30313-1", + "display": "HGB", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-03-23T14:30:00-05:00", + "valueQuantity": { + "value": 13.2, + "unit": "g/dl" + }, + "referenceRange": [ + { + "low": { + "value": 12.0, + "unit": "g/dl" + }, + "high": { + "value": 15.5, + "unit": "g/dl" + } + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "performer": [ + { + "reference": "Practitioner/d369ddaf-25f4-4cf0-811d-f3b27e5c7d47" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/628c88e9-b821-4ba9-6ff8-f872e5485b83" } - ] }, - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/347929cc-6c18-a140-7974-e9d22b6e9001" - } - }, - { - "fullUrl": "urn:uuid:ec28957d-3dea-cfaf-036f-53d1c32407ed", - "resource": { - "resourceType": "Observation", - "id": "ec28957d-3dea-cfaf-036f-53d1c32407ed", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:9b56c25d-9104-45ee-9fa4-e0f3afaa01c1" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "10159-2", - "display": "History of industrial exposure", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:d369ddaf-25f4-4cf0-811d-f3b27e5c7d47", + "resource": { + "resourceType": "Practitioner", + "id": "d369ddaf-25f4-4cf0-811d-f3b27e5c7d47", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9816ff4de8" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d369ddaf-25f4-4cf0-811d-f3b27e5c7d47" } - ] - }, - "effectivePeriod": { - "start": "2005-05-01", - "end": "2010-04-30" - }, - "valueString": "5 years of working with asbestos", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/ec28957d-3dea-cfaf-036f-53d1c32407ed" - } - }, - { - "fullUrl": "urn:uuid:1b3c27aa-d600-8c76-3098-b1c402b86b59", - "resource": { - "resourceType": "Observation", - "id": "1b3c27aa-d600-8c76-3098-b1c402b86b59", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:37f76c51-6411-4e1d-8a37-957fd49d2cef" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "74013-4", - "display": "Alcoholic drinks per day", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:3795fd3b-410a-950e-0f29-c94f9aef7f86", + "resource": { + "resourceType": "Observation", + "id": "3795fd3b-410a-950e-0f29-c94f9aef7f86", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "33765-9", + "display": "WBC", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-03-23T14:30:00-05:00", + "valueQuantity": { + "value": 6.7, + "unit": "10+3/ul" + }, + "referenceRange": [ + { + "low": { + "value": 4.3, + "unit": "10+3/ul" + }, + "high": { + "value": 10.8, + "unit": "10+3/ul" + } + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "performer": [ + { + "reference": "Practitioner/3aa24f02-894c-60d9-b26e-d22b084abe55" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/3795fd3b-410a-950e-0f29-c94f9aef7f86" } - ] - }, - "effectivePeriod": { - "start": "2005-05-01" - }, - "valueQuantity": { - "value": 0 }, - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/1b3c27aa-d600-8c76-3098-b1c402b86b59" - } - }, - { - "fullUrl": "urn:uuid:3f5add5f-3034-3456-7cc8-fa9c5a03a5a7", - "resource": { - "resourceType": "Observation", - "id": "3f5add5f-3034-3456-7cc8-fa9c5a03a5a7", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "8302-2", - "display": "Height", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:3aa24f02-894c-60d9-b26e-d22b084abe55", + "resource": { + "resourceType": "Practitioner", + "id": "3aa24f02-894c-60d9-b26e-d22b084abe55", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:2a620154-9d11-439e-92b3-5d9815ff4de8" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3aa24f02-894c-60d9-b26e-d22b084abe55" } - ] }, - "effectiveDateTime": "1999-11-14", - "valueQuantity": { - "value": 177, - "unit": "cm" - }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/3f5add5f-3034-3456-7cc8-fa9c5a03a5a7" - } - }, - { - "fullUrl": "urn:uuid:c7e85da9-7f6b-5844-99c3-a4c662ac3af1", - "resource": { - "resourceType": "Observation", - "id": "c7e85da9-7f6b-5844-99c3-a4c662ac3af1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "3141-9", - "display": "Patient Body Weight - Measured", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:4f7a2f4c-c628-f7e5-fb5a-4f8c1ba3d1a7", + "resource": { + "resourceType": "Observation", + "id": "4f7a2f4c-c628-f7e5-fb5a-4f8c1ba3d1a7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:107c2dc0-67a5-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "26515-7", + "display": "PLT", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-03-23T14:30:00-05:00", + "valueQuantity": { + "value": 123, + "unit": "10+3/ul" + }, + "referenceRange": [ + { + "low": { + "value": 150, + "unit": "10+3/ul" + }, + "high": { + "value": 350, + "unit": "10+3/ul" + } + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "L", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "performer": [ + { + "reference": "Practitioner/88770970-88b9-01ef-5e74-0eba777f4fef" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f7a2f4c-c628-f7e5-fb5a-4f8c1ba3d1a7" } - ] - }, - "effectiveDateTime": "1999-11-14", - "valueQuantity": { - "value": 86, - "unit": "kg" }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/c7e85da9-7f6b-5844-99c3-a4c662ac3af1" - } - }, - { - "fullUrl": "urn:uuid:85b1a1ce-87a0-0a0c-deab-29026ab2a852", - "resource": { - "resourceType": "Observation", - "id": "85b1a1ce-87a0-0a0c-deab-29026ab2a852", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "8480-6", - "display": "Intravascular Systolic", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:88770970-88b9-01ef-5e74-0eba777f4fef", + "resource": { + "resourceType": "Practitioner", + "id": "88770970-88b9-01ef-5e74-0eba777f4fef", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:2a620155-9d11-439e-92b3-5d9815ff4de8" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/88770970-88b9-01ef-5e74-0eba777f4fef" } - ] - }, - "effectiveDateTime": "1999-11-14", - "valueQuantity": { - "value": 132, - "unit": "mm[Hg]" - }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/85b1a1ce-87a0-0a0c-deab-29026ab2a852" - } - }, - { - "fullUrl": "urn:uuid:1fe8a2f7-2057-362e-5f3c-785d5cf39300", - "resource": { - "resourceType": "Observation", - "id": "1fe8a2f7-2057-362e-5f3c-785d5cf39300", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "8302-2", - "display": "Height", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:347929cc-6c18-a140-7974-e9d22b6e9001", + "resource": { + "resourceType": "Observation", + "id": "347929cc-6c18-a140-7974-e9d22b6e9001", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19", + "value": "123456789" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2012-09-10", + "valueCodeableConcept": { + "coding": [ + { + "code": "8517006", + "display": "Former smoker", + "system": "http://snomed.info/sct" + } + ] + }, + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/347929cc-6c18-a140-7974-e9d22b6e9001" } - ] - }, - "effectiveDateTime": "2000-04-07", - "valueQuantity": { - "value": 177, - "unit": "cm" - }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/1fe8a2f7-2057-362e-5f3c-785d5cf39300" - } - }, - { - "fullUrl": "urn:uuid:04cfe0e0-91a1-9c33-775c-13a0187bc884", - "resource": { - "resourceType": "Observation", - "id": "04cfe0e0-91a1-9c33-775c-13a0187bc884", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "3141-9", - "display": "Patient Body Weight - Measured", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:ec28957d-3dea-cfaf-036f-53d1c32407ed", + "resource": { + "resourceType": "Observation", + "id": "ec28957d-3dea-cfaf-036f-53d1c32407ed", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:9b56c25d-9104-45ee-9fa4-e0f3afaa01c1" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "10159-2", + "display": "History of industrial exposure", + "system": "http://loinc.org" + } + ] + }, + "effectivePeriod": { + "start": "2005-05-01", + "end": "2010-04-30" + }, + "valueString": "5 years of working with asbestos", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/ec28957d-3dea-cfaf-036f-53d1c32407ed" } - ] - }, - "effectiveDateTime": "2000-04-07", - "valueQuantity": { - "value": 88, - "unit": "kg" }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/04cfe0e0-91a1-9c33-775c-13a0187bc884" - } - }, - { - "fullUrl": "urn:uuid:de0e62ec-48a6-67a4-2aad-d8e9825aaf64", - "resource": { - "resourceType": "Observation", - "id": "de0e62ec-48a6-67a4-2aad-d8e9825aaf64", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "vital-signs" - } - ] - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "8480-6", - "display": "Intravascular Systolic", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:1b3c27aa-d600-8c76-3098-b1c402b86b59", + "resource": { + "resourceType": "Observation", + "id": "1b3c27aa-d600-8c76-3098-b1c402b86b59", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:37f76c51-6411-4e1d-8a37-957fd49d2cef" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "74013-4", + "display": "Alcoholic drinks per day", + "system": "http://loinc.org" + } + ] + }, + "effectivePeriod": { + "start": "2005-05-01" + }, + "valueQuantity": { + "value": 0 + }, + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/1b3c27aa-d600-8c76-3098-b1c402b86b59" } - ] - }, - "effectiveDateTime": "2000-04-07", - "valueQuantity": { - "value": 145, - "unit": "mm[Hg]" }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Observation/de0e62ec-48a6-67a4-2aad-d8e9825aaf64" - } - }, - { - "fullUrl": "urn:uuid:f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5", - "resource": { - "resourceType": "Immunization", - "id": "f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" - } - ], - "occurrenceDateTime": "1999-11", - "vaccineCode": { - "coding": [ - { - "code": "111", - "display": "influenza, live, intranasal", - "system": "urn:oid:2.16.840.1.113883.12.292" + { + "fullUrl": "urn:uuid:3f5add5f-3034-3456-7cc8-fa9c5a03a5a7", + "resource": { + "resourceType": "Observation", + "id": "3f5add5f-3034-3456-7cc8-fa9c5a03a5a7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "8302-2", + "display": "Height", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-11-14", + "valueQuantity": { + "value": 177, + "unit": "cm" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/3f5add5f-3034-3456-7cc8-fa9c5a03a5a7" } - ] }, - "status": "completed", - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular injection", - "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + { + "fullUrl": "urn:uuid:c7e85da9-7f6b-5844-99c3-a4c662ac3af1", + "resource": { + "resourceType": "Observation", + "id": "c7e85da9-7f6b-5844-99c3-a4c662ac3af1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3141-9", + "display": "Patient Body Weight - Measured", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-11-14", + "valueQuantity": { + "value": 86, + "unit": "kg" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/c7e85da9-7f6b-5844-99c3-a4c662ac3af1" } - ] }, - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5" - } - }, - { - "fullUrl": "urn:uuid:f700a092-ee1a-2c30-d48f-cf372d1fb888", - "resource": { - "resourceType": "Immunization", - "id": "f700a092-ee1a-2c30-d48f-cf372d1fb888", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" - } - ], - "occurrenceDateTime": "1998-12-15", - "vaccineCode": { - "coding": [ - { - "code": "111", - "display": "influenza, live, intranasal", - "system": "urn:oid:2.16.840.1.113883.12.292" + { + "fullUrl": "urn:uuid:85b1a1ce-87a0-0a0c-deab-29026ab2a852", + "resource": { + "resourceType": "Observation", + "id": "85b1a1ce-87a0-0a0c-deab-29026ab2a852", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "8480-6", + "display": "Intravascular Systolic", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-11-14", + "valueQuantity": { + "value": 132, + "unit": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/85b1a1ce-87a0-0a0c-deab-29026ab2a852" } - ] }, - "status": "completed", - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular injection", - "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + { + "fullUrl": "urn:uuid:1fe8a2f7-2057-362e-5f3c-785d5cf39300", + "resource": { + "resourceType": "Observation", + "id": "1fe8a2f7-2057-362e-5f3c-785d5cf39300", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "8302-2", + "display": "Height", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-04-07", + "valueQuantity": { + "value": 177, + "unit": "cm" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/1fe8a2f7-2057-362e-5f3c-785d5cf39300" } - ] }, - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/f700a092-ee1a-2c30-d48f-cf372d1fb888" - } - }, - { - "fullUrl": "urn:uuid:7503716e-e3da-74bd-c592-f128ea622eed", - "resource": { - "resourceType": "Immunization", - "id": "7503716e-e3da-74bd-c592-f128ea622eed", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" - } - ], - "occurrenceDateTime": "1998-12-15", - "vaccineCode": { - "coding": [ - { - "code": "109", - "display": "Pneumococcal NOS", - "system": "urn:oid:2.16.840.1.113883.12.292" + { + "fullUrl": "urn:uuid:04cfe0e0-91a1-9c33-775c-13a0187bc884", + "resource": { + "resourceType": "Observation", + "id": "04cfe0e0-91a1-9c33-775c-13a0187bc884", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3141-9", + "display": "Patient Body Weight - Measured", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-04-07", + "valueQuantity": { + "value": 88, + "unit": "kg" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/04cfe0e0-91a1-9c33-775c-13a0187bc884" } - ] }, - "status": "completed", - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular injection", - "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + { + "fullUrl": "urn:uuid:de0e62ec-48a6-67a4-2aad-d8e9825aaf64", + "resource": { + "resourceType": "Observation", + "id": "de0e62ec-48a6-67a4-2aad-d8e9825aaf64", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:c6f88321-67ad-11db-bd13-0800200c9a66" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs" + } + ] + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "8480-6", + "display": "Intravascular Systolic", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "2000-04-07", + "valueQuantity": { + "value": 145, + "unit": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "code": "N", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Observation/de0e62ec-48a6-67a4-2aad-d8e9825aaf64" } - ] }, - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/7503716e-e3da-74bd-c592-f128ea622eed" - } - }, - { - "fullUrl": "urn:uuid:f2d67ba2-76a9-c4cc-0423-22dd9c5900b2", - "resource": { - "resourceType": "Immunization", - "id": "f2d67ba2-76a9-c4cc-0423-22dd9c5900b2", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" - } - ], - "statusReason": { - "coding": [ - { - "code": "PATOBJ", - "display": "Patient Objection", - "system": "urn:oid:2.16.840.1.113883.5.8" + { + "fullUrl": "urn:uuid:f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5", + "resource": { + "resourceType": "Immunization", + "id": "f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" + } + ], + "occurrenceDateTime": "1999-11", + "vaccineCode": { + "coding": [ + { + "code": "111", + "display": "influenza, live, intranasal", + "system": "urn:oid:2.16.840.1.113883.12.292" + } + ] + }, + "status": "completed", + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular injection", + "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + } + ] + }, + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Immunization/f4e5c26e-5cac-15c5-9f52-7ea5419ec3e5" } - ] }, - "occurrenceDateTime": "1998-12-15", - "vaccineCode": { - "coding": [ - { - "code": "09", - "display": "Tetanus and diphtheria toxoids - preservative free", - "system": "urn:oid:2.16.840.1.113883.12.292" + { + "fullUrl": "urn:uuid:f700a092-ee1a-2c30-d48f-cf372d1fb888", + "resource": { + "resourceType": "Immunization", + "id": "f700a092-ee1a-2c30-d48f-cf372d1fb888", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" + } + ], + "occurrenceDateTime": "1998-12-15", + "vaccineCode": { + "coding": [ + { + "code": "111", + "display": "influenza, live, intranasal", + "system": "urn:oid:2.16.840.1.113883.12.292" + } + ] + }, + "status": "completed", + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular injection", + "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + } + ] + }, + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Immunization/f700a092-ee1a-2c30-d48f-cf372d1fb888" } - ] }, - "status": "completed", - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular injection", - "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + { + "fullUrl": "urn:uuid:7503716e-e3da-74bd-c592-f128ea622eed", + "resource": { + "resourceType": "Immunization", + "id": "7503716e-e3da-74bd-c592-f128ea622eed", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" + } + ], + "occurrenceDateTime": "1998-12-15", + "vaccineCode": { + "coding": [ + { + "code": "109", + "display": "Pneumococcal NOS", + "system": "urn:oid:2.16.840.1.113883.12.292" + } + ] + }, + "status": "completed", + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular injection", + "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + } + ] + }, + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Immunization/7503716e-e3da-74bd-c592-f128ea622eed" } - ] }, - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Immunization/f2d67ba2-76a9-c4cc-0423-22dd9c5900b2" - } - }, - { - "fullUrl": "urn:uuid:a26689c1-bf4b-80ec-0931-d8f421e65ef1", - "resource": { - "resourceType": "Condition", - "id": "a26689c1-bf4b-80ec-0931-d8f421e65ef1", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:ab1791b0-5c71-11db-b0de-0800200c9a66" - } - ], - "clinicalStatus": { - "coding": [ - { - "code": "81323004", - "display": "Alive and well", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:f2d67ba2-76a9-c4cc-0423-22dd9c5900b2", + "resource": { + "resourceType": "Immunization", + "id": "f2d67ba2-76a9-c4cc-0423-22dd9c5900b2", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92" + } + ], + "statusReason": { + "coding": [ + { + "code": "PATOBJ", + "display": "Patient Objection", + "system": "urn:oid:2.16.840.1.113883.5.8" + } + ] + }, + "occurrenceDateTime": "1998-12-15", + "vaccineCode": { + "coding": [ + { + "code": "09", + "display": "Tetanus and diphtheria toxoids - preservative free", + "system": "urn:oid:2.16.840.1.113883.12.292" + } + ] + }, + "status": "completed", + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular injection", + "system": "urn:oid:2.16.840.1.113883.3.26.1.1" + } + ] + }, + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Immunization/f2d67ba2-76a9-c4cc-0423-22dd9c5900b2" } - ] }, - "code": { - "coding": [ - { - "code": "233604007", - "display": "Pneumonia", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:a26689c1-bf4b-80ec-0931-d8f421e65ef1", + "resource": { + "resourceType": "Condition", + "id": "a26689c1-bf4b-80ec-0931-d8f421e65ef1", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:ab1791b0-5c71-11db-b0de-0800200c9a66" + } + ], + "clinicalStatus": { + "coding": [ + { + "code": "81323004", + "display": "Alive and well", + "system": "http://snomed.info/sct" + } + ] + }, + "code": { + "coding": [ + { + "code": "233604007", + "display": "Pneumonia", + "system": "http://snomed.info/sct" + } + ] + }, + "onsetDateTime": "2008-01-03", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Condition/a26689c1-bf4b-80ec-0931-d8f421e65ef1" } - ] }, - "onsetDateTime": "2008-01-03", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Condition/a26689c1-bf4b-80ec-0931-d8f421e65ef1" - } - }, - { - "fullUrl": "urn:uuid:5c019092-be27-b962-e711-c21af8d4f512", - "resource": { - "resourceType": "Condition", - "id": "5c019092-be27-b962-e711-c21af8d4f512", - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:ab1791b0-5c71-11db-b0de-0800200c9a66" - } - ], - "clinicalStatus": { - "coding": [ - { - "code": "81323004", - "display": "Alive and well", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:5c019092-be27-b962-e711-c21af8d4f512", + "resource": { + "resourceType": "Condition", + "id": "5c019092-be27-b962-e711-c21af8d4f512", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:ab1791b0-5c71-11db-b0de-0800200c9a66" + } + ], + "clinicalStatus": { + "coding": [ + { + "code": "81323004", + "display": "Alive and well", + "system": "http://snomed.info/sct" + } + ] + }, + "code": { + "coding": [ + { + "code": "195967001", + "display": "Asthma", + "system": "http://snomed.info/sct" + } + ] + }, + "onsetDateTime": "2007-01-03", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Condition/5c019092-be27-b962-e711-c21af8d4f512" } - ] }, - "code": { - "coding": [ - { - "code": "195967001", - "display": "Asthma", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:aa657309-acf9-c57d-157d-f126fe108fc9", + "resource": { + "resourceType": "DocumentReference", + "id": "aa657309-acf9-c57d-157d-f126fe108fc9", + "type": { + "coding": [ + { + "code": "34117-2", + "display": "History and Physical Note", + "system": "http://loinc.org" + } + ] + }, + "date": "2022-03-25T13:31:59.224Z", + "status": "current", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "H4sIAAAAAAAACu19eXfayLbv3/kW9XyHl9xjQAMC5OP4LIxxzG0PNOB093vrrV5CKoxuBOJI4MTn07+9S1NJaMTYcTrQnQQ01LR37frtoXad/uPbwiKP1HFNe/nxSKwLR4Quddswlw8fj+4nl7XOEXHX2tLQLHtJPx49UffoH2en+FrNXT9Z1J1TuibrpxXcXNNv68Y31zoic4fOPh71Lrp1/Akv/K9ajUzMtUVPiP+5Mt217TwRKJsM50+uqWsWuTQtutQW/lO9GpTw50j603/2T3j2z+DZOrac/Pu15q57c235QI0LbQ0vSoLYrIliTZSIJJ9IyomgkpqgCAJ5/xs1jglcv7Uf2WMfyL9DLf+144dcmK5uaeaCOidkMjdd4mqLlUXJDDpBdHu51sylSxy6cqhL4dfafKTE0NYaoRZdwBWXrO3oPtFSx6ROoHC/UIOuTB1e0+CnvgaSwZDpc83R9DV1/rdL5lSz1nNWR510l09QuEsXU0tb6hTr0uACvLICettLAi3WbXOpmwa2jlVkE9OyNu7agaEkmksWGhQSbzJcXdmua04tekzW0DLdMpeMeK4OtHNMG956Ikt7TaaUrCxtw571u8HKMpfwYmK84Ce+Yi7XdGlQIz4yXqthALEFx9B+G9+znahu+oi3WCVRwfDNoK75sPTKg+ZsXPgK1QN1/mezZENIvpowZNgRxm6kFxR5a6+pSwZYEvZcYw9/2sBo1XfnmVrt7DSo4cLWN1gyAU5euiffXPPj0Xy9Xp00Gl+/fq1/leu289CQBEFs/H5zPdbndKHVgKVgOur0yHvr49HGWZ7MrXYNnj15lP3LJ7qhZd1yjbUev4dXjs7e4STduWMEx+6KagZ1di3jHQzOu1Ok9aJnGziFDBAq9+OjBlxGCTMwiGPb649HUl1s1TtNoS7WRVHudGT4Av0D8UOXniQb3vUu/ry6EODTFFgBKIHux+QTXVIHqOs1lUwo0BeZndW99n/lVSTUJfgfbtTFWI1M7gitmqCG1eG4IBedeLy/hKdJVMUx6yCb62uUjMCIlkUMczaDdsFMh3kAUpggh841T8QSe0aMgGuAu6cUn8ApwljS6wTWDPw9s50FEzDI2uFL7orqJggPmFL/3JiOP6d36b2c13vT4G9OJmoH1pHMQtW6UlfxA0OKb7Nxwb/GTy40Ku2dFo5+9MgtrBkfj67vBrc97/LHI7kpiu2adAQj6kK3nrxHUlcdpJHHZEiHs569WGyW5voJmQTlKT58ZbsrE6SkexJK6f8EKfP3sJTThvf2u1MKFATR8kgnsDaQR83aUDZAkqCKLVEVlBrwpMeUSCcmfk3Nggo5tr89KhgBpS4prAyQ7g8b7YFyL9NlzZ82Ll0PYrRwKxDDo6WPDm43iykwpt8dj1AO1W3HmGjOA12fvXt36ovokY3j8C7JBqraUVWxVNUSFv/O4+VL7QslgwuQ3cjsV9dtKNOT73eDizpj3a2qRAAAglCTZFnIrq/psRtfzdjWgRJkTPWNgwzgd9qrGicSrLQbfGB8G6tdMwx8ChlsCJI0KPNqiLP0aOWYCw0YZm4vQG7PHHvB0ZakkRbar/plAw3XDmCsLlRBXffaXNIzUVbapMuaduEAo502tp9hr+rQibNzqgEN1/bytMF++4XCTD+7G+Gr+I1dhIUdWBwZ6Uxtd1rt0wZ3xSvQ3izXztPZ/RgK87+H3QXxit29h7kDy+wYy3X9/g7Gd0QWW62aSHrea/AvLM4nBDBnHe/UxWAwGzia7NsaUIcOb/tMBz9P3nfE1gep3aq1VJA14ZhHdMwec2Qdf4TuXVo07gEze91DUOpVdu3R16vsmtV1TR80i6ukD/N5zQROVj1NJaDuu9MHIODybOBqU2pZ2mnD+524F7+MVfe8unsaLBqxLka1DzVn/SuwKwh84JTUdshRO2bawrSezv4bcL572vB/sTsN7L33VTMWAF4YQIT2wGIKiygneC6LpZaYkMiXgGosJn6x/KnprOdxuQnYXRH8mfruFIiKYhiZa+NyNd8kir3RHMekRgkpur2O3CTrCCp3qGU+mPbG7c4AtJoMEnJtEAVRTjSjN3dgtExtSd4v7WWtp63ntmXqxwB2l7VgMf6w3QQk5CiojXDVlRhgod0KG6zp/LogqjgDE03sWnSzLiq2VZfkznYzR1C+vw7213NAtSg0gTcvekELKLv8ybE3K64hkthp1ZREQ2AZxrV1pcELCO6vocNL+8VaBoumYwBlfPYPQcfHo0+j4eg20bhPDqCAleaARChBAlHMICmsjOyG34i0lWOfa8ezVo+89SNjBSmzhuSsIntdR/iVpPpawjHIkKnLQQNDWRjJ55FmreYxCZ0nTmMCFb6nVBNd5KQi8KIevMR991gorDaHYlkkK0WzXKLx49yI2nbaSDScw6oMYutMpPkvpuLYkBgLuMDd6Y+HiQna/4bWAtTv3ZX9Bd4snKUtIUWF8BvRnYLAXT/d8FN15dggrAET6E/XYG9goxNIjKS0sO0SS09LLGzAMKqTawcFFREu0QEoJgE/O5twmWpkDjNQJ0I12KFH0D6cO+cBZO6/ImIgmi5E6XVRVuWgSsbQ+YoTDyOCycim3G9ASm5WEkVRauwPKO9B+RyDpQg0MJGQz6A9Q5dJFybhJlumeRNkaDtrGCSDnx/psyM2N1RRkrfnRjYojpBsI2OsQ4J4OtNpI65SnWobAAxYBOimCVAkS6okNUHLZdZNNlCnmuuZu7rBa9s6mPfJ04p89MCviFCh9/m9eDkGFLSFMCwbujmHZd1bke/g7eCKpz+DqHP9akNSp1Na8plLh7XYW79IvvqTQuti7SeV0lmETtFY0hg74GvsRNBXn1687OfWBm9FuaJL5ymuAPjLyRjNnhlYHRqVLDy6FPAHXAm+oWUWVAcQLIzdgic9bSLgpDymSWGzpiwpUjmylp3AB5pm0TSg1GkjRspTk5kCNSbzM8jKUe6XIcxysZ1vpTmQ9LVJyhExTlBQSUGA+U+CPwReRXkFFvDRmOkTnj04uE7gcuRYQU+S7wxiXhDvO9i3WKnAD+7cXEUOEn+pCq1e3AIxHo4TQn88vLsf94uWC/wCLKW05G0oNAxaM+Jbw1SoCRrDP6NoBVvd2mdHfyhyZeklqHFfUomUZ/fAZTlednglnUQ6+NBsH7+Hc67HXcTW+kTgbqQCsd1W750hWRoSYytWuKZxkCy8lofNKqzY3w2elaBGNC05QkKJ3A+fBfCFEZh2Vj7SPg28mvzFzKf3KVuyqkDLPYXCjG2Oq8Q2DK+mFYRVb/U5qz2nFhpQEZOgJwS0lVTEqwqS1BZlMOtHeBfpAUY6h1cNmeOjxEqnVsHCB/TyaktdGjMwPejAHD+ruhIxR4IPwEnjwA8TbMaeh9zDPoPbi6NQgkBcxYkXnzT4fP3nxEdFlv019GWqiiqg1up1cm4+zDmvrSgKnqMVasfyfNmCjsJU3HV798tREh3dTK7KGY1LCJs2udC+umRk1L+716/AUwei9QNjIElMogduBDN4CY1c5rezG8eFfvo/eC4DH816ru2A5FJq5i9GrMaxFlvaLzcWeGEsjJi4m3HMdnl9yXjqFOw2YFLnWKHbmxyRBZgCvZ+jX+88zsi1rsX0aJjWTaXWandUf8FrsEq8pTTWIBZMsFhB171f4HmBOL7FCqfQ8qG/ZGRjqv32Oii3ITghT+NLGoRyzT8pDrXecFJrBoEZqiptucn6yDdehBUijRttCZYA7JhfcyykwiMpN4HTwcHWVE596LSxVTYUzRmmT72guh6A10tNZ0ZZn93iZFQSSrIvM6GC9AJgoYuqgVakUwvnG0fVIKxoxxgt4oVpndvGE/uxc0ksXihsGUNiYICG2AiHGlh6qHjmFeA9smsbwKhInQeTQjxg18AYFQp6IoRnoJ4Il+Dm2t217FC/jTqIXUQ28bkiCvAK28E4d7Bcg34KSqYOF/wXPAUaigGHtEvslR+4GQ3Du2qxV1LC2BaPvXqXWHuanXZLwTionQOqgkK9+Kbu9XV/9GnQH8MgX3zuj8Z9MuqDpBvc3eIluDkZh7FQft++eSOI3zWIBSVTJsUwigjGxljP0XUu/Efg/oSnYMoYwS/4Gbq32L2z8WbqBUFCPfP4rYAFtu8g+MCYnpQ7zM8fuw4/IpdaI9ac0/XUZ/C0xhn++PRvBz3S/30ygpE5JkP8Obi+HtxCYUb8+fAHiwYDoq4h2OnjkeN3RDw6u4UQWgpLnX+be71sYa7fdygMPVosuhciA9llWqrgwRKbg75i7g4/StsDgYseQJLKPZaOzn6DoPJ/gSDcR5+lqM+liutW7WcXtGLHXFbup3x0dgU1ufvoJJR1Y1osynmxx87Cd47Z4RfOXn9WN6JpDVADHfERJLoYDT6HwQzQ2xxQ1P98GzxJSCUx2KxjcF+uHAzFtC+lMVgAxIYDKAMaxclffjWXW1SmqizU2lO2k8CY1tQZBS9bBxQhQdBVrRXY2FibOVnbuwviT3PdvqmxIUCKHo5SMoDIazDXIzcZ+uTNTO6JjABUoc0CqSJKxyGUdzcspRR68jhhG52FTBEz3UYMMr4//2+uIfbUpc6jh/84Vrk7H2ewSkBZzScrX0DAQxxxq7NWu5CzeJZpaoYOamI5lvHmcEi97ngMSyasnsWM04yVscUHCFcsCjpM7LFU4hRTP4uscIO9xKnVvYsA2jdBlQZ9WUjCe4higHB2FzVl3IXiw7VAELIodcPZPBRjFDVl7oxv7276FwTECt8724HYOYBZkwh8eDfC4Img8/8WLbVc95mqlVbEaYO9x11It0H0xjexBnFPeVFgEZ/fdG/v+WdZfM8TUwSS1oWbm26sn3FeksVmU0qGvOcDkuIx76RF1327BTtuvCHZY15l2HNGnt3ClsSGqhEbqxgBE0PO0zCm3G99cmXXzeUYVjBz6cfFQwyOH30TY78dJFp1KaWWkFK+pAyAcaGorCrYYkIpsR7uKtviSkNVDuKhSSVZmSMti+VljsTMlZltudNWobxywi8eMMsUg6TUiugbE+ZJjuaXiKKV+m1we6c8twO0C/S9dIaPYb93SWd2/3PSmR0UdhcVVoantwQnojwuprACs0c63N6YPZsp5baoSk3AfMmo+i3t8blr9jOZN/WV7BfA0qsHSov30A+nwUAgIShhi59Tg2nlajDe3YMG83NqMEnq/4QaTOBz+HE1GKnVFrbkB7Mjfn9FJT66OQPMbh0UlYOiUsBBr6KotPalqCgtQYTVoLmDohLY8w+qyk+lquyR3bPZstWWW0x9TlVUDurJQT15PfWkk6ueeHcP6snPqZ4kqf8TqifBbtEfVz0RRUxgE3eveO7/76+exEc3Z4DZrYN6clBPCjjoVdSTzr7UE6nZbral3fQTFodzUE5+KuVEfjU/iry9XieDtf4Sasppg4uQ5QKX2c+ygcuI1sbjm/7tpMzTpEykbrXY2iIv436yEypip9mpJU2dUeeTQbfhjezQWst01wT/ws2xH49YiC2wauQegpZAfKy+cTCJEfk0IOBHogbmlNwsvyztr0tCYdQs++Hp72T+tLL9QcBdwXNtxcKZ7aWByYiAczM+LK/rdLPGNLGW+YVaT/HXVrb1tJprzkLTn+qnDdamWAO7+gbECvqR546NiaC0JV2YWryUfxPT3/0XtBkePgbnGJYC/YQ465lmWhCX7kVhP9rWBlQ2y3bdUkVewVg6XzQrpQ0yC/iGlnZ7ffb1l78Rd7Py08WmlnYHkcRO2DPD1B6WtouR4yz5LdBCm9qP9Jj4NMLBYyGX8cJOG0jlYP6FLLCX6de7GvQvSe/uZnjdHdxOSAODu8d3t+TybkQ+D8aD7zUtRXm/E7DZkmR1awImO0v+RhIjkpiYyRcaicezpyuoK9qDo63mZxea8wUIbdsW2+sUXq9K4DKUSftcdm8G13+Qq8F4cjf6Y9dSXoDkSpEoRq4O2ZqQS7bji8z9/KzB9osQrHDPhhsveOVOEJV2LbbOZvFWnAniA1iG5JcakwTvDapTzaXGhy2672mrxIUnY8z49gZ2q4u5VtbkbunS9b42P9w82TpLXGaRwXKmOR4B3usYqMSSF1Po+IftOHSlXSHgHvo0BRTmbhfTFF42lN32NrkD5eLhH7wBoXd9P570RzuHhDSLuL6Q76NW5nE+tiy0r+H+YY0as5oii0qtqctaTaN0VhOp2pFFVddbU4WrvwwyPnU30/+BGRhRw8+YMfaup+Uqebc1Jy9x52w8XyibOunpFb2BuKGY27DchlseN68dbel6YDfcqthsg4qaaME5A0ksc/QsozEeMi+F6mMWwbhVZmsIixOw3lRPwHoTpV/169hKwgpWLy7gP+DAvp+G2Z/bmEU+4lwXYgZ1a4Op/KcUVX6WdX/h5RuPqYxYlt9dKOEkEInpue0SD8Ub2WoHT/EVwLKZ5MRGnBXPsp5MrGa7xjpWlwFFG/xCGvhTP0hJflcU3BtNeaMp0emsLdQUvaN6JvWpYNAsk3o8TKytyJJcbqnMgmFJJ4xhMmPAcw3wadxQZDmSJBU63drBcMStd2a43sUblxNb2+vej58fR/uuKnPFxmVrNUksJmzFTrf9pC0qCSZrddTOTKOMybRiJvOm3D7Cx/dguwFfi6CqLAa2Ml9cAGb6Ue2JVflJTppvE+gEcWZF/uG3LzcVsJWwRbgyFXiEuy/+GP4aJklRwIeJSZLAQfxCBrit5WdPC9K7F1uPclBpBRaIBIgynUEss84EyPSvuEopMWCVJ45aLVnZURr5ChNZUMsyobHeYTJxb/RB2LxpYdMUXlvYoPvYVyRfyNb/qX/bH3WvyXjSndyPv4NhMchkmrQDSaJQk/cmNuLdTNiO4jfL2I5YahNmcAaV6gEEPGERCHgw2tL2Ld9Q/xpzQtXJcwyKpYjoW73I3SUZdscTMri+vgVfxXegJtoMpaINNfuxHsODKe6bjKFIUJzdAuvAoAdkr2AzHFMa6nmgbg/9s/EGlrVESn8PyzHf4VF/DO6pKuRP++zEEWKd0QwPdKqLqtzG7wpcw+vNPRNeEFvN7VPFMschQfvsB8twADvb0E/CS76C08heAsDCDJzMVwRNwsMgH8DkMrMddtjjlrMPXkr7GNTVHXMaGGu2mYlvxhUlYbLU4IC5/gi+GRqEUjXwmEkjdGmQJwpD6eAt5hYEGQXOPyu1FVMHnZDea6y0Oiyn7LQvAlVgh0O35CP1TpGkpCP8Aw/ZdG3rEfs3g8pIHT6pNbAb7K/cHl5rU6KtowE9IZ+sjQ6uOiKK0jE5v78lYgvcdBA4swZr3BKu18VjPCNTXzvg4USslfbx+l4nV3WyerIgOgvE+NpEuzTxj/urky4Y+Fzmd8XzHtc20GUNtf3HcdSc1LK5pyX1P+rkt/MeaUPowTGewYnp+cDiilnFiKS0jgVBqJN7CFvTrCdwDoQNw0vpxesbC7N7nZBbmzwAndbzOhncjryODycTAvOoiGuQgszIOmPncDKHbIuhGmDlGXC2/gUug9MamBXXNR3gqus9FhEui6y5lQP/0yjFnChBVMtqzczEJ6QH1lxwkej2ClxGc/srniAClADDJrZEt9ippCVY6nsI4MHNzf3t4P90WfatV5W5+atw7tmYkQHZT4k28s6iNCKvXEKVHLBsxF5yYbe6X0+UW+oe1UBuETb5hiVkfYw22eKdT+fEihtD90KIvx8v4GdN171UXAkfIB6Z/NIJ0cIfKX1FFRQchaDhLP+lkUfTAd300WvsMRncbHv48OhmUVXV7Tu9QKeq4EnMa5pUtWkXVMemdV6+aRgKMVzSzcLWbR3dUBhV40LbYHUwge3fSDMRek3oWlvCyKG6YpirObrLIJJmbX+zTcNNbyG0rr19dUTZqvGyDl43yCzY5dxscbva+Lx7AV62hAN4SR/Yk8wOO9MsNzLEVrS1KVJl/29MPmJiAPOR7QSI5GOamS0ystHWTJxqTbmmC9SoNacq7q4QpdqsKStGRzM6M5XbyhWPskyJsAxndkQZ7o1yzuO4tWwrhXNkP1PVIG2y1xob1F+u7J7UEePHbKUNv1yXUGdIkf+3bExhivWQKxyIanBBkKOK/f62N/iA5zq72gZkQ2KNGACXaYuNC7BJcwA/oFcxZjg8NQBO/rpB/AekCizKoZFnoXObJXFquZtFxNB4bQHzaobH0cLCOXRsYxN3qSe2PFRlwuYOBt84G95Qwz94DENBgqz/GbyY6M8NNBTEhBUXLyFR4zspUrsCGAR4NkmTVGmekq748+9xh0hsH0VGMdm7LVICC9gBkbHGmUGpxxA3iTGAJnLQUnPxZNm0BpYbgbipMLHp4xSwrXfCMWuyiCmJ+Qvcm/nU4Ym3fZqc/wxLwe0fJ3E9JjWPXWzgDh2wM3+sYqLC9BLjbfJnAG/NTE6ZZ1q4C7LAYGjg7g7/QrNVON9g2qAMwmTLDAyHB9gn5xMPgNui0GyyKPTKZm0e4RIKY+zF7PPNSgTOZ60IPq4dQuitiZgW+L2GIcLEfVqs1vbCZVaL9dwBO1fuBwwDaO6KV1vOyM5FrufZyFkgSBoQqJw66AUARWXm+osgCum1EEVHlCD09IApCjBFdT48gIq/PqgArkigCrl5wBUHXHHAFQdc8TZxBbcR9IAr3oCt4i+GK2R5J2NFCfvudzFcbKWEjTX09m78isCidQAWB2BxABZvEFjwprOf1V5xwBVvywfyF8MVorAbsMj3yIJZnsV2sehgCLKagTW2Ks6oVkOJDzaiEkrZAin76vSLwBhwdh/8Lge/y8HvUuCjG43vuD1Mr7HvSZG3RH1MvLOYFFB70vcuSVoL1gxFqamGKNaaskprqjSVa4oBLgZlNmsaRmc7aWVcufKDfe/YtuQwWRbc6E7u0GOZtgu+q69vbb6dI6q5ZfJsxVtT0qFWMXNUaZz6UiGTXuT9GwuYLAyXrFhccYHxvCctATcz7Cs+Mgpyjwab3I/7iQBJjhIvfGBsBMNSQiAh8tTzpacGQjprUjpIkl0H/cevK+XmpWlZMf/9CwdZQsfB7f6neHQG8PgRrpoWEeqCSm4+NSCA4b47AVw+1yzMrFr0cW1r4w1hiYNFsyoJCjkmElltZjOX/Dq4IMPRLfkanvmaLIudtgVwt9Txpey6Z5NaAsJ7L8lyS4DYhzYJs+Wl5J/5RJcACHXCThY28T/M62VZGA3+NiMOz3Zb0cTinbxBmAk3d/F458+DyR+purNuTA1Zngm1lm7QwtzMhbpzyLKNikyU8eF5i7yAgf8s84A41NAys32LkqDEogyyTlHNqH0YxC2YfkQijMd4RXVzZtLAAEPsFWaXtEFwdrl2wkXTDpOrtAJ1e17cmK3oSrkjIUftHF3ZG2RGUI764+Fg1GUryfvB7VX3mvHihwLzgRhaDx4w1mejcZtxTzHVZvIFNbI3WA2YgtzjC+3bBV/FcmNZl5b2iAN6f/sLN6TLzcIb6a1nOAYw6NKGCvIfw7C2WK1naZl/7OU9NJmnRFNSm81kwCMbNQhM2xOBvmNAqiRXyhdfCL0pjYPdCoYXpS23JLFcvu9kkvaCJTgQbDnGFe5GgfTkH6xiPAn6t2vbn5MIPc9ysr8gVM4qdwnP416eVwtCBeGLdsBgTz1egiliPiypkTzBFtmZlxO3gxjLaoaRJ25whlkUFrTcZxwabuXMGjIzZ4KqoDWq8KmLsprI7s/GsmczNRRkpx/4iwa4K9tdmWsIaUwOeKkml+h4o6hXEAaaOuanjS3ylDl8oMLRA1XFXvxECj4vjijJgDG2LJ14zAN5pHNTt8pllebLL30qQszBLTWFZrIZXerYIBH2JwwYp/ilbk/U9DOgM0+ATj3/+Y3ZnsQyhztz6dymbbnZarZrM11Va02pqde0TqtZa1NZN7SORNvoL+AKbCqtlpKbOgcg/P5S51iAXVjGRJPtc352Bh2eN/KB904HrYRqY2q0A2iWFedWRTtZATP2L8P8okyFXK2s2HQdD6//yNycUJkRyx7Vk7NW7ZQjKVvVKqa5r27lrhJZXAGrB9V8F02kVvCv/jOhQ7SVuBiN44Dq4Phl4PFzAHIxRP6+IDkPJlcAynlQ+U2D5W24XAyYy0HmiqC5FGwuAM5sgd66tI2cc7Czx+v8lAC+7uA0KcaysDImWB8RZ3xIML0SXXfhOnXda4iiOwODtEg+g31Xw0RgQP8NGCa3H4uVomObh7azBqYAOyP7magGqHZ2N8KS8Fvs5sqGixYKkDMVEzjDoEVX4vVg4g/wq2CCqeB7jGKJDmbh41SEjOOzWc/tWAFrFOD5KN6voZt8t7yUok1jS0oVKQcllYyofUPwTKdOCP4Kynw6M7+dXTiYB8T7Hn/gARaa5dkVXTpPpw3vR/yBGcuXeIZH5ICN3f8VeyJlqmW2MrqVHGC4k7zy7Nx/FfZGehTY++bIitsjE8qUoAqYK6e9ywbJqLotPqtkr7G0KcU0wsQFrcR057ufSBTb5ZgLM5lDFtHjq0PS5+lGRYf08PzALVwXQDh4iWbvmg1FjwhuVBlDAFrtDpg3YvXpxbrW80+SzNVoDhD1AFEPEPXHgKjloVA6iC0HWNOw7s8NYn8SoFfGhr+zFX9HO37ZsS8F1wut+VX1lSqYB2rGM9+8gJAI7gxHPd4cjFkX0anOJ2D28+dintaoBMxwEUZ8kLhHlz0dAyMVYXLxwUF7Ohg722yqtATMn73LGay/+TEaMaPp1sCyOReO5/6jCkulPB5e/TFm2Xv7v3dvBrcsLuF7ZK8WXyfZsaQqTaW2ZeQKBuFycHsxuP20leY4ZZCeeXjlVb9/OznBuKwgi+zaZulhMagChiD9BEcKrp4TMhqNWH7sxcaB/1OfnFzdjbq/k//UFqu/k+t76NIJ6VnwOktBCqEvxJnbS31uEpjFLKSIph9DeX4BkWa3LFUqJuL26HNM4Av0CpM1H2MJDxs8OWb5AD+mIN6OCSx8EOj4FZTAzAi8zdJwU+s87/Z+wQqDUQGtFIKBvN1QIKpXmoV5g7EVQV+i1vwdxyXjg5JX0x0olBp0oaXW3f99MurfDCaDPgzYhb15mD95T5OpiZwMb1tPx+GxlzBRMeWsPteWD9RLWp7x0dynxYKuITAP6ndhYMCJ9LCXszB3jfwdQjgNxrX2uqP+G4oeLpQD4SYlMgSUhplLe5pDUzKpcmIqvliInXa7VVP25hCcYO5kPA0M0xMvk7KDG+YXDg3G8QDcgEHzbM/gdsxu8MRWGPAzwnW5nMNp8a4sOFB64bMMS7mwR7/e7RpqiuFopbZxxnkyIET6WWYkNQQVQkwNcarpNbFtyLWmqCq1jqo1IRhVEqd6R1CnTe7UDJ6tpY4gyfv0c3PJpMfrjRE794ZrwpZFiO1Z5c7hy/B2n2Ku98gtGbBKUehmivs5ZU/wGWfNjbNA0ri7I0vIxTENnKjK4Av4kkz9vBtTaIqezhRtud1CTfi5p7Jnssb3ZITUo9sTDAAmalSwY+ecohGfZ4M+8P6ukkHYAxv0wzZmrF4VBQQf8h1b9xS5qbLciTFqRkOEOp0+p/qX2mZF3oNRSKcGWIw+5HJGCcY6I3GXbiGrIEH9RhVSOGxmzkQfju52J3HRBqTIPp9O3mHYwJC8VWir87RVtDc4z5f068tN8pC81TXgnaHx6O78un9DrgfjyT6hMcSlIaMAPwDIWRDMIoqI4D31Dw9w/MMDPpD3n6UPAYc8C08r1bbPiU1FqDX3BiH4gUziYu9WydMEVt6QRXH75bTsiPm2y8KNZOHeqhNAOMjUpEZG/vkrW3vD0vTFvAqko7Ouu54vYqUH27zyys5QBAtAcL7fOrbPimfCHpgBQHdmUIRxXSijOAFVERoVy8soW4ne0VqzWadGjea01py1aa0j6XKNqh2qdKZNxaDcGa88r/buArNOnrUvaZrzu5snzQo3Tp1lRO518rdJJe9nbpMqimB4ZuwuT/3UkyyfYbgtlWYkJL42FduqOMUTMdviLidiSrXOHtUd7Ki5XFdMCB2Kk1hA5i4ZnUuHBXf2HBZc2cAdhQ4nQg5//MN+cw/5/dnP9q0SOBOgHd/L5vWkWODsSPzqGZHKBGJBqdFKJeuyMe20ahSWJcDmLbXWaSkgsVTaEaaaKNBpMoAvhqzw/N79HcQZG9UdgrW2AJVP+13jtPIkTQf7XtqTVlY36WIaaOYRQGv6czm7cvKPPNvDniEavrY9Vypz/M8Kywp2ryfv/wiwrDLtf15cJr0iLtvLdi0w+qitdmlTTlwmMn3zAMoOoCwLlL0pePVuJ4DIg7KpRFuyqoLbayp0ak1db9XUtizXZk1BatLpbAqi6gDKfm5Q9oJW4l7/4n7Uf0PJ14r2twYow7Oop5w/mxYv0WwrorpHq3Ds5PBgDLfNw/6Nlw6aCAajxImy+09qhrWDIZr5WSCeCJPjY6yTvXgqlZps6/DTvYdWRM61pDdtT0m8SkZWsPnCedLSvGvcTpj/ynCwGa3OtE1lqdbuiODomIH+ruq6VNN0Q2lOhZnRUYzv5WDj9IfUbbspGNdjn9jW/JRXi3yvxZnCsp12ENM299ggJw9UQMC7IUZOdq854ee1CJN9QQAVr1ENI39t9EAyI8l42Oce4xO5SZSq8H9No7JYa7akTk1TQYhBp0R9OlU6rU4cqAc1DFOzb8RZQRZUSWoJgrIDQtf5mU5ciM+0uAAJtljltiS6H08CElzdNTnPXnZmJPdl7GNXRsGejJwdGWX3Y+TvxkjuxQh3A2xcjPQeRmZWRamxP4Ig/Ah5icq2f3u3zV422xTttcnbalN6p03BRpst2r5CtqWLfri4RpKR3K2wGggNji9cL5iOSebsd6HvI0jngRuB2baODN9HxLDtpqRRKgs1SdQVMBVRsTadwYKaYSoK8zJd0EdTpxkCVhWasNAIrR3ka7SgJsRqRr2n+GiqwI9soVMVPGUAF9pgFktLCjqNJR9CYZxaZqUUTrlxL4kAqOoafVWQVsJ0HFMs0iNf44CMKxBmcJNtTs5LaZER9NoGTV/ZbS1OQd1ZyK3GBYq+Oj7TQMUph85EYEjelL1yTKhw/cRn1xwVW+djLmFfsdfXQ7+w5ChqlgUha18gesndWGs+tWaKkbMiclxrzgNdjyE4husC+t4wjrGzZ9vF1LARhLJNJtR6NPmu7BFOHSVZvyqEapML7atLRka9DHQ6RxqcgzUmCzvddPOxE0SVtzovi53eA/D4EACQrSF5PoD6mdI5XnORrrn4YXwRe7QygIh7VlD+j0HUw+pKLiiaAcGocG3rebFFMf94S8B9eUUTWlLU7RntUVCHoFu/BUG9iRl+D8IExopF5/ZYOOrPN/XyuDMzZ+bwmmeUnWbQXhJbVtn7EQXbJjFJGOoYMmMVz3xF6FTiALjtRC3A6O16PDGMj5H2goIqWacSAOmHsFK9MRy0N/BwgA4H6HCADgnhd4AO0QJ+gA7Z0OFVncPguLy/nrwhz3CRCadqccX7ihB99f2dTSN/Z1Oqfxn8KUqzJu3Nv+yPfcKj7F8tcCeX9OdCOyzMbQjtPDq77p7f+ae7DG4v70Y3QYKQdL9sfmG9OV1g0hccNXbEJybBt+gjRUhdtsQsd7MHTcDhfPXpnLy/IaJcEzvkoWFYfyeXRJRqYov9+lDO+yzXpX21CXr+23mPvAe9sgZs1iGi8De5sSnZEoDL+2qIfHQ2vJ6Q96IMloimQhb0n42y4yHJ5P31hx0Jf40qM7ncLP10n0j8OzzclVyjARCP2nkinxHiVmGELvZl/GmYdlKYLNaFKkWNWVF3aUWJnUpFffo0SckVAWWQrvWlQjnDuR0fDHa106rUmIkN+io5Ny0z7ew3scoIWdPNwlymjHSViRLjinMLtFDSQ/W+QkN+m4PFNOUtdrNdabKAGxpNB+uUcRY77UoDfUUXwMWYByuF+HKlVkFR9oNlT9MGu1OFZrHB7l/3exOIbemOLgZ3n0bdG/K+/8unD7tJ9TN4dbtxYxPPbnbmTxCoG+Yv0vQNkMvPIvTCqVI8oyNIFc7ccd6dTPqjzJy2bCUfMelIovefv0+0xL76yM9oKJogQUh6q81yHWBIugHLV8bJfHz0mgyOpe3DZXqw2vx2Ry4Gl5f9Uf92MuheP9d4UnHzQhzcPW/jQECdPW/nLDZexcxXQluXDJ3RSCmkURIDyghGkpGCn86fgQqTWSfieC/DWBVApH3vGuC2CQgChN6KTYi+FWoCWO1yExJyG/kQbwVb+RClxamA5mzwLUDTgFhc20qkREzEQkWeudiOi5grrlGYMn+/GfJbeMZ0IkN+pbzwIaVHKGX5UrhJk7znM0w2UE7ZMJckIB74AkTkn4ntGxGlupBF1eRuJVFB92HWs6cN9lhshLI7h76o1CHJiLreElcHARYTYBAfCqybzAR63vs+Akx6iwIM1LSAe3317q8pwpqZRxF9DxFWVSCxnaKZVNoSSaCs5z5+kErfEVZJLUVUalsnv11Pvo9Ukt+iVAKzzU5S6foHk0rKDy2VREWoIJXkgqdfVyihw9tXm18ojfeo/3nQ/w13VI3/GE/6N+OXy+Etgu0fj9gG/R080oB64F8F/QH4p7PfdN2iADYmzJqRsO8nOrtl6U/cz7b5g59Ie3C01fxsCDRES7BBl14qNsxXR+Zgike7qz0jM7DBO5jseqFZmunSOhnarolyiKVNTPt8pdoXzErNbLkuTJs1+wWFTTFl8LxO7paU0JXp4mDB5QVY2pZaHbNtBw2gmqHpc+rWU2uINQGcf9QGx9ccLGymi8cvzc2Ve0ygDb4zASxMBpTE/GN+v18r3fT4rgcmFuLv/du1lHSO9YLXx7ZugiH3yidZgsufmZa61MbKqM6gMQH/bGen3mpffN1W2y2ppEssNjfig5CYGHEavPDGygQ5+hbFFNkpuyypCyZhtv9h+2Y/WOtZymr3hXdjul6c0sSGOB7dJu7C/gIBa/7O9G1b7iWL6WGP0bTU1wBCFEHEFPbwXRUkqS3KPjZ5vrcK2oo6XjC8IDzMpbFBxyEmuP8GkQDentZEqxTyRDWHyaCvtsO6h1ZoorlTCiW52f2oAdMLQlMW99J2BEZdS7fntgUBZoZjLr+4EHXtEENLSSMu5AxvjbyF5OJb9vJxjHmKLLMV7bLt4kPj9rfFoi2JrdYusih9HpFbkD/PSvQT246q4okBuVsOgoQHithme4pibeTnsFPpIOxysah75KqK4dklWCR/zcrIgbe1bvGqhjpVWrqkGDUgS7PWVCioGjNw2FBhJmszTRNELhI0njcIsJ6i7jEKJF8y7hLH6i8PLxzGepaRXIhJu+w0Vkw2C8VprJITZDw5KrEo8NpSEeP/vNwvt2ftlq6ItVYTFW0qGrWOJrdrqtKeGU3VkHQ6y+B+COAGk85zcmwEpZJkRpb0RfaI7DYD5DczA9I5HIY1x9bDrRUFbPxSetDnwQQg+Hjw6fYNBQcWJeGoWlylpOOdttjaY2ZMboAT6g9352V1H6JZYD2DiDKQ0OsjlkeGNAgy6QnZ1nFu7UciNo+JqKrq9t3uyjEt0j5GHULYj/4Tts+iM2jeFcVmJmvOBO+PJgYQiu020RelwuKyy5HKlpOnZSR681vl3kDEX6dFvjw8szNNKKZTopgKffGCv4a4vywlQVFeYxQYWVlqQL8Wi6vn9qwFhTWVBvSuTGGvE7LUu74H095oT3BBapWDC59xaxtB07hbEAkVZaJpzaAyiXlvjEqBS+1mW+qg72ZfgjFq/DGYJnGaHIN9MfhXg1g409E3C3/RPyb2N5BYQJhjcn4zOGYGxPNxl0C0HLX2osChxBNFkdvtu7eYgor0LzLvJThgDIOYfqhXepYMnwnEckyQWB5lQdqnWsQIXjGXKpP5L+W62+aCAn9dO4wi0BcvE0Dw6iEwfx12BQ+siGEwe2LXwC1zDssI8dZ2sPjdUA1XRKM6GzffDBt3WgEXf+EPCj5w8Vvg4k6zAyv23rh4APhGe9RcfWNpDsGnUSOvzr3K2xHCchiKulj836uH//ddWTjXwX6Alz8pvGQxQU0hnjPhsF6/SXj5wvGqMS44wMsDvPzh4GVVNu6EUbkHePnmlKQ3Ci9bb0cIN8N9Lm8dXuY4iliOMMinirIEJcxZ7P5po2eZkF5Jsy5swEV46f8DQh0UksROAQA=", + "hash": "ZmU2NzA5ZjNhYTcwODNhOGVmZmI0MjlkNTk4YTY5NWExMjFjZjZhMg==" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/aa657309-acf9-c57d-157d-f126fe108fc9" } - ] - }, - "onsetDateTime": "2007-01-03", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - }, - "request": { - "method": "PUT", - "url": "Condition/5c019092-be27-b962-e711-c21af8d4f512" - } - }, - { - "fullUrl": "urn:uuid:134d7643-962f-6061-41d7-d41846665051", - "resource": { - "resourceType": "DocumentReference", - "id": "134d7643-962f-6061-41d7-d41846665051", - "type": { - "coding": [ - { - "code": "34117-2", - "display": "History and Physical Note", - "system": "http://loinc.org" - } - ] - }, - "date": "2021-07-02T05:38:42.98Z", - "status": "current", - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "H4sIAAAAAAAACu19eXfayLbv3/kW9XyHl9xjQAMC5OP4LIxxzG0PNOB093vrrV5CKoxuBOJI4MTn07+9S1NJaMTYcTrQnQQ01LR37frtoXad/uPbwiKP1HFNe/nxSKwLR4Quddswlw8fj+4nl7XOEXHX2tLQLHtJPx49UffoH2en+FrNXT9Z1J1TuibrpxXcXNNv68Y31zoic4fOPh71Lrp1/Akv/K9ajUzMtUVPiP+5Mt217TwRKJsM50+uqWsWuTQtutQW/lO9GpTw50j603/2T3j2z+DZOrac/Pu15q57c235QI0LbQ0vSoLYrIliTZSIJJ9IyomgkpqgCAJ5/xs1jglcv7Uf2WMfyL9DLf+144dcmK5uaeaCOidkMjdd4mqLlUXJDDpBdHu51sylSxy6cqhL4dfafKTE0NYaoRZdwBWXrO3oPtFSx6ROoHC/UIOuTB1e0+CnvgaSwZDpc83R9DV1/rdL5lSz1nNWR510l09QuEsXU0tb6hTr0uACvLICettLAi3WbXOpmwa2jlVkE9OyNu7agaEkmksWGhQSbzJcXdmua04tekzW0DLdMpeMeK4OtHNMG956Ikt7TaaUrCxtw571u8HKMpfwYmK84Ce+Yi7XdGlQIz4yXqthALEFx9B+G9+znahu+oi3WCVRwfDNoK75sPTKg+ZsXPgK1QN1/mezZENIvpowZNgRxm6kFxR5a6+pSwZYEvZcYw9/2sBo1XfnmVrt7DSo4cLWN1gyAU5euiffXPPj0Xy9Xp00Gl+/fq1/leu289CQBEFs/H5zPdbndKHVgKVgOur0yHvr49HGWZ7MrXYNnj15lP3LJ7qhZd1yjbUev4dXjs7e4STduWMEx+6KagZ1di3jHQzOu1Ok9aJnGziFDBAq9+OjBlxGCTMwiGPb649HUl1s1TtNoS7WRVHudGT4Av0D8UOXniQb3vUu/ry6EODTFFgBKIHux+QTXVIHqOs1lUwo0BeZndW99n/lVSTUJfgfbtTFWI1M7gitmqCG1eG4IBedeLy/hKdJVMUx6yCb62uUjMCIlkUMczaDdsFMh3kAUpggh841T8QSe0aMgGuAu6cUn8ApwljS6wTWDPw9s50FEzDI2uFL7orqJggPmFL/3JiOP6d36b2c13vT4G9OJmoH1pHMQtW6UlfxA0OKb7Nxwb/GTy40Ku2dFo5+9MgtrBkfj67vBrc97/LHI7kpiu2adAQj6kK3nrxHUlcdpJHHZEiHs569WGyW5voJmQTlKT58ZbsrE6SkexJK6f8EKfP3sJTThvf2u1MKFATR8kgnsDaQR83aUDZAkqCKLVEVlBrwpMeUSCcmfk3Nggo5tr89KhgBpS4prAyQ7g8b7YFyL9NlzZ82Ll0PYrRwKxDDo6WPDm43iykwpt8dj1AO1W3HmGjOA12fvXt36ovokY3j8C7JBqraUVWxVNUSFv/O4+VL7QslgwuQ3cjsV9dtKNOT73eDizpj3a2qRAAAglCTZFnIrq/psRtfzdjWgRJkTPWNgwzgd9qrGicSrLQbfGB8G6tdMwx8ChlsCJI0KPNqiLP0aOWYCw0YZm4vQG7PHHvB0ZakkRbar/plAw3XDmCsLlRBXffaXNIzUVbapMuaduEAo502tp9hr+rQibNzqgEN1/bytMF++4XCTD+7G+Gr+I1dhIUdWBwZ6Uxtd1rt0wZ3xSvQ3izXztPZ/RgK87+H3QXxit29h7kDy+wYy3X9/g7Gd0QWW62aSHrea/AvLM4nBDBnHe/UxWAwGzia7NsaUIcOb/tMBz9P3nfE1gep3aq1VJA14ZhHdMwec2Qdf4TuXVo07gEze91DUOpVdu3R16vsmtV1TR80i6ukD/N5zQROVj1NJaDuu9MHIODybOBqU2pZ2mnD+524F7+MVfe8unsaLBqxLka1DzVn/SuwKwh84JTUdshRO2bawrSezv4bcL572vB/sTsN7L33VTMWAF4YQIT2wGIKiygneC6LpZaYkMiXgGosJn6x/KnprOdxuQnYXRH8mfruFIiKYhiZa+NyNd8kir3RHMekRgkpur2O3CTrCCp3qGU+mPbG7c4AtJoMEnJtEAVRTjSjN3dgtExtSd4v7WWtp63ntmXqxwB2l7VgMf6w3QQk5CiojXDVlRhgod0KG6zp/LogqjgDE03sWnSzLiq2VZfkznYzR1C+vw7213NAtSg0gTcvekELKLv8ybE3K64hkthp1ZREQ2AZxrV1pcELCO6vocNL+8VaBoumYwBlfPYPQcfHo0+j4eg20bhPDqCAleaARChBAlHMICmsjOyG34i0lWOfa8ezVo+89SNjBSmzhuSsIntdR/iVpPpawjHIkKnLQQNDWRjJ55FmreYxCZ0nTmMCFb6nVBNd5KQi8KIevMR991gorDaHYlkkK0WzXKLx49yI2nbaSDScw6oMYutMpPkvpuLYkBgLuMDd6Y+HiQna/4bWAtTv3ZX9Bd4snKUtIUWF8BvRnYLAXT/d8FN15dggrAET6E/XYG9goxNIjKS0sO0SS09LLGzAMKqTawcFFREu0QEoJgE/O5twmWpkDjNQJ0I12KFH0D6cO+cBZO6/ImIgmi5E6XVRVuWgSsbQ+YoTDyOCycim3G9ASm5WEkVRauwPKO9B+RyDpQg0MJGQz6A9Q5dJFybhJlumeRNkaDtrGCSDnx/psyM2N1RRkrfnRjYojpBsI2OsQ4J4OtNpI65SnWobAAxYBOimCVAkS6okNUHLZdZNNlCnmuuZu7rBa9s6mPfJ04p89MCviFCh9/m9eDkGFLSFMCwbujmHZd1bke/g7eCKpz+DqHP9akNSp1Na8plLh7XYW79IvvqTQuti7SeV0lmETtFY0hg74GvsRNBXn1687OfWBm9FuaJL5ymuAPjLyRjNnhlYHRqVLDy6FPAHXAm+oWUWVAcQLIzdgic9bSLgpDymSWGzpiwpUjmylp3AB5pm0TSg1GkjRspTk5kCNSbzM8jKUe6XIcxysZ1vpTmQ9LVJyhExTlBQSUGA+U+CPwReRXkFFvDRmOkTnj04uE7gcuRYQU+S7wxiXhDvO9i3WKnAD+7cXEUOEn+pCq1e3AIxHo4TQn88vLsf94uWC/wCLKW05G0oNAxaM+Jbw1SoCRrDP6NoBVvd2mdHfyhyZeklqHFfUomUZ/fAZTlednglnUQ6+NBsH7+Hc67HXcTW+kTgbqQCsd1W750hWRoSYytWuKZxkCy8lofNKqzY3w2elaBGNC05QkKJ3A+fBfCFEZh2Vj7SPg28mvzFzKf3KVuyqkDLPYXCjG2Oq8Q2DK+mFYRVb/U5qz2nFhpQEZOgJwS0lVTEqwqS1BZlMOtHeBfpAUY6h1cNmeOjxEqnVsHCB/TyaktdGjMwPejAHD+ruhIxR4IPwEnjwA8TbMaeh9zDPoPbi6NQgkBcxYkXnzT4fP3nxEdFlv019GWqiiqg1up1cm4+zDmvrSgKnqMVasfyfNmCjsJU3HV798tREh3dTK7KGY1LCJs2udC+umRk1L+716/AUwei9QNjIElMogduBDN4CY1c5rezG8eFfvo/eC4DH816ru2A5FJq5i9GrMaxFlvaLzcWeGEsjJi4m3HMdnl9yXjqFOw2YFLnWKHbmxyRBZgCvZ+jX+88zsi1rsX0aJjWTaXWandUf8FrsEq8pTTWIBZMsFhB171f4HmBOL7FCqfQ8qG/ZGRjqv32Oii3ITghT+NLGoRyzT8pDrXecFJrBoEZqiptucn6yDdehBUijRttCZYA7JhfcyykwiMpN4HTwcHWVE596LSxVTYUzRmmT72guh6A10tNZ0ZZn93iZFQSSrIvM6GC9AJgoYuqgVakUwvnG0fVIKxoxxgt4oVpndvGE/uxc0ksXihsGUNiYICG2AiHGlh6qHjmFeA9smsbwKhInQeTQjxg18AYFQp6IoRnoJ4Il+Dm2t217FC/jTqIXUQ28bkiCvAK28E4d7Bcg34KSqYOF/wXPAUaigGHtEvslR+4GQ3Du2qxV1LC2BaPvXqXWHuanXZLwTionQOqgkK9+Kbu9XV/9GnQH8MgX3zuj8Z9MuqDpBvc3eIluDkZh7FQft++eSOI3zWIBSVTJsUwigjGxljP0XUu/Efg/oSnYMoYwS/4Gbq32L2z8WbqBUFCPfP4rYAFtu8g+MCYnpQ7zM8fuw4/IpdaI9ac0/XUZ/C0xhn++PRvBz3S/30ygpE5JkP8Obi+HtxCYUb8+fAHiwYDoq4h2OnjkeN3RDw6u4UQWgpLnX+be71sYa7fdygMPVosuhciA9llWqrgwRKbg75i7g4/StsDgYseQJLKPZaOzn6DoPJ/gSDcR5+lqM+liutW7WcXtGLHXFbup3x0dgU1ufvoJJR1Y1osynmxx87Cd47Z4RfOXn9WN6JpDVADHfERJLoYDT6HwQzQ2xxQ1P98GzxJSCUx2KxjcF+uHAzFtC+lMVgAxIYDKAMaxclffjWXW1SmqizU2lO2k8CY1tQZBS9bBxQhQdBVrRXY2FibOVnbuwviT3PdvqmxIUCKHo5SMoDIazDXIzcZ+uTNTO6JjABUoc0CqSJKxyGUdzcspRR68jhhG52FTBEz3UYMMr4//2+uIfbUpc6jh/84Vrk7H2ewSkBZzScrX0DAQxxxq7NWu5CzeJZpaoYOamI5lvHmcEi97ngMSyasnsWM04yVscUHCFcsCjpM7LFU4hRTP4uscIO9xKnVvYsA2jdBlQZ9WUjCe4higHB2FzVl3IXiw7VAELIodcPZPBRjFDVl7oxv7276FwTECt8724HYOYBZkwh8eDfC4Img8/8WLbVc95mqlVbEaYO9x11It0H0xjexBnFPeVFgEZ/fdG/v+WdZfM8TUwSS1oWbm26sn3FeksVmU0qGvOcDkuIx76RF1327BTtuvCHZY15l2HNGnt3ClsSGqhEbqxgBE0PO0zCm3G99cmXXzeUYVjBz6cfFQwyOH30TY78dJFp1KaWWkFK+pAyAcaGorCrYYkIpsR7uKtviSkNVDuKhSSVZmSMti+VljsTMlZltudNWobxywi8eMMsUg6TUiugbE+ZJjuaXiKKV+m1we6c8twO0C/S9dIaPYb93SWd2/3PSmR0UdhcVVoantwQnojwuprACs0c63N6YPZsp5baoSk3AfMmo+i3t8blr9jOZN/WV7BfA0qsHSov30A+nwUAgIShhi59Tg2nlajDe3YMG83NqMEnq/4QaTOBz+HE1GKnVFrbkB7Mjfn9FJT66OQPMbh0UlYOiUsBBr6KotPalqCgtQYTVoLmDohLY8w+qyk+lquyR3bPZstWWW0x9TlVUDurJQT15PfWkk6ueeHcP6snPqZ4kqf8TqifBbtEfVz0RRUxgE3eveO7/76+exEc3Z4DZrYN6clBPCjjoVdSTzr7UE6nZbral3fQTFodzUE5+KuVEfjU/iry9XieDtf4Sasppg4uQ5QKX2c+ygcuI1sbjm/7tpMzTpEykbrXY2iIv436yEypip9mpJU2dUeeTQbfhjezQWst01wT/ws2xH49YiC2wauQegpZAfKy+cTCJEfk0IOBHogbmlNwsvyztr0tCYdQs++Hp72T+tLL9QcBdwXNtxcKZ7aWByYiAczM+LK/rdLPGNLGW+YVaT/HXVrb1tJprzkLTn+qnDdamWAO7+gbECvqR546NiaC0JV2YWryUfxPT3/0XtBkePgbnGJYC/YQ465lmWhCX7kVhP9rWBlQ2y3bdUkVewVg6XzQrpQ0yC/iGlnZ7ffb1l78Rd7Py08WmlnYHkcRO2DPD1B6WtouR4yz5LdBCm9qP9Jj4NMLBYyGX8cJOG0jlYP6FLLCX6de7GvQvSe/uZnjdHdxOSAODu8d3t+TybkQ+D8aD7zUtRXm/E7DZkmR1awImO0v+RhIjkpiYyRcaicezpyuoK9qDo63mZxea8wUIbdsW2+sUXq9K4DKUSftcdm8G13+Qq8F4cjf6Y9dSXoDkSpEoRq4O2ZqQS7bji8z9/KzB9osQrHDPhhsveOVOEJV2LbbOZvFWnAniA1iG5JcakwTvDapTzaXGhy2672mrxIUnY8z49gZ2q4u5VtbkbunS9b42P9w82TpLXGaRwXKmOR4B3usYqMSSF1Po+IftOHSlXSHgHvo0BRTmbhfTFF42lN32NrkD5eLhH7wBoXd9P570RzuHhDSLuL6Q76NW5nE+tiy0r+H+YY0as5oii0qtqctaTaN0VhOp2pFFVddbU4WrvwwyPnU30/+BGRhRw8+YMfaup+Uqebc1Jy9x52w8XyibOunpFb2BuKGY27DchlseN68dbel6YDfcqthsg4qaaME5A0ksc/QsozEeMi+F6mMWwbhVZmsIixOw3lRPwHoTpV/169hKwgpWLy7gP+DAvp+G2Z/bmEU+4lwXYgZ1a4Op/KcUVX6WdX/h5RuPqYxYlt9dKOEkEInpue0SD8Ub2WoHT/EVwLKZ5MRGnBXPsp5MrGa7xjpWlwFFG/xCGvhTP0hJflcU3BtNeaMp0emsLdQUvaN6JvWpYNAsk3o8TKytyJJcbqnMgmFJJ4xhMmPAcw3wadxQZDmSJBU63drBcMStd2a43sUblxNb2+vej58fR/uuKnPFxmVrNUksJmzFTrf9pC0qCSZrddTOTKOMybRiJvOm3D7Cx/dguwFfi6CqLAa2Ml9cAGb6Ue2JVflJTppvE+gEcWZF/uG3LzcVsJWwRbgyFXiEuy/+GP4aJklRwIeJSZLAQfxCBrit5WdPC9K7F1uPclBpBRaIBIgynUEss84EyPSvuEopMWCVJ45aLVnZURr5ChNZUMsyobHeYTJxb/RB2LxpYdMUXlvYoPvYVyRfyNb/qX/bH3WvyXjSndyPv4NhMchkmrQDSaJQk/cmNuLdTNiO4jfL2I5YahNmcAaV6gEEPGERCHgw2tL2Ld9Q/xpzQtXJcwyKpYjoW73I3SUZdscTMri+vgVfxXegJtoMpaINNfuxHsODKe6bjKFIUJzdAuvAoAdkr2AzHFMa6nmgbg/9s/EGlrVESn8PyzHf4VF/DO6pKuRP++zEEWKd0QwPdKqLqtzG7wpcw+vNPRNeEFvN7VPFMschQfvsB8twADvb0E/CS76C08heAsDCDJzMVwRNwsMgH8DkMrMddtjjlrMPXkr7GNTVHXMaGGu2mYlvxhUlYbLU4IC5/gi+GRqEUjXwmEkjdGmQJwpD6eAt5hYEGQXOPyu1FVMHnZDea6y0Oiyn7LQvAlVgh0O35CP1TpGkpCP8Aw/ZdG3rEfs3g8pIHT6pNbAb7K/cHl5rU6KtowE9IZ+sjQ6uOiKK0jE5v78lYgvcdBA4swZr3BKu18VjPCNTXzvg4USslfbx+l4nV3WyerIgOgvE+NpEuzTxj/urky4Y+Fzmd8XzHtc20GUNtf3HcdSc1LK5pyX1P+rkt/MeaUPowTGewYnp+cDiilnFiKS0jgVBqJN7CFvTrCdwDoQNw0vpxesbC7N7nZBbmzwAndbzOhncjryODycTAvOoiGuQgszIOmPncDKHbIuhGmDlGXC2/gUug9MamBXXNR3gqus9FhEui6y5lQP/0yjFnChBVMtqzczEJ6QH1lxwkej2ClxGc/srniAClADDJrZEt9ippCVY6nsI4MHNzf3t4P90WfatV5W5+atw7tmYkQHZT4k28s6iNCKvXEKVHLBsxF5yYbe6X0+UW+oe1UBuETb5hiVkfYw22eKdT+fEihtD90KIvx8v4GdN171UXAkfIB6Z/NIJ0cIfKX1FFRQchaDhLP+lkUfTAd300WvsMRncbHv48OhmUVXV7Tu9QKeq4EnMa5pUtWkXVMemdV6+aRgKMVzSzcLWbR3dUBhV40LbYHUwge3fSDMRek3oWlvCyKG6YpirObrLIJJmbX+zTcNNbyG0rr19dUTZqvGyDl43yCzY5dxscbva+Lx7AV62hAN4SR/Yk8wOO9MsNzLEVrS1KVJl/29MPmJiAPOR7QSI5GOamS0ystHWTJxqTbmmC9SoNacq7q4QpdqsKStGRzM6M5XbyhWPskyJsAxndkQZ7o1yzuO4tWwrhXNkP1PVIG2y1xob1F+u7J7UEePHbKUNv1yXUGdIkf+3bExhivWQKxyIanBBkKOK/f62N/iA5zq72gZkQ2KNGACXaYuNC7BJcwA/oFcxZjg8NQBO/rpB/AekCizKoZFnoXObJXFquZtFxNB4bQHzaobH0cLCOXRsYxN3qSe2PFRlwuYOBt84G95Qwz94DENBgqz/GbyY6M8NNBTEhBUXLyFR4zspUrsCGAR4NkmTVGmekq748+9xh0hsH0VGMdm7LVICC9gBkbHGmUGpxxA3iTGAJnLQUnPxZNm0BpYbgbipMLHp4xSwrXfCMWuyiCmJ+Qvcm/nU4Ym3fZqc/wxLwe0fJ3E9JjWPXWzgDh2wM3+sYqLC9BLjbfJnAG/NTE6ZZ1q4C7LAYGjg7g7/QrNVON9g2qAMwmTLDAyHB9gn5xMPgNui0GyyKPTKZm0e4RIKY+zF7PPNSgTOZ60IPq4dQuitiZgW+L2GIcLEfVqs1vbCZVaL9dwBO1fuBwwDaO6KV1vOyM5FrufZyFkgSBoQqJw66AUARWXm+osgCum1EEVHlCD09IApCjBFdT48gIq/PqgArkigCrl5wBUHXHHAFQdc8TZxBbcR9IAr3oCt4i+GK2R5J2NFCfvudzFcbKWEjTX09m78isCidQAWB2BxABZvEFjwprOf1V5xwBVvywfyF8MVorAbsMj3yIJZnsV2sehgCLKagTW2Ks6oVkOJDzaiEkrZAin76vSLwBhwdh/8Lge/y8HvUuCjG43vuD1Mr7HvSZG3RH1MvLOYFFB70vcuSVoL1gxFqamGKNaaskprqjSVa4oBLgZlNmsaRmc7aWVcufKDfe/YtuQwWRbc6E7u0GOZtgu+q69vbb6dI6q5ZfJsxVtT0qFWMXNUaZz6UiGTXuT9GwuYLAyXrFhccYHxvCctATcz7Cs+Mgpyjwab3I/7iQBJjhIvfGBsBMNSQiAh8tTzpacGQjprUjpIkl0H/cevK+XmpWlZMf/9CwdZQsfB7f6neHQG8PgRrpoWEeqCSm4+NSCA4b47AVw+1yzMrFr0cW1r4w1hiYNFsyoJCjkmElltZjOX/Dq4IMPRLfkanvmaLIudtgVwt9Txpey6Z5NaAsJ7L8lyS4DYhzYJs+Wl5J/5RJcACHXCThY28T/M62VZGA3+NiMOz3Zb0cTinbxBmAk3d/F458+DyR+purNuTA1Zngm1lm7QwtzMhbpzyLKNikyU8eF5i7yAgf8s84A41NAys32LkqDEogyyTlHNqH0YxC2YfkQijMd4RXVzZtLAAEPsFWaXtEFwdrl2wkXTDpOrtAJ1e17cmK3oSrkjIUftHF3ZG2RGUI764+Fg1GUryfvB7VX3mvHihwLzgRhaDx4w1mejcZtxTzHVZvIFNbI3WA2YgtzjC+3bBV/FcmNZl5b2iAN6f/sLN6TLzcIb6a1nOAYw6NKGCvIfw7C2WK1naZl/7OU9NJmnRFNSm81kwCMbNQhM2xOBvmNAqiRXyhdfCL0pjYPdCoYXpS23JLFcvu9kkvaCJTgQbDnGFe5GgfTkH6xiPAn6t2vbn5MIPc9ysr8gVM4qdwnP416eVwtCBeGLdsBgTz1egiliPiypkTzBFtmZlxO3gxjLaoaRJ25whlkUFrTcZxwabuXMGjIzZ4KqoDWq8KmLsprI7s/GsmczNRRkpx/4iwa4K9tdmWsIaUwOeKkml+h4o6hXEAaaOuanjS3ylDl8oMLRA1XFXvxECj4vjijJgDG2LJ14zAN5pHNTt8pllebLL30qQszBLTWFZrIZXerYIBH2JwwYp/ilbk/U9DOgM0+ATj3/+Y3ZnsQyhztz6dymbbnZarZrM11Va02pqde0TqtZa1NZN7SORNvoL+AKbCqtlpKbOgcg/P5S51iAXVjGRJPtc352Bh2eN/KB904HrYRqY2q0A2iWFedWRTtZATP2L8P8okyFXK2s2HQdD6//yNycUJkRyx7Vk7NW7ZQjKVvVKqa5r27lrhJZXAGrB9V8F02kVvCv/jOhQ7SVuBiN44Dq4Phl4PFzAHIxRP6+IDkPJlcAynlQ+U2D5W24XAyYy0HmiqC5FGwuAM5sgd66tI2cc7Czx+v8lAC+7uA0KcaysDImWB8RZ3xIML0SXXfhOnXda4iiOwODtEg+g31Xw0RgQP8NGCa3H4uVomObh7azBqYAOyP7magGqHZ2N8KS8Fvs5sqGixYKkDMVEzjDoEVX4vVg4g/wq2CCqeB7jGKJDmbh41SEjOOzWc/tWAFrFOD5KN6voZt8t7yUok1jS0oVKQcllYyofUPwTKdOCP4Kynw6M7+dXTiYB8T7Hn/gARaa5dkVXTpPpw3vR/yBGcuXeIZH5ICN3f8VeyJlqmW2MrqVHGC4k7zy7Nx/FfZGehTY++bIitsjE8qUoAqYK6e9ywbJqLotPqtkr7G0KcU0wsQFrcR057ufSBTb5ZgLM5lDFtHjq0PS5+lGRYf08PzALVwXQDh4iWbvmg1FjwhuVBlDAFrtDpg3YvXpxbrW80+SzNVoDhD1AFEPEPXHgKjloVA6iC0HWNOw7s8NYn8SoFfGhr+zFX9HO37ZsS8F1wut+VX1lSqYB2rGM9+8gJAI7gxHPd4cjFkX0anOJ2D28+dintaoBMxwEUZ8kLhHlz0dAyMVYXLxwUF7Ohg722yqtATMn73LGay/+TEaMaPp1sCyOReO5/6jCkulPB5e/TFm2Xv7v3dvBrcsLuF7ZK8WXyfZsaQqTaW2ZeQKBuFycHsxuP20leY4ZZCeeXjlVb9/OznBuKwgi+zaZulhMagChiD9BEcKrp4TMhqNWH7sxcaB/1OfnFzdjbq/k//UFqu/k+t76NIJ6VnwOktBCqEvxJnbS31uEpjFLKSIph9DeX4BkWa3LFUqJuL26HNM4Av0CpM1H2MJDxs8OWb5AD+mIN6OCSx8EOj4FZTAzAi8zdJwU+s87/Z+wQqDUQGtFIKBvN1QIKpXmoV5g7EVQV+i1vwdxyXjg5JX0x0olBp0oaXW3f99MurfDCaDPgzYhb15mD95T5OpiZwMb1tPx+GxlzBRMeWsPteWD9RLWp7x0dynxYKuITAP6ndhYMCJ9LCXszB3jfwdQjgNxrX2uqP+G4oeLpQD4SYlMgSUhplLe5pDUzKpcmIqvliInXa7VVP25hCcYO5kPA0M0xMvk7KDG+YXDg3G8QDcgEHzbM/gdsxu8MRWGPAzwnW5nMNp8a4sOFB64bMMS7mwR7/e7RpqiuFopbZxxnkyIET6WWYkNQQVQkwNcarpNbFtyLWmqCq1jqo1IRhVEqd6R1CnTe7UDJ6tpY4gyfv0c3PJpMfrjRE794ZrwpZFiO1Z5c7hy/B2n2Ku98gtGbBKUehmivs5ZU/wGWfNjbNA0ri7I0vIxTENnKjK4Av4kkz9vBtTaIqezhRtud1CTfi5p7Jnssb3ZITUo9sTDAAmalSwY+ecohGfZ4M+8P6ukkHYAxv0wzZmrF4VBQQf8h1b9xS5qbLciTFqRkOEOp0+p/qX2mZF3oNRSKcGWIw+5HJGCcY6I3GXbiGrIEH9RhVSOGxmzkQfju52J3HRBqTIPp9O3mHYwJC8VWir87RVtDc4z5f068tN8pC81TXgnaHx6O78un9DrgfjyT6hMcSlIaMAPwDIWRDMIoqI4D31Dw9w/MMDPpD3n6UPAYc8C08r1bbPiU1FqDX3BiH4gUziYu9WydMEVt6QRXH75bTsiPm2y8KNZOHeqhNAOMjUpEZG/vkrW3vD0vTFvAqko7Ouu54vYqUH27zyys5QBAtAcL7fOrbPimfCHpgBQHdmUIRxXSijOAFVERoVy8soW4ne0VqzWadGjea01py1aa0j6XKNqh2qdKZNxaDcGa88r/buArNOnrUvaZrzu5snzQo3Tp1lRO518rdJJe9nbpMqimB4ZuwuT/3UkyyfYbgtlWYkJL42FduqOMUTMdviLidiSrXOHtUd7Ki5XFdMCB2Kk1hA5i4ZnUuHBXf2HBZc2cAdhQ4nQg5//MN+cw/5/dnP9q0SOBOgHd/L5vWkWODsSPzqGZHKBGJBqdFKJeuyMe20ahSWJcDmLbXWaSkgsVTaEaaaKNBpMoAvhqzw/N79HcQZG9UdgrW2AJVP+13jtPIkTQf7XtqTVlY36WIaaOYRQGv6czm7cvKPPNvDniEavrY9Vypz/M8Kywp2ryfv/wiwrDLtf15cJr0iLtvLdi0w+qitdmlTTlwmMn3zAMoOoCwLlL0pePVuJ4DIg7KpRFuyqoLbayp0ak1db9XUtizXZk1BatLpbAqi6gDKfm5Q9oJW4l7/4n7Uf0PJ14r2twYow7Oop5w/mxYv0WwrorpHq3Ds5PBgDLfNw/6Nlw6aCAajxImy+09qhrWDIZr5WSCeCJPjY6yTvXgqlZps6/DTvYdWRM61pDdtT0m8SkZWsPnCedLSvGvcTpj/ynCwGa3OtE1lqdbuiODomIH+ruq6VNN0Q2lOhZnRUYzv5WDj9IfUbbspGNdjn9jW/JRXi3yvxZnCsp12ENM299ggJw9UQMC7IUZOdq854ee1CJN9QQAVr1ENI39t9EAyI8l42Oce4xO5SZSq8H9No7JYa7akTk1TQYhBp0R9OlU6rU4cqAc1DFOzb8RZQRZUSWoJgrIDQtf5mU5ciM+0uAAJtljltiS6H08CElzdNTnPXnZmJPdl7GNXRsGejJwdGWX3Y+TvxkjuxQh3A2xcjPQeRmZWRamxP4Ig/Ah5icq2f3u3zV422xTttcnbalN6p03BRpst2r5CtqWLfri4RpKR3K2wGggNji9cL5iOSebsd6HvI0jngRuB2baODN9HxLDtpqRRKgs1SdQVMBVRsTadwYKaYSoK8zJd0EdTpxkCVhWasNAIrR3ka7SgJsRqRr2n+GiqwI9soVMVPGUAF9pgFktLCjqNJR9CYZxaZqUUTrlxL4kAqOoafVWQVsJ0HFMs0iNf44CMKxBmcJNtTs5LaZER9NoGTV/ZbS1OQd1ZyK3GBYq+Oj7TQMUph85EYEjelL1yTKhw/cRn1xwVW+djLmFfsdfXQ7+w5ChqlgUha18gesndWGs+tWaKkbMiclxrzgNdjyE4husC+t4wjrGzZ9vF1LARhLJNJtR6NPmu7BFOHSVZvyqEapML7atLRka9DHQ6RxqcgzUmCzvddPOxE0SVtzovi53eA/D4EACQrSF5PoD6mdI5XnORrrn4YXwRe7QygIh7VlD+j0HUw+pKLiiaAcGocG3rebFFMf94S8B9eUUTWlLU7RntUVCHoFu/BUG9iRl+D8IExopF5/ZYOOrPN/XyuDMzZ+bwmmeUnWbQXhJbVtn7EQXbJjFJGOoYMmMVz3xF6FTiALjtRC3A6O16PDGMj5H2goIqWacSAOmHsFK9MRy0N/BwgA4H6HCADgnhd4AO0QJ+gA7Z0OFVncPguLy/nrwhz3CRCadqccX7ihB99f2dTSN/Z1Oqfxn8KUqzJu3Nv+yPfcKj7F8tcCeX9OdCOyzMbQjtPDq77p7f+ae7DG4v70Y3QYKQdL9sfmG9OV1g0hccNXbEJybBt+gjRUhdtsQsd7MHTcDhfPXpnLy/IaJcEzvkoWFYfyeXRJRqYov9+lDO+yzXpX21CXr+23mPvAe9sgZs1iGi8De5sSnZEoDL+2qIfHQ2vJ6Q96IMloimQhb0n42y4yHJ5P31hx0Jf40qM7ncLP10n0j8OzzclVyjARCP2nkinxHiVmGELvZl/GmYdlKYLNaFKkWNWVF3aUWJnUpFffo0SckVAWWQrvWlQjnDuR0fDHa106rUmIkN+io5Ny0z7ew3scoIWdPNwlymjHSViRLjinMLtFDSQ/W+QkN+m4PFNOUtdrNdabKAGxpNB+uUcRY77UoDfUUXwMWYByuF+HKlVkFR9oNlT9MGu1OFZrHB7l/3exOIbemOLgZ3n0bdG/K+/8unD7tJ9TN4dbtxYxPPbnbmTxCoG+Yv0vQNkMvPIvTCqVI8oyNIFc7ccd6dTPqjzJy2bCUfMelIovefv0+0xL76yM9oKJogQUh6q81yHWBIugHLV8bJfHz0mgyOpe3DZXqw2vx2Ry4Gl5f9Uf92MuheP9d4UnHzQhzcPW/jQECdPW/nLDZexcxXQluXDJ3RSCmkURIDyghGkpGCn86fgQqTWSfieC/DWBVApH3vGuC2CQgChN6KTTkeJpKzgw+BVrCHD+FZfPjRjg1OBWgTUIlrVIlciIkgqMglF9tqEfPBNQpz5e83NX4LD5dOpMavlBA+JPEIxStfCjdbkvd8TslGyCk75ZIExJNegIj8M7ENI6JUF7KomtymJCroN8x69rTBHouNUHbn0AmVOiQZ4dZbcuoguWKSCwJDgXWTKUDPe99HcklvSnKBYhawra/Q/TVlVzPz8KHvIbuqSiK2NzSTSluyCNTz3McP4ug7AimppYhKbeust+vJ9xFH8tsCUnhq0g7i6PoHE0fKDy2OREWoII7kgqdfVxqhb9vXkF8oY/eo/3nQ/w03T43/GE/6N+OXS9ctgpkfT9MGVR2cz4Bz4F8FTf/4p7PfzNyiAOYkTJCRMOUnOrtl1E/czzbvg0tIe3C01fxsCDREo69Bl17WNUxNR+ZgdUcTqz0jMzC3O5jXeqFZmunSOhnarokCiGVITPt8pdoXTEDNzLYuTJs1+wWFTTE78LxO7paU0JXp4mDB5QUY1ZZaHRNrBw2gmqHpc+rWU2uINQH8fNQGH9ccjGmmiyctzc2Ve0ygDb7fAIxJBpTEXGF+v18rs/T4rgfWFOJv89u1lHSO9eLUx7Zugs32yidZgsufmYG61B7KqM6gMQH/bCei3mpffMFW2y2ppPcrNjfig5CYGHEavPAeygQ5+hbFbNgpGyqpC9ZfttVh+2Y/WORZdmr3hTdeul5I0sSGkB3dJu7C/gKxaf4m9G2z7SUL32GP0bQs14IC/4mYrR6+q4IktUVZEGpwsYqBPLutqNUFwwvCw1waG/QRYi77b+D097avJlqlkCeqOUwGfbUd1j00OBPNnVIoyc3uRw2YXhCasriXtiMw6lq6PbctiCUzHHP5xYUAa4cYWkrGcCFneGvkLeQR3zKNj2PMU2SErWiCbRefD7e/3RRtSWy1dpFF6fOI3IL8eVZOn9jOUxUPB8jdXRDkNlDENts+FGsjP4edSmdelws73SNXVYzELsEi+WtWRrq7rXWLVzXUqdLSJcWoAVmataZCQdWYgW+GCjNZm2maIHJBn/EUQYD1FHWPAR/5knGXkFV/eXjhiNWzjDxCTNplZ6xislkozliVnCDjyVGJRYHXlooY/+flfrk9a7d0Ray1mqhoU9GodTS5XVOV9sxoqoak01kG90OsNthynpNOIyiVJJOvpC+yR2S3GSC/mRmQzuEwrDm2Hm6tKGDjl9KDPg8mAMHHg0+3bygOsCjfRtXiKuUX77TF1h6TYHIDnFB/uDsvq/sQzQLrGQSPgYReH7GUMaRBkElPyLaOc2s/ErF5TERVVbfvdleOaZH2MeoQwn70n7B9Fp1B864oNjNZcyZ4fzQxVlBst4m+KBUBl12OVLacPC0j0ZvfKvcGgvs6LfLl4ZmdaUIxnRLFVOiLF+c1xK1kKbmI8hqjwMjKUgP6tVhcPbdnLSisqTSgd2UKe53opN71PZj2RnuCC1KrHFz4jLvYCJrG3YKgpyjpTGsGlUnMbWNUilFqN9tSB502+xKMUeOPwTSJ0+QY7IvBvxqEvZmOvln4i/4xsb+BxALCHJPzm8ExMyCej7sEAuOotRcFDiWeKIrcxt69RRFUpH+ReS/BAWMYxPTzu9ITYvhMIJZjgsTyKAvSPtUiRvCKaVOZzH8pn902FxT469ph+IC+eJnIgVcPevnrsCu4XkUMfNkTuwZumXNYRoi3toPF74ZquCIa1dm4+WbYuNMKuPgLfybwgYvfAhd3mh1YsffGxQPAN9qj5uobS3MIPo0aeXXuVd6OEJbD4NPF4v9ePfy/78rCuQ72A7z8SeElCwZqCvH0CIf1+k3CyxeOUI1xwQFeHuDlDwcvq7JxJwzHPcDLN6ckvVF42Xo7QrgZ7mx56/Ayx1HE0oFB6lSUJShhzmL3Txs9y4RMSpp1YQMuwkv/H5teTduvTgEA", - "hash": "NDM5NDNjNjc2MTVmZDY0ZWIwZWEyMWJjMDFlMDJkZjcxYzJlOWQ0YQ==" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "DocumentReference/134d7643-962f-6061-41d7-d41846665051" - } - } - ] + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Operative_Note-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Operative_Note-expected.json index e72d41531..b2dcce2ab 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Operative_Note-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Operative_Note-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2012-09-17T07:10:00+08:00", + "date": "2012-09-16T19:10:00-04:00", "title": "Community Health and Hospitals: Operative Note", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2009-02-28T02:00:00+08:00", + "time": "2009-02-27T13:00:00-05:00", "party": { "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } @@ -36,8 +36,8 @@ "event": [ { "period": { - "start": "2012-09-10T07:10:00+08:00", - "end": "2012-09-17T07:10:00+08:00" + "start": "2012-09-09T19:10:00-04:00", + "end": "2012-09-16T19:10:00-04:00" } } ], @@ -947,7 +947,7 @@ } ] }, - "date": "2021-07-02T05:38:44.437Z", + "date": "2022-03-25T08:35:32.909Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Patient-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Patient-1-expected.json index 075a9f1ea..680c6a985 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Patient-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/OperativeNote/Patient-1-expected.json @@ -1,879 +1,879 @@ { - "resourceType": "Bundle", - "type": "batch", - "entry": [ - { - "fullUrl": "urn:uuid:f1881460-e32c-035c-ab7d-7c0ab5679e33", - "resource": { - "resourceType": "Composition", - "id": "f1881460-e32c-035c-ab7d-7c0ab5679e33", - "identifier": { - "use": "official", - "value": "db734647-fc99-424c-a864-7e3cda82e703" - }, - "status": "final", - "type": { - "coding": [ - { - "code": "34133-9", - "display": "Summarization of Episode Note", - "system": "http://loinc.org" + "resourceType": "Bundle", + "type": "batch", + "entry": [ + { + "fullUrl": "urn:uuid:ab5c68f4-fc13-a43c-f14d-1ec20f8a4093", + "resource": { + "resourceType": "Composition", + "id": "ab5c68f4-fc13-a43c-f14d-1ec20f8a4093", + "identifier": { + "use": "official", + "value": "db734647-fc99-424c-a864-7e3cda82e703" + }, + "status": "final", + "type": { + "coding": [ + { + "code": "34133-9", + "display": "Summarization of Episode Note", + "system": "http://loinc.org" + } + ] + }, + "date": "2014-04-16T11:54:39+05:00", + "title": "Community Health and Hospitals: Health Summary", + "confidentiality": "N", + "attester": [ + { + "mode": "legal", + "time": "2013-04-18T09:00:00+05:00", + "party": { + "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" + } + } + ], + "event": [ + { + "period": { + "start": "2010-03-31T10:00:00+05:00", + "end": "2010-10-24T10:00:00+05:00" + } + } + ], + "section": [ + { + "title": "Allergies, Adverse Reactions & Alerts", + "text": { + "status": "generated", + "div": "
Allergies, Adverse Reactions & Alerts
" + }, + "code": { + "coding": [ + { + "code": "48765-2", + "display": "Allergies, adverse reactions, alerts", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Encounters", + "text": { + "status": "generated", + "div": "
Encounters
" + }, + "code": { + "coding": [ + { + "code": "46240-8", + "display": "History of encounters", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Immunizations", + "text": { + "status": "generated", + "div": "
Immunizations
" + }, + "code": { + "coding": [ + { + "code": "11369-6", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Medications", + "text": { + "status": "generated", + "div": "
Medications
" + }, + "code": { + "coding": [ + { + "code": "10160-0", + "display": "History of Medication Use", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Problems", + "text": { + "status": "generated", + "div": "
Problems
" + }, + "code": { + "coding": [ + { + "code": "11450-4", + "display": "PROBLEM LIST", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Procedures", + "text": { + "status": "generated", + "div": "
Procedures
" + }, + "code": { + "coding": [ + { + "code": "47519-4", + "display": "HISTORY OF PROCEDURES", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Results", + "text": { + "status": "generated", + "div": "
Results
" + }, + "code": { + "coding": [ + { + "code": "30954-2", + "display": "Results", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Social History", + "text": { + "status": "generated", + "div": "
Social History
" + }, + "code": { + "coding": [ + { + "code": "29762-2", + "display": "Social History", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + }, + { + "title": "Vital Signs", + "text": { + "status": "generated", + "div": "
Vital Signs
" + }, + "code": { + "coding": [ + { + "code": "8716-3", + "display": "Vital Signs", + "system": "http://loinc.org" + } + ] + }, + "mode": "snapshot" + } + ], + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + }, + "custodian": { + "reference": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" + }, + "author": [ + { + "reference": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Composition/ab5c68f4-fc13-a43c-f14d-1ec20f8a4093" } - ] }, - "date": "2014-04-16T11:54:39", - "title": "Community Health and Hospitals: Health Summary", - "confidentiality": "N", - "attester": [ - { - "mode": "legal", - "time": "2013-04-18T12:00:00+08:00", - "party": { - "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" - } - } - ], - "event": [ - { - "period": { - "start": "2010-03-31T10:00:00", - "end": "2010-10-24T10:00:00" - } - } - ], - "section": [ - { - "title": "Allergies, Adverse Reactions & Alerts", - "text": { - "status": "generated", - "div": "
Allergies, Adverse Reactions & Alerts
" - }, - "code": { - "coding": [ - { - "code": "48765-2", - "display": "Allergies, adverse reactions, alerts", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Encounters", - "text": { - "status": "generated", - "div": "
Encounters
" - }, - "code": { - "coding": [ - { - "code": "46240-8", - "display": "History of encounters", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Immunizations", - "text": { - "status": "generated", - "div": "
Immunizations
" + { + "fullUrl": "urn:uuid:151bd63c-93e9-9838-dd94-f74d3b63be52", + "resource": { + "resourceType": "Practitioner", + "id": "151bd63c-93e9-9838-dd94-f74d3b63be52", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "999999999" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ] + } + ], + "address": [ + { + "line": [ + "1001 Village Avenue" + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ] }, - "code": { - "coding": [ - { - "code": "11369-6", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Medications", - "text": { - "status": "generated", - "div": "
Medications
" - }, - "code": { - "coding": [ - { - "code": "10160-0", - "display": "History of Medication Use", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Problems", - "text": { - "status": "generated", - "div": "
Problems
" - }, - "code": { - "coding": [ - { - "code": "11450-4", - "display": "PROBLEM LIST", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Procedures", - "text": { - "status": "generated", - "div": "
Procedures
" - }, - "code": { - "coding": [ - { - "code": "47519-4", - "display": "HISTORY OF PROCEDURES", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Results", - "text": { - "status": "generated", - "div": "
Results
" - }, - "code": { - "coding": [ - { - "code": "30954-2", - "display": "Results", - "system": "http://loinc.org" - } - ] - }, - "mode": "snapshot" - }, - { - "title": "Social History", - "text": { - "status": "generated", - "div": "
Social History
" + "request": { + "method": "PUT", + "url": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" + } + }, + { + "fullUrl": "urn:uuid:ccf335f7-e962-e711-c0ac-aca0f1f41b74", + "resource": { + "resourceType": "Organization", + "id": "ccf335f7-e962-e711-c0ac-aca0f1f41b74", + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "99999999" + } + ], + "name": "Community Health and Hospitals", + "address": [ + { + "use": "work", + "line": [ + "1002 Healthcare Drive " + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ] }, - "code": { - "coding": [ - { - "code": "29762-2", - "display": "Social History", - "system": "http://loinc.org" - } - ] + "request": { + "method": "PUT", + "url": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" + } + }, + { + "fullUrl": "urn:uuid:b818f780-0177-affe-d9d2-2aefb7adeee2", + "resource": { + "resourceType": "Practitioner", + "id": "b818f780-0177-affe-d9d2-2aefb7adeee2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "99999999" + } + ], + "name": [ + { + "family": "Seven", + "given": [ + "Henry" + ], + "suffix": [ + "MD" + ] + } + ], + "address": [ + { + "line": [ + "1002 Healthcare Drive " + ], + "city": "Portland", + "state": "OR", + "country": "US", + "postalCode": "99123" + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-1002", + "use": "work" + } + ], + "qualification": [ + { + "code": { + "coding": [ + { + "code": "200000000X", + "display": "Allopathic & Osteopathic Physicians", + "system": "http://nucc.org/provider-taxonomy" + } + ] + } + } + ] }, - "mode": "snapshot" - }, - { - "title": "Vital Signs", - "text": { - "status": "generated", - "div": "
Vital Signs
" + "request": { + "method": "PUT", + "url": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" + } + }, + { + "fullUrl": "urn:uuid:5510eaa6-2ad2-b82b-248b-aba749e28fa1", + "resource": { + "resourceType": "Patient", + "id": "5510eaa6-2ad2-b82b-248b-aba749e28fa1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.19.5.99999.2", + "value": "998991" + }, + { + "system": "http://hl7.org/fhir/sid/us-ssn", + "value": "111-00-2330" + } + ], + "name": [ + { + "use": "usual", + "family": "Crawford", + "given": [ + "Wilma" + ] + } + ], + "birthDate": "1943-09-03", + "gender": "female", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2054-5", + "display": "Black or African American" + } + }, + { + "url": "text", + "valueString": "Black or African American" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + }, + { + "url": "text", + "valueString": "Not Hispanic or Latino" + } + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1093 Paradise Lane" + ], + "city": "Pomona", + "state": "CA", + "country": "US", + "postalCode": "91766" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(909)632-8501", + "use": "mobile" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "es", + "display": "Spanish" + } + ] + }, + "preferred": true + } + ] }, - "code": { - "coding": [ - { - "code": "8716-3", - "display": "Vital Signs", - "system": "http://loinc.org" + "request": { + "method": "PUT", + "url": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + { + "fullUrl": "urn:uuid:9e82d449-c969-07b0-028b-e60c40d61826", + "resource": { + "resourceType": "RelatedPerson", + "id": "9e82d449-c969-07b0-028b-e60c40d61826", + "relationship": [ + { + "coding": [ + { + "code": "FRND", + "display": "friend", + "system": "urn:oid:2.16.840.1.113883.5.111" + } + ] + } + ], + "name": [ + { + "family": "Wilson", + "given": [ + "Dennis" + ], + "prefix": [ + "Mr." + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "(830)264-0313", + "use": "home" + } + ], + "address": [ + { + "use": "home", + "line": [ + "4262 Morris Street" + ], + "city": "Christine", + "state": "TX", + "country": "US", + "postalCode": "78012" + } + ], + "patient": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - ] }, - "mode": "snapshot" - } - ], - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - }, - "custodian": { - "reference": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" - }, - "author": [ - { - "reference": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" - } - ] - }, - "request": { - "method": "PUT", - "url": "Composition/f1881460-e32c-035c-ab7d-7c0ab5679e33" - } - }, - { - "fullUrl": "urn:uuid:151bd63c-93e9-9838-dd94-f74d3b63be52", - "resource": { - "resourceType": "Practitioner", - "id": "151bd63c-93e9-9838-dd94-f74d3b63be52", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "999999999" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ] - } - ], - "address": [ - { - "line": [ - "1001 Village Avenue" - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" - } - }, - { - "fullUrl": "urn:uuid:ccf335f7-e962-e711-c0ac-aca0f1f41b74", - "resource": { - "resourceType": "Organization", - "id": "ccf335f7-e962-e711-c0ac-aca0f1f41b74", - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "99999999" - } - ], - "name": "Community Health and Hospitals", - "address": [ - { - "use": "work", - "line": [ - "1002 Healthcare Drive " - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/ccf335f7-e962-e711-c0ac-aca0f1f41b74" - } - }, - { - "fullUrl": "urn:uuid:b818f780-0177-affe-d9d2-2aefb7adeee2", - "resource": { - "resourceType": "Practitioner", - "id": "b818f780-0177-affe-d9d2-2aefb7adeee2", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" - ] + "request": { + "method": "PUT", + "url": "RelatedPerson/9e82d449-c969-07b0-028b-e60c40d61826" + } }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "99999999" - } - ], - "name": [ - { - "family": "Seven", - "given": [ - "Henry" - ], - "suffix": [ - "MD" - ] - } - ], - "address": [ - { - "line": [ - "1002 Healthcare Drive " - ], - "city": "Portland", - "state": "OR", - "country": "US", - "postalCode": "99123" - } - ], - "telecom": [ - { - "system": "phone", - "value": "555-555-1002", - "use": "work" - } - ], - "qualification": [ - { - "code": { - "coding": [ - { - "code": "200000000X", - "display": "Allopathic & Osteopathic Physicians", - "system": "http://nucc.org/provider-taxonomy" + { + "fullUrl": "urn:uuid:22b02f7a-f9b0-2fa5-18c9-1b1205d146ac", + "resource": { + "resourceType": "Procedure", + "id": "22b02f7a-f9b0-2fa5-18c9-1b1205d146ac", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "97802", + "display": "Medical nutrition, indiv, in", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "performedDateTime": "2010-03-31T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - ] + }, + "request": { + "method": "PUT", + "url": "Procedure/22b02f7a-f9b0-2fa5-18c9-1b1205d146ac" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b818f780-0177-affe-d9d2-2aefb7adeee2" - } - }, - { - "fullUrl": "urn:uuid:5510eaa6-2ad2-b82b-248b-aba749e28fa1", - "resource": { - "resourceType": "Patient", - "id": "5510eaa6-2ad2-b82b-248b-aba749e28fa1", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] }, - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.19.5.99999.2", - "value": "998991" - }, - { - "system": "http://hl7.org/fhir/sid/us-ssn", - "value": "111-00-2330" - } - ], - "name": [ - { - "use": "usual", - "family": "Crawford", - "given": [ - "Wilma" - ] - } - ], - "birthDate": "1943-09-03", - "gender": "female", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2054-5", - "display": "Black or African American" - } - }, - { - "url": "text", - "valueString": "Black or African American" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino" + { + "fullUrl": "urn:uuid:143fdf67-782f-f8c0-0066-ec7858238c92", + "resource": { + "resourceType": "Procedure", + "id": "143fdf67-782f-f8c0-0066-ec7858238c92", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "S9451", + "display": "Exercise class", + "system": "urn:oid:2.16.840.1.113883.6.13" + } + ] + }, + "performedDateTime": "2010-03-31T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - }, - { - "url": "text", - "valueString": "Not Hispanic or Latino" - } - ] - } - ], - "address": [ - { - "use": "home", - "line": [ - "1093 Paradise Lane" - ], - "city": "Pomona", - "state": "CA", - "country": "US", - "postalCode": "91766" - } - ], - "telecom": [ - { - "system": "phone", - "value": "(909)632-8501", - "use": "mobile" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "system": "urn:ietf:bcp:47", - "code": "es", - "display": "Spanish" - } - ] }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - { - "fullUrl": "urn:uuid:9e82d449-c969-07b0-028b-e60c40d61826", - "resource": { - "resourceType": "RelatedPerson", - "id": "9e82d449-c969-07b0-028b-e60c40d61826", - "relationship": [ - { - "coding": [ - { - "code": "FRND", - "display": "friend", - "system": "urn:oid:2.16.840.1.113883.5.111" - } - ] - } - ], - "name": [ - { - "family": "Wilson", - "given": [ - "Dennis" - ], - "prefix": [ - "Mr." - ] - } - ], - "telecom": [ - { - "system": "phone", - "value": "(830)264-0313", - "use": "home" - } - ], - "address": [ - { - "use": "home", - "line": [ - "4262 Morris Street" - ], - "city": "Christine", - "state": "TX", - "country": "US", - "postalCode": "78012" - } - ], - "patient": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/9e82d449-c969-07b0-028b-e60c40d61826" - } - }, - { - "fullUrl": "urn:uuid:004cbc0e-2674-2452-be13-d7d79b4a69cd", - "resource": { - "resourceType": "Procedure", - "id": "004cbc0e-2674-2452-be13-d7d79b4a69cd", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "97802", - "display": "Medical nutrition, indiv, in", - "system": "http://www.ama-assn.org/go/cpt" + "request": { + "method": "PUT", + "url": "Procedure/143fdf67-782f-f8c0-0066-ec7858238c92" } - ] - }, - "performedDateTime": "2010-03-31T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/004cbc0e-2674-2452-be13-d7d79b4a69cd" - } - }, - { - "fullUrl": "urn:uuid:96724c9b-9259-1183-cbc1-f9244830cbc3", - "resource": { - "resourceType": "Procedure", - "id": "96724c9b-9259-1183-cbc1-f9244830cbc3", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "S9451", - "display": "Exercise class", - "system": "urn:oid:2.16.840.1.113883.6.13" + { + "fullUrl": "urn:uuid:112d5bdd-fbca-9570-a7f1-35e632442fdf", + "resource": { + "resourceType": "Procedure", + "id": "112d5bdd-fbca-9570-a7f1-35e632442fdf", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "76499", + "display": "Radiographic procedure", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "performedDateTime": "2010-05-23T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/112d5bdd-fbca-9570-a7f1-35e632442fdf" } - ] }, - "performedDateTime": "2010-03-31T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/96724c9b-9259-1183-cbc1-f9244830cbc3" - } - }, - { - "fullUrl": "urn:uuid:aacb35aa-1f6b-f270-6763-725a6af1000c", - "resource": { - "resourceType": "Procedure", - "id": "aacb35aa-1f6b-f270-6763-725a6af1000c", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "76499", - "display": "Radiographic procedure", - "system": "http://www.ama-assn.org/go/cpt" + { + "fullUrl": "urn:uuid:de656784-6698-4f5d-a5b3-11f0dd0f136a", + "resource": { + "resourceType": "Procedure", + "id": "de656784-6698-4f5d-a5b3-11f0dd0f136a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "93543", + "display": "Injection for heart x-rays", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "performedDateTime": "2010-05-24T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/de656784-6698-4f5d-a5b3-11f0dd0f136a" } - ] - }, - "performedDateTime": "2010-05-23T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/aacb35aa-1f6b-f270-6763-725a6af1000c" - } - }, - { - "fullUrl": "urn:uuid:0234d7b8-54e2-b753-2c72-84f2d693123f", - "resource": { - "resourceType": "Procedure", - "id": "0234d7b8-54e2-b753-2c72-84f2d693123f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "93543", - "display": "Injection for heart x-rays", - "system": "http://www.ama-assn.org/go/cpt" + { + "fullUrl": "urn:uuid:ed3c7bcf-447c-6f61-a125-1370dbff83a6", + "resource": { + "resourceType": "Procedure", + "id": "ed3c7bcf-447c-6f61-a125-1370dbff83a6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "23852006", + "display": "Cardiac monitoring", + "system": "http://snomed.info/sct" + } + ] + }, + "performedDateTime": "2010-05-25T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/ed3c7bcf-447c-6f61-a125-1370dbff83a6" } - ] }, - "performedDateTime": "2010-05-24T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/0234d7b8-54e2-b753-2c72-84f2d693123f" - } - }, - { - "fullUrl": "urn:uuid:721bb81e-7001-281c-555e-8c85cd12d165", - "resource": { - "resourceType": "Procedure", - "id": "721bb81e-7001-281c-555e-8c85cd12d165", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "23852006", - "display": "Cardiac monitoring", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:3347cb3d-7982-2f7e-f52b-1424391f3a72", + "resource": { + "resourceType": "Procedure", + "id": "3347cb3d-7982-2f7e-f52b-1424391f3a72", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "103699006", + "display": "Patient referral to dietitian", + "system": "http://snomed.info/sct" + } + ] + }, + "performedDateTime": "2010-05-27T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/3347cb3d-7982-2f7e-f52b-1424391f3a72" } - ] }, - "performedDateTime": "2010-05-25T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/721bb81e-7001-281c-555e-8c85cd12d165" - } - }, - { - "fullUrl": "urn:uuid:36c4062f-c4c6-d35a-71bb-0406c34c227f", - "resource": { - "resourceType": "Procedure", - "id": "36c4062f-c4c6-d35a-71bb-0406c34c227f", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "103699006", - "display": "Patient referral to dietitian", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:5c6f8e25-9487-5c09-db35-b69dff3227b4", + "resource": { + "resourceType": "Procedure", + "id": "5c6f8e25-9487-5c09-db35-b69dff3227b4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "401191002", + "display": "Diabetic foot examination", + "system": "http://snomed.info/sct" + } + ] + }, + "performedDateTime": "2010-06-25T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/5c6f8e25-9487-5c09-db35-b69dff3227b4" } - ] - }, - "performedDateTime": "2010-05-27T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/36c4062f-c4c6-d35a-71bb-0406c34c227f" - } - }, - { - "fullUrl": "urn:uuid:02123766-910c-0b48-f4d1-443a49ed3110", - "resource": { - "resourceType": "Procedure", - "id": "02123766-910c-0b48-f4d1-443a49ed3110", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "401191002", - "display": "Diabetic foot examination", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:f32a337c-34d5-23eb-5164-633a05a5dc86", + "resource": { + "resourceType": "Procedure", + "id": "f32a337c-34d5-23eb-5164-633a05a5dc86", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "92012", + "display": "Eye exam established pat", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "performedDateTime": "2010-07-30T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/f32a337c-34d5-23eb-5164-633a05a5dc86" } - ] - }, - "performedDateTime": "2010-06-25T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/02123766-910c-0b48-f4d1-443a49ed3110" - } - }, - { - "fullUrl": "urn:uuid:c2848787-bce3-efe2-3252-c3a0e7e9f1b6", - "resource": { - "resourceType": "Procedure", - "id": "c2848787-bce3-efe2-3252-c3a0e7e9f1b6", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "92012", - "display": "Eye exam established pat", - "system": "http://www.ama-assn.org/go/cpt" + { + "fullUrl": "urn:uuid:299e590d-416b-19a3-74b3-6a45b20f1125", + "resource": { + "resourceType": "Procedure", + "id": "299e590d-416b-19a3-74b3-6a45b20f1125", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "code": "401191002", + "display": "Diabetic foot examination", + "system": "http://snomed.info/sct" + } + ] + }, + "performedDateTime": "2010-10-24T10:00:00+05:00", + "subject": { + "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/299e590d-416b-19a3-74b3-6a45b20f1125" } - ] }, - "performedDateTime": "2010-07-30T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c2848787-bce3-efe2-3252-c3a0e7e9f1b6" - } - }, - { - "fullUrl": "urn:uuid:c7dac552-aef6-9f52-9668-68e5f02076ed", - "resource": { - "resourceType": "Procedure", - "id": "c7dac552-aef6-9f52-9668-68e5f02076ed", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:e401f340-7be2-11db-9fe1-0800200c9a66" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "code": "401191002", - "display": "Diabetic foot examination", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:3cbafdd0-8f30-5b86-e6af-9bdcb1cf2f1a", + "resource": { + "resourceType": "DocumentReference", + "id": "3cbafdd0-8f30-5b86-e6af-9bdcb1cf2f1a", + "type": { + "coding": [ + { + "code": "34133-9", + "display": "Summarization of Episode Note", + "system": "http://loinc.org" + } + ] + }, + "date": "2022-03-25T13:30:12.911Z", + "status": "current", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "data": "H4sIAAAAAAAACu19eXfiSLbn3/4WMczpfulps2hBQJbTb5wYp13trY2dXT09ferISIBeCeQngTPdZz783BuhJbQSIGzjTHGq0qAl1l/cPeIe/uf3mU2eTNeznPmnmtRo1Yg5HzmGNZ98qi0X43q39p9Hh/+jXid3U5OMHdt2vsE94umzR9skhjNazsz5ghjmozVaeEQnY/gLhek2GU11Vx8toHAyNXV7MSXecjbT3ecGOZ4/E9f0zNmDrc9HJlk48KYLD5FHeNyZE8sjI8eajywDStftBqnXjw77tjW3Rrp9EtQKjZ97H7971qfadLF4/Nhsfvv2rfFNaTjupCm3WlLzt8uL4WhqzvS6NfcWWFdtD57/6NGLF85Ix8ZCV935x6ndqcOLH58U0mg04b9+vX9y/Ce55S5t02ta87Grewt3OVosXbM5MvQm3P59eHLXb3z3DCgXW5MsquY38skZJW814VrtaI+O7v/a8AMtIGembpjupiXAwBJC9g5x9Gd9xzBh4A3zU+1+WGtC4xbPj+a5QVzHWXyqyQ1Ja3TVVkNqSJLS7SrwBXpofl+Yc4agm+v+ye9nJy34qC0sgHXvfki+mHPThQlmrSV3JgBIX5g4sfDQwv9ZVFWrIcN/cKMhRSX3nfnCmi+txTNxxqSvuyYJ4fGh3z/ZJ3VyA5OMv88YCocMhb/s7eHbY8ed6XATIEjnm5wjsvF9Cg3yZQkYJDW4cyv/fv7l9/Ozwe/966vh9cXvJ8O7+99voTm/yy1J/vX+ovFojGtQ7Ae8s09+XdrPBG9BO8gTLK6w1x65hV7Svq/ZdZnOihU8azx0FFVTO/XxqNerq7I6qutdTa13TAUA2pXNTkuhb4yimVVUSVHqvRr9OXz2oAFZlWowzNwjV/oM3r24Pr/q14hhedDmZ3aNjaf1bzZeMAuDR8vD6q6chclAZC1s86jvzGbLOc6UPxH63CBnjvdowQr3Piam57DJ3to7NMdjE2jKk3lnzUzypNtLqBSGVW2pkiZJbVXp/aXVbrX8fs7HlGhYug1VcYC+SjT7CifeXjUK7YbcTg9DP14L4MhgPQVyNlnqE5Or15zX/bXkmQuYZG61eHd3vW63lj/vPai/hx/4SovwSfXVcvYAi8gfC7ocYAGPHNe4092JucDV8chQf+vgIO5RzHBV93rdXk8SqppCzl9up/ofJjk/IUsPucDZRQfKZKzg+vyEUul0VZIk1Vutuqworfz6VH9Rc9UMnREMLxmao6WLg+x3mlW9AHYEzGWJDwyvYrXrhoFPwcCc3QB9Dco8u0GuUnt0LYQXmTozs0bGrjPjZpdkAQDa3/PLhjlcuKa5OIYqTM+7sObmkdTqKUBiXB3QZZILfW4eNtNP0ZdH0I2jG2cG7PGwSX/4ZcLyP+of43v4jV58dOCHjTg66kkdTTtscldYac5yvnCfj+6HUJj/PewtUFzs7T2sN9MgQyzX87t7PrwmiqRpdQlwS1+j+IUVCCSqgXcaUjCWTRxM+m1h2gCwWYA5+PnxQ6/V29cUud5ttwBKdMgv+9w0XvZpI2bOgwUIgaW5gCnzW4HY8QfoHsZtxcAHaGYdnMMiZNVdsAneO5wAfZiT/wY8WGPLdD/VPt/Wjv5u2TMYaXrPf26szyygytyDxye1o76rfwNGYBw22X1WTRPrYV91YwayB0wrNOPJBF4GPIxb46cJ2nIKwoUNogZ+VtGXDCp7nFEbG9a9wwfLXUx5Sij1VKXVaykSCDyMCNLnkCQDXHDmlx7X1MtEUy9117VMQ4AOptt5ydcRNNA1bWtiOUvveDy2bItyBa5+qdXqJJpwDIvZ8maCw9XqaOmW3GZUGjSIigknfXKrg6SJPGewmIIciSSFckUgywybICJSuoKDP1vOiBu8YEYvwDqaODBgHoi8Y1jYBnl4JteXn3GJzQ3dNTyQkt2sugIKgqVy4yG32mq9nRiRz7Y++oNAOcdjFyTeOTmemfTLaqYtK93kQPpDhE36MxDrX/hG4cgEA8W6+cV1lo98A6WulmogsHZyBhd0eAHbeQEjPndEZpC1kKzdOrbKlzDClh4sZk6oOb29Okm0EYYOVs5qYAOZSbcHyROyTnojXFRp1rJN5pLJXlRZk8mlA4vUA4zh3Tz2EjCY/hSehekwOR4Tcpm733guE+cznS7Iqik+U8BptspreG6Tw2+6SmtfBukWiB2oHcE8NLPfABJs2R9PzDlQ0iFwAlAr//dkCUPXgIf8t/8evR1A64YqoEH3Qg5Ah8qFJf/96NJtwCCx7yEwKYthlcUYTshykBlBwTEOE+Mx8D2jDdFFjvwDxkfBS9x3hs+wXjr5X5zxOIaDEAl/HcaREIOCpqlyNwMKhVjgp68ZteuwmWg0JyVTjYAp4f6LGRI0kJmIrcEVvEV/geLKnhgMb2rwI/kJHoqRhcF3mDvPA6R6j84fJpDU7M8qsqG1Vr/pK01+l45BDIKJuOQpCuLIdMHmYp4DtwjA7i6DJw6b+YMFgxxJRVCS8wQ6iXvtToAq/5t7LNQWs8RuLaiIArFYR+MlomC1BeuIX6ik3W7X6f+RRMJhM1OIbknkq2Xb0FFyDKtnmStFh2K0u4ChMXhw+8i+vo0hOyZK9yRZSeM6X5aOBOBmzgCHs8A0rcNmXBE71JeLqYNFgBq8Un+Fxz3PmoBccRy8ltbc2Ke2elJ5BkmlQ/z8JqD4gziPvY9LaWD7g55OgeEzPn0NBQRXbqbPHvBsfe6LgdFsZ0+27ONrRA02LtBLskprSk135myvnuy8uc7QdbKwHUAbOxH01Z8ynmxzZJ1xgzNzjkaNtC5yNDThUpIveMsx5TUn0Dn2Nc4uoLXJWqNLAXbgSvDN0Bf6YA7GWJNCMXgSLvnDuYpKZEBQVeS2nIW0zt92B2miZOUnhJkgmgKMHDZjIDq0AttpPqB+NLJVgWl7YOLgE4cSGBBgmflPkpENr+KqAufC7ZAqXVTpCK8TuAy+IxTqgAmjC8r3IX2zQH5h38FKSEsFJHpT65Hdwlajuu+z79B+yKFveDNMGrtvru+Hg1VYxC9gQm1rCgVkUiC8CRp1yzeKqpt34G8hX5EOgOFz4aPSH5HChX/q6vM/Mhf+r87c9HLnKll2eCV7pkagQTm+OhIu+j53EVvrzwV3I1Mo3Yw6bCypZgmolLwmdEFOy4drRSLrGlLMm0mtArMRrU5uIqFE7ocPAXzh1hxZj77WAddhCg3T4C/mPr1NfpVXBbpBTCjMSCNuLdhQMT6rIKw61ee89hza5kS3URxDXxGobpmKgAKKQBdMuPDhFAGcEbCrurwmTP1IazBbIW5b8bxXE6Cy4EAVxCJ4ZOuJFTx+PPk6gQRwernww3qk8QkgGDAx6Bws3T4VQA9ppqh0df3XWlKYubw7EzOGC5CFDjnRv0EUg9Eo1qc+mzq4rBdo91xDoep0tU4ZhSrmo+z19ulEy1KS03MjmDPnocXXS5h8fTSAA2wx1TeQujJq5i9GkOAggFq8H9pC+cz1mNIB032yRuYAGrCICcv9G/CAYmWx+AnWEoji4ghMq6UoEvwb4z/w1NSaTPnHpJasph47bKbKPwShG7khOOsj1N7cnvrO+PFyTkPEOL4GjU3I2Te+J4VG9IRqmpiLEEMqkiJ3OI5Y86nfgkC4A4fexAJ5/A5Y6FG8Zt/md9iMPcOmk++ILzmmGLOvrQTlkKubc1K78cyl4Vye1MHxFDo/4hycf2S1SBxXmTXpbzeyQlXm/DH95/HsYQmCvuOGohC9fqqP0EoNHs7/y+Ltmn0UHt1/sbFP6TJX9/1+1D3q3BHT1HmfGvta1jBcIGPnCNkiUnaBy2OVw+ovUj1mCU+5rDJYTowAFbCdIsZTaEPkCVEmZ8KrnNaQEqSLbYVh4FBDUno09mxvA6Vts/FMOMBKoqkITnl4EgKUuBOtaBrSAgReC0kv5Sg8c6AGvCT/KB18+tkxnkuEnuJQzB6BVTJ1MgyvNbBc2iOhBoKRz3QnQLMOIKYIY+RMMK1ArBGaVuAS3Fx4xSVExp+oOZS70kLCJS4eqinTAMoM8qx2O1q7DrJI0kwZ9ED3e+BGPdBpD1IUeM2wzdBRTgMruRrTg+bbStnIhaGY/iAwBni40B/8i4cgtupGcD+k5ovpEQ0mISemN3KtRywZyppy96kMwFqacSfr4fyykA5ioGDy8tIbmfA8c74mbp5gCDISIZRdki/SsKboInzzBeJm1N/DxYOP1OATDQB8Nfxhfsb44sFkgsUZ/O37q/Pz5DW5J92o7dNuT0vewfBWEBEWEIIZQOYZQZZVcuzZYGzwYfrdTD7+1QRBwAvGyk7dbyl1RaqjGEik1scW/pd85JhKgdzVcMTiw4IPc0E98Ph5/6Teq/cv+RJZq6R2o6WkLnODaia6nipc4AfXzsTsIeRoJE28p1cnp/Xbu9RV5qnQtJ4kMnGod+aUnzl3+PwpeGDs5NPDF5u1xGicOt7YmT2PrHmykNvvGE6dvNptdSF2VWQsUFCISieK0lDI5Zfm5QW5xk0D0MNHJhkLjRSWhlEWED/5ujiHLwE5gK8hfcQfgdqAChmNg4pUo5Pb869BNBljeAG+Qa6GMmYEaiQB84mixUDcGcV0vuP+XY3MHMdgPwdfr8Ji12NeagNitbm1Esp7imYqZk9p1TsPklqXJOOh3hubEN/dBTtKqzXq6ZrGv0j5Hm64wd5+qvV9zwnHBTfmZkEde+vzUa6BXjI+Fp99CuNzsvXnPXElms1+dhEMCDEfUASK4f3nX2vEmvsR/xAd5McFcS0AqARIqZPz+QIcSOAFgkDK6weU/NiGjAguGApFDh3uHoed68/DXOwEgU1rYqgDY5ATIhVEZ0XIUnVjBAYGUWSxvnBi1fFwOLi9O7++Wm3jUlPlpFCAYqBtgtidejQHDfQeImK+tO1TW39yILT8/uqvqfcTWMjYW/cbUL2FPjkghxRdRweEahge+TaFCF1Qsn2HJQZd6gzuI+SEJ7f3Xw7I6fX1CUbkAn6Gd8dX/UHjfE4Gl4PbLwNiPBwEL3tkCpY5wmKVPOYQ9QuDmhbOxw/6Pi2RfLBi79PtgRA8B1cZ0cfKGD/c//Cwz+qPvUP+A8WT/4i9imLPPgpefVQirNkjt+NqQndcGTSGFb57U2jQg7n4ZppzUmNtfK4RfWZgvK1D+QIolLiF0L/XgLXgV49L3k70OSyjcWLC27jXkUC17Ko5h1cesVwXLXFsgZMZuMKgDRAqDjopBrnS4NY7JPBEkjofA4LdDARpZo6LO3PJh6Fpkn7eHjOYmgnEykr7CJMP8Od8HIxhMOFTPZhx2l82PalZOMAg9jmNZKfrw4Jo22ABs+74JFjSWj1cXQlV5MRdTsJqPsAtQIjp7q8m1b2MwPzh1fXl4KQOjKl59EEW6BTDj9mYNKi8fMCgktOnRH8gZhUor5TcjAFE7UX6k6CsQM1Yczh+BzHpmzUuXvBeuaYmm5myZXI1JfQV8hf6J/HQYRi1GnDA/8lpI4na0qbT8OZhk5G4+MVst0d/eJnqCPckC9aP+Nnl8dV98nkaLf0M6z3tMLm8PIZx8qkxEFZf8Q8mi20MAfnq/viC0O1HzpgYsFDA8TsBcwUiuTnGuYRx+wahRUHkSYJIN25sUwf6MHeAtoDrYAF4v78lH9R9qGlMx3TBhhSbsGCbSQKrDRKqUL75SD4DrzcIzjWskmBvNKGr1794CQ1j8cLsch/7C/QNXjsPm027c5Ai6wfhX0ZW6Fu4FnHj9iPjYPZzg62BAi7vs/qYgTrUb2sC7wYlxIO4AZN0jQi+Xbx+1EZvjcLSAd44LCmsrVhnokttzdW2l1pwFNOgyEGQGxM0jyIJwxoTawFuB+C1xJs6S9tALkcj9cEuO7gdcKwUuf8euZ7bz1SMZu2uofpdA/EBuKy/hypRFx4wQOeeihhU0ae/Ad90BD9SLTN8wYcI0/tFHAk0wipDBQiHNU0YA2sDDt7V9d3gY6LJDKo6igSegwMCZmaDrkSHyl+0+SCVLWGVA/O6uO4DUQCW1ZgQ28E1OPUt2vvsUX+RxD7l+xz75A2AuXIAYo0CY3RkpQ6JZjNGNVPkPUGEkxQ+5sGM3Sqn/vjVM/swCVR/wqs3ococ2nf5NzdUhOjkraUHddOrNBZkOPiaDDIMOsPpcUmJYKUXVM3YVzpaBDvVUx3KoFAZdMfj7IgpmGQVIqZaBQ/ny0+yqkL/0OeTHimzvCiXyzjYusCQLxdcMUxe5zrzNRkfmjQvCUWKdjIc1rwKfx6rPkvCih5OLr/UIgseCLqY+Ta7kfsu+J5GoTmLPVYZtyrjVmXcihGOyrhVGbcq41Zl3Hrvxi1flCgybq1nSYwX/IrGLd/dCpq2/y0pgFZ2rcqutbFdi/P/b2zY8nG5PduW0pDBZNBolzJwMRPgBiauVQuucM35gfmJGivr1q5btyozUmVGEjMjya9tRlIgJlfTMsQojKt6OzNSapdxZUCqoqOq6KgqOqqKjqqio6roqCo6qjIg7YYBiYtR/wsRClivLExV5NTWIqfYhoqNjUtCgN2e6Ql+dkuZnVgE2gZmp9LLtNAuFe1qrexS7ynqqrJLVXYpMbuU8tp2Ka2jaOmD8YM9bFV8047EN+GO+nBDOJITbrN4qa30gzk9BgBzZfk1bFrS9vexy6GVlnYx3dT01kQqs7Dh8z3Emqy26l3xHexZskz2PsCsJ2Or6Ayim/GUE/BsmmHbE5vho069k83uL79xPRwScr1c+Jt1kjth+zepTdC9niwphbt0w4IxiPR6PLZGZtMJqyBPlmctDojpLTbYmnvjH39hbHcXeqfViFXF9jxDo9G3OfEzm0GtdAcGZkQC2ZSuDH1B9CD7HT0lcsyO13kW27KevxU7mp3BidisdIs3pYcF4mofzOhWuNEzJvbzpyQ1G2pdaZWajdwunc8DMJxYHqYRnJhifVS6Yn1E/h4cO4Msl9VBDP051Usww3dfppcvtazUdZeVVpehl9WyepXZaa85OxKsMfXnnJ1tnKYQcnx+i8cAxYbtnJOg0rx8wbsx+Qjz01lPdG9y+ugG/gwtXYPpbbfrPUOS6qrSM+s9+UGpt41eV2qPx6ph8jtIeHsQxZ3AjiE557SEIiBGryTlLlgA/CkEmbaYvb2spYRb3DIuRy9l6GQxcSF6MHtXafbGKkTy2vuqYgNVCvZCG7ASxgkxxTI3N2bOaRRZRrfCbVi3w2t/beTZ7NbeRpVb0HoLjyXELCxwvSyp/OmLalvT2ivL5w/1aqka7k+CYuIWV4ueL1BGgSc0soQDpq+U5DULPzlLyT9OBhcSWfU+T2RzR2A1SHNfzThHo6hFgqet5L6edQRL7sP5dpq20sEjUH1FNq+AZEin68zx3M1jF6jYM8q0dA/4lUMuz1cUJAAb0QJy3V55ZPNcTiSnzGlCK7EbNZXb0XW8ERiHnYU1QvroLnCN0CEAlRyJ5xPCxx8knQ5SNskEWShj02q65aqkNjDEa/2dtNkTp3Od8Cxv3WbzlD4foNFJCPnPJC1Z2U9lm7Uyn61o/09G+1G7r2j/RrRfVVttmOZVFDe+A8bSH4AdejtM5geS1OiVJfP0pCMZ8M+6C/KxDZLvkh0sBbIzoYKBfxiJV466y20Q59eX55NNPsltKz1rhaWy55t9QOViAn588Eku5+jKxxTSBr18gEe6sIO6DHRPLkFrATLsgFc0loK24gqVRrB7XAHtoRVX2Ewj6GkyKiLrcIUzKAPkxSjcZjc5w7nUKssXBh6eXm6BpeSDnxt7n0z53peT81tCrGsFI7jnSLkZtnd1K3dDrMeRgVu+jSzDZ12ZSLtSCRNplitse6ZRIOa8SXRwImYKlQVMods2KKoK/hsldK6At9I2r3RLAC/bP7k96GU4WWNYzLgvBk7lDcDZhkXOgzOTglbGjp/M2PFDGLqT0H5xG7fSUnsSTHFnHZH28hlicF3Q/20gHGPdZfm1dtm4LTWUstLt8I6Ytun7vj4M7waX5/tkFo2EFY4E2hJ4kwEIEWZZG3cLW1dW+D0eLcEvLdxm8Aw/Wh4uAzSOoJOTe6ISk6tIgncRSRBLAFBFEqyQrTS5nZnXolI7q8icKKatWk+CukpmFtXV6+nFth6c05SMLLHgLu4+iG0+yGxszv4DX1CCIrVePaZ15O06iO8JiNVVbQsI4kXnY4Dy/N86+aqPRhm5y/pff0vFsCrtwuBYfqRxFsI6DgjNQWw4ECuCESMQa2FvECDbD5Q1oQjtm7m5nDkjZ4QBfn4naRoZfYIZnVf3Nt2A3N4iuh/5+uDB/1pOEMs3/a+ks/3OFkcDJ2KbWXAznmiXuhobpScYpQPyaBp/the/tN8gzNdbPoCKDsLesQHxmJYH+lIyIHH4+fjkMhmSSOYmDHZwwPxYtz3uhPkUxVkR0bteAGObN+JGsYqmNpYedFWpj1qmUVcfepgHS5LrY1VpG13d6I57sRdjuxKzpN7k4gofjW9ofDG2Bm0CrcDkCu6DRUNbaZP3Dy6kRymyT+pUwv45ps7y9KW7DJKjJvXbc4CNPlt6o6Wtu6Dc/hdjGXGb7dxbziLc0Yszfb6E+F2aixasScYynmkvnl3Gh0rwXBY41odHTEmJN+gSSnFBWY8Zy3iWp7RXnjsPnBWAxBWQHLcCEhx7LaXTff0tbn7JU+vgk2ImoNalrsXeWAPghWHiSQs0Xige4vh9f65jBu0UjA6jbMx5NqzQlpXMHb/qBfZSQSJuzA7Pm3oxJzd8VEWmlEesfJqMWuRR9nhWxm2JXOpAR8iQ3stKty1ePs3A/XcdnJ/zyQL3RNIL67QPU3Wf9IOk3eJvckm8ZaBxwA+5K2t0IEj8PQdjmgFjgon9ohzgYoX4KcJFHk5mUe92u3X8P7AnC5WRzBAv8hJ9kaVzF32cvsIy3P9qzcJk92u9PtZnlv18NJxBKNdh0/8l3mA/Ab3Ys5sMy2FuRnfhNhYseamH5/yKloQfjj7Iva7UlSnXEW4LHa4veAR54K1cZwhjAF16AM+/39TKIJUWuHJxxO5tSLJWN8d/Iodkib+fJFniA1FIssSKgadWkaw1FtcaZKu58TqJ1mWQrqr46YhFh5w8R5nYJLam0kuExLaYRlPpJT+sXrI6bHuVXlJkLNmaWlJoAQIVpfB+rKQ1cM+wn9+oDB8wtcysF2KUHtECQ07aoYsOu3iMRqVGrfxUalQ4EJUaValROeJapUZValQG7fRhUqlRP7Aa9WK+7SgB+g56ttG3wfu2Mxq7wrPdkrRWXSQGMHXuXuwAvbzT8rj08ffgF4t7x7nWVr5xOizG0TEsFbYF1hqlPMXsMOPk1Y6qdrXio6OikUa8mN9NPHsAQAAwavuHGZ9TvxaqimTo2Ev/vMB1D887po49IR859jTaIUUPQpg9+AfhCPa82+525a5gz+mhdKAW6Y+uZYN1zjZxUUBfLr+QJjl7NlxnNLUd11lMLf3fODp0bNgpz3c4MIuXHxC6UqEmwQGQVUXrtAQHADdVHIOJ1bXmpCu9atc+mwudfLad0R8Qagn+Vld/fBacYlBPZVWwh2hXuDQXzqPr2A72zEWG8eoTifZNSxTDmtRRJNEOYpScDrT1SUdLLswjgy/XM/LPCwus6I77rxcGa38ArvCp9YB1CXYV+tnqaIJd1aCrFxD/O3foek11dIOwljXX4kuS4U4JMrzdnr4cWLslwFqqjyLRQIfWHIVN3ZfC4EJSWPUvg6+M83D99QbcIFKnVuw/iwKUcoVnrvgi7ztn06ZOMYjMQtMfhA+dsVPi8PzewHHmBZ6zcJRyHGNw/SNpt9t1+n9sP6ZvaAp+Zfvjwbv11bJtMFWSY3CwLs1M/1ZYBFW8bhx3YUNrA+8VVwH6pK5vQ+9UeIez9PR6kqzEvU9R8YF3aci5lIKbvqoT/Cqej7TGwq6msPIyHpuo1XFZfqsxY1IMVCH8RsaDoSjjVl0bGWZdkgyMGTOlegtzMrdao56uxV7EldQsF/kVbRw7/3rx+92Q38YhdlQbfZTGFs2Xtn1q60+O+6l2f/XXmC8oY0vbVn0j3ESdM6DQ72U8JLKyuYeE8aHVGp2fWCX4xDQ4UdZU6C5Jpl6hDc13TsRYLnhIRNuwylkS1302jOzyyW9CLIhR25cI/9oJR3JFlsIpqsjSxmSJ6erlyFJJ9X3b1CrXekF3FpZqqjhRk7dC1AoMMRWRq2SvSvYSI3LMHleOyOWa6LZNvkJbI5Cr3ErFCZGyFULEGUArwlMRnorwCEpX1ExejvAIWc63SYSyvAJAi4TaIU6X1NJ0Kdt7UZGnijxV5EmMPDG/QTnyJOpK2CaF8p0jQJREaxenS+3SdCl03VSk6OcmRfkbpyvzeJIUMSd0OVJU5JfeqpYWc7IDFSqqWJzyaKUpT9L7XxGgigBVBKjyz5Xzz3XK06XKP1eFDVRy0Sb+uUpFSxOk7g+qor3YZgn/0Owd3CnRTuyU8Fsqev6f2m7V1e3ukri5vf58MbgkF+fDu8TGiGAYq10R4YF0Bfkvk4Gh4RHeyRtB5s3C+FXu3PcoeSPWakXZG7ccWr06uzY90Tt1fh7Nrpm6umG6zDVP3Ns4JzhLrJm6vH6izLUbnAh8DpK3CcMnSN4nAh+Mykhnh6PJ3+QdQQ9N2pe6ul4WvtcCDcvXl7r8evn3yoKNT9clTq/8vGAigEPv+yAz89SOwO1cSs/fqtRer0aTMAlY6urqpF5lUZGZ8UIYHmGSDRF8oBeUJWr4G/mmP+Xka0hhpV2Xu2/B2KRGbCcNG4hSqTJej79hUo00V95ikow3OBwXFBE+Tvi4f1ccJRyI1/jeFrwySvY5t6Ouro3H3bppqA91ddwx6115pNTNXtdsdx/UtmHyJiVeou9fozxeLM63G37ymCyJ/uyiA8jv45Ak5Pq+AyqYGzseNuX+oRs6wu3QdPgzNymsEXGcu8+hKGXV8P7zr7xfiZ86LqNg9rFPh/wTHDiuPw9zwbH2zCeOigrnvmcohippRl1t6zD3hi7Ve5I8hp9dxWxpCh5XF3+VD9PrynIPhlEkZzG4ipI5fydzlEzjpQt5+PLneZ2Zzp9ruFOQZdTXfoT6vDqffUIl4t8QzKmUmVIJ9fS1UyrF4yc303/EUyllZlJCpWaDTEo5gyuqA61Ol+TjJUohKkAVbgent7Gp2mylr73WU35JumQ5LA/C/GJKr9cTM8gQEVsMmumW8RVNW0/ZY9GpJXsCyePWyR63JjkpXvDttoZ0JNFXJrBtlmWPREs5cYRbMv9scD0342zeS4VJaoFvbrLzqZJeKumlkl7etfQSGN9KSS95FrntCC/UoFZSeFnP/FZKZmE2tbIyy+uZ4CpZZ6dlHZoQopJ1KlmnstRUlprKUlNG1gn8PqVknWxn0JbMNFKrpJyzyvNTzhqD7pyygs1q708lkOy0QII+g0ogqQSSSiDxBZK23GUqeeU1+nG9RlmTvKEYEsYXlJJDVgcdbMt1BDEDJaWSchEGJT1IGDZQVmjZZpRBJd7stHiDjvFKvHlx8eYlQ+VHprF0zVcJlseWgikVT6cEo7dD0rVTuy3Bjltw0XnEa0BAwnD49cLtw7ibIKSksDbX/O+l5QJRioWXrFkjF+DPMW2105YEPcVrJDg4H95d3/6DXJ+Sm9vr/uDk/nYwTMfw+32uovjDGG9gL6ZtzSfkFIz/V0uY/ayow0QGeZpAvtNtyaviHNl4IwzYFh6bzIMqDoATGtYT/tkgHvbGz0zCR94JRwqe9W/6w3QwY0+NH9xPr4ZDQjPTBaN1AOiLH3i+pQDG7OjL/9NqNbrpWN05PVvZdAkMBXEwQoVMzLmJG9DN7/rMPzDwtcIsv2rtjBDRExgnjI7xlu6TiSdUI+PEI7KjwSwbs5sA8c302aNQO/YPoUhiJzX9/uy3JTE407QV3013BAFMLPbmtQFcgJSOVDAJ0ZjTKeDn5DVRoqY3m0TjuTVY/FZ39WcyXCyNZwFy1tHUXk9s/tF+casbljNx9ccpxLM9BneygrWVF8RBZiA6i0TXFK0LOmeaasRaDnbeCaIh7AEaf/2v+2Un4OLrKTkGO63noeNZhKUobVURmwOUtdnOdhRdkP6xoMLvOOle1jyopeYhSXKoMjcil84cz9tIoLVwj4CsdNuywJ4l1k88kiiobJZbGfavvc3+GSHBmHtLG3fMorrqGqYr3E9Qi7VeT7ijGGl4A/XgDaphIRcDsRhbAvxXz9wI0dlmn09BoiUD4Jvi289akoTmJ0ExCCVwFpwBK2+MteVwado9bctTOng2M3uXtQ6hWsE+4X5sLBl7Ak4Z3MtgeVPQGx71dEqfTl1pvb5Y1wLXXZoKQjwM5vd1HqeLqW7PHNuZUKEBOvJarLDXbrTSvHqAqU0MGMF408g3x/2jvnzccuOKOIgsdxNbmeiNa79d0CYOv1SgAEOdvdxM6HztxdhbZzEK5L4pRK7Qfp/VcbPUBHUY8eo1t//4bwViMX4hd1s4n03O3goEEzJW1Fa982DKAuez5UaWU0VzvXzYiUNU8zXP/N1EmBP7aOWJYHn6Mz0zNb9abrozrYmR2rz6oIsMyzXVZAVGLGa3jo1ZkdabtrFSwhv3bqQbRXXYdb0BiVwDQvquqNE/o41UhV3b4p9wK63Ud4XM+InjSzY6r1AwXc/MhPBQSjjykvYwwtMMKU90NR70H7SiImFxEkaNC+styDjyY9aGgi2QdCGuTbZSFhPMlhGrUoxgyZsSLGq1KEUbBCwcJemCuv5mspw5rAhBsSxTtIctT5a55rbDbUOmUV5WpqHWphIyTbb5qaw0w1nMgAJk1yFGCZRNKUFotyoV4SBu40oThaz9dNtmxm1Z2XFm/BOsQWptLLEG882PZddh3HAKSzG/KrHlqAosx+1jPPf82Qrjr4XxwNi8HjWNb4FPWZ9ra8WG5cqgKRM6AD1dmRjA228C8PaOA/wHNgqF3oUSyC50N2wH5Pl+FAB7Yf1iuNfeBPedHcf9TyC8hNbuEvjPNX9vB/uhCR+gnluVGMw7bwBzbefJ+08Ac+qJLCGj57kmy0rogTMVDWU5VYghu7uxjR/dmqVs/EUu0A1t/NSjWdZMVuj+FA2Bz7IsMH9mKcOCkO/zbWwKHQX/rehVxZZfjS33BIjXlmFelFdrW2z5xTYY3JqoBJTeXXDlLMyPBIxCZHA5uP0yICefD4hu26BIsPJx25CtPzgupsjDHGzeIrwH5GtBHwAxwprM8ZQXh+jE32M0Ihf6A2jhC3MCbzYALC6FBczQATk7uTggF/jPnbMAPtGfUsJ3B9NuP49M1zJMVje2ZeI6y0cofQnE3CWYi88AhWdu2o2BPppi81i7LHjF85yRRQ+YoXsQYLAPaMnO3H5mv6BVYaMu/Fc9MtLBILZ0qSP4ARiZO9Hn1r/ZOTW1z8d3d4Pbf9TwUJta/+J+CL9AXtL/0BuREEU+9K+vTj92JFk6IP16/+SYnH8B7j0xSbul7G86AH7duIeLH09S48bBq0GbR/oSPELQAfwX+7SHr5vfTdw1hlMzAUyb7gEh3+CPCf06O/9KK+1PbX32DMYSfyzwvaCXxLNwvXLFkrkJxeFJPg9R8XtB8eRhyTAxYg2lY8gmzgP+RSfLv/VMPtQurZHrPFjImJ9r+7Q1M/AbQMmu+ei42HDgifRN7P0tvdi4m5pAZmzb+YamHpCTFsSbOt88cnxxgc/xaIXuPOmWTZMWWSHMjQdaF7yEXUOl2gVUw9qkGIYiguab3gE+CENGe+ctAXDRKKEuDjOFm1v8AUOIBFPGV/fxbjC820PsHd8NvuD2khA4Zw/H0ogWuvfZBhEc5sOcYYKP56BQoJL01CQyDJYWpkKCeAWQuwve0h/Z/f7zgg7wnn/j9Prz3R7+Ezx5Zk2m5ATPPQCxHnCFCXoXJjT/A8B0f49DGtA8v3cXMHSZr1wkX/FfCHDu2NAm03XszId4/Gc9EGF1OHJNc45mPR5EQZe+IM0gx+CBAiAtnJEzGi09NhyZj9uwIABpQwCCuQfWlGn+bXL4SUs/gospatIQO8jdvXHNyRw8x8+sCcnbt1NoKDIz8ll/eC64fUlDVVIP3IN50ySXOnRMtx+WwHr38JJugzPeCx5CWs9odkjQcXsWrjfPAYYH7NEDoxGwSxehC3M0o4eTfsNX/FXC4B4iHIiI8/joeIz0B0sAHQueY87YQvmFGOYjyOG4VGEIGWdl7YC2Lf13fULCFlhA0T260plKe0QW+sSjZSd4H/kQEW7cMK2PMa5nroMdjJ6qynZj0teBwrg8cX/QsXo8AjlGUdylbX78IO2TY+A+bLVj0XPq+4PG4tMhTQopMhYdsCoYmGjLnnfkU0D4FfZmqj+xEYFLQYPcozSXyGISX2hdhgkkxGWVqfHqYq3laj3IqfaDvI8ywAiGw2PsAdVOalGcQumLbw5QWVyLj5TdkMcgQpGOHdxlsMHnDRgO74DNI5YHfDgUJyis4Gl+Rg/2TGTi3KWcNtKux/vZiCDNGK43AiKow/jhgXTWAlg+yA/IGDLkAL5o6E/YgoCNS0qSjcvd7n5jk/2YScBudTNmaDah1RZWldqJuW5V2bswlVavDSGt292F6Xckse/Sv/pONl1+RWUjce0evFGJS7ehWnSrzyfJF06Q8dNlDwQ6cY9xhegiHyUcDsBhGDAcqjeJ9CWhAJKMRKYTk4qObqvduloYGs2mCcFyNnkgWPrlKXAN20htlUpe+FOqtnq7of1pg11x/UAZ3CT+P7GTgV7rKuAoSl39AuIK1TeA8jgTGwSLeWoo86PWBX9sIQZfVZSe1mqlE6GcRe3GiZqBpAPqbHKb1Ta7kIRfofQpBElJ1VRNCJPoS4RiRwREqBu77vXno+RbWmrf2GzSNC6SF/88WfzySW2RzJtvg89ORuotfkAfbAMkAIh5djFFhejOitfDKBhVFcBoepFRiBg+RGyuR6NInXgD5BbqQELAlVvdXl0SwC1y+YsIt7MM3EptYNNi0LUXv0iKD13yAQz1o/0dQXDG/ioIXwIVBRSRB6rnctO/a/gFQafV6WURWUTK7uE3pZILYrYH2BDALIaK+YUXwBZ8o0Kglegexl2it7KqtbPReoCkFky/7nLGT/HO4VWWuhgim+4FQ8Ybo5O3BYmJAXKvDZ5hAWhikBctnwETlHh7lE1Uuz0xdLbqSo88Qzil95G02+CoDsjr/yPgvG6H9zqtOhDq8B5KEVoruNmN3wTrBwQem+BbHZE73QUL60dCaXewDMhOrANV7XTzqfYibxp3YgWoHRU9QOkFEDPEv4FQ/EI6mbZaJ9Ma2qZaWWflRvNKK3svWtkLAbAjAsBNzQICm6srAL4XAL6mWaArYBaQypsF3gaflVnghzUL9ATMAq0Mhr6xWeCNEFyZBX4cs4DUErILSL1OebvAm8C1sgu8W7uAJAkbBtTOezIMvMlCqAwDpdG/xnFPK/Kk7kUBD/zODz9oJz/Trx+m6kcWhMEzLl7b+ERnNYokiG/36BhtvSU/tOpaR1fZdo8HQ1LytnsUbevTNEWSaZR+LLAgES3HxedvkjM3M2WuYGRyPIakTNb1xBRxZSQmad1Zih3Dwk2T1OqMZGNEp6ktME1F28+o5SB5BnfcQpCdRGLNg/v5xRKM2F20twNiy1xnRuizNGyKhpRBURiL5NHSPPIBZnZu6C4EErnEdkBE3k8NceaWERo8sN7uI/zEBiUv1CDdYdx51FzVpED1X3cXS6JV+YYCwdWSjOsXXT8bnlGVTopy87da8C4QiyUE6Hyq/SkBfDwr7NE12bZbrmFXq0av3ejGTjDhdkHQaJ8YKrmVm7qJSxcofmj4SpD/WE6E5MuHzbxK81IppGkTbsoIAubCS7ENiCvydGeynzC0vmjz4WruU4L5bMx7iliPjOmMk5yHC2eubZ3pVDxnDZ7jGwaTTCduAKz9AEwHTH8lmU5R/NCGjCcI8ynLeNYMCnqH7EhTAn5Etbpd5UlJm/ers6ZKkqbrilqNk0wnbh3+IYiaXJao5YeUbUjSwsivkjRtzTixd0jSaJTi+6Bq2e6Qiri9iZmAuRcSxC3tRfgB6Bu6D7ZB33KCEDelcEGsYEkKVxhZ+A7pGYSvvgtqlnSTVWTsTciY74pK0LFMj9MPQMrQAbQtUS0WR7opEfPDPcvSsLzg0HdIvyDA+X3Qrzfzo743Q+uP7OirXHuVa2/nuFzl2ntVRtcJTtMUN6M2wNZc+fUqdlOxmyqS5N0rVRW7eU12U3BK5AqeU8WShHNSxZJUsSQ/avxiFUtSxZK8C4b0PvwUVSzJTlC1KpakiiXZeZJGt7a+D6pWxZLskMhWxZJUsSQ7Sc96nXdBzapYkp0gY1UsSRVLslv0S30n9OsniSVJRZK8SmqiIWbgscmZ5dEkLCUzFImct7/eKfZSmAKSdtNv7jTeXBKUGZ2VzwWgyL2OJpc/8T4jtCw+eInT7+M338kh+C9/fv2d86CPRg6598zkmRaZJz/S02o0rSf1Ekefpg4FYQPujzcGMl2ZT5gFaOb8AX8+sF9D/GVscoAyTaXJt3kLJ1qqao/GacdOgmZHdCxdmqEDG/1MDEz7QvshdqrQeidSrNoKvMEpB4GTAIebOlJZRpwCZ8GavgIIVU1EqkF/cC+OM0dZS1HbWgeDJXOLiuew48jF8XA4uL07vxZgdGrML5KTd2+PQzz5CykA5V5h9r0EvEnczJNdeVLcEJQ24sIGXw+m7BGLYwXulVlISiTpn4SafrDMS+Q2Lhjeonjfo+LDF4JlWiqHaN6SFk0bSgfuqECqeBWB4auFW0KG1gQiJ15BWkhm58mofrsZevAc9KjqldWVzdLDhdzyRKjbkTTcQFVOZInvW+D6khBVuDs/VrKelxdnPl+eC51qpvSktlYvFmDoNOAsICQyClakRurIvj8mzZm8gTRzatEkb9niTKKPJ5YOTMcGVYkdx3Tjmh5uohDqeFcF4VsV6zeaYT7fkLC+5Fu9dMaM2T/PJv964f4jZjfvPmiemlj3Fdb9oLr0IXbtN+n+i0BczYF4K32cdDbE23VZeYcQb6+AOEhTgpO83QE4AzPJgtwCvRTrclfriHaZnmKfW3xGh5uzeLaYF+juay3pzoolrb3NbL8a3Lsr4N5do//dd4F21Cvzi+92RcHefX9gp2cFF6FdFmVg2+3/y8hoOUKa3Gv0xDiYtjL/xk4uaWmVlJbGeM4sb3cAXnBNS0rxotaEFvV2u/tqi1pdsagVUaF8u/1/mUXdzlnU3XSyvsxFLXBy824uam3VolbFZnnLA/CSi7pTvKhVkUW95e6+2qLurlrUgnJZuf6LnZf9shvome3Loxa+be2il+Ob4cNwkpE2hidlGk5ibHJedmgqVzW0R69rKc+3M2dZCumYrH9S9ibHXmScCVjK7RR1YIsuJ7lTOKtS+Vn1eZW42df/xI9MvzyP3822DfMNSkQ6ZDifYqbJ6MFEjMTLAaQ4lAUNo0EsC2XLMb9JRvhFxja3CoL+KUAoNJREICdHvCAU5V2EYi86LpEyzAqJmxJDJs+URmIg4rwgEJVdBCJ4C0oj8c1PN6qEs1cUztqyUgln71o4U1+WEOUBZIVwBi69Sjj72YSz9i5CEV6ppLMtQZFa2spBMTK+vSAQtR0HIloVKyXhx1cSOjuJQ608QayUhJ/JgtuWu8nzHCvL2XsTzrovTYtSGCkmQ91KLPvZxLLerkGwWwlkP5dARqPVdgmCEB5XCWOVO30NiGnB4dqVO/2dWmxpFOkLEqE8hBRTIoxhrUy2P5vJlgb27hwWI8Gscqj/JLoBDbfePSCGhxdWJtufRENQdxGHklI+xKiy2f5ENtvcA8Iqw63zXtSEl3WnFxwhV6gmdKPk0FXY7U+jJmi7iMUuDF6lJvxULoToaMDdBGKlJvwkakJ3F3EoKaWdqocvfiIpuTn7x/C8f3xBBr8dX55fHeO5e2Jv0o1c0IiFuxwtYI+k8ZnuJORbctjs29bcgmxtJ85oiSmfj/4/8DBb+yMJAgA=", + "hash": "ZTgzYjU2YzhhOTFlMzc3YjNlODExNGQ0YmY5NmVhZjg4OWIzMjIyNw==" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/3cbafdd0-8f30-5b86-e6af-9bdcb1cf2f1a" } - ] - }, - "performedDateTime": "2010-10-24T10:00:00", - "subject": { - "reference": "Patient/5510eaa6-2ad2-b82b-248b-aba749e28fa1" } - }, - "request": { - "method": "PUT", - "url": "Procedure/c7dac552-aef6-9f52-9668-68e5f02076ed" - } - }, - { - "fullUrl": "urn:uuid:3a1ba802-06f6-2515-b987-4496eaa20ea3", - "resource": { - "resourceType": "DocumentReference", - "id": "3a1ba802-06f6-2515-b987-4496eaa20ea3", - "type": { - "coding": [ - { - "code": "34133-9", - "display": "Summarization of Episode Note", - "system": "http://loinc.org" - } - ] - }, - "date": "2021-07-02T05:38:44.498Z", - "status": "current", - "content": [ - { - "attachment": { - "contentType": "text/plain", - "data": "H4sIAAAAAAAACu19eXfiSLbn3/4WMczpfulps2hBiCyn3zgxTrvaWxs7u3p6+tSRkQC9EshPAme6z3z4uTdCEqGVAGEbZ4pTlQYtsf7i7hH38D+/Tx3yZHm+7c4+1aRGq0as2dA17dn4U20xH9X12n8eHf6Pep3cTSwych3H/Qb3iG9MHx2LmO5wMbVmc2Jaj/Zw7hODjOAvFGY4ZDgxPGM4h8LJxDKc+YT4i+nU8J4b5Hj2TDzLt6YPjjEbWmTuwpsePEQe4XF3RmyfDF17NrRNKN1wGqRePzrsOfbMHhrOSVgrNH7mf/zu259qk/n88WOz+e3bt8Y3peF646bcaknN3y4vBsOJNTXq9syfY121PXj+o08vXrhDAxsLXfVmHydOpw4vfnxSSKPRhP969d7J8Z/klrdwLL9pz0ae4c+9xXC+8Kzm0DSacPv3wcldr/HdN6FcbE2yqFrQyCd3mLzVhGu1oz06uv9rww+0gJxZhml5m5YAA0sI2TvE0Z/2XNOCgTetT7X7Qa0JjZs/P1rnJvFcd/6pJjckraGrrYbUkCRF1xX4Aj20vs+tGUPQzXXv5PezkxZ81BYWwLp3PyBfrJnlwQSz1pI7CwBkzC2cWHhoHvwsqqrVkOE/uNGQliX33Nncni3s+TNxR6RneBaJ4PGh1zvZJ3VyA5OMv88YCgcMhb/s7eHbI9ebGnATIEjnm5wjsvF9Cg3yZQEYJDW4cyv/fv7l9/Oz/u+966vB9cXvJ4O7+99voTm/yy1J/vX+ovFojmpQ7Ae8s09+XTjPBG9BO8gTLK6o1z65hV7Svq/ZdZnOih0+az50FFVTO/XRsNutq7I6rBu6ptY7lgIA1WWr01LoG8PlzCqqpCj1bo3+HDz70ICsSjUYZu6RK2MK715cn1/1asS0fWjzM7vGxtP+NxsvmIX+o+1jdVfu3GIgsueOddRzp9PFDGcqmAhjZpIz13+0YYX7HxPTc9hkb+0dWqORBTTlybqzpxZ5MpwFVArDqrZUSZOktqp0gy7ORpRe2IYDtXBYvkq0+Arn3Fk1AO2G3E6PQC9eC0DIZJ0ESjZeGGOLq9ea1YNl5FtzmF9uofh3d11dr+VPeRfq7+IHvtIiAip9tZg+wPoJhoGuBFi7Q9cz7wxvbM1xYTwywN+6OH57FC5c1d2u3u1KQlVTtAUr7dT4wyLnJ2ThIwM4u+hAmYwLXJ+fUAKdrkqSpHqrVZcVpZVfnxqsZ66agTuE4SUDa7jwcJCDTrOq58CJgK8s8IHBVax2wzTxKRiYsxsgrWGZZzfIUGqPno3IIhN3atXIyHOn3OySLABA+7tB2TCHc8+y5sdQheX7F/bMOpJaXQWoi2cAuixyYcysw2b6KfryELpxdONOgTMeNumPoExY+Ue9Y3wPv9GLjy78cBBHR12po2mHTe4KK81dzObe89H9AAoLvke9BWKLvb2HpWaZZIDl+kF3zwfXRJE0rS4BbulrFL+w+IA6NfBOQwrHsomDSb/NLQcANg0xBz8/fui2uvuaItf1dgugRIf8ssdN42WPNmLqPtiAEFiac5iyoBWInWCA7mHcVgx8iGbWwRksQlbdBZvgvcMxkIYZ+W/Agz2yLe9T7fNt7ejvtjOFkab3gudGxtQGgsw9eHxSO+p5xjfgAeZhk91n1TSxHvbVMKcgdsC0QjOeLGBjwL64NX6aoC2nIFc4IGXgZxV9ySCwxxm1sWHdO3ywvfmEJ4JSV1Va3ZYigazTYuwWn0NqDHDBmV/4XFMvE029NDzPtkwBOphu5yVfR9hAz3Lsse0u/OPRyHZsyhC4+qVWq5NowjEsZtufCg5Xq6OlW3KbUWnYICohnPTIrQFCJrKb/nwCIiSSFMoQgSwzbIJ0SOkKDv50MSVe+IK1fAHW0diFAfNB2h3BwjbJwzO5vvyMS2xmGp7pg4DsZdUVUhAslRsPudVW6+3EiHx2jOEfBMo5Hnkg7M7I8dSiX1bza1nRkwMZDBE26c9ArH/hG4UjEw4U6+YXz1088g2UdC3VQODq5AwuGPACtvMCRnzmiswgayFZu3VslS9ghG0jXMycPHN6e3WSaCMMHayc1cAGMpNuD5InZJ30RrSo0qxlm8wlk72osiaTSxcWqQ8Yw7t57CVkML0JPAvTYXE8JuIyd7/xXCbOZzo6iKkpPlPAabbKa3huk8NvdKW1L4NgC8QONI5wHprZbwAJtp2PJ9YMKOkAOAFolP97vICha8BDwdt/X74dQuuG6p5h9yIOQIfKgyX//ejSa8Agse8RMCmLYZXFGE7EcpAZQcExDhPjMfA9ow3Lixz5B4wPw5e47wyfUb108r+4o1EMBxES/jqIIyEGBU1TZT0DCoVY4KevuWzXYTPRaE5KpsoA07+DFzMkaCAzS7YGV/AW/QU6K3uiP7ipwY/kJ3woRhb632HufB+Q6j+6f1hAUrM/q8iG1lr9ZqAvBV06BjEIJuKSpyiII8sDc4t1DtwiBLu3CJ84bOYPFgzyUiqCktwn0Em8a28MVPnf3GORopgldmthRRSIxeoZLxGFqy1cR/xCJe12u07/X0okHDYzheiWRL7ajgMdJceweha5UnQkRntzGBqTB3eA7OvbGLJjonRXkpU0rvNl6aUA3MwZ4GgWmKZ12IwrYofGYj5xsQjQgItUV3jS9+0xiBTH4RtppY19aqvnk+eNVDDEz28C6j5I8tjxuIAGFj/o5AR4PWPR11BAeOVm8uwDuzZmgQS4nOjseZYDaA2pmcYDUklWKUypmc6c6NXznDfNGWpOFqxDVGMnwr4GU8ZTbI6iM0ZwZs3QlJFWQ44GFlxKsgR/MaJs5gQ6x77GOQW0Nlnr8lKIHbgSfjONudGfgQnWoigMn4RLwXCuIhAZEFQVuS1nIa3zt91BmihF+QlhJoimECOHzRiIDu3QYpoPqB+NbFVg2h6YOPjEoQS2A1hmwZNk6MCruKrApXA7oPoW1Tei6wQug8cI5Tngv+h4CjxH32wQXdh3MBDSUgGJ/sR+ZLew1ajpB5w7Mh1y6BvcDJIm7pvr+0F/FRbxC1hP25pCAZmUBW/CRt3yjaKa5h14WchXpANg85wHqAxGpHDhn3rG7I/Mhf+rO7P83LlKlh1dyZ6pIShPbqCJRIu+x13E1gZzwd3IlEc3ow4bC6lZsiklrwk1kFPw4VqRtLqGFPNmAqvAbCxXJzeRUCL3I4AAvnBrDe3HQOGA6zCFpmXyF3Of3ia/yqsCPSAWFGamEbcWbKgEn1UQVp3qc157Dh1rbDgojqGbCLS2TB1AAR1AB+stfP7SAm2JKQI4I2BS9XglmLqQ1mC2Qty24nmvJkBlwYHqhkXwSKmIFTJ+PNE6AQJwdXnww36kAQkgEzAJ6Bzs2wEBQL9oppR0df3XWlKOubw7EzOBC1CEDjkxvkHYgtkoVqU+WwY4qudo7VxDl+roWqeMLhXzTHa7+3SiZSnJ5LkRzJnzyM7rJwy9ARrA7TWfGBsIXBk18xeXkOAggAp8EMtCWcz1iNIBy3uyh1YfGjCPycm9G/B7YmWxgAnWEgjb4mhLq6UoEvzLmegm9njCPyG1ZJV/4rCZKvUQpGxkf+CYX2L15vY0cLyPFjMaCcYxMmhiQrC+CbwmNHAn0svE3IEYPpGUsaPRw5pPgxaE0hw478Y2COB3wDOP4jUH9r3DZuwZNol8RwJRMcWJA/UkLIdc3ZyT2o1vLUz38qQOTqbI0RFn2fwjq2XguI6sSX+7kRWqI+eP6T+Ppw8LkOxdL5J96PVTY4gWafBm/l8WVtfsobTo/YuNfUp5ubrv9Zbdo44cMdWc95+xr2WNwAVCdY5ULSJWF7g3Vjmn/iLVY1bvlHsqg9HEyE4BsyliN4VGQ578ZPIjvMqpCSnJudg4GAUJNSSlS0PM9jbQ0jYbz4SzqySaiuCUhychQIk7zIqmIS024LWI9FI+wrMEarFLco3SMaafXfO5RIQpDsX0ERgk0x+jKFoTy6U9EmogWPUsbww06wDihzAezgJbCsQVoS0FLsHNuV9cwtLas2wO5am0kGiJi0dkyjROMoM8q3pHa9dBAknaJcMeGEEPvGUPDNqDFAVeMzozcorT+EmuxvSgBcZRNnJRxGUwCIwBHs6Nh+DiIQirhhnej6j5fHJEA0fIieUPPfsRS4ayJtx9KgOwlmbcyXo4vyykgxgUmLy88IcWPM8crYmbJxhpjEQIZZfkizSEaXkRvgVicHPZ38P5Q4DU8LMcAPhqBsP8jGHE/fEYizP52/dX5+fJa3JXulHbp3pXS97BUFYQEeYQbhlC5hlBllVy7NlwbPBh+t1KPv7VAkHAD8fKSd1vKXVFqqMESKTWxxb+l3zkmEqB3NVoxOLDgg9zATzw+HnvpN6t9y75ElmrpHajpaQuc4NqJbqeKlzgB9fOxOwh5GjUTLynVyen9du71FXmmtC0riQycaht5pSfOXf4/Cm4XJzk04MXm7XEaJy6/sidPg/tWbKQ2+8YOp28qrd0iFMVGQsUFJalE0VpKOTyS/Pyglzj3gDo4SOTjIVGCkvDiAqIlXxdnMOXkBzA14g+4o9QbUA1jMY8LVWjk9vzr2HkGGN4Ib5BroYypgRqJCHzWUaGgbgzjGl6x727Gpm6rsl+9r9eRcWux7zUBsRlc2slkvcUzVKsrtKqdx4ktS5J5kO9O7IgllsH60mrNewamsa/SPke7qvB3n6q9QJXCccFN+ZmYR176/NRroF+MhYWn32KYnGyteY9IdWZTXz22wwDMX/PEg+D+8+/1og9CwL7IQgoCP/hKgeUhCCpk/PZHJxF4PGBeMnrBxT62JaLJVIw4okcutw9DjbXnwe5sAnjl9aETwfGICcSKgzCWoJKNcwhmBVEQcX6wklUx4NB//bu/PpqtVFLTZWTAgBKgI4FEnfq0Rwg0HsIhtnCcU4d48mFCPL7q7+m3k9gIWP33G9A8ObG+IAcUmAdHRCqXPjk2wQCcUG/DpyTGFtpMKQPkQme3N5/OSCn19cnGHgL+BncHV/1+o3zGelf9m+/9In5cBC+7JMJmOIIC0nymfMzKAxqmrsfPxj7tETywY69TzcAQowcXGX0HitjrHD/w8M+qz/2DvkPlEz+I/YqSjz7KHP1UH+wp4/cnqox3VNl0lBV+O5PoEEP1vybZc1IjbXxuUaMqYlhtS5lCaBL4ibB4F4D1kJQPa52J9HnqIzGiQVv425GAtWyq9YMXnnEcj00vbG1Tabg9oI2QEQ4qKMYy0pjWO+QthNJ6nwMaXUzlKGZ/S3uuCUfBpZFenm7yGBqxhASK+0jTD7An/NROIbhhE+McMZpf9n0pGbhAGPVZzRgna4PG4JqwwXMuhNQX0lrdXF1JbSQE28xjqr5ALcAIZa3v5pKdzPi7wdX15f9kzrwpObRB1mgUww/VmPcoKLyAYNKTp8S/YHQVDAJSMk9F0DUXqQ/CcoK1Iw1h2N1EHq+WePiBe+Va2qymSkzJldTQlUhf6F/Eg8dRsGpIfP7n5wikqgtbTWNbh42GYmLX8z2c/QGl6mOcE+ymPwlP7s8vrpPPk+Dop9hvac9JJeXxzBOATUGwhro/OFksf0fIFrdH18QusvIHRETFgo4ecdgqUAkN0c4lzBu3yCMKIwySRDpxo1jGUAfZi7QFvAVzAHv97fkg7oPNY3omM7ZkGIT5mzPSGiwQUIViTYfyWfg9SbBuYZVEu5+JnT1BhcvoWEsLJhd7mF/gb7Ba+dRs2l3DlJk/SD6y8gKfQvXIm7NfmQczHlusDVQwOUDVh+zTUeqbU3g3bCEeKw2YJKuEcG3i9eP2uiuUVg6jhuHJYW1FetMdKmtudr2UguOYhp0OAhoY4Lm0VLCsEfEnoPHAXgt8SfuwjGRy9GAfDDJ9m/7HCtF7r9HrmfOM5WgWbtrqHnXQHwALhtslUrUhUcI0LmnIgbV8elvwDcdwY9UwYxeCCDCVH4RHwKNpsqQ/qNhTRPG0NCAg3d1fdf/mGgyg6qBIoHv4oCAhdmkK9Gl8hdtPkhlC1jlwLwurntAFIBlNcbEcXENTgJj9j57NFgksU/5Psc+eQNgrRyAWKPADr00UEdEsxmjminyniDCSQofc1nGbpVTf4LqmWmYhFo/4dWbSFuOTLv8mxsqQnTy1tKD9PQqjQUU9r8mAwrDznB6XFIiWOkAVTO2jw7n4Yb0VIcyKFQG3fE5E2IKJlmFiKlW4cP58pOsqtA/dPekR8oqL8rlMg62LjC8ywMvDJPXuc58TcaCJi1LQlGhnQxfNa/Cn8eqz5Kwlg8nl19qkYUPhF3MfJvdyH0X3E7DyJLFHqvsWpVdK0RHZdeq7FqVXauya1V2rfdu1wqkiCK71npGxHjBr2jXCpysoGQH35KyZ2XSqkxaG5u0OK//xjatAJfbM2spDRmsBY12KdsWs/5tYN1ateAK11wQhJ+osTJs7bphq7IgVRYkMQuS/NoWJAUicTUtQ4zCaKq3syClNhNXtqMqJqqKiapioqqYqComqoqJqmKiKtvRm9uOuKD0vxChCPXKuFTFS20tXortoNjYriQE2O1ZneCnXsrixOLONrA4lV6mhSap5TbWyiT1nmKtKpNUZZISM0kpr22S0jqKlj71Pty0VkU17UhUE26hj3aAIznhdoeX2jvfn9F9/5gDK6hh05K2v3Fdjgy0tIvppqb3IlKZhQ1f4BzWZLVV18W3rGfJMtkb/7KejK2iM4hpxmNNwKlpRW1P7H5fduqd7G5/+Z3q0ZCQ68U82KKT3Prau0nteu52ZUkp3JYbFYyho9ejkT20mm5UBXmyfXt+QCx/vsFe3JvgvAtzu9vOO61GrCq2yRkajW7NcZCxDGql+y4w3RHIpnRlGHNihFnt6DmQI3aezrPYHvX8vdfL2emfiM2KXrwLPSoQV3t/SjfADZ8xYV8wJanZUOtKq9Rs5HbpfBaC4cT2MT3g2BLro6KL9RH5e3jODLJcVgcxjedUL8ECr79ML19qWanrLiutLkMvq2X1KrPTXnN2JFhj6s85O9s4PiHi+PzGjj6KDds5GEFlp27uZchHmHzOfqI7ktNnNfCHZhkaTG+7Xe+aklRXla5V78oPSr1tdnWpPRqppsXvG+HtQRR3AvuE5JzjEYqAuHwlKXfBAuDPHsi0xeztZS0l3NiWcXn5UoZOFhMXlg9m7yXN3k6FSF57N1VsoErBXmjbVcI4IaZY5ua8TB8/kWVvKwzPvx1cB8siz1y39r6p3ILWW3Ms0WVhgeslPuVPWlTbmtZeWT5/gFdL1XBDEhQTN7ba9ECBMro7ofEkHCYDfSSvWfjJWUXB0TG4hsiq93n6mjsCq/GZ+2rGwRlFLVp9skrum1nHreQ+nG+daSsdPOQ0UF/zCkjGcHruDI/XPPaAdj2jJEv3e1+55PJ8RUECiBEtINfZlUcsz+VEvsmcJrQSO09T6Ro91x+CSdid20Okit4clwcdAlDEkWQ+IXKCQTLoIGUTSpCAMjaopluuSmoDY7rW3zWbPXEG1wnf9tdtNk/f8wG6PPUg/5mk/Sr7qWxjVuazFdn/ycg+6vQV2c+e04IdLWqrDTO8itjGd7vYxgMwQX+HKXxfkhrdshSeHmgkA/RZd0EgdkDUXbDzo0BYJlQcCM4c8csRdrkN8vv6AnyyySe5baVHqrCc9HyzD6g0TMBxD07IxQx995gQ2qSXD/DkFnYel4n+yAWoKUCBXXCDxhLKVgyh0gN2jyGgAbRiCOsyhHZXk1HzWIchnEEZICUuQ2t2kymcS62yLKHv49HkNlhFPgRJrvfJhO99Oem+JcS1VvCAe46KW1F7V7dyN4R5HBm4FdjDMvzTlTlUl0qYQ7PcXtszgwId582f/RMxs6csYPbctvFQVVrJs2sr4BXb4RW9BPCyfZHbg16GQzWGxYz7YuBU3gCcbVjklWW7smz/gJbtJLRf3LKttNSuBDaOzjoi7eUzxNt6oPo7QDhGhseSZ+2ySVtqKGWl28EdsRwrcHZ9GNz1L8/3yXQ5EnY0EmhG4K0FIERYZS3bLWxdWeH3eLgAH7Rwm8EL/Gj7uAzQLoIOTe6JSkyuogbeRdRA7Ij/KmpghWylye1K8K8CcLKXUuQfq5bSajUlmRh1tfHmxTYXnNMsiyxX4C7uL4htL8hsbM4Og0A8giK1bj1mPc/bVxCP+o/VVQX+hxGhsxGgePZvg3w1hsOMdGS9r7+lolSVdmH4Kz/SOAtRHQeEZhQ2XYgLwegQiKtwNgiB7YUqmlAM9s3MWkzdoTvEEL6gkzQ9jDHG1Myre5tuQG5vEd2PfH3w4H8txojlm95X0tl+Z4vjfRPRyyx8GY+rS12NjdITjNIBebTMPzvzX9pvEMjrLx5AMQe+dGxCxKXtg5aUjDscfD4+uUxGHpKZBYMdHhw/MhyfOzk+RXFWxOyuF6fY5k23y5BESxtJD4aq1Icty6yrD13MbyXJ9ZGqtE3dMPVRN/ZibN9hlqybXFzRo/Etiy/B0aA5oAZYXJk9MGFoK43wwYGE9IhE9kmdNtg7x2xYvrHwFmGq06RCew6IMaYLf7hwDA+02f9i3CJupJ35i+kScvTi1JgtIDiXZpYF85G5iOfNiyeMCVASPpeFi/WREdNK4g26hFI80M5j/l6e2yntlUfJA1MFDHEFJMetgPrGXkspcV9/i9tb8vQ4+KT4COhxqWuxN9bAdmEMeNLkjBeKhzh+P5jrmAU7BaNlWvui1HbMeJXMBL/qBfZSQVptzPXOh69hhm34qIpMiY5Y+TS1tMij7PGs/NkSuTSAhJABvZeVPFu8fJpP++8GeDtn4zlueKQX1mkfJt4+6YUpuMXf5FJyy0DegBVyV9boQJjGewbWMxPGBHP1LTN6ixUSJPwWeTiZE13X9Tr+H5JooTKS+d5FXqIvsuTsoo/TV1i++l/taZS6fq3XwwT3UwjbWia4F349SCcv9uwmw3KYm59duI0FS17q4vm9oiXhh6MPcleXdJlyHeG20OH6gkeLh+7JdYYwBtCFD/D8+02tDFJpgSsXR+zehiRrdXOCJ3JIlvj7SZIlPhCFJEusGHhqFclaY3GtQbaaG6+T5boMM1AVP71k0REnz9EjNgmmqVQSIbEtpsxUKsmPqJKsjs5epZIUmUi2ppEU2n1AOym8HytpDcgz2Oc3KsPfS+0x64UTpUe0wHyTdt6icy4eYVxpUCs/lQYVDUSlQVUaVI6kVmlQlQaVQTsDmFQa1A+sQb2YR3uZznwH/dno1uA92hmNXeHPbklaqy4S75c6Ty92MF7eKXhcMvh78IbFfeJcayuPOB0W8+gYlgrb6WoPU/5hdkhx8mpHVXWt+Eio5UgjXqzvFp4uACAAGLWDQ4rPqUsLVUUycJ1FcA7guofiHVN3npBnHHu63A1FjzqYPgQH3Aj2XG/ruqwL9pweNgdqkfHo2Q4Y5hwLFwX05fILaZKzZ9NzhxPH9dz5xDb+jaNDx4ad3nyHAzN/+QGhKxVqEhwAWVW0TktwAHADxTFYVz17RnTpVbv22Zob5LPjDv+AsEpwtXrG47PgFIN6KquCPUS7wqU1dx8913GxZx4yjFefSDRt2qIY1qSOIol2EMPiDKCtTwYacWEeGXy5npF/XthgQHe9f70wWHt98IJP7AesS7Cr0M9WRxPsqgZdvYBY35lL12uqoxsEs6y5Fl+SDHdKkOHt9vTlwKqXAGupPorEAB3aMxQ2jUAKgwtJYTW4DG4yzrn11xvwgEidWrHrbBmWlCs8c8UXOd45czb1h0E8Fpr+IGjojJ3+hufyhj4zP3SaRaOU4xOD6x9Ju92u0/8TUTZMN4h+Zvm1wLH11XYcMFWSY/CtLqxM11ZUBFW8blxv7kBrQ8cVVwG6o65vI8dUdIez9HS7kqzEHU/L4kPH0oDzJoU3A1Un/FU8H2mNhV1NYeVlnDXLVsdl+a1GikkxUEXwG5oPpqKMWnVtaFp1STIxUsyS6i1Ms9xqDbuGFnsRV1KzXLzXcpPY+deL3+8G/JaNleew0adoRNFs4TinjvHkep9q91d/jXmAMnaubdUtws3ROcMI/V7GOSIrmztHGAtarcwFuVLCT0x5E+VKhZ6SZDYV2tB8v0SM24JzRLQNq/wkcbVnw3iugPImJIIYoX2JoK+dcB9XFCmaoooibUKRmIZejiKVVNq3TahybRZ072CpporTM3kr9KzA/FLRt0riqiSulfSNGeDK0bdcm9y2KVdkXARKlVupOA1StkKDOItnRXMqmlPRnNUyFTWJl6M5QlbybdKfLA8AkCGhdoiTJLU0Scr2VFSUqaJMFWVaSZmYe6AcZRL1GGyTOAU+EKBHorWLk6R2aZIUeWgqKvRzU6HMXdGVFTxJhZibuRwVKvI8b1Uti7nRgQAVVSxOdLTSRCfp369oT0V7KtpTeeA29sB1ypOkygNXxQRU0tCaHrhKJ0vTIv0H1clebBNEcPD1Du6AaCd2QAQtFT3NT2236up2dz/c3F5/vuhfkovzwV1iw0M4jNVuh+h4uYLMlcmAz+gY7uSNMGdmYVwqd3b7Mu0i1mov8y5uOWR6dTZseip36jQ8mhczdXXDRJdrnp+3cQ5vlhIzdXn9FJdrNzgR0BzmXhOGT5h7TwQ+GHeRTu5Gc7fJO4IemnMvdXW9JHqvBRqWbi91+fXS55UFG59yS5xeBbm9RACHTvZ+ZvaoHYHbuZSev1XpuV6NJmEir9TV1Ym5yqIiM2uFMDyiRBki+ECPJ0u28DfyzXjKybmQwkq7LutvwdikRmyHDBuIUukuXo+/YWKMNFfeYqKLNzjqFhQRPgj4uHdXHAIcitf43hbcMEr2qbVD3dBGI71umepDXR11rLouD5W61dWttv6gtk2LtybxEn3vGuXxYnG+3QgSwGRJ9GcXHUB+D4ckIdf3XFDBvNiJryl/D92oEW1zpsOfuQNBLJw4d/9CUVLtwf3nX3kfEj9rXELA7JOcDvknOFxcfx7k4mLtSU+c/hRNe9dUTFXSzLraNmDaTUOqdyV5BD91xWppCh4+F3+VD8TTZbkLIyiSbRh8Q8lsveMZCqXx0oW8eflTLDjJ+dMMdwrygwY6j1B3V+efTyhC/BuC2ZAykyGhdr52MqR4cORmWo94EqTMHEioymyQAylncEU1n9WJjgK8LJN/ChCE2/7pbWyqNlvkay/zlA+SrlYOy/0oM5jS7XbFzDBExAKDxrlFfDHT1lOmWHQGiUjat3Xyvq1JSfYKF3y7rSEJSfSViWmbZXwmy6WcOJAtmTk2vJ6bKzbvpcL0ssAtN9nMVMkslcxSySzvUGYJDW2lZJY869t2RBZqPCspsqxnaislqTD7WVlJ5fXMbZWEs9MSDs3nUEk4lYRTWWUqq0xlldnAKhN4dkpJONnuni2ZZKRWSelmlW+nnOUFHTZlxZnV/p1KDNlpMQS9ApUYUokhlRgSiCFtWa+cQz+6cyhrkjc0tEQRBKXkkNVhBdtyE0FUQEmppFwMQUlvEQYGlBVathlHUIk3Oy3eoP+7Em9eXLx5yWD4oWUuPOtVwuGxpWBAxcMlwdTtknTt1FpLsOM2XHQf8RoQkCjgfb2A+iiyJowcKazNs/57YXtAlGIemTVr5EL4OaatdtqSoFd4jdQE54O769t/kOtTcnN73euf3N/2B+ko/aDPVZx+FMUN7MVy7NmYnILJ/2oBs58VV5jI+E4Tvnf0lrwqkpGNN8KAbdJxyCys4gA4oWk/4Z8NIl5vgpwiG+WvP+vd9AbpcMWuGj9yn16NhoTmlAtH6wDQFz+qfEshitnxlf+n1Wro6WjcGT0V2fIIDAVxMRqFjK2ZhRvLre/GNDj077UCKb9q7Ywg0BMYJ4yE8Rfek4VnSyPjxMOtl4NZNio3AeKbybNPoXYcnCuRxE5q+oPZb0ticKYJJ75b3hCClViczWsDuAApHalgEpZjTqeAn5PXRIma3k6yHM+tweK3umc8k8F8YT4LkLOOpna7YvOP9otbw7TdsWc8TiB27TG8kxWOrbwgDjJDzVmsuaZoOuicaaoRaznYeceIhqgHaPwNvu6XnYCLr6fkGOy0vo/uZhGWorRVRWwOUNZmB0ej6IL0jwUQfsdJ97PmQS01D0mSQ5W5Ibl0Z3iORgKthbsAZEVvywK7klg/8ZShsLJpbmXYv/Y2+2dGBGPmLxzcE4vqqmdannA/QS3Wul3hjmJU4Q3UgzeohoVcDMRibAnwXyNzq0Nnm30+BYmW9IFvim8wa0kSmp8ExSCUwFlIBqy8EdaWw6Vp97QtT2n/2crsXdY6hGoF+4Q7rrFk7Ak4ZXC3gu1PQG94NNLJeDp1pfX6Yl0LXHdpKghRMJiZ132czCeGM3Udd0yFBujIa7HCbrvRSvPqPiYlMWEE400j31zvj/riccuNK+IgsqwnNivRG9dBu6BNHH6pQAGGOmexmdD52ouxu85iFMhaU4hcoR09q2NkqQnqcMmr19zgE7wVisX4hdxt4cg1OXuzD0zISFFb9c6DJQscuZYbRU4VzfUyWSeORM3XPPP3C2E266OVJ33l6c/0BNT8arnpzrQmLtXm1UdZZFiuqSYrMGIxu3VszIq03rSNlRLeuHcj3Siqw67rDUjkCxDSd0WN/hltpCrs2hb/hFtppb4rZMZPHFCy0RGEqxPtTC2IB6U0Iy/dDqM5zYjoLK/GY/vDBlTUK069qF1hvbUYB33M0FCwv5GuwbUpVspYgskuYlWK0Sp5U1pFDRalyIKAcaMkSVDX3zOWM4cVDciVYIp2qeVJMNfchrdtSDLKy0oy1MZUQpLJNjqVlWE4Oxks/uw6xIiAsikRiKxVpeIaxC1baXqQtWNu2yy4LSu7y4J/guVHzYslll++vbHsEoxbSmEV5lclthJVgZW4fXhnHSRbwfu14B0altejofGt7SlLc22tOLBcoTNlLgeMpysTw3b7TbDd3l1s/8C2n8iJUALUhV6F7eA7310COC+sXwzy2ptAvrO7kP8JpJXInl0C+rkG7u3APjLSA8pzqxJDeOcNEK7tMlH/CRBO3Ywl5PE8v2NZaTz0lKIpLKcKMVDrGxvw0WdZyoBf5N/c0IBP3ZVlDWGFvk3R+PYsAwJzVpayHwg5Nt/GdNBR8N+KVFXM+DWYcVeAbm0Z4TkpsLbFjF9sz8CthQJ/6Q0DV+7c+kjA7EP6l/3bL31y8vmAGI4DSgMrH3cCOcaD62EiO8yU5s+je0C05vQBEB7s8QyPa3GJQYJtQ0NyYTyAsj23xvBmA3DiUUTA5ByQs5OLA3KB/9y5c+AOvQkld3cw487z0PJs02J1Y1vGnrt4hNIXQMI9ghnzTFBuZpbT6BvDCTaPtcuGV3zfHdr0pBi6rQAG+4CW7M6cZ/YLWhU16iJ41SdDA0xeC4/6dh+AfXljY2b/mx04U/t8fHfXv/1HDU+nqfUu7gfwC6Qk4w+jsRSdyIfe9dXpx44kSwekV++dHJPzL8CzxxZpt5T9TQcgqBu3ZfHjSWrcOPg1aPPQWICnBzqA/2Kf9vB167uFG8FwasaAacs7IOQb/LGgX2fnX2mlvYljTJ/BJhKMBb4X9pL4Ni5Vrlgys6A4PJLnYVn8Xlg8eVgwTAxZQ+kYsonzgWvRyQpuPZMPtUt76LkPNrLj59o+bc0UnAJQsmc9uh42HDghfRN7f0svNu4mFlAYx3G/oUUHpKM58SfuN58cX1zgczxaoTtPhu3QJEN2BHPzgdYFL2HXUIH2ANWwNimGoYiw+ZZ/gA/CkNHe+QsA3HKUUO+GmcL9KsGAIUTCKeOr+3jXH9ztIfaO7/pfcMdIBJyzh2NpSAvd++yA4A3zYU0xK8dzWCgQSHr8ERmESwtTF0EIAkjbBW8Zj+x+73lOB3gvuHF6/fluD/8JnzyzxxNygkcZgDAPuMIMunMLmv8BYLq/xyENaF7QuwsYusxXLpKvBC+EOHcdaJPluU7mQzz+sx5YYnUw9CxrhtY7HkRhl74gzSDH4F4CIM3doTscLnw2HJmPO7AgAGkDAIK1B5aTSf5tcvhJSz+Ci2nZpAF2kLt741njGXiEn1kTkrdvJ9BQ5GPks/HwXHD7kkafpB64ByumRS4N6JjhPCyA6+7hJcMBJ7sfPoS0ntHsiKDjjitcb74LDA84ow8GIuCUHkIX5mhKzxb9hq8Eq4TBPUI4EBH38dH1GekPlwC6DnzXmrKF8gsxrUeQvnGpwhAyzsraAW1bBO8GhIQtsJCi+3SlM0X2iMyNsU/LTvA+8mFJuHEPtDHCUJ2ZATYveigq22BJXwcK4/HE/cHA6vHw4hhF8RaO9fGDtE+Ogfuw1Y5Fz6hjDxqLT0c0KaLIWHTIqmBglrvw/KOAAsKvqDcT44mNCFwKG+QdpblEFpP4QusyLSAhHqtMjVcXay1X60FOtR/kfZQBhjAcPmMPqGxS6+EESp9/c4HK4lp8pOyGPIZBh3Ts4C6DDT5vwnD4B2wesTzgw5E4QWEFT/MzerBnIRPnLuW0kXY93s/GEtKM4fpDIIIGjB+eLGfPgeWD/ICMIUMO4IuG/kQtCNm4pCTZuKzr+41NtlgmAbvV/ZWRsYRWW1hVanPlulVlb6xUWt02RKlud2Nl0JHEVsrg6jvZR/kV9YzEtXtwOiUu3UYa0a0xGydfOEHGT5c9EOjEPcYVlhf5wN9oAA6jGOBIvUnkHIkEkGRwMZ2YVMBzW9XramG0M5smBMvZ+IFg6ZenwDUcM7X7KXnhT6na6u2G9qcNNrr1Qj1wk5D+xOYEek1XwCmUuvoFxBWqbwDlcccOCBaz1FDmB6IL/thCWL2qKF2t1UpnLzlbthsnagqSDqizyZ1T2+xCEn6F0qcQJCVVUzUhTKLfEIodEhChbpy635sNk29pqa1g03HTvEhe/PN4/ssntUUyb74NPjsZ+bL4AX1wTJAAIIzZw7wSopslXg+jYEpVAKPpRUYhYgYQcbgeDZfqxBsgt1AHEgKu3NK7dUkAt8jlL5a4nWbgVmoDmxaDrjP/RVIC6JIPYJ4f7u8IgjO2TEGAEqgooIg8UD2Xm/5dwy8IOq1ON4vIIlJ2D78plVwQs13AhgBmMRgsKLwAtuAMFQKtRLcl7hK9lVWtnY3WAyS1YPr1FlN+incOr7KkY/xruhcMGW+MTt4WJCYGyN02+IMFoImxXLR8BkxQ4p1hNlHVu2LobNWVLnmGgEn/I2m3wT0dktf/R8Bl3Y7udVp1INTRPZQitFZ4U4/fBOsHRBVb4FEdkjvDAwvrR0Jpd7gMyE6sA1Xt6PlUe543jTuxAtSOis6f9AKIGeLfQCh+IZ1MW62TaQ1tU62ss3LveKWVvRet7IUA2BEB4KZmAYH90hUA3wsAX9MsoAuYBaTyZoG3wWdlFvhhzQJdAbNAK4Ohb2wWeCMEV2aBH8csILWE7AJSt1PeLvAmcK3sAu/WLiBJwoYBtfOeDANvshAqw0Bp9K9xgtOKNKd7y4AHfr9HELSTn6g3CFMNIgui4BkPr218SLO6jCSIb/LomG2jJT+06lrHUNkmjwdTUvI2eRRt4dM0RZJpbH4ssCARLcdF5W+S8jYz461gUHI8hqRMvvTEFHFlJCZp3VmKHa/CTZPU6gxlc0inqS0wTUX7zajlIHmsdtxCkJ0XYs2z+PnFEo7Y3XJHB8SWee6U0Gdp2BQNKYOiMBbJp6X55APM7Mw0PAgk8ojjgoi8nxrizI0iNHhgvT1H+IkNSl6oQbrDuN+ouapJoeq/7t6VRKvyDQWCqyUZ0i+6ftY/diqd4uTmb7XwNaATC4jN+VT7UwLzePLXo2ex3bVcm65WDVy7ocdOJuH2PtBAnxgguUWbuomrFoh9ZPNKUP5YhoPky4fNvErzEiOkyRJuxQhj5aJLsR2HKzJsZ3KeKKq+aLfhasZTgu9szHaKuI6MKYmTTIeLZK5tnd9U7GYNdhPYBJP8Jm77+xH4DVj9auX4TVHo0IY8J4zwKctz1owHel+cSFNCVkR1uV1lR0lL96tzpUp+pkuK2oqT/CZuE/4h6Jlclp7lB5JtSM2ieK+S5GzN6LD3Rc1oWOL7IGjZ/o+Krr2JXYD5ExJ0Le02+AFIG/oLtkHacqIONyVuYXBgSeJWGEr4vkgZhKq+C0KWdIlVFOxNKFjgdkqQsEzv0g9AxdDZsy0BLRYzuin9CkI7y5KvvEDQ90W6II75fZCuN3OXvjej6o/sz6s8eJUHb+cYXOXBe1Ue18k6JbPYbtoAu3Llw6vYTcVuqoCRd69PVezmNdlN9jmQK9hNFTISTUcVMlKFjPyoEYpVyEgVMrLrvOh9OCaqkJGdIGhVyEgVMrLL1IxuWX0fBK0KGdkhQa0KGalCRnaNlHU774KQVSEjO0HBqpCRKmRkZ0iX+k5I108SMpIKGHmVREMDzKfjkDPbpylVSuYbEjk9f70z6aUogyPtZtDcSby5JCxzefI9F2cidzuaXP78+ozgsfjgJc6yj998J0fav/xp9HfugzEcuuTet5InVGSe40jPntG0rtRNHGSaOuKDDXgw3hivdGU9YU6fqfsH/PnAfg3wl7nJccg0HSbf5i2cT6mqXRqEHTvXmR24sfBovg1s9DMxMYkL7YfYGUHrnS+xanfvBmcWhA4BHG7qL2X5bQocA2v6BSAYNRGQBv3BPTbuDMUsRW1rHYyJzC0qnoyOIxfHg0H/9u78WoDRqTEfSE4CvT0O8eQvpACUe4Vp9BLwJnG7TnblSUlDUNCIyxl8PZiAZ2WkKjCuzPdT0kjvJFLtwxW+XjhvjBoXjGxRMO9R8SkK4QpdN844vq8lZzWLBRkfNunAHRUIFK8iK3y1cavHwB5DbMQrCArJNDsZ1W831Q4eaL6semV1ZdPtcEG1PP3RO5KGG6PKSSvxTQlcXxJSCnfnx8q68/KSzOfLc6HjyZSu1NbqxbILnQacBYRERsGK1EidvffHuDmVNxBkTm2arS1bkkn08cQ2gN84oCWxc5VuPMvHHRJCHddVkLtVsX6j8eXzDYnqS77VTae+mP7zbPyvF+4/Ynbz7oPSqYl1X2HdD6tLn0bXfpPuvwjE1RyIt9LnQmdDvF2XlXcI8fYKiIMgJTjJ2x2AM7CQzMkt0EuxLutaR7TL9Dj63OIzOtycxtO+vEB3X2tJd1Ysae1tZvvV4K6vgLu+Rv/1d4F2VCnzi9d1UbDr7w/s9NDfIrTLogxsu/1/GRktR0iTu42uGAfTVibS2MklLa2S0tIYz5nl7Q7AC65pSSle1JrQot5ud19tUasrFrUiKpRvt/8vs6jbOYtaT2fdy1zUAkcw7+ai1lYtalVslrc8AC+5qDvFi1oVWdRb7u6rLWp91aIWlMvK9V/s4OuX3SLPbF8+tfBta5+8HN/uHgWRDLURPCnTIBJzk4OvI1O5qqE9el1Leb6dOctSSMdk/SOv1zzTIuOEv1LOpmXbt+hokjuFEyqVn9CATYlbfINP/Njzy/P43WyzMN+gRHxDhsspZpVcPpiIjHgRbBTHrqA5NAxeocw45i3JiLfI2MNWoS842AdFhZLg46SHF0ShvGMo7C7PPaQcsgLhpiSQCTClQRjKNC+IQWXHMAiegdIgfPOziipB7BUFsbasVILYexXE1JclPxnYWCGIgdOuEsR+NkGsvWMohKcrSWxLKKRmtHIoXFrWXhCD2u5iEK2FlS7w4+sCnV2DoFaeDFa6wM9klG3LeqULvHdpTH9pMqSvR4b0Shj72YSx7q5BUK9ksZ9LFqMBaLsEQYh4q4SxykO+BsS09InYlY/yvRhmaUzoC9KfDHAU0x8MRq0ssz+bZZZG6O4SDJeSWOUj/0mUARoyvVMYjA4brCyzP4k2oO4YBCWlfKxQZZr9iUyzWQd6VdrAu9EGXtZDnn3a22GRNqAvkzRXAbM/jTag7RgMdRi3Shv4qVwDywP8dg6DlTbwk2gD+o5BUFJKu0gPX/y0UHJz9o/Bee/4gvR/O748vzrGM/HE3qTbraARc28xnMMmRvMz3erHt+Sw2XPsmQ0J007c4QITLh/9f95EwbTKBwIA", - "hash": "Y2Q2ZjU0ZTgyZjZjNzgzMGMxNGZmNTA2ZjRhMWVlOWU1N2MwNDU0ZQ==" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "DocumentReference/3a1ba802-06f6-2515-b987-4496eaa20ea3" - } - } - ] + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Patient-and-Provider-Organization-Direct-Address-C-CDAR2.1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Patient-and-Provider-Organization-Direct-Address-C-CDAR2.1-expected.json index 2b7bbdffc..32224e093 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Patient-and-Provider-Organization-Direct-Address-C-CDAR2.1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Patient-and-Provider-Organization-Direct-Address-C-CDAR2.1-expected.json @@ -21,7 +21,7 @@ } ] }, - "date": "2017-05-29T03:02:00+08:00", + "date": "2017-05-28T15:02:00-04:00", "title": "Continuity of Care Document (C-CDA)", "confidentiality": "N", "subject": { @@ -165,7 +165,7 @@ } ] }, - "date": "2021-07-02T05:38:45.919Z", + "date": "2022-03-25T08:35:30.737Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Procedure_Note-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Procedure_Note-expected.json index 626216dc3..8ff74a4bd 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Procedure_Note-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProcedureNote/Procedure_Note-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2012-09-17T07:11:00+08:00", + "date": "2012-09-16T19:11:00-04:00", "title": "Community Health and Hospitals: Procedure Note", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2009-02-28T02:00:00+08:00", + "time": "2009-02-27T13:00:00-05:00", "party": { "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } @@ -36,8 +36,8 @@ "event": [ { "period": { - "start": "2012-09-10T07:11:00+08:00", - "end": "2012-09-17T07:11:00+08:00" + "start": "2012-09-09T19:11:00-04:00", + "end": "2012-09-16T19:11:00-04:00" } } ], @@ -401,8 +401,8 @@ } ], "period": { - "start": "2009-02-28T02:00:00+08:00", - "end": "2009-02-28T02:00:00+08:00" + "start": "2009-02-27T13:00:00-05:00", + "end": "2009-02-27T13:00:00-05:00" }, "location": [ { @@ -1020,7 +1020,7 @@ } ] }, - "date": "2021-07-02T05:38:45.994Z", + "date": "2022-03-25T08:35:32.312Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json index e0726ce0e..5f04383a2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json @@ -21,7 +21,7 @@ } ] }, - "date": "2015-07-23T07:00:00+08:00", + "date": "2015-07-22T18:00:00-05:00", "title": "170.315_b1_toc_gold_sample2 test data", "confidentiality": "N", "attester": [ @@ -36,8 +36,8 @@ "event": [ { "period": { - "start": "2015-07-23T07:00:00+08:00", - "end": "2015-07-23T12:00:00+08:00" + "start": "2015-07-22T18:00:00-05:00", + "end": "2015-07-22T23:00:00-05:00" } } ], @@ -465,8 +465,8 @@ } ], "period": { - "start": "2015-07-23T07:00:00+08:00", - "end": "2015-07-23T12:00:00+08:00" + "start": "2015-07-22T18:00:00-05:00", + "end": "2015-07-22T23:00:00-05:00" } }, "request": { @@ -824,10 +824,10 @@ } }, { - "fullUrl": "urn:uuid:b3cae139-f3fd-b36c-ec52-4c4cb3b856e6", + "fullUrl": "urn:uuid:41da0a55-add4-3beb-8c06-424210572c44", "resource": { "resourceType": "DocumentReference", - "id": "b3cae139-f3fd-b36c-ec52-4c4cb3b856e6", + "id": "41da0a55-add4-3beb-8c06-424210572c44", "type": { "coding": [ { @@ -837,21 +837,21 @@ } ] }, - "date": "2021-07-02T05:38:47.845Z", + "date": "2022-03-25T08:35:31.345Z", "status": "current", "content": [ { "attachment": { "contentType": "text/plain", - "data": "H4sIAAAAAAAACu196XLbSJbub78Frm5MlD3XJAFwV6jUQZOyzWltJUrunnv7hgMEQAltEmADpGTNr3mQmZebJ5nv5AJkYuEmuXo6wuqqLglI5HLy5NnPyZM/fF/MjUc/ToIo/PXIqptHhh+6kReE978e3d1+rPWO/nB6Qq1qyep57icPvr8yVs9L/9ejlf991fiezI+Mh9if/Xo0HA3q9Cc++F+1mnEbrOb+sSF+hlG4CsJ1sHo2opkxdGLfGEXueuGHK+PtcDh6Zxi3D0FizIK5bzw5iTF1Et8zotC4uDNWfoKP7/nL0Fn43rFhdc1602p/nVpfV5H79T6ae18TZ7Gc+/bXR7tO6xrM54YbLZZRiFEaie+usErjKXhAZ0ayitfuah373ofIezYenEffmPp+aPiL5SrA0KvIWMbRY+D5hoMZoGdn5RuzKE6nkyx9N5gFLkC2igM/MYx/PvDHGAWJO3eChR8fczjwpfAVu4CdE4SJEfvL2E8wmrMKMF3PWTmGP/cJiAnNN32PGW8FeJ0gLkbw/GXgog8HfzIoOYDcgxM77sqPf0mMB9+Zrx7YgHVjED5jpMRfTOdO6Po0sIMH+GQJRAKEMX03CkIXoMNU5zRQZATz+RowJxhidxcOOtHnj6fLKEmC6dx/b6wwM3cehIGLbhPXD504iPDVsxFGK+yTgd1Ys7ZiGawvbOsqDzz8SZ8E4coPPb6tGZj4rAFNmsF7zD+i77DF6dj+I71ig2Qd4zfPT4L7kPeH6awJWTE8tuqv61AiGkBGCxnWcDSMoezyMgICGWPqiVbusMaf1oBW/XAEqtVOT+QI6T7jEITJr0frODx+mHdrUXx//Ng84o+PvyfBr0cPq9XyuNF4enqqPzXraNCwTdNq/PnifOI++AunBrRb0S7jqyQ4TtjD88hlk8aRP/4Lmv4Fy/s6Gd0Ov/KP/hKEs9hJD9hfXM9Jm4BCeEdv+AweIzc/uQaeyQkm3ir3np4cnb45oW1bDCOcTJAqUKK7yVEDj4ksjT0DZMkPOUG7vhqOvn4emfhpgbTFUbT69ciuW516r2XWrbplNXu9Jn5psg6IbN1NjBvq3vjsO54fG+MRQIu+BQFA/5W9mHUb/+BF3TpSZ2GbVrtm9mqmxae5Z1dyZji0GR06aFr2603LTqf1aR5Nnfn82ViHwd/WOBx06kEWATtGLOlwSoQkNH1zEmh7dHvb6WBilWP26+16n34EKNxs35stq9ms9Y8ML0gw9+dLsIZfjybrxQLk4t/4wQLxO1sGCX1EB++IfTp5TrDcsuE6tHdZE97j+dX4cpgumDE26pfRmnRtfD/o3ekG3sSYB6NWJw3e+M2JP5sRb3r0b8EAjEdnvvb57phd27Z6plkz2ybQl68+nHEIO3PQduUQXObAEEbxwplvW2+7breLCx7qo7Clg9jfr517XxnSD2vi6CX+Sj95yR7b2k9B+4VLIhXAFXLK5XoxBXIJOHGkiH03ir1bJ773V6dv3pwImn4TEYDf5FGuZbUsm36q59fi2PaGz+vsOyf8k8gFRIyJ765j4qxiKuBEEAcI08Ew19RgcmlcjUd1Nm/04XgetcJ0P1+DgMluP18TKzlaxgEQFjJItAB+zuJooWyIUbZnlmX1Rd+A/SqGUDbAEH6SnAch8K/Z7hoDNrVRfNIoNmDfuVjB6Qcfgk+8isKTBvtb9Ag6cHp1Q5/Sb+whmDOYOe3+ab9rmp2ThvKEdxitIQg9n95N0Jn4PV0r6Cqt9S4MVmCVE+o3EYsdT66MptXp1CxILewz/BcMFkJenQ5SB4dSQrJBoGS/rSA5QLqTeIA/j/+P9bbdbr+rdbvdmmU3W0cc5hfs7G75xG7WrHZLfoJtyna/eps+nwPOHK53ib9tqyRWcqCQHMsHO+co8ebkHjQgPL0JSPTyThr8T/5q5iyC+fPphbPGhoo/+JtkPZsF30//ShvNf2WPG9Q//9XxFhAMmPCFHj+RHBQrp/giRzgunPlWMol1FanGoGQcDkYOxxExLhztaRBDMgp9Jt+DcZA4hwMcAIKQphjDgKAn0Zu1Vimj1QdJ7HGuRQ2I2AMPCaXWCVtXuJ7PP86dxygGWRzLdrE/D+6DaJ0MAKV5wNiDAgbLtJo5SAwfYiwncELjbRiFtaGzeojmgfseEmVYk9L/ux1gZXY7RXAR8tzIORnKpNIJO65fWM/d5R/lexKHjrc18lcPEAo/xdF6ualZRt0XCzByLuAJDCul/OJDgB8PlDdnk+scFM++k7hNAnKyjL7hS/bdm21A65gljFjMZDAFrFbPF3idzgODzPwY2qs/Dr30iMdr2eKkUblGkLLsZJ4IrS++iu+dUIgRvAedizDuhZ9NTKQjB2enUQwMxvGZK1QOZvo5SpaEv4l6ZCWlYvThT4BoCcnC/9UgF5hyCEkZy1mCadpiVJfpgpV8QTCG6yheAWCewhfKGUOOM9idImfYwBoyet6ogHu6OZyZnzR0Xs9FMmK9a5zOOFPuoBHjqVBJnx5SbZ4/J52aBAumMvo5QYN3RWOvSiQyBu8TJ+EK4EC2zaMHCD9+dkAOVaK1e9Y1aSvmn3cQVEECCYZ5khUBtcmg4MOCkmKXGCrFkRehSCWG7CA5lOFHFXqUcPttB4IWIdcqduiaoYByDDN6AWZJqxS/qkz4sx/Gz6UseEImAY0HZwcXE84Pmj2SmIIn8jeJu6QPnAEhY0hsYJ9hAkoGy5SGqS60XhKdps9c0uToDrtGVILBSocqsuKR2CpC1k2YWULoWk27ncL2Jx5JPOIocgHJsFxic0dkTvMOwRi5XScNbT9TtIGdhZQ8ZshKqR5Z1pJoHbugdBC2RBumC5M+nuKJxCuuksueqrFFQYg/Eo2yupu1u5+Ykqc4P4yyZHii7KO+pxB+iXrwljBv4lMivzCR3UyY+sGQKn1u4LGGVCkjJaMm/x16LusVKJE8BMvM3in4dar9Kvxtcj3JW2uur+4mZ9u4Hf0CrGp3mozl5eXCazmhG3VCJDAYtzAKGl+IWUBtXwmkFNCo4Ax8a2Ayh7Af+rvpYepO5XtPn5TvkzzNLuzj8LxA28jJMJEiEDGz/D3YAIP2Am4Bcg1I80MUQ5sgOHACkGMK6QDqIR8qDwkwYmTlxS5ycK/3Uw5+LTl4hz3Ijr6yfehR+SPHI+jDGyisSzqZeQRLnSNx2oJZ4PIIVNYXzUZ+rz6sbP17SGFVQ5Od0EdnXhGn91LQmBJS1hENXYBF1XzSPZr7986cxEOyuEItLaoxQegFUF7ItkiqDMxReAvHJnOBFe3sbLeKvW7WaAihYEKJVW2eWXd3kAj6exCBn8Lj31EJyVhQGXpoyvQuyOispDNcqCGOC9O44z7nRc+cnp2q2T9x86eCXMRNpwItl06Mh8Eyp/Ik6+USxghCQ/oK0mfCSaDanrzDXOQdX45I5GW9ClkVMQ730Lu9GUy80MGZ4EpUj/w9m8VmRbj9dD24ubzNybesW8wDg/zOQu5Pp9Pv63Sq8CBlWLTZEHUR10uZwDhJHHd/JaRkWPVhdtaUMyJOGvnJj40zeZIIl+loLdbzVUBeUOhFeEwmQm6K5aEv6WulwwOOIaQawO/AE/g/RL38efL+sU5eUnrwDjcAHHb2YLUV0hHDsasZE8r9+DFw/TMKQ9Owf3h9U0D/lt2E29s0u9udB/0Sh+Tk8uribFQb3hbdCh8QhkWW549BLPxpetQKB8E8eqoOXxFeqofg/iHfiOaMZpkz66RR6J2RCcRZUMAhWDQkTfy7eop4aOOt7yyMBUISAW/jyefOZXoLUxUJoeDpMtAQZilvKvErI3e+CPGQwZKsRxroGO0oTC5BnNw9jC7raR142LgHNs79Bpy4tVsn+Vb7GMHgUhOBIkljiqioxgJBcH7coP6ou9toyCODWlMb0Rlr0JIofqZQVQJ3OqdsyhmtvL75KOJGZiK8UFHSgAvbfdC9XnHDryX6UYcfRcc5Anotoh4YUK6Fi04GLEh70y1UwdPSlicNrQ0/Keoa+KOigllQMXHUxc8uDlfdq2Z2fxsACdt/zi1u4IFpGRe+ByiE/m4ut6IfP3OZyVUbt873KIwWz8bbz+PrweBdOqvMSftCL+0GN22Fn3YXA1W1hUqhxQe548odcho9Timy8TfoliyEEOGB49vzs6OChrxBR96kJat0ulRTpqeKAa5gJ3qR9XNfM9OBkQA6mr0UzzYhWhWm7YRqG3BNRzbVIlo03BXUR3qW0tAdKCrxALAML2KB4iwRwDEkiWKnXRjYINAILwjnQ1z6JdEYses3l6xVCBYoI5fI1CaWQJyxIvIGYaCLTVSQpsfHlsTlAcPBSxB4743pGiEMKxnkjoeX12MeZVuGqoSQEk8R80wEjQIdEdHbs2z8BlRumvVWemD50H42MsZxIATfIyoKnNFD/GNMsroamJ9E2fD0fci4K4Nv+MvK+EYAenpwQHWJV1DGB8mENEoaGctRgK2NA5q6FuFWPhYNUCcP0XruyTEJGEkCETzj7CoD2JuiX94Nh/JoDkvpOv8GUOw0/yTjNTTOkgfSTwawGwOo8KZv8afvQNZ3oBP0QJW3meM9L5IzpAZxwsamuUVXMz2thFKoQM2AL0TYtVdzP7wHVkHKBDWk0McVa8YoizG5OIMt6/6eTKqgMhKbT5SBSCeg7hdLWk54fyaHKjXKN7umtTEIu1qWp2UqJrZs3syBgNPIg6ceBNdSj94P1QPYw3IAEBNRAMWWcHBCDaXssMywl6TkKFvHlDkt5yxVQIqfDs7Pz24+jc8m+Xe63sKoaWg487kf30uj5xt9UKZDMlamEGU2RvoVIekYcUT4m1J9EopvZwj4Via2xf7f1tD8vHfG2y/Nd+zzlMzukzdi8/yKyiSUAztU+dUAqyCTsFhCmjBTZAvQl3vdTrtmvywnRLB6SuXItm1wOTIGoy9nN5Mz4+ZsMLwdX11O0owPsUzoQ9jDP7I9HMXr+2xL0FJqS+lJnCPQ1xNNnokjwfO3MAbuynh7g6m+4xEB7BPZaBhhO6G4s0a0cSBFC0rgvMEi6fAFYLcEJbG/PBGvNvqQAosQ4FmRmkY34y9C+QM5dzWTBFZ5ZCyiyON/nn25lC0l0hmVE1MQak8MaNWb5haM4uMPESXO8u+GD4gD9l8yXNZvGkXX7PhNH9JTrTvF8JblTWv9mW9hIjDJmKbbdzqZFqAh4fAKeLRVfVc/lt6QJIt4z3nouPkjYjFeQQjBCEGF7rc0SUXsggIC3iWkMfwDGh+F9xG1dsU+CedeKgcqXyqT4OtxGLlWpltCwtVVpMxCXcQT3D/aXCkleBbEkBBVm7MSbQTTMYXGcN+3HKOEESkTK2MuEuc1S2+G/5O7D/9ypK+BJ/+E8KZSe8Sei6hzAhoJHMGMAjYh8GZmKwD58grqQuSl63sL6ZGWFb/LtkcRZmmwaErCiYgCyo7d1YdJ/tiVzCbtpnAW1W7ffrFzZ3Hv49HNH8ZWzezUTCFpHNil+m165FqO51qmzY5cRz9ydvHI6YduMJmc3RBR3n7yUnWoHN2J1859aKZaMz2lT8tHGWgNMwxiHKAUHXAaOXFXthXYjyk7Xh5L3pzws0TZujxNfziSykrL6piUO2OLDAz60ZSWiikozXcwK5c1Vu3LBtiEMt0Gm28OIuNQJE3f2OKMZw6kIBNH6oyAiG7Z7lIaT7vdp/DUQlboVGYyu0x3VLK2c0Oo4MzmVe7EGk4ulNVorZh/SDmoF4PLO7UtGnPPWtG3dXExUIGUIm81IjFlRu1OnZTqZ5ApkSWvMlLTUIiCQi7zhDEz1rhSWOGN1AEU6VMR0KuF35zAi60dDwdMftrctlQ0XpBpl883OyW7yccXyqcbBWL7RQJxSbJ4jmIe0GGJDRyGjg40sBfIuvp5+jye3F7d/Ktx9VHZIrj9znIysbJ/5fIv3ygF2prwq6ITl+/dVZ1EjCi8VKhhtreJPOdqNiK2LschlcM2+TAYXWzimZJjZnOkWSAECoe2yDH3ZG5WZyvD3L/HEgHV9aZeszkzax3X83Vu2SwRUPcU6yopE3yaif/bGtSFoFXZCoJmsl44UGkyIoTw6PWMEqpxzqDueFCdN5DTkk1S489eJtTYzdeXatCn+rG62gt0EgfO/HQT/b+6/bz9MMPrd8p1QjlHyi7iFDyVCsx+CxjQzR1wj4QBWLQzEqqw9p0kAVn7h37KP83LBSpDI2aR+Qro740g0l8LfMl4VwHBKFu6lFIUGdmr8jDQmvElaOfZzdkI32/+kEaHplDkZXi+q62HaYqCf6WVhEjiUftbOd+gcInUMqFRQd0LyO8R8c0jKxH/haky3A4IXZGyy2GJi1ItEXvAsnNl/ock3Gm7jZw1WvL6Q8LUdCBXpWCQ17Qyob8Snop4i1an1n01nqriCZgpocpkQkpKzsxUBsly5qqCWqI5OSV+8tjfmccShf3JY3/y2J88dn8eK/kHGf2oUB7LgNtdPwMX2aAPVjDQfA0RhZEdNoVD1cMNxcSoINTBXZariL0muUN0RU96+ErXvZdMyOsVVImBnCOeVgqq3XbTsmp5u872We05rYp5SXgpUqlgx6UzKGfH40wjUTjwRtyv9BFe31x9OD+7MM4hTBo72ESkx0gEOmb2kJOywxaqAZEPMKNDuKO4bCeLzSLrG4xxsh1CMp4oSIUs+C6XDMlhQGNyG19D2dL3MDOuEMMBHzDCV7hBDqFPWS1F5jSfIQpJOh6yflI3s5RuaV4YLp1YUtYhVRVjuR0C1sl7uNpdhF4l4kMW486mDD8bdAhtmJ/wyOChqxj70R5WN2qzYK4SJKvVNmutneTrXNAqx/VziLs54Vl9VXJIJfVRTREnwBvHyzTNVRpax96d0pjo6kF/StWukuJjWTyz8ZtE12IbXspKe44/soC+hjahk9VURBPI6RnjUQoDq6UaSVae+m7kJ24cMIWLmn3wyV/2RzgPjcFiueYxLxjM0zrQjRKshsTpVZj4q2NjsIwN2yDrCFO42auscaGjc3+2Kj5lpjWCp1e6+ML6qpdnsbyMIyXccuBynmxch/56EYWBUxxfrOWjP43XFKJmd8WK9pwoflf2BX9lKFWtfe3hUt/Ta73dR56qMX57NnXtXq/WafdntZbjT2tOG2qMP+26bm/mejNnlgoQhzmzla+JvP7pgdU5ZvVrAzAJw0VIH/NZU55zNH/ElgkeALp974eIVKGSo9womb6Cl2w+FxGc/I10YHNzJot0STsU78RX4BOpK28X/7axo4Obuas05zwznEiPcLZozAChrbqnXkxRcFqKspyRWImueNk8tD/7fMN6xDwXy2rfd8tsmYhEaLWbnaya6Kv5wXd3TR9sLt1m0NFR2HHJ2dls1pqua9VarV675kybVq3Zcf1up9OftduuAgIViQ/LmiHrpUCQdrtjUoHMcp50ZKgEtFTKtTtU0/aVbEpyWHWtecuqwvnY32klPYlA/ztjJhrQFDq2zTuufVd+YjacGS8tHRnNo3sWxgOc9FfiZBC5wHGY+hCvfc2G+UgFHOlIa2cN4meiVCQXTuBMmNU8wCUnyc6BoWI9WliNozmqMT4XbHnOzCOkAkoIwq8URS4ImjHH7JO6MV4ZT9JnzcscEi8hGVlEq6s9U9h0GAEJECgDEqMgGE3i0Qnm7GMKRskstJWRA3mPgwqXQmbPVvzRBQ4VhuRzLu9OOyNlYQ1fWv16VytiXBXq3SwemfFwVCggXSoHsRzGdZLb+HzwwopVJZwA49ghKJsuYlxtiyJcd6I22sTOoycoMHP/Pru9QNsQDd00DU6qbfj86SGA2sPxyWF4K99CQFr4TkK6z1u/fl83XLBUy25C83cQqAyV8SOIKyuGnNkzspEV1ZCxKuJPiMkKMI7IvSOM5Vh2Sp4ldWdP68ZnCo964uqcuuc8BwBqIlcI2dLYtjEA6vNIZ6DhIyu1K1LBunYXHi8dFXYFP/mceEFsDXXlyREEvNs9dHshD+dcYCXrIUlSRbLXjtr4/QTSxo+TZQkfJyJZVOcmdC4ENvKTQNk07OKPAFaQmJhBmpGSltNKC+ugb6KvhN6PjFhT07QZgAXOgk3FsaKCD8anu/GIDqM0aVBN9WCFgEBVwkyFFstq251Zt1/rt5xmrdXp2TWn3+nXzFnTM5t9b9pt2q8VQ3pw2GaeGTZBzRSx8h9Pqmz8WJH0B2LiRlxUgLc/TqpY2Wz7/W6z261NO81preV3HGiDTb/Wd2dTxBRNfcecVoVZbhGF+QcvE7pfTZoWnfz+MvXRgRL1TgJ1/rjath5NWym6VoeRNnttsw8pRtuWLeGgG5QmvXzxBlPNC2VPYQ3aSegsCnZpSeg3BzqMZa5V+rleh00hpHq7Yp3p9JWe7dWhn92ykMsS5G+Ge5adLttWSpzM76gTe0H06CQuqTeyLnVuKmq6Mn9SzEam5UEIp8fUM36tb0haFkukQNhJAHNPbEyga4X3evqyHIsyly9GuRxm/lJJW7bNvmmVJTJvy2YWOJVfZUVNk6ZpvcNaa3w/Zd53DmBlmZQl+ZS5VHnE+s7ziZW5lPngO1mktdzKFE78egkGqOymiWx9+YHL0+tzr/J4nVXHLjMKyLPNfmN3nhF3pFMQa9zxieVaKK4jlkAiX2sWPjEAdGyAOsnf9Sa7Tu/USlnybzeIT7cMnPLSu7y0AbKJZ8LOzdlHXsFFNioMpcg8o6vh8Hx8WS33HECQ2lUxjTnlRgd/CvT8bWMNkCNRNbQoregh9SU3QFm73wBV+Nkx07vSXrb9MilWztAX10hRRnsZjLgRm1LSpeuf3WPH830cSHYh9FdWWZUnfPBLk06ZUVq/2wjP6As42qLQo9G/+ZhBmIKT7qOTEZVjDvIZMXqGm04GdVEFOOEXCfFCjlESUNUZfmufx4o3CjWbtyLrQSitzPQNrywg7E33cIkglheWETF8whvSrUhM+pKRaVhlNo/YhxmOxH1xWR+/LYrWrV/ptHSCmCVI8WuU5ml+NCtcDqEHggrlwjBpWUwg9J9yA7FDDCn7kd2rEs0pYU2MwxEUlnf5BSaUQ01GC2aVU6TZMYCkhjRMzVku5zgK8ubCZ2n+iBbBKk9siI6yvjm6m2ZrOiVD9bTf6tVas5Zbm7ans5rTQyxZ1+t5XktRqtjn1ddgZW0aeWKiEtiUGu1DY1VljJKRYDEtkl1quD/pvWJ+eR74yevKrTKvfjqfdEmUNMpwOf/iWrruE+Nw6nt1gNJZTSQVqJXRRxWoG0mkZdotyzJbzdbGAh4WYntM/iRPK/dQy17oBtGlgr+Lh6OojylHQtnhzafidQxqB0ePG2eXw6u7S0SKV2Y+leY8pdUnDg9xY6Nn3SQ/rh4AXSb5uqHarMeyYO2O3TJrvddLgIJvJhKSQQqqXLBJtoPl8WAZjHcMBytBGAoEG56N7m6K1SJ0BEFwGpFfUWuEV9uJXAOGe7i/0xsX2T26iXAfgQPH0FEeKecxVzXv7eXVO+NuNE6RQ1zYPJtRX2UV86YxmDmEKdi0Y48VzmM5nlvL511GX0nAJrHD+zoCW3f9hN3vjKnkJlUNGeLkNNtKCJUEwWXng5Z0OWaFrxG9gwOgx/LVc6FRFSdrPzyuTKROQzdFVJ/kebuVvOi2rf6OIVU7Ed8UxEo4qgy0EjN7rVjIsi1GR/tsazE9hsdszg2iaEsuNQs4HkrRtuWK5YhSp7UjUSrLqzw3zn67G19fnF3e6lDmpVAYw2OBMATgY+NaeMXJ0gwf8UNGwtKwx4Snmgf8xDEJ1+Nn7hc9nWdb56IH0ITC92qk3RIKxX3sLB9k5JZrH51Wz7NkXiyHmfdxWm5E1TxaWYCnVkz4arhHFQX96GXZoNmjL/bhGaFKxYH9P92aTJoa9r32tGO1ph5YLUgvnKJerde1ezXfmnmm5blu13Yqwry6NDIVEthJVMyy//JyGweWtlxl48ptucAPxcmkfrBb+MnmxFWlXXnC/+gsLYCzV7r/vj5O3UzPbtAFnQNn/oWpn6nG+UtaI68YupxueH6RVRPA/7rMUK0kbMoqBZzzqhK1SsdMhhA7etW1dFANJwSj110UFRM4SdxoWVrvYMPddukKlf7L+6msmlBaM4FdX8mh/0oqgDG+uLi7HP/fTbUPcvJ/wJwnvDjmfsXAxtqXP7Dcgf3a5Q4qpH00hOe88yOkfQ3KOYFf27NyuUf9XHK2YkBwVc2tAysOhVI5LEORTWUTinUS9mOSOdxSCye8sOxX294eBrJ3j2Vs0rfMbt+c1axWv1Nrde1+rTfzO7WZNe11px3b6s+6P6JwQhytRRTZ71A1QdsjpYSCIqS/RnGo9nb55JA+96mjIGracqs8jgULJg9cSBgu1QAX0ZnQFtMjQwXHFtAMKP3wCYZdnDKPrHv4vqYwsrnvPNK5lB3O5uu0IvBfEWjKbPppUF6dys4bLNYuAEmhMI5vILQLil9FeAi/Cp24/DOM2RkC/KFQ76miMkTBOHkl8uoz4yORnLzVUXOHf2EgERpapcO9xMBnWT0eYqeRUAHhfatIvLxyhOCPA+36AL77GjFmto8ifOfRitvaaembann9gxSoML6Mb6E4TsafimJFTqAApabLJMFTEjhKMlvLXgbFPSst7JDvqvD5Xtfq1JqvxuYV0OQVbuVVOWO/kYUJvzCoTQhqh1s2+HZMroZjjCqLLW0VAittfAsELexn5NsqNxIvmNCVJnNDSkep4Jhj7vtmKHf3SBK0+92O/aIirjmPr7aknHyn78eW/EFjyurnkXMORhVv9UB+HPOfjnbNK8wBV/FblGQbZpH1FamI4ntW++OQvMKKaXqnw3XMAgsni4glLqXZi155Ox8OzGfg4HOxyb+sgYy2/Z4y7tobUwC175jp6EMQrx4m/ncSWY5O2V/Ax+/FQS6cuX/o0Dsm9WWHpBw4OJDaeHrh+o0KwP5BsVLGK0zhwnfo5uDZem7cQeB4cSmzbu+1S5mhR00iVz2idrPV7nR7Gy7eUPV8fr01UY3J58H5OXnnuzZdQmUzIW0n2OiigWYP4129Gg26jaYQlqDNiWmJ9MVL0J1NqkZJbGiaJK9rHbCsIfRMLbTrCkTNDUm+e45yVG5TWb3eX3WRXTl+ocSvXrs3N6yYDY5I6eDsZEFgiub5ndP3zRa7LepekfDN+B34mvH/rHrd+v9iXm+HV5cfjy2z34OaB+H13XsRZZJiS0KxemlMNoslnfirqvNdgozwyZv1fr3ZMya3sA8MWVYxDgfYWn74bgHXNhR1bfV7HW6L1eMu89SWgdiPd7LQpffIFD3ghQqfskD5IqKkWsGzUou9VlwYQgGnbXTkjgZzN3qIYMY0PERmfuMiCyZ6pFNDUfvFSCm66EMnly8gj3uW7aPUHp3KgcR1dLuDSho6nV7/FaMdCAADETtpDFYcLHtY0DU2eYAhvbE3BVCToy62Z6kADjqe6yXSwLx3Rc/tNYVKxWn4Mu/Ob6urzf4Yn/reMRo3frKer35Y4aHma8dlUIcl4nvT7Ldbr8g6xe7l5HbxtERgP3cgpbOL+IxbbN8x1N6QF9AnnqO8ZSQ/aQiwUzt6K7aB7fGeJX0kyUxfgswBK3BWRwxRcLJgMeI3O8k9ZSUa5T1J+ZCMYocfWRh3qkG8sDNxJRbptqKcwqb+3oobm1yyZPF7D9tvp+/eWuCt9F/73bvtY0rv/FnqnX/ZGq6dZwpo2qcTftcPSK6fJDyWWWXNrAn+W0Ustv3g06zrl/XzP4MsKYCSlKnAzm8VCxy7iuQt5AG7br5T43SLHb0Xng+67sRQiE8UYvLaIPtRplTJ2DmQnO/95njyttVDRK+ZNtYvnpxMziYTCtvIUyrlTbmZycngohQ4fqmh6fp8cEm1vG9vzga3NLrx92d+uq2JJgnfMHV8G/vOSkMx6ZY83ORkvnIVdrPUK9nrdju19uvpiSkgyG2ew6RsK2lzK21VQCkJ15XsTohSu6MUL874KXLmpDynLgZ5nJnOxKL9vt7YX+lKva80JoviY+9ABUxj/AkKofvNuffrdGDo51b1YHprFvTAqnnIGLexJwKW0s3DBNh54xU2OJ1hFIL4upwQ0wWpFi6xW5bn40DZk9SN3D9cyaACHBSyrrOE/M+hRDvfD4ffD+h8h0OrMbW9qT6feUrwD7wbrPTMdCyLF1nWMJ8N+GoXd2nTLye792hyKMHlIoS8UFKWnSq9hlpjjcTnFI6Y70CCG+irv2L3avFTkEQlp0DZFkKCNLybcld+QdvLsz8VZLP1kmrwpIhzdvvxlWN82T1oX/lCvso1VsT5vkxQysHxh0tduXucSvRQrZAmv+CKhFTotnyDZ4QOab2y8kKM1E8VhjD2+PaLxcx5HBtZhhk2OiOloIlEht8jdpG1kzvOn1u6TWrfuo+9PTw6VOjVJKeeHoGTW5vMbNqxisCOlCA3SiGodhy68zW783c8MijEhnzCsowD5fnN59GTkuTE6AfzT/CeRcdfraPs7r/8yrBhZrdh2w3hiqgODRpeXVxroUFqNA4F4ygh62k8wwMfLkUnUYiO5T6Ds8KYkzGC7eVftgUAqQQNCKgl4uFpFqyuGzz3jHtt7hAMlF0c5jtT02/bNc/rerWW3WvX+n1/WuvaXtP2vKnVb6t2rjLMPBjbJBXYgNp7GPPyOFVlz0tpTI5PsJuk1XsEsS2yZOLUdx1W8TclQ4yF8IsB97oAsOCC4CUQA6W0W1oOMTdBdM4KoUx9GnUWydOVxt1wHSNi+I3gDB/x4IkTk9EDRBSqButc5OJRwbi0kpwor0huAXQozgS7RTo51MtBTbAM7ji4ha/G+K9//w8Bzv/69/8UBR75UliZR1iYsqO2f/bYfswQzT5fTa5ZFMNoPBl+Htx8OjPGl5Pbmzt+P+mOHe1z+UhJ8fBxyIuXaZGmdE+4uJVUqgzyyvVSCqHQB/a3sVNoic5txIcijqTTbtZ6R8qzHarFGJsOuZFjX5thn2dDm1sXcz3uBFQptogzpVngz3N8SKIaaTX8V4NpOLfM1s6CFWDhzwgmlnU6WC5x4plWCKPnxH1AjDOEFCCyk73hKtgIflS4m/BmRknbkDZ8/1vd+MhOLcQJ3upqvZLFGdObYk4abCxt4DEcOA7PAZ6RE+s9u6TGuH2e+yH8fkyQoWxvJqAs8xqs3uVJg5YpT9euVlrdiHjjO4nAyxsixHHu0utM0L+gShCpkVSXwWTVJXgUSfgSMtc7Y7P01KHlqtbKL6NbfLustlrueJYrCEXpCl7WZVW1+e26JdVbOGb0GgYCVhGT55nHdC+mIicAlgHeKVUPGf0QA7wXn9brdfu91Urvz0QzBuDNRsqcJrYTYdpJLu5sDXbjSWplGFWW32eZVt981SuJLlnYG1zWd4WQOO1lRbT7do15g8q8xfmwk/3+ZWj78e6Skdx0ma9zCvLHYMejUISCSl0ONX1uC8reMvThw5YlRHZbtvmKFtLCtHOMtrC/B6NxNRaPKcMbfFFLy3k5ao4psfwLjuAesttGtPxRYb1UjaK5T1Bvx272upS8o+eGhSoYEUBNd5Ejs+9wTMnl7mj9bzQGQuxJm+6PG6xsmZDVPrBoQvX9SSNfWen0vwHS7K3Sp7kAAA==", - "hash": "NTUzZjA0YTgxYzU5YjhmNWNkN2U2ZDgyMDg4ZDE5YzAxOTRjNjQ5Mg==" + "data": "H4sIAAAAAAAACu196XLbSJbub78Frm5MlD3XJAFwV6jUQZOyzWltJUrunnv7hgMEQAltEmADpGTNr3mQmZebJ5nv5AJkYuEmuXo6wuqqLglI5HLy5NnPyZM/fF/MjUc/ToIo/PXIqptHhh+6kReE978e3d1+rPWO/nB6Qq1qyep57icPvr8yVs9L/9ejlf991fiezI+Mh9if/Xo0HA3q9Cc++F+1mnEbrOb+sSF+hlG4CsJ1sHo2opkxdGLfGEXueuGHK+PtcDh6Zxi3D0FizIK5bzw5iTF1Et8zotC4uDNWfoKP7/nL0Fn43rFhdc1602p/nVpfV5H79T6ae18TZ7Gc+/bXR7tO6xrM54YbLZZRiFEaie+usErjKXhAZ0ayitfuah373ofIezYenEffmPp+aPiL5SrA0KvIWMbRY+D5hoMZoGdn5RuzKE6nkyx9N5gFLkC2igM/MYx/PvDHGAWJO3eChR8fczjwpfAVu4CdE4SJEfvL2E8wmrMKMF3PWTmGP/cJiAnNN32PGW8FeJ0gLkbw/GXgog8HfzIoOYDcgxM77sqPf0mMB9+Zrx7YgHVjED5jpMRfTOdO6Po0sIMH+GQJRAKEMX03CkIXoMNU5zRQZATz+RowJxhidxcOOtHnj6fLKEmC6dx/b6wwM3cehIGLbhPXD504iPDVsxFGK+yTgd1Ys7ZiGawvbOsqDzz8SZ8E4coPPb6tGZj4rAFNmsF7zD+i77DF6dj+I71ig2Qd4zfPT4L7kPeH6awJWTE8tuqv61AiGkBGCxnWcDSMoezyMgICGWPqiVbusMaf1oBW/XAEqtVOT+QI6T7jEITJr0frODx+mHdrUXx//Ng84o+PvyfBr0cPq9XyuNF4enqqPzXraNCwTdNq/PnifOI++AunBrRb0S7jqyQ4TtjD88hlk8aRP/4Lmv4Fy/s6Gd0Ov/KP/hKEs9hJD9hfXM9Jm4BCeEdv+AweIzc/uQaeyQkm3ir3np4cnb45oW1bDCOcTJAqUKK7yVEDj4ksjT0DZMkPOUG7vhqOvn4emfhpgbTFUbT69ciuW516r2XWrbplNXu9Jn5psg6IbN1NjBvq3vjsO54fG+MRQIu+BQFA/5W9mHUb/+BF3TpSZ2GbVrtm9mqmxae5Z1dyZji0GR06aFr2603LTqf1aR5Nnfn82ViHwd/WOBx06kEWATtGLOlwSoQkNH1zEmh7dHvb6WBilWP26+16n34EKNxs35stq9ms9Y8ML0gw9+dLsIZfjybrxQLk4t/4wQLxO1sGCX1EB++IfTp5TrDcsuE6tHdZE97j+dX4cpgumDE26pfRmnRtfD/o3ekG3sSYB6NWJw3e+M2JP5sRb3r0b8EAjEdnvvb57phd27Z6plkz2ybQl68+nHEIO3PQduUQXObAEEbxwplvW2+7breLCx7qo7Clg9jfr517XxnSD2vi6CX+Sj95yR7b2k9B+4VLIhXAFXLK5XoxBXIJOHGkiH03ir1bJ773V6dv3pwImn4TEYDf5FGuZbUsm36q59fi2PaGz+vsOyf8k8gFRIyJ765j4qxiKuBEEAcI08Ew19RgcmlcjUd1Nm/04XgetcJ0P1+DgMluP18TKzlaxgEQFjJItAB+zuJooWyIUbZnlmX1Rd+A/SqGUDbAEH6SnAch8K/Z7hoDNrVRfNIoNmDfuVjB6Qcfgk+8isKTBvtb9Ag6cHp1Q5/Sb+whmDOYOe3+ab9rmp2ThvKEdxitIQg9n95N0Jn4PV0r6Cqt9S4MVmCVE+o3EYsdT66MptXp1CxILewz/BcMFkJenQ5SB4dSQrJBoGS/rSA5QLqTeIA/j/+P9bbdbr+rdbvdmmU3W0cc5hfs7G75xG7WrHZLfoJtyna/eps+nwPOHK53ib9tqyRWcqCQHMsHO+co8ebkHjQgPL0JSPTyThr8T/5q5iyC+fPphbPGhoo/+JtkPZsF30//ShvNf2WPG9Q//9XxFhAMmPCFHj+RHBQrp/giRzgunPlWMol1FanGoGQcDkYOxxExLhztaRBDMgp9Jt+DcZA4hwMcAIKQphjDgKAn0Zu1Vimj1QdJ7HGuRQ2I2AMPCaXWCVtXuJ7PP86dxygGWRzLdrE/D+6DaJ0MAKV5wNiDAgbLtJo5SAwfYiwncELjbRiFtaGzeojmgfseEmVYk9L/ux1gZXY7RXAR8tzIORnKpNIJO65fWM/d5R/lexKHjrc18lcPEAo/xdF6ualZRt0XCzByLuAJDCul/OJDgB8PlDdnk+scFM++k7hNAnKyjL7hS/bdm21A65gljFjMZDAFrFbPF3idzgODzPwY2qs/Dr30iMdr2eKkUblGkLLsZJ4IrS++iu+dUIgRvAedizDuhZ9NTKQjB2enUQwMxvGZK1QOZvo5SpaEv4l6ZCWlYvThT4BoCcnC/9UgF5hyCEkZy1mCadpiVJfpgpV8QTCG6yheAWCewhfKGUOOM9idImfYwBoyet6ogHu6OZyZnzR0Xs9FMmK9a5zOOFPuoBHjqVBJnx5SbZ4/J52aBAumMvo5QYN3RWOvSiQyBu8TJ+EK4EC2zaMHCD9+dkAOVaK1e9Y1aSvmn3cQVEECCYZ5khUBtcmg4MOCkmKXGCrFkRehSCWG7CA5lOFHFXqUcPttB4IWIdcqduiaoYByDDN6AWZJqxS/qkz4sx/Gz6UseEImAY0HZwcXE84Pmj2SmIIn8jeJu6QPnAEhY0hsYJ9hAkoGy5SGqS60XhKdps9c0uToDrtGVILBSocqsuKR2CpC1k2YWULoWk27ncL2Jx5JPOIocgHJsFxic0dkTvMOwRi5XScNbT9TtIGdhZQ8ZshKqR5Z1pJoHbugdBC2RBumC5M+nuKJxCuuksueqrFFQYg/Eo2yupu1u5+Ykqc4P4yyZHii7KO+pxB+iXrwljBv4lMivzCR3UyY+sGQKn1u4LGGVCkjJaMm/x16LusVKJE8BMvM3in4dar9Kvxtcj3JW2uur+4mZ9u4Hf0CrGp3mozl5eXCazmhG3VCJDAYtzAKGl+IWUBtXwmkFNCo4Ax8a2Ayh7Af+rvpYepO5XtPn5TvkzzNLuzj8LxA28jJMJEiEDGz/D3YAIP2Am4Bcg1I80MUQ5sgOHACkGMK6QDqIR8qDwkwYmTlxS5ycK/3Uw5+LTl4hz3Ijr6yfehR+SPHI+jDGyisSzqZeQRLnSNx2oJZ4PIIVNYXzUZ+rz6sbP17SGFVQ5Od0EdnXhGn91LQmBJS1hENXYBF1XzSPZr7986cxEOyuEItLaoxQegFUF7ItkiqDMxReAvHJnOBFe3sbLeKvW7WaAihYEKJVW2eWXd3kAj6exCBn8Lj31EJyVhQGXpoyvQuyOispDNcqCGOC9O44z7nRc+cnp2q2T9x86eCXMRNpwItl06Mh8Eyp/Ik6+USxghCQ/oK0mfCSaDanrzDXOQdX45I5GW9ClkVMQ730Lu9GUy80MGZ4EpUj/w9m8VmRbj9dD24ubzNybesW8wDg/zOQu5Pp9Pv63Sq8CBlWLTZEHUR10uZwDhJHHd/JaRkWPVhdtaUMyJOGvnJj40zeZIIl+loLdbzVUBeUOhFeEwmQm6K5aEv6WulwwOOIaQawO/AE/g/RL38efL+sU5eUnrwDjcAHHb2YLUV0hHDsasZE8r9+DFw/TMKQ9Owf3h9U0D/lt2E29s0u9udB/0Sh+Tk8uribFQb3hbdCh8QhkWW549BLPxpetQKB8E8eqoOXxFeqofg/iHfiOasNTtpFHpnZAJxFhRwCBYNSRP/rp4iHtp46zsLY4GQRMDbePK5c5newlRFQih4ugw0hFnKm0r8ysidL0I8ZLAk65EGOkY7CpNLECd3D6PLeloHHjbugY1zvwEnbu3WSb7VPkYwuNREoEjSmCIqqrFAEJwfN6g/6u42GvLIoNbURnTGGrQkip8pVJXAnc4pm3JGK69vPoq4kZkIL1SUNODCdh90r1fc8GuJftThR9FxjoBei6gHBpRr4aKTAQvS3nQLVfC0tOVJQ2vDT4q6Bv6oqGAWVEwcdfGzi8NV96qZ3d8GwK72n3OLG3hgWsaF7wEKob+by63ox89cZnLVxq3zPQqjxbPx9vP4ejB4l84qc9K+0Eu7wU1b4afdxUBVbaFSaPFB7rhyh5xGj1OKbPwNuiULIUR44Pj2/OyooCFv0JE3ackqnS7VlOmpYoAr2IleZP3c18x0YCSAjmYvxbNNiFaFaTuh2gZc05FNtYgWDXcF9ZGepTR0B4pKPAAsw4tYoDhLBHAMSaLYaRcGNgg0wgvC+RCXfkk0Ruz6zSVrFYIFysglMrWJJRBnrIi8QRjoYhMVpOnxsSVxecBw8BIE3ntjukYIw0oGuePh5fWYR9mWoSohpMRTxDwTQaNAR0T09iwbvwGVm2a9lR5YPrSfjYxxHAjB94iKAmf0EP8Yk6yuBuYnUTY8fR8y7srgG/6yMr4RgJ4eHFBd4hWU8UEyIY2SRsZyFGBr44CmrkW4lY9FA9TJQ7See3JMAkaSQATPOLvKAPam6Jd3w6E8msNSus6/ARQ7zT/JeA2Ns+SB9JMB7MYAKrzpW/zpO5D1HegEPVDlbeZ4z4vkDKlBnLCxaW7R1UxPK6EUKlAz4AsRdu3V3A/vgVWQMkENKfRxxZoxymJMLs5gy7q/J5MqqIzE5hNlINIJqPvFkpYT3p/JoUqN8s2uaW0Mwq6W5WmZioktmzdzIOA08uCpB8G11KP3Q/UA9rAcAMREFECxJRycUEMpOywz7CUpOcrWMWVOyzlLFZDip4Pz87ObT+OzSf6drrcwahoaznzux/fS6PlGH5TpkIyVKUSZjZF+RUg6RhwR/qZUn4Ti2xkCvpWJbbH/tzU0P++d8fZL8x37PCWz++SN2Dy/ojIJ5cAOVX41wCrIJCyWkCbMFNkC9OVet9Ou2S/LCRGsnlI5sm0bXI6MwejL2c3kzLg5Gwxvx1eXkzTjQywT+hD28I9sD0fx+j7bErSU2lJ6EucI9PVEk2fiSPD8LYyBuzLe3mCq73hEAPtENhpG2E4o7qwRbRxI0YISOG+wSDp8AdgtQUnsL0/Eq40+pMAiBHhWpKbRzfiLUP5Azl3NJIFVHhmLKPL4n2dfLmVLiXRG5cQUhNoTA1r1prkFo/j4Q0SJs/y74QPigP2XDJf1m0bRNTt+04f0VOtOMbxledNaf+ZbmAhMMqbp9p1OpgVoSDi8Ah5tVd/Vj6U3JMki3nMeOm7+iFiMVxBCMEJQofstTVIRu6CAgHcJaQz/gMZH4X1ErV2xT8K5l8qBypfKJPh6HEaulemWkHB1FSmzUBfxBPePNldKCZ4FMSRE1easRBvBdEyhMdz3LccoYUTKxMqYi8R5zdKb4f/k7sO/HOlr4Mk/Ibyp1B6x5yLqnIBGAkcwo4BNCLyZ2QpAvryCuhB56freQnqkZcXvsu1RhFkaLJqScCKigLJjd/Vhkj92JbNJuymcRbXbt1/s3Fnc+3h084exVTM7NVNIGgd2qX6bHrmW47mWabMj19GPnF08cvqhG0wmZzdElLefvFQdKkd34rVzH5qp1kxP6dPyUQZawwyDGAcoRQecRk7clW0F9mPKjpfHkjcn/CxRti5P0x+OpLLSsjom5c7YIgODfjSlpWIKSvMdzMpljVX7sgE2oUy3weabg8g4FEnTN7Y445kDKcjEkTojIKJbtruUxtNu9yk8tZAVOpWZzC7THZWs7dwQKjizeZU7sYaTC2U1WivmH1IO6sXg8k5ti8bcs1b0bV1cDFQgpchbjUhMmVG7Uyel+hlkSmTJq4zUNBSioJDLPGHMjDWuFFZ4I3UARfpUBPRq4Tcn8GJrx8MBk582ty0VjRdk2uXzzU7JbvLxhfLpRoHYfpFAXJIsnqOYB3RYYgOHoaMD1eoFsq5+nj6PJ7dXN/9qXH1Utghuv7OcTKzsX7n8yzdKgbYm/KroxOV7d1UnESMKLxVqmO1tIs+5mo2IrctxSOWwTT4MRhebeKbkmNkcaRYIgcKhLXLMPZmb1dnKMPfvsURAdb2p12zOzFrH9XydWzZLBNQ9xbpKygSfZuL/tgZ1IWhVtoKgmawXDlSajAghPHo9o4RqnDOoOx5U5w3ktGST1Pizlwk1dvP1pRr0qX6srvYCncSBMz/dRP+vbj9vP8zw+p1ynVDOkbKLOAVPpQKz3wIGdHMH3CNhABbtjIQqrH0nSUDW/qGf8k/zcoHK0IhZZL4C+nsjiPTXAl8y3lVAMMqWLqUURUb2qjwMtGZ8Cdp5dnM2wvebP6TRoSkUeRme72rrYZqi4F9pJSGSeNT+Vs43KFwitUxoVFD3AvJ7RHzzyErEf2GqDLcDQlek7HJY4qJUS8QesOxcmf8hCXfabiNnjZa8/pAwNR3IVSkY5DWtTOivhKci3qLVqXVfjaeqeAJmSqgymZCSkjMzlUGynLmqoJZoTk6Jnzz2d+axRGF/8tifPPYnj92fx0r+QUY/KpTHMuB218/ARTbogxUMNF9DRGFkh03hUPVwQzExKgh1cJflKmKvSe4QXdGTHr7Sde8lE/J6BVViIOeIp5WCarfdtKxa3q6zfVZ7TqtiXhJeilQq2HHpDMrZ8TjTSBQOvBH3K32E1zdXH87PLoxzCJPGDjYR6TESgY6ZPeSk7LCFakDkA8zoEO4oLtvJYrPI+gZjnGyHkIwnClIhC77LJUNyGNCY3MbXULb0PcyMK8RwwAeM8BVukEPoU1ZLkTnNZ4hCko6HrJ/UzSylW5oXhksnlpR1SFXFWG6HgHXyHq52F6FXifiQxbizKcPPBh1CG+YnPDJ46CrGfrSH1Y3aLJirBMlqtc1aayf5Ohe0ynH9HOJuTnhWX5UcUkl9VFPECfDG8TJNc5WG1rF3pzQmunrQn1K1q6T4WBbPbPwm0bXYhpey0p7jjyygr6FN6GQ1FdEEcnrGeJTCwGqpRpKVp74b+YkbB0zhomYffPKX/RHOQ2OwWK55zAsG87QOdKMEqyFxehUm/urYGCxjwzbIOsIUbvYqa1zo6NyfrYpPmWmN4OmVLr6wvurlWSwv40gJtxy4nCcb16G/XkRh4BTHF2v56E/jNYWo2V2xoj0nit+VfcFfGUpVa197uNT39Fpv95Gnaozfnk1du9erddr9Wa3l+NOa04Ya40+7rtubud7MmaUCxGHObOVrIq9/emB1jln92gBMwnAR0sd81pTnHM0fsWWCB4Bu3/shIlWo5Cg3Sqav4CWbz0UEJ38jHdjcnMkiXdIOxTvxFfhE6srbxb9t7OjgZu4qzTnPDCfSI5wtGjNAaKvuqRdTFJyWoixnJFaiK142D+3PPt+wHjHPxbLa990yWyYiEVrtZierJvpqfvDdXdMHm0u3GXR0FHZccnY2m7Wm61q1VqvXrjnTplVrdly/2+n0Z+22q4BAReLDsmbIeikQpN3umFQgs5wnHRkqAS2Vcu0O1bR9JZuSHFZda96yqnA+9ndaSU8i0P/OmIkGNIWObfOOa9+Vn5gNZ8ZLS0dG8+iehfEAJ/2VOBlELnAcpj7Ea1+zYT5SAUc60tpZg/iZKBXJhRM4E2Y1D3DJSbJzYKhYjxZW42iOaozPBVueM/MIqYASgvArRZELgmbMMfukboxXxpP0WfMyh8RLSEYW0epqzxQ2HUZAAgTKgMQoCEaTeHSCOfuYglEyC21l5EDe46DCpZDZsxV/dIFDhSH5nMu7085IWVjDl1a/3tWKGFeFejeLR2Y8HBUKSJfKQSyHcZ3kNj4fvLBiVQknwDh2CMqmixhX26JkjZ2ojTax8+gJCszcv89uL9A2REM3TYOTahs+f3oIoPZwfHIY3sq3EJAWvpOQ7vPWr9/XDRcs1bKb0PwdBCpDZfwI4sqKIWf2jGxkRTVkrIr4E2KyAowjcu8IYzmWnZJnSd3Z07rxmcKjnrg6p+45zwGAmsgVQrY0tm0MgPo80hlo+MhK7YpUsK7dhcdLR4VdwU8+J14QW0NdeXIEAe92D91eyMM5F1jJekiSVJHstaM2fj+BtPHjZFnCx4lIFtW5CZ0LgY38JFA2Dbv4I4AVJCZmkGakpOW00sI66JvoK6H3IyPW1DRtBmCBs2BTcayo4IPx6W48osMoTRpUUz1YISBQlTBTocWy2nZn1u3X+i2nWWt1enbN6Xf6NXPW9Mxm35t2m/ZrxZAeHLaZZ4ZNUDNFrPzHkyobP1Yk/YGYuBEXFeDtj5MqVjbbfr/b7HZr005zWmv5HQfaYNOv9d3ZFDFFU98xp1VhlltEYf7By4TuV5OmRSe/v0x9dKBEvZNAnT+utq1H01aKrtVhpM1e2+xDitG2ZUs46AalSS9fvMFU80LZU1iDdhI6i4JdWhL6zYEOY5lrlX6u12FTCKnerlhnOn2lZ3t16Ge3LOSyBPmb4Z5lp8u2lRIn8zvqxF4QPTqJS+qNrEudm4qarsyfFLORaXkQwukx9Yxf6xuSlsUSKRB2EsDcExsT6FrhvZ6+LMeizOWLUS6Hmb9U0pZts29aZYnM27KZBU7lV1lR06RpWu+w1hrfT5n3nQNYWSZlST5lLlUesb7zfGJlLmU++E4WaS23MoUTv16CASq7aSJbX37g8vT63Ks8XmfVscuMAvJss9/YnWfEHekUxBp3fGK5ForriCWQyNeahU8MAB0boE7yd73JrtM7tVKW/NsN4tMtA6e89C4vbYBs4pmwc3P2kVdwkY0KQykyz+hqODwfX1bLPQcQpHZVTGNOudHBnwI9f9tYA+RIVA0tSit6SH3JDVDW7jdAFX52zPSutJdtv0yKlTP0xTVSlNFeBiNuxKaUdOn6Z/fY8XwfB5JdCP2VVVblCR/80qRTZpTW7zbCM/oCjrYo9Gj0bz5mEKbgpPvoZETlmIN8Roye4aaTQV1UAU74RUK8kGOUBFR1ht/a57HijULN5q3IehBKKzN9wysLCHvTPVwiiOWFZUQMn/CGdCsSk75kZBpWmc0j9mGGI3FfXNbHb4uidetXOi2dIGYJUvwapXmaH80Kl0PogaBCuTBMWhYTCP2n3EDsEEPKfmT3qkRzSlgT43AEheVdfoEJ5VCT0YJZ5RRpdgwgqSENU3OWyzmOgry58FmaP6JFsMoTG6KjrG+O7qbZmk7JUD3tt3q11qzl1qbt6azm9BBL1vV6ntdSlCr2efU1WFmbRp6YqAQ2pUb70FhVGaNkJFhMi2SXGu5Peq+YX54HfvK6cqvMq5/OJ10SJY0yXM6/uJau+8Q4nPpeHaB0VhNJBWpl9FEF6kYSaZl2y7LMVrO1sYCHhdgekz/J08o91LIXukF0qeDv4uEo6mPKkVB2ePOpeB2D2sHR48bZ5fDq7hKR4pWZT6U5T2n1icND3NjoWTfJj6sHQJdJvm6oNuuxLFi7Y7fMWu/1EqDgm4mEZJCCKhdsku1geTxYBuMdw8FKEIYCwYZno7ubYrUIHUEQnEbkV9Qa4dV2IteA4R7u7/TGRXaPbiLcR+DAMXSUR8p5zFXNe3t59c64G41T5BAXNs9m1FdZxbxpDGYOYQo27dhjhfNYjufW8nmX0VcSsEns8L6OwNZdP2H3O2MquUlVQ4Y4Oc22EkIlQXDZ+aAlXY5Z4WtE7+AA6LF89VxoVMXJ2g+PKxOp09BNEdUned5uJS+6bau/Y0jVTsQ3BbESjioDrcTMXisWsmyL0dE+21pMj+Exm3ODKNqSS80CjodStG25Yjmi1GntSJTK8irPjbPf7sbXF2eXtzqUeSkUxvBYIAwB+Ni4Fl5xsjTDR/yQkbA07DHhqeYBP3FMwvX4mftFT+fZ1rnoATSh8L0aabeEQnEfO8sHGbnl2ken1fMsmRfLYeZ9nJYbUTWPVhbgqRUTvhruUUVBP3pZNmj26It9eEaoUnFg/0+3JpOmhn2vPe1YrakHVgvSC6eoV+t17V7Nt2aeaXmu27WdijCvLo1MhQR2EhWz7L+83MaBpS1X2bhyWy7wQ3EyqR/sFn6yOXFVaVee8D86Swvg7JXuv6+PUzfTsxt0QefAmX9h6meqcf6S1sgrhi6nG55fZNUE8L8uM1QrCZuySgHnvKpErdIxkyHEjl51LR1UwwnB6HUXRcUEThI3WpbWO9hwt126QqX/8n4qqyaU1kxg11dy6L+SCmCMLy7uLsf/d1Ptg5z8HzDnCS+OuV8xsLH25Q8sd2C/drmDCmkfDeE57/wIaV+Dck7g1/asXO5RP5ecrRgQXFVz68CKQ6FUDstQZFPZhGKdhP2YZA631MIJLyz71ba3h4Hs3WMZm/Qts9s3ZzWr1e/UWl27X+vN/E5tZk173WnHtvqz7o8onBBHaxFF9jtUTdD2SCmhoAjpr1Ecqr1dPjmkz33qKIiattwqj2PBgskDFxKGSzXARXQmtMX0yFDBsQU0A0o/fIJhF6fMI+sevq8pjGzuO490LmWHs/k6rQj8VwSaMpt+GpRXp7LzBou1C0BSKIzjGwjtguJXER7Cr0InLv8MY3aGAH8o1HuqqAxRME5eibz6zPhIJCdvddTc4V8YSISGVulwLzHwWVaPh9hpJFRAeN8qEi+vHCH440C7PoDvvkaMme2jCN95tOK2dlr6plpe/yAFKowv41sojpPxp6JYkRMoQKnpMknwlASOkszWspdBcc9KCzvkuyp8vte1OrXmq7F5BTR5hVt5Vc7Yb2Rhwi8MahOC2uGWDb4dk6vhGKPKYktbhcBKG98CQQv7Gfm2yo3ECyZ0pcnckNJRKjjmmPu+GcrdPZIE7X63Y7+oiGvO46stKSff6fuxJX/QmLL6eeScg1HFWz2QH8f8p6Nd8wpzwFX8FiXZhllkfUUqovie1f44JK+wYpre6XAds8DCySJiiUtp9qJX3s6HA/MZOPhcbPIvayCjbb+njLv2xhRA7TtmOvoQxKuHif+dRJajU/YX8PF7cZALZ+4fOvSOSX3ZISkHDg6kNp5euH6jArB/UKyU8QpTuPAdujl4tp4bdxA4XlzKrNt77VJm6FGTyFWPqN1stTvd3oaLN1Q9n19vTVRj8nlwfk7e+a5Nl1DZTEjbCTa6aKDZw3hXr0aDbqMphCVoc2JaIn3xEnRnk6pREhuaJsnrWgcsawg9UwvtugJRc0OS756jHJXbVFav91ddZFeOXyjxq9fuzQ0rZoMjUjo4O1kQmKJ5fuf0fbPFbou6VyR8M34Hvmb8P6tet/6/mNfb4dXlx2PL7Peg5kF4ffdeRJmk2JJQrF4ak81iSSf+qup8lyAjfPJmvV9v9ozJLewDQ5ZVjMMBtpYfvlvAtQ1FXVv9XofbYvW4yzy1ZSD2450sdOk9MkUPeKHCpyxQvogoqVbwrNRirxUXhlDAaRsduaPB3I0eIpgxDQ+Rmd+4yIKJHunUUNR+MVKKLvrQyeULyOOeZfsotUenciBxHd3uoJKGTqfXf8VoBwLAQMROGoMVB8seFnSNTR5gSG/sTQHU5KiL7VkqgIOO53qJNDDvXdFze02hUnEavsy789vqarM/xqe+d4zGjZ+s56sfVnio+dpxGdRhifjeNPvt1iuyTrF7ObldPC0R2M8dSOnsIj7jFtt3DLU35AX0iecobxnJTxoC7NSO3optYHu8Z0kfSTLTlyBzwAqc1RFDFJwsWIz4zU5yT1mJRnlPUj4ko9jhRxbGnWoQL+xMXIlFuq0op7Cpv7fixiaXLFn83sP22+m7txZ4K/3Xfvdu+5jSO3+WeudftoZr55kCmvbphN/1A5LrJwmPZVZZM2uC/1YRi20/+DTr+mX9/M8gSwqgJGUqsPNbxQLHriJ5C3nArpvv1DjdYkfvheeDrjsxFOIThZi8Nsh+lClVMnYOJOd7vzmevG31ENFrpo31iycnk7PJhMI28pRKeVNuZnIyuCgFjl9qaLo+H1xSLe/bm7PBLY1u/P2Zn25roknCN0wd38a+s9JQTLolDzc5ma9chd0s9Ur2ut1Orf16emIKCHKb5zAp20ra3EpbFVBKwnUluxOi1O4oxYszfoqcOSnPqYtBHmemM7Fov6839le6Uu8rjcmi+Ng7UAHTGH+CQuh+c+79Oh0Y+rlVPZjemgU9sGoeMsZt7ImApXTzMAF23niFDU5nGIUgvi4nxHRBqoVL7Jbl+ThQ9iR1I/cPVzKoAAeFrOssIf9zKNHO98Ph9wM63+HQakxtb6rPZ54S/APvBis9Mx3L4kWWNcxnA77axV3a9MvJ7j2aHEpwuQghL5SUZadKr6HWWCPxOYUj5juQ4Ab66q/YvVr8FCRRySlQtoWQIA3vptyVX9D28uxPBdlsvaQaPCninN1+fOUYX3YP2le+kK9yjRVxvi8TlHJw/OFSV+4epxI9VCukyS+4IiEVui3f4BmhQ1qvrLwQI/VThSGMPb79YjFzHsdGlmGGjc5IKWgikeH3iF1k7eSO8+eWbpPat+5jbw+PDhV6Ncmpp0fg5NYmM5t2rCKwIyXIjVIIqh2H7nzN7vwdjwwKsSGfsCzjQHl+83n0pCQ5MfrB/BO8Z9HxV+sou/svvzJsmNlt2HZDuCKqQ4OGVxfXWmiQGo1DwThKyHoaz/DAh0vRSRSiY7nP4Kww5mSMYHv5l20BQCpBAwJqiXh4mgWr6wbPPeNemzsEA2UXh/nO1PTbds3zul6tZffatX7fn9a6tte0PW9q9duqnasMMw/GNkkFNqD2Hsa8PE5V2fNSGpPjE+wmafUeQWyLLJk49V2HVfxNyRBjIfxiwL0uACy4IHgJxEAp7ZaWQ8xNEJ2zQihTn0adRfJ0pXE3XMeIGH4jOMNHPHjixGT0ABGFqsE6F7l4VDAurSQnyiuSWwAdijPBbpFODvVyUBMsgzsObuGrMf7r3/9DgPO//v0/RYFHvhRW5hEWpuyo7Z89th8zRLPPV5NrFsUwGk+Gnwc3n86M8eXk9uaO30+6Y0f7XD5SUjx8HPLiZVqkKd0TLm4llSqDvHK9lEIo9IH9bewUWqJzG/GhiCPptJu13pHybIdqMcamQ27k2Ndm2OfZ0ObWxVyPOwFVii3iTGkW+PMcH5KoRloN/9VgGs4ts7WzYAVY+DOCiWWdDpZLnHimFcLoOXEfEOMMIQWI7GRvuAo2gh8V7ia8mVHSNqQN3/9WNz6yUwtxgre6Wq9kccb0ppiTBhtLG3gMB47Dc4Bn5MR6zy6pMW6f534Ivx8TZCjbmwkoy7wGq3d50qBlytO1q5VWNyLe+E4i8PKGCHGcu/Q6E/QvqBJEaiTVZTBZdQkeRRK+hMz1ztgsPXVouaq18svoFt8uq62WO57lCkJRuoKXdVlVbX67bkn1Fo4ZvYaBgFXE5HnmMd2LqcgJgGWAd0rVQ0Y/xADvxaf1et1+b7XS+zPRjAF4s5Eyp4ntRJh2kos7W4PdeJJaGUaV5fdZptU3X/VKoksW9gaX9V0hJE57WRHtvl1j3qAyb3E+7GS/fxnafry7ZCQ3XebrnIL8MdjxKBShoFKXQ02f24Kytwx9+LBlCZHdlm2+ooW0MO0coy3s78FoXI3FY8rwBl/U0nJejppjSiz/giO4h+y2ES1/VFgvVaNo7hPU27GbvS4l7+i5YaEKRgRQ013kyOw7HFNyuTta/xuNgRB70qb74wYrWyZktQ8smlB9f9LIV1Y6/W+ldefFp7kAAA==", + "hash": "YWJlYmRmODZhYTZkMTQzNjdiMzJmZDRhN2ZlZjU2ZGI5YmRlZTZmMA==" } } ] }, "request": { "method": "PUT", - "url": "DocumentReference/b3cae139-f3fd-b36c-ec52-4c4cb3b856e6" + "url": "DocumentReference/41da0a55-add4-3beb-8c06-424210572c44" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/Progress_Note-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/Progress_Note-expected.json index 27356a21b..9b3f53d20 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/Progress_Note-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/Progress_Note-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2005-03-30T06:15:04+08:00", + "date": "2005-03-29T17:15:04-05:00", "title": "Progress Note", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2005-03-30T11:44:11+08:00", + "time": "2005-03-29T22:44:11-05:00", "party": { "reference": "Practitioner/9a8ec740-4376-d542-141b-0984f6622a4e" } @@ -616,7 +616,7 @@ } ] }, - "date": "2021-07-02T05:38:47.943Z", + "date": "2022-03-25T08:35:29.318Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/Referral_Note-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/Referral_Note-expected.json index f4d90ec44..5cbd72530 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/Referral_Note-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/Referral_Note-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2013-09-21T21:00:00+08:00", + "date": "2013-09-21T05:00:00-08:00", "title": "Referral Note", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2013-09-16T14:36:15+08:00", + "time": "2013-09-15T22:36:15-08:00", "party": { "reference": "Practitioner/b0ac12ce-9e58-22b8-f79a-aba2409dac02" } @@ -808,7 +808,7 @@ ] } ], - "onset": "2008-02-27T00:05:00+08:00" + "onset": "2008-02-26T08:05:00-08:00" } ], "onsetDateTime": "1998-05-01", @@ -1327,8 +1327,8 @@ ] }, "effectivePeriod": { - "start": "2013-03-12T00:30:00+08:00", - "end": "2013-03-12T00:30:00+08:00" + "start": "2013-03-11T08:30:00-08:00", + "end": "2013-03-11T08:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1392,7 +1392,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 13.2, "unit": "g/dL" @@ -1504,7 +1504,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 6.7, "unit": "10*9/L" @@ -1581,7 +1581,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 123, "unit": "10*9/L" @@ -1658,7 +1658,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 35.3, "unit": "%" @@ -1735,7 +1735,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 4.21, "unit": "10*12/L" @@ -1797,8 +1797,8 @@ ] }, "effectivePeriod": { - "start": "2008-03-21T01:30:00+08:00", - "end": "2008-03-21T01:30:00+08:00" + "start": "2008-03-20T09:30:00-08:00", + "end": "2008-03-20T09:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1849,7 +1849,7 @@ } ] }, - "effectiveDateTime": "2008-03-21T01:30:00+08:00", + "effectiveDateTime": "2008-03-20T09:30:00-08:00", "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" } @@ -3068,7 +3068,7 @@ } ] }, - "date": "2021-07-02T05:38:49.934Z", + "date": "2022-03-25T08:35:31.818Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/sample-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/sample-expected.json index 21badee3f..70b1bf7e3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/sample-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ReferralNote/sample-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2005-03-29T20:15:04+08:00", + "date": "2005-03-29T17:15:04+05:00", "title": "Discharge Summary (UD)", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2005-03-30T01:44:11+08:00", + "time": "2005-03-29T22:44:11+05:00", "party": { "reference": "Practitioner/9a8ec740-4376-d542-141b-0984f6622a4e" } @@ -351,7 +351,7 @@ } ] }, - "date": "2021-07-02T05:38:49.975Z", + "date": "2022-03-25T08:35:30.928Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Transfer_Summary-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Transfer_Summary-expected.json index fc16e7c86..e52830839 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Transfer_Summary-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Transfer_Summary-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2013-09-21T21:00:00+08:00", + "date": "2013-09-21T05:00:00-08:00", "title": "Transfer Summary", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2013-09-16T14:36:15+08:00", + "time": "2013-09-15T22:36:15-08:00", "party": { "reference": "Practitioner/b0ac12ce-9e58-22b8-f79a-aba2409dac02" } @@ -936,7 +936,7 @@ ] } ], - "onset": "2008-02-27T00:05:00+08:00" + "onset": "2008-02-26T08:05:00-08:00" } ], "onsetDateTime": "1998-05-01", @@ -1175,8 +1175,8 @@ ] }, "effectivePeriod": { - "start": "2013-03-12T00:30:00+08:00", - "end": "2013-03-12T00:30:00+08:00" + "start": "2013-03-11T08:30:00-08:00", + "end": "2013-03-11T08:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1240,7 +1240,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 13.2, "unit": "g/dL" @@ -1352,7 +1352,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 6.7, "unit": "10*9/L" @@ -1429,7 +1429,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 123, "unit": "10*9/L" @@ -1506,7 +1506,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 35.3, "unit": "%" @@ -1584,7 +1584,7 @@ } ] }, - "effectiveDateTime": "2013-03-12T00:30:00+08:00", + "effectiveDateTime": "2013-03-11T08:30:00-08:00", "valueQuantity": { "value": 4.21, "unit": "10*12/L" @@ -1646,8 +1646,8 @@ ] }, "effectivePeriod": { - "start": "2008-03-21T01:30:00+08:00", - "end": "2008-03-21T01:30:00+08:00" + "start": "2008-03-20T09:30:00-08:00", + "end": "2008-03-20T09:30:00-08:00" }, "subject": { "reference": "Patient/aca97b95-3c1c-ce73-ac65-f520242997a9" @@ -1698,7 +1698,7 @@ } ] }, - "effectiveDateTime": "2008-03-21T01:30:00+08:00", + "effectiveDateTime": "2008-03-20T09:30:00-08:00", "interpretation": [ { "coding": [ @@ -3830,7 +3830,7 @@ } ] }, - "date": "2021-07-02T05:38:51.884Z", + "date": "2022-03-25T08:35:30.036Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Unstructured_Document_reference-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Unstructured_Document_reference-expected.json index 991b79e37..0ca48a945 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Unstructured_Document_reference-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/TransferSummary/Unstructured_Document_reference-expected.json @@ -21,13 +21,13 @@ } ] }, - "date": "2012-09-17T07:18:00+08:00", + "date": "2012-09-16T19:18:00-04:00", "title": "Community Health and Hospitals: Discharge Summary (UD)", "confidentiality": "N", "attester": [ { "mode": "legal", - "time": "2009-02-28T02:00:00+08:00", + "time": "2009-02-27T13:00:00-05:00", "party": { "reference": "Practitioner/151bd63c-93e9-9838-dd94-f74d3b63be52" } @@ -363,7 +363,7 @@ } ] }, - "date": "2021-07-02T05:38:51.985Z", + "date": "2022-03-25T08:35:30.452Z", "status": "current", "content": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json index af6be3b30..af8800c39 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json @@ -1,5308 +1,5308 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A01^ADT_A01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A01^ADT_A01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:16.985Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A01^ADT_A01" + } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:14:05.489Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A01^ADT_A01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + }, + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + }, + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - }, + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "021212", - "system": "other", - "use": "work" + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "name": { - "family": "EHS GENERIC EMPLOYER" - }, - "address": { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - }, - "telecom": [ - { - "value": "082719000", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "E", - "display": "Employer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2009-10-10", - "end": "2010-10-10" - }, - "organization": { - "reference": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" - } - }, - { - "name": { - "family": "Rebecca", - "given": [ - "Jonas" - ] - }, - "relationship": [ - { - "coding": [ - { - "code": "N", - "display": "Next of Kin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - }, - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ] - }, - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "contact": [ + { + "name": { + "family": "EHS GENERIC EMPLOYER" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:bd86cad3-e39e-b49e-52c2-7a5267973ddd", - "resource": { - "resourceType": "Organization", - "id": "bd86cad3-e39e-b49e-52c2-7a5267973ddd", - "name": "GEOrg" + "address": { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" }, - "request": { - "method": "PUT", - "url": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "082719000", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2009-10-10", + "end": "2010-10-10" }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "organization": { + "reference": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + }, + { + "name": { + "family": "Rebecca", + "given": [ + "Jonas" + ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } + "relationship": [ + { + "coding": [ + { + "code": "N", + "display": "Next of Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ] + }, + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:bd86cad3-e39e-b49e-52c2-7a5267973ddd", + "resource": { + "resourceType": "Organization", + "id": "bd86cad3-e39e-b49e-52c2-7a5267973ddd", + "name": "GEOrg" + }, + "request": { + "method": "PUT", + "url": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A01^ADT_A01" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A01^ADT_A01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" } + ] }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" } + ] }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json index 4242d32b2..869102ce2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A01^ADT_A01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A01^ADT_A01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:28.517Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:09:40.955Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A01^ADT_A01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A01^ADT_A01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A01^ADT_A01" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A01^ADT_A01" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json index 024fef6af..efff81bc1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2005-01-10T04:55:04", + "timestamp": "2005-01-10T04:55:04+07:00", "identifier": { "value": "599102" }, @@ -52,10 +52,10 @@ "id": "4e45fbdc-bab9-f433-dde6-a8adf26acf93", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:10:16.271Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-03-25T13:15:41.496Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, - "occurredDateTime": "2005-01-10T04:55:04", - "recorded": "2005-01-10T04:55:04", + "occurredDateTime": "2005-01-10T04:55:04+07:00", + "recorded": "2005-01-10T04:55:04+07:00", "agent": [ { "type": { @@ -538,7 +538,7 @@ } ], "period": { - "start": "2005-01-10T04:52:53" + "start": "2005-01-10T04:55:02+07:00" }, "text": { "status": "generated", @@ -575,11 +575,11 @@ } }, { - "fullUrl": "urn:uuid:397b71e6-32b5-33bc-db1a-b1bf6d3d5783", + "fullUrl": "urn:uuid:a7dcdb0c-2be6-8729-ddc6-79a8fdb62bc7", "resource": { "resourceType": "Provenance", - "id": "397b71e6-32b5-33bc-db1a-b1bf6d3d5783", - "recorded": "2005-01-10T04:55:02", + "id": "a7dcdb0c-2be6-8729-ddc6-79a8fdb62bc7", + "recorded": "2005-01-10T04:55:02+07:00", "activity": { "text": "ADT^A01" }, @@ -591,7 +591,7 @@ }, "request": { "method": "PUT", - "url": "Provenance/397b71e6-32b5-33bc-db1a-b1bf6d3d5783" + "url": "Provenance/a7dcdb0c-2be6-8729-ddc6-79a8fdb62bc7" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json index 594df03a6..09d016f0c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1988-08-18T11:26:00", + "timestamp": "1988-08-18T11:26:00+07:00", "identifier": { "value": "MSG00001" }, @@ -74,10 +74,10 @@ "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:10:56.702Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + "div": "

Resource bundle generated on 2022-03-25T13:13:45.827Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" }, - "occurredDateTime": "1988-08-18T11:26:00", - "recorded": "1988-08-18T11:26:00", + "occurredDateTime": "1988-08-18T11:26:00+07:00", + "recorded": "1988-08-18T11:26:00+07:00", "agent": [ { "type": { @@ -476,11 +476,11 @@ } }, { - "fullUrl": "urn:uuid:c6a03972-34d3-7649-0b8f-004e4d442eca", + "fullUrl": "urn:uuid:251e94d0-6200-7d38-1523-3503eea94c53", "resource": { "resourceType": "Provenance", - "id": "c6a03972-34d3-7649-0b8f-004e4d442eca", - "recorded": "2007-08-18T11:23:00", + "id": "251e94d0-6200-7d38-1523-3503eea94c53", + "recorded": "2007-08-18T11:23:00+07:00", "activity": { "text": "ADT^A01^ADT_A01" }, @@ -492,7 +492,7 @@ }, "request": { "method": "PUT", - "url": "Provenance/c6a03972-34d3-7649-0b8f-004e4d442eca" + "url": "Provenance/251e94d0-6200-7d38-1523-3503eea94c53" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json index 859e8708a..1974b0133 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json @@ -1,3393 +1,3393 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A02^ADT_A02" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:19:18.868Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A02^ADT_A02" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A02^ADT_A02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:34.094Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A02^ADT_A02" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A02^ADT_A02" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "Bhutan" } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A02^ADT_A02" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" - } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json index 3c7ab80b3..5c4576b39 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A02^ADT_A02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A02^ADT_A02" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:01.728Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:19:56.019Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A02^ADT_A02" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A02^ADT_A02" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A02^ADT_A02" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A02^ADT_A02" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json index 60a04a3de..779bd1009 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json @@ -1,5271 +1,5271 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A03^ADT_A03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A03", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A03^ADT_A03" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:47.878Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A03^ADT_A03" + } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:21:51.416Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A03^ADT_A03" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", - "resource": { - "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "address": [ + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "021212", - "system": "other", - "use": "work" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "Bhutan" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "resource": { + "resourceType": "Account", + "id": "78295402-9b84-4829-b945-502ab3402de5", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + ] } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + ] } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + ] } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + ] } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + ] } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A03^ADT_A03" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + ] } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A03^ADT_A03" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" } + ] }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" } + ] }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json index a6448e3ab..5fb50dede 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json @@ -1,2026 +1,2026 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A03^ADT_A03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A03", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A03^ADT_A03" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:55.226Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:22:26.485Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A03^ADT_A03" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A03^ADT_A03" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", - "resource": { - "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "resource": { + "resourceType": "Account", + "id": "78295402-9b84-4829-b945-502ab3402de5", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A03^ADT_A03" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A03^ADT_A03" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json index b877e0cd1..8f8d8e4bd 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json @@ -1,5271 +1,5271 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A04^ADT_A04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A04^ADT_A04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:53.7Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A04^ADT_A04" + } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:23:43.787Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A04^ADT_A04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "address": [ + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "021212", - "system": "other", - "use": "work" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "Bhutan" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + ] } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + ] } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + ] } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + ] } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + ] } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A04^ADT_A04" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + ] } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A04^ADT_A04" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" } + ] }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" } + ] }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json index e599140aa..296796e79 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json @@ -1,2299 +1,2299 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A04^ADT_A04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A04^ADT_A04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:52.829Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:24:16.691Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A04^ADT_A04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A04^ADT_A04" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A04^ADT_A04" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A04^ADT_A04" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json index 6da7e2bbc..fd75b7a46 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2001-01-01T00:00:00", + "timestamp": "2001-01-01T00:00:00+07:00", "identifier": { "value": "Q123456789T123456789X123456" }, @@ -68,10 +68,10 @@ "id": "b8bf5f81-bc6a-5fda-5fb2-fd273ac267a8", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:25:00.097Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-03-25T13:10:26.547Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, - "occurredDateTime": "2001-01-01T00:00:00", - "recorded": "2001-01-01T00:00:00", + "occurredDateTime": "2001-01-01T00:00:00+07:00", + "recorded": "2001-01-01T00:00:00+07:00", "agent": [ { "type": { @@ -171,7 +171,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1985-01-01T00:00:00" + "valueDateTime": "1985-01-01T00:00:00+07:00" } ] }, @@ -427,10 +427,10 @@ } }, { - "fullUrl": "urn:uuid:1ffe7bbb-44ca-d195-1456-40d94950090b", + "fullUrl": "urn:uuid:3af9566b-b135-fe5b-ebf0-3120f8ca2c9e", "resource": { "resourceType": "Encounter", - "id": "1ffe7bbb-44ca-d195-1456-40d94950090b", + "id": "3af9566b-b135-fe5b-ebf0-3120f8ca2c9e", "class": { "code": "AMB", "display": "ambulatory", @@ -517,7 +517,7 @@ } ], "period": { - "start": "2001-01-01T00:00:00" + "start": "2001-01-01T00:00:00+07:00" }, "text": { "status": "generated", @@ -534,15 +534,15 @@ }, "request": { "method": "PUT", - "url": "Encounter/1ffe7bbb-44ca-d195-1456-40d94950090b" + "url": "Encounter/3af9566b-b135-fe5b-ebf0-3120f8ca2c9e" } }, { - "fullUrl": "urn:uuid:8d07e317-166f-8efc-0671-cb07cf7aeb96", + "fullUrl": "urn:uuid:b845c420-ff05-32b9-3639-cec21b18aaf1", "resource": { "resourceType": "Provenance", - "id": "8d07e317-166f-8efc-0671-cb07cf7aeb96", - "recorded": "2001-01-01T00:00:00", + "id": "b845c420-ff05-32b9-3639-cec21b18aaf1", + "recorded": "2001-01-01T00:00:00+07:00", "agent": [ { "who": { @@ -561,7 +561,7 @@ }, "request": { "method": "PUT", - "url": "Provenance/8d07e317-166f-8efc-0671-cb07cf7aeb96" + "url": "Provenance/b845c420-ff05-32b9-3639-cec21b18aaf1" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json index 6a5e25c82..4e8ef7fe6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-05-04T18:12:05", + "timestamp": "2019-05-04T18:12:05+07:00", "identifier": { "value": "1270326314" }, @@ -52,10 +52,10 @@ "id": "73105c01-0c83-840e-6dbb-9ef4928175f8", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:26:09.792Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-03-25T13:08:28.268Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, - "occurredDateTime": "2019-05-04T18:12:05", - "recorded": "2019-05-04T18:12:05", + "occurredDateTime": "2019-05-04T18:12:05+07:00", + "recorded": "2019-05-04T18:12:05+07:00", "agent": [ { "type": { @@ -237,10 +237,10 @@ } }, { - "fullUrl": "urn:uuid:bd2f287c-f7df-4b1b-7fbf-987cdf51ee4e", + "fullUrl": "urn:uuid:02867f99-5e52-bb72-cc91-86995a7c41e0", "resource": { "resourceType": "Encounter", - "id": "bd2f287c-f7df-4b1b-7fbf-987cdf51ee4e", + "id": "02867f99-5e52-bb72-cc91-86995a7c41e0", "class": { "code": "EMER", "display": "emergency", @@ -266,7 +266,7 @@ } ], "period": { - "start": "2019-05-02T07:00:00" + "start": "2019-05-04T18:12:05+07:00" }, "text": { "status": "generated", @@ -283,7 +283,7 @@ }, "request": { "method": "PUT", - "url": "Encounter/bd2f287c-f7df-4b1b-7fbf-987cdf51ee4e" + "url": "Encounter/02867f99-5e52-bb72-cc91-86995a7c41e0" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json index 83a49dd3a..016ddb559 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-05-04T18:12:05", + "timestamp": "2019-05-04T18:12:05+07:00", "identifier": { "value": "1270326314" }, @@ -52,10 +52,10 @@ "id": "312fba25-b9c6-151e-8c0c-45a36f66ed03", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:25:34.936Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + "div": "

Resource bundle generated on 2022-03-25T13:05:45.368Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" }, - "occurredDateTime": "2019-05-04T18:12:05", - "recorded": "2019-05-04T18:12:05", + "occurredDateTime": "2019-05-04T18:12:05+07:00", + "recorded": "2019-05-04T18:12:05+07:00", "agent": [ { "type": { @@ -434,10 +434,10 @@ } }, { - "fullUrl": "urn:uuid:99425718-6c7d-d427-2df3-db51299fdb0b", + "fullUrl": "urn:uuid:e0b0703e-430a-eb3e-2d5e-d8c44fce7a63", "resource": { "resourceType": "Encounter", - "id": "99425718-6c7d-d427-2df3-db51299fdb0b", + "id": "e0b0703e-430a-eb3e-2d5e-d8c44fce7a63", "class": { "code": "IMP", "display": "inpatient encounter", @@ -501,7 +501,7 @@ } ], "period": { - "start": "2018-10-17T22:28:05" + "start": "2018-10-17T22:28:05+07:00" }, "text": { "status": "generated", @@ -518,15 +518,15 @@ }, "request": { "method": "PUT", - "url": "Encounter/99425718-6c7d-d427-2df3-db51299fdb0b" + "url": "Encounter/e0b0703e-430a-eb3e-2d5e-d8c44fce7a63" } }, { - "fullUrl": "urn:uuid:ef22db25-97a7-24b4-938f-da30c377b020", + "fullUrl": "urn:uuid:fc0198ec-0818-11a6-316a-de954df347ab", "resource": { "resourceType": "Provenance", - "id": "ef22db25-97a7-24b4-938f-da30c377b020", - "recorded": "2018-10-17T02:55:43", + "id": "fc0198ec-0818-11a6-316a-de954df347ab", + "recorded": "2018-10-17T02:55:43+07:00", "activity": { "text": "ADT^A04" }, @@ -538,7 +538,7 @@ }, "request": { "method": "PUT", - "url": "Provenance/ef22db25-97a7-24b4-938f-da30c377b020" + "url": "Provenance/fc0198ec-0818-11a6-316a-de954df347ab" } }, { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json index f084e2df1..c43d219a1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json @@ -1,4926 +1,4926 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A05^ADT_A05" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A05^ADT_A05" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:43.793Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A05^ADT_A05" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:26:59.871Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A05^ADT_A05" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A05^ADT_A05" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A05^ADT_A05" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json index db3d33c4d..55af99109 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json @@ -1,2299 +1,2299 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A05^ADT_A05" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A05^ADT_A05" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:33.417Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:27:34.948Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A05^ADT_A05" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A05^ADT_A05" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A05^ADT_A05" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A05^ADT_A05" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json index 9e5b11392..32f7f7248 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json @@ -1,2803 +1,2803 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00006" - }, - "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", - "entry": [ - { - "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "resource": { - "resourceType": "MessageHeader", - "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A06^ADT_A06" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00006" + }, + "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", + "entry": [ + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:31:40.893Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A06^ADT_A06" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:08.49Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T19:15:10+05:30", - "recorded": "2021-01-15T19:15:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A06^ADT_A06" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" } + ] }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:10+05:30", - "end": "2020-01-15T19:15:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email", - "use": "home" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T16:00:10+02:15", + "recorded": "2021-01-15T16:00:10+02:15", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" }, - { - "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+02:15", + "end": "2020-01-15T16:00:10+02:15" } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" - } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - } - }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", - "resource": { - "resourceType": "Location", - "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", - "partOf": { - "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "resource": { - "resourceType": "Location", - "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "partOf": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + ] } - }, - { - "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", - "resource": { - "resourceType": "Location", - "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" }, - "request": { - "method": "PUT", - "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", - "resource": { - "resourceType": "Location", - "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", - "partOf": { - "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", - "resource": { - "resourceType": "Location", - "id": "a636e63f-9983-a4ea-7e00-c414197696be", - "partOf": { - "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - }, - "name": "FLOOR0", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + ] } - }, - { - "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", - "resource": { - "resourceType": "Location", - "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", - "partOf": { - "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - } - }, - { - "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", - "resource": { - "resourceType": "Location", - "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", - "partOf": { - "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" }, - { - "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", - "resource": { - "resourceType": "Location", - "id": "d27662df-7371-3a1d-d50e-942876e50bb8", - "partOf": { - "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" - }, - "name": "BED1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" }, - { - "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", - "resource": { - "resourceType": "Location", - "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" }, - { - "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", - "resource": { - "resourceType": "Location", - "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", - "partOf": { - "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" }, - { - "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", - "resource": { - "resourceType": "Location", - "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", - "partOf": { - "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T19:15:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "meta": { - "security": [ - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" }, - { - "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", - "resource": { - "resourceType": "Practitioner", - "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", - "identifier": [ - { - "value": "2210" - } - ], - "name": [ - { - "family": "SURGEON", - "given": [ - "ROBERT", - "M" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "resource": { + "resourceType": "Location", + "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "partOf": { + "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + }, + { + "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", + "resource": { + "resourceType": "Location", + "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", + "partOf": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + } + }, + { + "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", + "resource": { + "resourceType": "Location", + "id": "d27662df-7371-3a1d-d50e-942876e50bb8", + "partOf": { + "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + }, + "name": "BED1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" + } + }, + { + "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "resource": { + "resourceType": "Location", + "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + } + }, + { + "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "resource": { + "resourceType": "Location", + "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "partOf": { + "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + } + }, + { + "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", + "resource": { + "resourceType": "Location", + "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", + "partOf": { + "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+02:15" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "resource": { - "resourceType": "Procedure", - "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "resource": { - "resourceType": "Procedure", - "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2021-09-07T14:37:33+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33+02:15", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" }, - "request": { - "method": "PUT", - "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ - { - "value": "5426387999", - "system": "phone" - } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - } - ] + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" }, - { - "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "resource": { - "resourceType": "RelatedPerson", - "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] - }, - { - "family": "Smith", - "given": [ - "John", - "L" - ] - } - ], - "gender": "female", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + ], + "text": "Final" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital" - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "800f5a47-6496-6175-9370-2d3b09c28688", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + } + }, + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" }, - { - "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", - "resource": { - "resourceType": "Condition", - "id": "aec42ae9-bf55-717a-0728-35b8eb475264", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", - "resource": { - "resourceType": "Condition", - "id": "e6047303-48ff-a905-b5a9-523635534b68", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "subscriber": { - "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "resource": { - "resourceType": "RelatedPerson", - "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", - "resource": { - "resourceType": "Observation", - "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json index 03a8e5547..ae253e1d3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json @@ -1,1027 +1,1027 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00006" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00006" + }, + "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", + "entry": [ + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" + } }, - "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", - "entry": [ - { - "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "resource": { - "resourceType": "MessageHeader", - "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A06^ADT_A06" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:53.245Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" + }, + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:32:11.778Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A06^ADT_A06" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T16:00:10+02:15", + "recorded": "2021-01-15T16:00:10+02:15", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T19:15:10+05:30", - "recorded": "2021-01-15T19:15:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A06^ADT_A06" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:10+05:30", - "end": "2020-01-15T19:15:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+02:15", + "end": "2020-01-15T16:00:10+02:15" } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" }, - { - "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", - "resource": { - "resourceType": "Location", - "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", - "partOf": { - "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" }, - { - "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "resource": { - "resourceType": "Location", - "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "partOf": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" }, - { - "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", - "resource": { - "resourceType": "Location", - "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" }, - { - "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", - "resource": { - "resourceType": "Location", - "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", - "partOf": { - "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" }, - { - "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", - "resource": { - "resourceType": "Location", - "id": "a636e63f-9983-a4ea-7e00-c414197696be", - "partOf": { - "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - }, - "name": "FLOOR0", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T19:15:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-01-15T16:00:10+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json index 0d269fbd2..e435e9889 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json @@ -1,2616 +1,2616 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00007" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00007" + }, + "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", + "entry": [ + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + } }, - "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", - "entry": [ - { - "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "resource": { - "resourceType": "MessageHeader", - "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A07", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A07^ADT_A07" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:14.608Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" + }, + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:33:32.891Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A07^ADT_A07" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email", - "use": "home" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "gender": "female" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", - "resource": { - "resourceType": "Location", - "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", - "name": "OPD", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", - "resource": { - "resourceType": "Location", - "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", - "partOf": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - }, - "name": "0001", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + ] } - }, - { - "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", - "resource": { - "resourceType": "Location", - "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", - "partOf": { - "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - }, - "name": "01", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" }, - "request": { - "method": "PUT", - "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", - "resource": { - "resourceType": "Location", - "id": "f3a48419-5674-2456-0237-ea79a6293066", - "name": "GOOD HEALTH HOSPITAL", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + ] } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T19:15:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "meta": { - "security": [ - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T19:15:10+05:30", - "recorded": "2021-01-15T19:15:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A07^ADT_A07" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+02:15" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T16:00:10+02:15", + "recorded": "2021-01-15T16:00:10+02:15", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:10+05:30", - "end": "2020-01-15T19:15:10+05:30" - } - } - ] + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+02:15", + "end": "2020-01-15T16:00:10+02:15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33+02:15", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", - "resource": { - "resourceType": "Practitioner", - "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", - "identifier": [ - { - "value": "2210" - } - ], - "name": [ - { - "family": "SURGEON", - "given": [ - "ROBERT", - "M" - ] - } - ] + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "resource": { - "resourceType": "Procedure", - "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" } + ] }, - { - "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "resource": { - "resourceType": "Procedure", - "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2021-09-07T14:37:33+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ - { - "value": "5426387999", - "system": "phone" - } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "resource": { - "resourceType": "RelatedPerson", - "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] - }, - { - "family": "Smith", - "given": [ - "John", - "L" - ] - } - ], - "gender": "female", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - } + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + } + }, + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + ] } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital" - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "800f5a47-6496-6175-9370-2d3b09c28688", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", - "resource": { - "resourceType": "Condition", - "id": "aec42ae9-bf55-717a-0728-35b8eb475264", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - } - }, - { - "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", - "resource": { - "resourceType": "Condition", - "id": "e6047303-48ff-a905-b5a9-523635534b68", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "subscriber": { - "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "resource": { - "resourceType": "RelatedPerson", - "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", - "resource": { - "resourceType": "Observation", - "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json index 99395a602..9d35dcce3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json @@ -1,993 +1,993 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00007" - }, - "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", - "entry": [ - { - "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "resource": { - "resourceType": "MessageHeader", - "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A07", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A07^ADT_A07" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00007" + }, + "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", + "entry": [ + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:34:04.176Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A07^ADT_A07" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:09.254Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", - "resource": { - "resourceType": "Location", - "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", - "name": "OPD", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", - "resource": { - "resourceType": "Location", - "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", - "partOf": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - }, - "name": "0001", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - } - }, - { - "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", - "resource": { - "resourceType": "Location", - "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", - "partOf": { - "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - }, - "name": "01", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" - } - }, - { - "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", - "resource": { - "resourceType": "Location", - "id": "f3a48419-5674-2456-0237-ea79a6293066", - "name": "GOOD HEALTH HOSPITAL", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + ] } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T19:15:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T19:15:10+05:30", - "recorded": "2021-01-15T19:15:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A07^ADT_A07" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:10+05:30", - "end": "2020-01-15T19:15:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T16:00:10+02:15", + "recorded": "2021-01-15T16:00:10+02:15", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+02:15", + "end": "2020-01-15T16:00:10+02:15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json index c819d0f65..6e559ca27 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json @@ -1,5271 +1,5271 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A08", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A08^ADT_A08" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A08", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A08^ADT_A08" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:50.496Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:37:29.437Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A08^ADT_A08" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A08^ADT_A08" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "Bhutan" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + ] } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + ] } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + ] } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + ] } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + ] } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A08^ADT_A08" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + ] } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A08^ADT_A08" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" } + ] }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json index 23346951b..535ff45ab 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A08", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A08^ADT_A08" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A08", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A08^ADT_A08" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:32.31Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:38:18.025Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A08^ADT_A08" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A08^ADT_A08" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A08^ADT_A08" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A08^ADT_A08" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json index c02fe9a6c..2cff82af7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json @@ -1,1533 +1,1533 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00009" - }, - "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", - "entry": [ - { - "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "resource": { - "resourceType": "MessageHeader", - "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A09^ADT_A09" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00009" + }, + "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", + "entry": [ + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:41:53.144Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A09^ADT_A09" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:26.677Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" } + ] }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + ] } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - { - "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", - "resource": { - "resourceType": "Location", - "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", - "name": "RM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" }, - { - "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "resource": { - "resourceType": "Location", - "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "name": "F1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" }, - { - "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "resource": { - "resourceType": "Location", - "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "partOf": { - "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - }, - "name": "B1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + }, + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" }, - { - "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", - "resource": { - "resourceType": "Location", - "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", - "partOf": { - "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - }, - "name": "F10", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + } + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T20:20:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:bffeceee-c43b-5971-a8f9-662a4a9ea710", - "resource": { - "resourceType": "Provenance", - "id": "bffeceee-c43b-5971-a8f9-662a4a9ea710", - "occurredDateTime": "2021-01-15T20:20:10+05:30", - "recorded": "2021-01-15T20:20:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A09^ADT_A09" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - "request": { - "method": "PUT", - "url": "Provenance/bffeceee-c43b-5971-a8f9-662a4a9ea710" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T20:20:10+05:30", - "end": "2020-01-15T20:20:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-01-15T16:00:10+01:10" }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:bffeceee-c43b-5971-a8f9-662a4a9ea710", + "resource": { + "resourceType": "Provenance", + "id": "bffeceee-c43b-5971-a8f9-662a4a9ea710", + "occurredDateTime": "2021-01-15T16:00:10+01:10", + "recorded": "2021-01-15T16:00:10+01:10", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/bffeceee-c43b-5971-a8f9-662a4a9ea710" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+01:10", + "end": "2020-01-15T16:00:10+01:10" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" }, - { - "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", - "resource": { - "resourceType": "Organization", - "id": "a5f89225-9b37-737d-9b70-c9cf83668801", - "name": "Good Health Hospital" - }, - "request": { - "method": "PUT", - "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json index 97a168ab1..947bb5b00 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json @@ -1,1146 +1,1146 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00009" - }, - "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", - "entry": [ - { - "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "resource": { - "resourceType": "MessageHeader", - "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A09^ADT_A09" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00009" + }, + "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", + "entry": [ + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:42:24.349Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A09^ADT_A09" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:15.617Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" - } - }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + ] } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A09^ADT_A09" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json index 51aa3c0b5..be6eb5c42 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json @@ -1,1533 +1,1533 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00010" - }, - "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", - "entry": [ - { - "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", - "resource": { - "resourceType": "MessageHeader", - "id": "0c531094-65ce-ba15-e55f-48ae245198aa", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A10^ADT_A10" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00010" + }, + "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", + "entry": [ + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:43:35.469Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A10^ADT_A10" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:54.705Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" } + ] }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + ] } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - { - "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", - "resource": { - "resourceType": "Location", - "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", - "name": "RM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" }, - { - "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "resource": { - "resourceType": "Location", - "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "name": "F1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" }, - { - "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "resource": { - "resourceType": "Location", - "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "partOf": { - "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - }, - "name": "B1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + }, + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" }, - { - "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", - "resource": { - "resourceType": "Location", - "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", - "partOf": { - "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - }, - "name": "F10", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + } + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A10^ADT_A10" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" }, - { - "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", - "resource": { - "resourceType": "Organization", - "id": "a5f89225-9b37-737d-9b70-c9cf83668801", - "name": "Good Health Hospital" - }, - "request": { - "method": "PUT", - "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json index 6457f3729..fbea05070 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json @@ -1,1146 +1,1146 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T19:35:00+05:30", - "identifier": { - "value": "MSG00010" - }, - "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", - "entry": [ - { - "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", - "resource": { - "resourceType": "MessageHeader", - "id": "0c531094-65ce-ba15-e55f-48ae245198aa", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A10^ADT_A10" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00010" + }, + "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", + "entry": [ + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:44:03.655Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" - }, - "occurredDateTime": "2021-01-15T19:35:00+05:30", - "recorded": "2021-01-15T19:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A10^ADT_A10" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:51.762Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - } - ] + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" - } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" } + ] }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + ] } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" + } + }, + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + } + }, + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + } + }, + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } + }, + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } + }, + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A10^ADT_A10" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json index 9f7f58a7d..45cdda96a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json @@ -1,2980 +1,2980 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A11^ADT_A11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A11^ADT_A11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:09.544Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:44:51.906Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A11^ADT_A11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A11^ADT_A11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "activity": { - "text": "ADT^A11^ADT_A11" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A11^ADT_A11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json index 1f65c5e1a..565f645fb 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json @@ -1,2294 +1,2294 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A11^ADT_A11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A11^ADT_A11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:36.07Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:45:21.247Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A11^ADT_A11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A11^ADT_A11" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A11^ADT_A11" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A11^ADT_A11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json index c3400ebd5..45692e2d0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json @@ -1,5270 +1,5270 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A13^ADT_A13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A13^ADT_A13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:59.46Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A13^ADT_A13" + } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:46:00.207Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A13^ADT_A13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "address": [ + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "021212", - "system": "other", - "use": "work" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "Bhutan" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + ] } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + ] } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + ] } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + ] } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + ] } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A13^ADT_A13" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + ] } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A13^ADT_A13" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" + } + ], + "text": "Surgeon" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Stroke" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" + } + }, + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + }, + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" } + ] }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T16:45:00+05:30", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" + } + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification-dummy", + "display": "Death Certification dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" } + ] }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T14:45:00+05:30", - "end": "2021-11-02T15:45:00+05:30" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedDateTime": "2021-11-02T12:30:00+01:15", + "performer": [ + { + "function": { + "text": "Death Certified By" }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" + } + }, + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T10:30:00+01:15", + "end": "2021-11-02T11:30:00+01:15" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate-dummy", + "display": "Death Certificate dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy-performed-dummy", + "display": "Autopsy Performed dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner-dummy", + "display": "Coroner dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json index b98bc09dd..705131c81 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json @@ -1,2298 +1,2298 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A13^ADT_A13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A13^ADT_A13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:38.407Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:47:01.436Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A13^ADT_A13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A13^ADT_A13" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A13^ADT_A13" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A13^ADT_A13" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json index 7ac817fa5..e1bc5d990 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json @@ -1,4926 +1,4926 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A14^ADT_A14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A14^ADT_A14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:02.128Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A14^ADT_A14" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:52:42.541Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A14^ADT_A14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T11:34:19+05:30", - "end": "2015-02-09T11:34:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A14^ADT_A14" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+05:30", + "end": "2015-02-09T11:34:19+05:30" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A14^ADT_A14" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json index b061c2091..133769f14 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json @@ -1,2299 +1,2299 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A14^ADT_A14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A14^ADT_A14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:12.973Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:53:18.067Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A14^ADT_A14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A14^ADT_A14" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A14^ADT_A14" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A14^ADT_A14" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json index 13d4f52d4..b72165582 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json @@ -1,3045 +1,3045 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A15^ADT_A15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A15^ADT_A15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:10.009Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:54:01.325Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A15^ADT_A15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A15^ADT_A15" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A15^ADT_A15" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A15^ADT_A15" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json index c1fb7df88..8da1ecaf0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A15^ADT_A15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A15^ADT_A15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:15.23Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:54:32.269Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A15^ADT_A15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A15^ADT_A15" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A15^ADT_A15" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A15^ADT_A15" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json index 1272accd4..5d5c0ac71 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json @@ -1,4926 +1,4926 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A16^ADT_A16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A16^ADT_A16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:39.85Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A16^ADT_A16" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:55:37.629Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A16^ADT_A16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-10T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A16^ADT_A16" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-10T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A16^ADT_A16" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json index 714dbaf85..6d9460e1a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json @@ -1,2299 +1,2299 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A16^ADT_A16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A16^ADT_A16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:58.228Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:56:08.766Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A16^ADT_A16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A16^ADT_A16" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-10T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A16^ADT_A16" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-10T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A16^ADT_A16" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json index f57d82116..4d00de1f6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json @@ -1,2984 +1,2984 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A25^ADT_A25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A25^ADT_A25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:19.042Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:57:02.35Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A25^ADT_A25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A25^ADT_A25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A25^ADT_A25" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A25^ADT_A25" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json index ea9706d46..9fc7b045b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json @@ -1,2298 +1,2298 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A25^ADT_A25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A25^ADT_A25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:30.386Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:57:37.178Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A25^ADT_A25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A25^ADT_A25" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A25^ADT_A25" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A25^ADT_A25" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json index 947fd47e6..5c67d38f7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json @@ -1,2750 +1,2750 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A26^ADT_A26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A26^ADT_A26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:29.584Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:58:31.199Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A26^ADT_A26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A26^ADT_A26" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "activity": { - "text": "ADT^A26^ADT_A26" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A26^ADT_A26" }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + ] } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json index f9ab8dc31..3f669db7d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json @@ -1,1925 +1,1925 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A26^ADT_A26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A26^ADT_A26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:39.025Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A26^ADT_A26" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:59:08.837Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A26^ADT_A26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A26^ADT_A26" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A26^ADT_A26" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json index 8aa4f143f..38d31ac32 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json @@ -1,2979 +1,2979 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A27", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A27^ADT_A27" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A27", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A27^ADT_A27" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:34.094Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T07:59:46.416Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A27^ADT_A27" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A27^ADT_A27" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A27^ADT_A27" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A27^ADT_A27" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json index 882b9f70f..b1cfd9330 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json @@ -1,2294 +1,2294 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A27", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A27^ADT_A27" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A27", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A27^ADT_A27" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:31.668Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:00:20.271Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A27^ADT_A27" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A27^ADT_A27" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A27^ADT_A27" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A27^ADT_A27" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json index d39c43e06..4a40acec0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json @@ -1,4926 +1,4926 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A28", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A28^ADT_A28" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A28", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A28^ADT_A28" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:07.449Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A28^ADT_A28" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:01:24.266Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A28^ADT_A28" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A28^ADT_A28" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A28^ADT_A28" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json index 0b8882b5e..100e5280a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A28", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A28^ADT_A28" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A28", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A28^ADT_A28" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:25.58Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:01:59.66Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A28^ADT_A28" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A28^ADT_A28" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A28^ADT_A28" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A28^ADT_A28" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json index ce33180fc..e59742a2b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json @@ -1,2984 +1,2984 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A29", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A29^ADT_A29" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A29", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A29^ADT_A29" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "DELETE", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:06.542Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "DELETE", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:03:00.403Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A29^ADT_A29" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A29^ADT_A29" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "DELETE", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "DELETE", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "DELETE", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } - }, - "request": { - "method": "DELETE", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "DELETE", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "DELETE", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "DELETE", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "DELETE", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "DELETE", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "DELETE", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "DELETE", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "DELETE", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "DELETE", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "DELETE", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "DELETE", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "DELETE", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "DELETE", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "DELETE", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "DELETE", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A29^ADT_A29" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A29^ADT_A29" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json index af57de348..f075a7b5c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A29", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A29^ADT_A29" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "DELETE", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A29", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A29^ADT_A29" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:25.958Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "DELETE", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:03:32.624Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A29^ADT_A29" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A29^ADT_A29" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "DELETE", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "DELETE", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "DELETE", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "DELETE", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "DELETE", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "DELETE", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "DELETE", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "DELETE", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "DELETE", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "DELETE", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "DELETE", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A29^ADT_A29" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "DELETE", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "DELETE", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A29^ADT_A29" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "DELETE", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "DELETE", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json index 27486be56..ffcaffb1d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json @@ -1,4926 +1,4926 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A31", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A31^ADT_A31" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A31", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A31^ADT_A31" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:03.431Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A31^ADT_A31" } + ] }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:04:44.208Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A31^ADT_A31" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + ] } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + ] } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A31^ADT_A31" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A31^ADT_A31" }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" } + ], + "text": "Biopsy of colon, which was part of colonoscopy" }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + "status": "unknown", + "performedDateTime": "2005-01-25T11:40:00+01:00", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" } + ] }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Anesthesiologist dummy" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Surgeon dummy" } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + "function": { + "coding": [ + { + "code": "procedure-practitioner-dummy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", + "display": "Procedure Practitioner dummy" + } + ], + "text": "Procedure Practitioner" } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T16:10:00+05:30", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" } + ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" } + ] }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:01:00+05:15", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "11374-6", + "display": "Injury incident description Narrative", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:16:00+05:30", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "component": [ + { + "code": { + "coding": [ + { + "code": "JRII", + "display": "Job related Injury Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7878000", + "display": "Accidental Death Indicator", + "system": "http://snomed.info/sct" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notification Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json index a31bbf428..c9d4c9cc7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json @@ -1,2025 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A31", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A31^ADT_A31" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A31", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A31^ADT_A31" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:15.868Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:05:15.361Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A31^ADT_A31" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A31^ADT_A31" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:ac14f3be-177d-8a42-2ebc-13be1ada1ceb", - "resource": { - "resourceType": "Account", - "id": "ac14f3be-177d-8a42-2ebc-13be1ada1ceb", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:2.4", - "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" - } - }, - { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", - "resource": { - "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:2.4", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", - "resource": { - "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:2.8", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:ac14f3be-177d-8a42-2ebc-13be1ada1ceb", + "resource": { + "resourceType": "Account", + "id": "ac14f3be-177d-8a42-2ebc-13be1ada1ceb", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", - "resource": { - "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:r2.3", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:2.4", + "assigner": { + "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" }, - "request": { - "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" + } + }, + { + "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "resource": { + "resourceType": "Organization", + "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:2.4", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + ] } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + ] } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "resource": { + "resourceType": "Practitioner", + "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:2.8", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + ] } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "resource": { + "resourceType": "Organization", + "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:r2.3", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:r2.3", - "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", - "resource": { - "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" - } - } - ], - "activity": { - "text": "ADT^A31^ADT_A31" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", - "resource": { - "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:W1.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + "system": "urn:oid:r2.3", + "assigner": { + "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", - "resource": { - "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:W1.2", - "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "resource": { + "resourceType": "Provenance", + "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" } + } + ], + "activity": { + "text": "ADT^A31^ADT_A31" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" + } + }, + { + "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "resource": { + "resourceType": "Organization", + "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:W1.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + } + }, + { + "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "resource": { + "resourceType": "Practitioner", + "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:W1.2", + "assigner": { + "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json index 7c8639268..5f216dd42 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json @@ -1,253 +1,253 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-04-23T18:16:37+05:30", - "identifier": { - "value": "8919-40" - }, - "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", - "entry": [ - { - "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", - "resource": { - "resourceType": "MessageHeader", - "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", - "source": { - "name": "Ntierprise", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "Healthmatics EHR", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A40", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A40^ADT_A40" - }, - "sender": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-04-23T15:01:37+02:15", + "identifier": { + "value": "8919-40" + }, + "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", + "entry": [ + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" } - }, - { - "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", - "resource": { - "resourceType": "Provenance", - "id": "17de3c50-3288-08bc-469e-be7ec466eac8", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:16:35.809Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" - }, - "occurredDateTime": "2019-04-23T18:16:37+05:30", - "recorded": "2019-04-23T18:16:37+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A40^ADT_A40" - } - ] - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", - "resource": { - "resourceType": "Organization", - "id": "109d1e78-889d-ebe3-b804-22cee315e8df", - "identifier": [ - { - "value": "Ntierprise Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" }, - { - "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "resource": { - "resourceType": "Organization", - "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "identifier": [ - { - "value": "Healthmatics Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" - } - ] + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + } + }, + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:55.052Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T15:01:37+02:15", + "recorded": "2019-04-23T15:01:37+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" } + ] }, - { - "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", - "resource": { - "resourceType": "Provenance", - "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", - "recorded": "2019-04-23T18:16:37+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } - } - ], - "activity": { - "text": "ADT^A40^ADT_A40" - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + } + }, + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + }, + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T15:01:37+02:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" }, - { - "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + } + }, + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + }, + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", "resource": { - "resourceType": "Practitioner", - "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "identifier": [ + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ { - "value": "13" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ], - "name": [ - { - "family": "Berry" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - }, - { - "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + }, + { + "type": "historical", "resource": { - "resourceType": "Linkage", - "id": "5954c994-f412-af04-3361-90ef6d96f005", - "item": [ - { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "12345", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "56789", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ] - }, - "request": { - "method": "PUT", - "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json index c795abd77..2bb41c273 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json @@ -1,291 +1,291 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-04-23T18:16:37+05:30", - "identifier": { - "value": "8919-40" - }, - "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", - "entry": [ - { - "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", - "resource": { - "resourceType": "MessageHeader", - "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", - "source": { - "name": "Ntierprise", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "Healthmatics EHR", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A40", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A40^ADT_A40" - }, - "sender": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-04-23T15:01:37+02:15", + "identifier": { + "value": "8919-40" + }, + "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", + "entry": [ + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", - "resource": { - "resourceType": "Provenance", - "id": "17de3c50-3288-08bc-469e-be7ec466eac8", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:17:46.969Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" - }, - "occurredDateTime": "2019-04-23T18:16:37+05:30", - "recorded": "2019-04-23T18:16:37+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A40^ADT_A40" - } - ] - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" - } - ] + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" + }, + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" + } + }, + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:05.023Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T15:01:37+02:15", + "recorded": "2019-04-23T15:01:37+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" } + ] }, - { - "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", - "resource": { - "resourceType": "Organization", - "id": "109d1e78-889d-ebe3-b804-22cee315e8df", - "identifier": [ - { - "value": "Ntierprise Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" + } + }, + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + }, + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + }, + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T15:01:37+02:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" }, - { - "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + } + }, + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + }, + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", "resource": { - "resourceType": "Organization", - "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "identifier": [ + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ { - "value": "Healthmatics Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - }, - { - "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + }, + { + "type": "historical", "resource": { - "resourceType": "Provenance", - "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", - "recorded": "2019-04-23T18:16:37+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ { - "who": { - "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ], - "activity": { - "text": "ADT^A40^ADT_A40" + ] }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - }, - { - "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + }, + { + "type": "source", "resource": { - "resourceType": "Practitioner", - "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "identifier": [ - { - "value": "13" - } - ], - "name": [ + "type": "Patient", + "identifier": { + "value": "145", + "type": { + "coding": [ { - "family": "Berry" + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - }, - { - "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + }, + { + "type": "historical", "resource": { - "resourceType": "Linkage", - "id": "5954c994-f412-af04-3361-90ef6d96f005", - "item": [ + "type": "Patient", + "identifier": { + "value": "569", + "type": { + "coding": [ { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "12345", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, - { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "56789", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, - { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "145", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, - { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "569", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ] - }, - "request": { - "method": "PUT", - "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" + } } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json index 3f353e8ea..d1681158d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json @@ -1,526 +1,526 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A41", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A41^ADT_A41" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:20:54.57Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A41^ADT_A41" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:31.167Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" + } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A41^ADT_A41" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + ] } - }, - { - "fullUrl": "urn:uuid:47ef213c-df51-8b48-5303-78ad9d9838b2", - "resource": { - "resourceType": "Linkage", - "id": "47ef213c-df51-8b48-5303-78ad9d9838b2", - "item": [ - { - "type": "source", - "resource": { - "type": "Account", - "identifier": { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - } - }, - { - "type": "historical", - "resource": { - "type": "Account", - "identifier": { - "value": "ACC1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - } - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Linkage/47ef213c-df51-8b48-5303-78ad9d9838b2" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:47ef213c-df51-8b48-5303-78ad9d9838b2", + "resource": { + "resourceType": "Linkage", + "id": "47ef213c-df51-8b48-5303-78ad9d9838b2", + "item": [ + { + "type": "source", "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + }, + { + "type": "historical", "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ + "type": "Account", + "identifier": { + "value": "ACC1234", + "type": { + "coding": [ { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + } } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/47ef213c-df51-8b48-5303-78ad9d9838b2" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json index fee7e01e7..43c7ee207 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json @@ -1,474 +1,474 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A41", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A41^ADT_A41" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:21:30.267Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A41^ADT_A41" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:20.026Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A41^ADT_A41" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + ] } - }, - { - "fullUrl": "urn:uuid:c210dc77-8f38-85ac-0201-f6a3d88da448", - "resource": { - "resourceType": "Linkage", - "id": "c210dc77-8f38-85ac-0201-f6a3d88da448", - "item": [ - { - "type": "source", - "resource": { - "type": "Account", - "identifier": { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Linkage/c210dc77-8f38-85ac-0201-f6a3d88da448" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:c210dc77-8f38-85ac-0201-f6a3d88da448", + "resource": { + "resourceType": "Linkage", + "id": "c210dc77-8f38-85ac-0201-f6a3d88da448", + "item": [ + { + "type": "source", "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Linkage/c210dc77-8f38-85ac-0201-f6a3d88da448" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json index 44bed22e7..d54915a37 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json @@ -1,1041 +1,1041 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A47", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A47^ADT_A47" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A47", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A47^ADT_A47" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:41.806Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:22:43.295Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A47^ADT_A47" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A47^ADT_A47" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "activity": { - "text": "ADT^A47^ADT_A47" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A47^ADT_A47" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json index b93d9f660..1a7c57c46 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json @@ -1,939 +1,939 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A47", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A47^ADT_A47" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A47", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A47^ADT_A47" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:53.472Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:23:18.825Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A47^ADT_A47" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A47^ADT_A47" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "activity": { - "text": "ADT^A47^ADT_A47" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Bhutan" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A47^ADT_A47" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json index b4d0e4549..ceee29ff1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json @@ -1,2736 +1,2736 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A60", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A60^ADT_A60" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A60", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A60^ADT_A60" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:49.571Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:23:53.225Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A60^ADT_A60" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A60^ADT_A60" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + ] } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10", + "end": "2015-02-09T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00+02:15", + "end": "2022-11-18T10:30:00+02:15" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A60^ADT_A60" }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + ] } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "373c1fcc-c86b-470a-6469-b7642c16262d", + "identifier": [ + { + "value": "56789", + "system": "urn:oid:1.3.6.1.4.1.44750.1.4", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + ] } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30", - "end": "2015-02-09T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T13:45:00+05:30", - "end": "2022-11-18T13:45:00+05:30" - } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] + } + ], + "category": [ + "food" + ], + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + { + "code": "91935009", + "display": "Allergy to Peanuts", + "system": "http://snomed.info/sct" } + ] }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A60^ADT_A60" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } + "reaction": [ + { + "severity": "mild", + "description": "Allergy+No Action taken", + "manifestation": [ + { + "coding": [ + { + "code": "34567", + "display": "Skin Rashness", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + ] + } + ], + "onsetDateTime": "2018-05", + "recordedDate": "2020-10-10T16:00:00+02:15", + "verificationStatus": { + "coding": [ + { + "code": "confirmed", + "display": "Confirmed", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" } + ] }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } + "meta": { + "lastUpdated": "2020-10-15T16:00:00+02:15" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "373c1fcc-c86b-470a-6469-b7642c16262d", - "identifier": [ - { - "value": "56789", - "system": "urn:oid:1.3.6.1.4.1.44750.1.4", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "category": [ - "food" - ], - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "91935009", - "display": "Allergy to Peanuts", - "system": "http://snomed.info/sct" - } - ] - }, - "reaction": [ - { - "severity": "mild", - "description": "Allergy+No Action taken", - "manifestation": [ - { - "coding": [ - { - "code": "34567", - "display": "Skin Rashness", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ] - } - ], - "onsetDateTime": "2018-05", - "recordedDate": "2020-10-10T19:15:00+05:30", - "verificationStatus": { - "coding": [ - { - "code": "confirmed", - "display": "Confirmed", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" - } - ] - }, - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "meta": { - "lastUpdated": "2020-10-15T19:15:00+05:30" - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "recorder": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - }, - "asserter": { - "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" - }, - "type": "allergy", - "_type": { - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", - "valueCode": "side-effect" - } - ] - }, - "note": [ - { - "text": "Allergy to peanuts observed.", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" - } + "recorder": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } + "asserter": { + "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "type": "allergy", + "_type": { + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", + "valueCode": "side-effect" } + ] }, - { - "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", - "resource": { - "resourceType": "RelatedPerson", - "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "note": [ + { + "text": "Allergy to peanuts observed.", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", + "resource": { + "resourceType": "RelatedPerson", + "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json index a1c56cf29..ac410c5ca 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json @@ -1,1146 +1,1146 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A60", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A60^ADT_A60" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A60", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A60^ADT_A60" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:06.223Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:24:24.969Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A60^ADT_A60" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A60^ADT_A60" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "relationship": [ + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T18:49:43.004+05:30", - "recorded": "2029-08-01T11:21:24+05:30", - "reason": [ + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "agent": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "activity": { - "text": "ADT^A60^ADT_A60" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Bhutan" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2029-08-01T07:06:24+01:15", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A60^ADT_A60" }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "373c1fcc-c86b-470a-6469-b7642c16262d", - "identifier": [ - { - "value": "56789", - "system": "urn:oid:1.3.6.1.4.1.44750.1.4", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "category": [ - "food" - ], - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "91935009", - "display": "Allergy to Peanuts", - "system": "http://snomed.info/sct" - } - ] - }, - "onsetDateTime": "2018-05", - "recordedDate": "2020-10-10T19:15:00+05:30", - "verificationStatus": { - "coding": [ - { - "code": "confirmed", - "display": "Confirmed", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" - } - ] - }, - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "meta": { - "lastUpdated": "2020-10-15T19:15:00+05:30" - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "recorder": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - }, - "asserter": { - "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" - }, - "type": "allergy", - "_type": { - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", - "valueCode": "side-effect" - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "373c1fcc-c86b-470a-6469-b7642c16262d", + "identifier": [ + { + "value": "56789", + "system": "urn:oid:1.3.6.1.4.1.44750.1.4", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ], + "category": [ + "food" + ], + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" + { + "code": "91935009", + "display": "Allergy to Peanuts", + "system": "http://snomed.info/sct" } + ] }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "onsetDateTime": "2018-05", + "recordedDate": "2020-10-10T16:00:00+02:15", + "verificationStatus": { + "coding": [ + { + "code": "confirmed", + "display": "Confirmed", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" } + ] }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", - "resource": { - "resourceType": "RelatedPerson", - "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "meta": { + "lastUpdated": "2020-10-15T16:00:00+02:15" + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "recorder": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + }, + "asserter": { + "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + }, + "type": "allergy", + "_type": { + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", + "valueCode": "side-effect" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", + "resource": { + "resourceType": "RelatedPerson", + "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json index d9a767a70..8c303bf75 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json @@ -1,908 +1,908 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T01^MDM_T01" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:50:04.828Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T01^MDM_T01" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] + "eventCoding": { + "code": "T01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T01^MDM_T01" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:51.401Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T01^MDM_T01" } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T01^MDM_T01" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T01^MDM_T01" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + ] } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json index dce5637ad..880be9fb9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json @@ -1,984 +1,984 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T01^MDM_T01" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:50:39.786Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T01^MDM_T01" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T01^MDM_T01" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:23.626Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T01^MDM_T01" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T01^MDM_T01" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T01^MDM_T01" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + ] } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json index 19fa0ecf9..d6545cc91 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json @@ -1,954 +1,954 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:52:16.738Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:31.297Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + ] } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + }, + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" } + ] }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + } + }, + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json index 166a83f34..587d3e307 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json @@ -1,1065 +1,1065 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:53:12.595Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:12.603Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + ] } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - ], - "occurrenceDateTime": "2006-01-31T20:00:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T16:45:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" } + ] }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json index 1945ff3ae..5161479cf 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json @@ -1,1989 +1,1989 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-01T12:21:42+05:30", - "identifier": { - "value": "112" - }, - "id": "b37272c1-881a-0cf2-1120-5ab37ceaf698", - "entry": [ - { - "fullUrl": "urn:uuid:0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", - "resource": { - "resourceType": "MessageHeader", - "id": "0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", - "source": { - "name": "SIMHOSP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "RAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-01T09:06:42+02:15", + "identifier": { + "value": "112" + }, + "id": "b37272c1-881a-0cf2-1120-5ab37ceaf698", + "entry": [ + { + "fullUrl": "urn:uuid:0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", + "resource": { + "resourceType": "MessageHeader", + "id": "0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", + "source": { + "name": "SIMHOSP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "RAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27" - } - }, - { - "fullUrl": "urn:uuid:ff198209-2ee9-a32c-124f-d63637240f8d", - "resource": { - "resourceType": "Provenance", - "id": "ff198209-2ee9-a32c-124f-d63637240f8d", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T08:53:47.709Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2021-08-01T12:21:42+05:30", - "recorded": "2021-08-01T12:21:42+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/ff198209-2ee9-a32c-124f-d63637240f8d" - } - }, - { - "fullUrl": "urn:uuid:33e23f3e-47b2-9c1b-c1f0-f964c2d28946", - "resource": { - "resourceType": "Organization", - "id": "33e23f3e-47b2-9c1b-c1f0-f964c2d28946", - "identifier": [ - { - "value": "SFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SFAC" - } - ], - "address": [ - { - "country": "44" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" - } - }, - { - "fullUrl": "urn:uuid:ab0676d9-fa24-ffd3-327d-f5b4c26ae628", - "resource": { - "resourceType": "Organization", - "id": "ab0676d9-fa24-ffd3-327d-f5b4c26ae628", - "identifier": [ - { - "value": "RFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RFAC" - } - ], - "address": [ - { - "country": "44" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" - } - }, - { - "fullUrl": "urn:uuid:e7af414f-7873-8d60-ad37-fd7560092849", - "resource": { - "resourceType": "Provenance", - "id": "e7af414f-7873-8d60-ad37-fd7560092849", - "recorded": "2021-08-01T12:21:42+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/e7af414f-7873-8d60-ad37-fd7560092849" - } - }, - { - "fullUrl": "urn:uuid:3a4c8c23-ae16-bb6c-7a8c-897b3043248b", - "resource": { - "resourceType": "Practitioner", - "id": "3a4c8c23-ae16-bb6c-7a8c-897b3043248b", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR", - "type": { - "coding": [ - { - "code": "ORGDR", - "display": "ORGDR" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - }, - { - "fullUrl": "urn:uuid:a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", - "resource": { - "resourceType": "Patient", - "id": "a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", - "identifier": [ - { - "value": "3196695816", - "type": { - "coding": [ - { - "code": "MRN", - "display": "MRN" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" - }, - { - "value": "3196695816", - "type": { - "coding": [ - { - "code": "MRN", - "display": "MRN" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" - }, - { - "value": "6597923189", - "type": { - "coding": [ - { - "code": "NHSNMBR", - "display": "NHSNMBR" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NHSNBR" - } - ], - "name": [ - { - "family": "Clark", - "given": [ - "Frederick" - ], - "prefix": [ - "Mr" - ] - } - ], - "birthDate": "1930-01-22", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1930-01-22T03:15:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "19 Blocker House", - "Restaurant Square" - ], - "city": "Ilford", - "postalCode": "WI3 7KU", - "country": "GBR" - } - ], - "telecom": [ - { - "value": "073 0075 3040", - "system": "phone" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "A", - "display": "White - British" - } - }, - { - "url": "text", - "valueString": "A" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - } - }, - { - "fullUrl": "urn:uuid:635008fa-3d98-895d-90b3-ec0d2efa5f0f", - "resource": { - "resourceType": "Encounter", - "id": "635008fa-3d98-895d-90b3-ec0d2efa5f0f", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "type": [ - { - "coding": [ - { - "code": "28b", - "display": "28b" - } - ] - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "MED" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + "receiver": { + "reference": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27" + } + }, + { + "fullUrl": "urn:uuid:ff198209-2ee9-a32c-124f-d63637240f8d", + "resource": { + "resourceType": "Provenance", + "id": "ff198209-2ee9-a32c-124f-d63637240f8d", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:42.082Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2021-08-01T09:06:42+02:15", + "recorded": "2021-08-01T09:06:42+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "Encounter/635008fa-3d98-895d-90b3-ec0d2efa5f0f" - } - }, - { - "fullUrl": "urn:uuid:ba02f303-e848-5771-d742-0de5371b5be4", - "resource": { - "resourceType": "DocumentReference", - "id": "ba02f303-e848-5771-d742-0de5371b5be4", - "type": { - "coding": [ - { - "code": "DS" - } - ] - }, - "context": { - "period": { - "start": "2021-08-01T12:21:42+05:30" - }, - "related": [ - { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2021-08-03T03:15:00+05:30" - } - } - ], - "meta": { - "lastUpdated": "2021-08-01T12:21:42+05:30" - }, - "masterIdentifier": { - "value": "2RWRVAJ627408" - }, - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" - } - }, - { - "fullUrl": "urn:uuid:c031cd63-1fa2-cb31-8841-e4a2a3c936bb", - "resource": { - "resourceType": "ServiceRequest", - "id": "c031cd63-1fa2-cb31-8841-e4a2a3c936bb", - "status": "unknown", - "intent": "reflex-order", - "orderDetail": [ - { - "coding": [ - { - "code": "PSS-46", - "display": "Placer service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "FSS-47", - "display": "Filler service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2020-09-10T20:15:00+05:30", - "basedOn": [ - { - "reference": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - }, - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "note": [ - { - "text": "Placer 1", - "authorString": "Placer Field 1" - }, - { - "text": "Placer 2", - "authorString": "Placer Field 2" - }, - { - "text": "Filler 1", - "authorString": "Filler Field 1" - }, - { - "text": "Filler 2", - "authorString": "Filler Field 2" - } - ], - "priority": "routine", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "444", - "display": "HIPPOCRATES", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H", - "version": "MD" - } - ] - } - ], - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "reasonReference": [ - { - "reference": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" - } - ], - "requester": { - "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - }, - "specimen": [ - { - "reference": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" - } - ], - "occurrenceDateTime": "2020-10-10T20:15:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c031cd63-1fa2-cb31-8841-e4a2a3c936bb" - } - }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - { - "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "resource": { - "resourceType": "PractitionerRole", - "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + "who": { + "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" + } + ] + }, + "target": [ + { + "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/ff198209-2ee9-a32c-124f-d63637240f8d" + } + }, + { + "fullUrl": "urn:uuid:33e23f3e-47b2-9c1b-c1f0-f964c2d28946", + "resource": { + "resourceType": "Organization", + "id": "33e23f3e-47b2-9c1b-c1f0-f964c2d28946", + "identifier": [ + { + "value": "SFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SFAC" + } + ], + "address": [ + { + "country": "44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" + } + }, + { + "fullUrl": "urn:uuid:ab0676d9-fa24-ffd3-327d-f5b4c26ae628", + "resource": { + "resourceType": "Organization", + "id": "ab0676d9-fa24-ffd3-327d-f5b4c26ae628", + "identifier": [ + { + "value": "RFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RFAC" + } + ], + "address": [ + { + "country": "44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" + } + }, + { + "fullUrl": "urn:uuid:e7af414f-7873-8d60-ad37-fd7560092849", + "resource": { + "resourceType": "Provenance", + "id": "e7af414f-7873-8d60-ad37-fd7560092849", + "recorded": "2021-08-01T09:06:42+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" + }, + "target": [ + { + "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/e7af414f-7873-8d60-ad37-fd7560092849" + } + }, + { + "fullUrl": "urn:uuid:3a4c8c23-ae16-bb6c-7a8c-897b3043248b", + "resource": { + "resourceType": "Practitioner", + "id": "3a4c8c23-ae16-bb6c-7a8c-897b3043248b", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR", + "type": { + "coding": [ + { + "code": "ORGDR", + "display": "ORGDR" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - } - }, - { - "fullUrl": "urn:uuid:29acd79b-adef-1dc7-6103-c65783a04bbb", - "resource": { - "resourceType": "ServiceRequest", - "id": "29acd79b-adef-1dc7-6103-c65783a04bbb", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "50", - "display": "11.22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" - } - ] - } - } - ], - "status": "unknown", - "intent": "reflex-order", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + }, + { + "fullUrl": "urn:uuid:a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", + "resource": { + "resourceType": "Patient", + "id": "a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", + "identifier": [ + { + "value": "3196695816", + "type": { + "coding": [ + { + "code": "MRN", + "display": "MRN" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" - } - }, - { - "fullUrl": "urn:uuid:2cb11a40-e62b-7255-c309-1dd5b722b803", - "resource": { - "resourceType": "Specimen", - "id": "2cb11a40-e62b-7255-c309-1dd5b722b803", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SP15", - "display": "1.2", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "method": { - "text": "Collection Method" - }, - "collectedDateTime": "2002-02-15T10:45:00+05:30" - }, - "receivedTime": "2002-02-12T10:45:00+05:30", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "ACDA" - } - ] - } - } - ], - "note": [ - { - "text": "Collector's comment" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "van Beethoven", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "resource": { - "resourceType": "PractitionerRole", - "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "practitioner": { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" + }, + { + "value": "3196695816", + "type": { + "coding": [ + { + "code": "MRN", + "display": "MRN" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - } - }, - { - "fullUrl": "urn:uuid:83cf5a63-9c84-2fa8-884b-1886e9526fd8", - "resource": { - "resourceType": "Observation", - "id": "83cf5a63-9c84-2fa8-884b-1886e9526fd8", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/83cf5a63-9c84-2fa8-884b-1886e9526fd8" - } - }, - { - "fullUrl": "urn:uuid:8485edc6-008c-2b01-b26f-a2af596d30b5", - "resource": { - "resourceType": "Observation", - "id": "8485edc6-008c-2b01-b26f-a2af596d30b5", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/8485edc6-008c-2b01-b26f-a2af596d30b5" - } - }, - { - "fullUrl": "urn:uuid:c6a42129-232f-3242-4739-73141d3e0c22", - "resource": { - "resourceType": "Observation", - "id": "c6a42129-232f-3242-4739-73141d3e0c22", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Taxicab creator film therapist shelter", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/c6a42129-232f-3242-4739-73141d3e0c22" - } - }, - { - "fullUrl": "urn:uuid:1cd484ad-c654-fbaf-1242-d5c6addb1285", - "resource": { - "resourceType": "Observation", - "id": "1cd484ad-c654-fbaf-1242-d5c6addb1285", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Naming grandmother ruth", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/1cd484ad-c654-fbaf-1242-d5c6addb1285" - } - }, - { - "fullUrl": "urn:uuid:68e0f79f-ad85-113d-c23d-58fec16ee5d9", - "resource": { - "resourceType": "Observation", - "id": "68e0f79f-ad85-113d-c23d-58fec16ee5d9", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Cesspool dress crystallography processing sphynx conspirator plate tool", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/68e0f79f-ad85-113d-c23d-58fec16ee5d9" - } - }, - { - "fullUrl": "urn:uuid:6ba400df-3c94-dccd-275f-87f7bef8cece", - "resource": { - "resourceType": "Observation", - "id": "6ba400df-3c94-dccd-275f-87f7bef8cece", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Let nothing neuropathologist grass", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ba400df-3c94-dccd-275f-87f7bef8cece" - } - }, - { - "fullUrl": "urn:uuid:a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", - "resource": { - "resourceType": "Observation", - "id": "a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "James flavor source sweats perfume spasm", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a93e88a9-4706-27a0-e24d-ca7b71a9d5a0" - } - }, - { - "fullUrl": "urn:uuid:b6655c58-2580-31ca-89fa-f71589186f5f", - "resource": { - "resourceType": "Observation", - "id": "b6655c58-2580-31ca-89fa-f71589186f5f", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Stopsign", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/b6655c58-2580-31ca-89fa-f71589186f5f" - } - }, - { - "fullUrl": "urn:uuid:6c24608d-f759-4c1e-75f1-7b530ba5810a", - "resource": { - "resourceType": "Observation", - "id": "6c24608d-f759-4c1e-75f1-7b530ba5810a", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Neat rugby sound evening hostel curio chastity pulley wallet xylophone", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6c24608d-f759-4c1e-75f1-7b530ba5810a" - } - }, - { - "fullUrl": "urn:uuid:8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", - "resource": { - "resourceType": "Observation", - "id": "8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Tomorrow survey raffle epee cash herb hovel frame", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb" - } - }, - { - "fullUrl": "urn:uuid:ee71fea8-96b6-a46c-579e-dc5367127579", - "resource": { - "resourceType": "Observation", - "id": "ee71fea8-96b6-a46c-579e-dc5367127579", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Wish orangutan caddy mayor knowledge guilt tight criteria", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/ee71fea8-96b6-a46c-579e-dc5367127579" - } - }, - { - "fullUrl": "urn:uuid:a9f6136e-3718-d3a7-6b0c-089337325264", - "resource": { - "resourceType": "Observation", - "id": "a9f6136e-3718-d3a7-6b0c-089337325264", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Thong", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a9f6136e-3718-d3a7-6b0c-089337325264" - } - }, - { - "fullUrl": "urn:uuid:1729d3a6-8428-d4df-ad09-54ba86fbe34f", - "resource": { - "resourceType": "Observation", - "id": "1729d3a6-8428-d4df-ad09-54ba86fbe34f", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Scimitar gall-bladder economy orange trade sing town", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/1729d3a6-8428-d4df-ad09-54ba86fbe34f" - } - }, - { - "fullUrl": "urn:uuid:0689f0ef-6812-c40c-7c5b-8da95fcbc61d", - "resource": { - "resourceType": "Observation", - "id": "0689f0ef-6812-c40c-7c5b-8da95fcbc61d", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Vinyl people junk skiing north irony sing scorn cameo", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0689f0ef-6812-c40c-7c5b-8da95fcbc61d" - } - }, - { - "fullUrl": "urn:uuid:73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", - "resource": { - "resourceType": "Observation", - "id": "73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Math pimp wave leather national nurture responsibility suppression", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0" - } - }, - { - "fullUrl": "urn:uuid:6b7a5ccb-3e27-58ec-85e2-faae9175191e", - "resource": { - "resourceType": "Observation", - "id": "6b7a5ccb-3e27-58ec-85e2-faae9175191e", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Sash area", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6b7a5ccb-3e27-58ec-85e2-faae9175191e" - } - }, - { - "fullUrl": "urn:uuid:ae8f0749-b387-eeb6-9455-060899157001", - "resource": { - "resourceType": "Observation", - "id": "ae8f0749-b387-eeb6-9455-060899157001", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Search eyelids", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/ae8f0749-b387-eeb6-9455-060899157001" - } - }, - { - "fullUrl": "urn:uuid:dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", - "resource": { - "resourceType": "Observation", - "id": "dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Suffocation face convert soup cricket", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/dad4437d-d5a0-2a1f-95a5-adf4cca9ee81" - } - }, - { - "fullUrl": "urn:uuid:737a80e8-e1f6-3f78-98bf-f051b176be60", - "resource": { - "resourceType": "Observation", - "id": "737a80e8-e1f6-3f78-98bf-f051b176be60", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Step-Grandmother", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/737a80e8-e1f6-3f78-98bf-f051b176be60" - } - }, - { - "fullUrl": "urn:uuid:141338ad-2acf-f6f3-4c96-9db178a297db", - "resource": { - "resourceType": "Observation", - "id": "141338ad-2acf-f6f3-4c96-9db178a297db", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Pheasant shot disembodiment", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/141338ad-2acf-f6f3-4c96-9db178a297db" - } - }, - { - "fullUrl": "urn:uuid:9e207d6a-254c-199e-ace3-73028bbf61e2", - "resource": { - "resourceType": "Observation", - "id": "9e207d6a-254c-199e-ace3-73028bbf61e2", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "White feature", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/9e207d6a-254c-199e-ace3-73028bbf61e2" - } - }, - { - "fullUrl": "urn:uuid:7ece5490-60d5-9c13-80d7-e316eb0f8e11", - "resource": { - "resourceType": "Observation", - "id": "7ece5490-60d5-9c13-80d7-e316eb0f8e11", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Duster", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7ece5490-60d5-9c13-80d7-e316eb0f8e11" - } - }, - { - "fullUrl": "urn:uuid:e8265970-6279-10e5-e7f2-5c293bfe01be", - "resource": { - "resourceType": "Observation", - "id": "e8265970-6279-10e5-e7f2-5c293bfe01be", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Science cycle demand", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/e8265970-6279-10e5-e7f2-5c293bfe01be" - } - }, - { - "fullUrl": "urn:uuid:447cfa11-4719-8b8c-5d7f-698fe7f2d492", - "resource": { - "resourceType": "Observation", - "id": "447cfa11-4719-8b8c-5d7f-698fe7f2d492", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Charm official", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/447cfa11-4719-8b8c-5d7f-698fe7f2d492" - } - }, - { - "fullUrl": "urn:uuid:11738ca9-487e-3484-ff4d-5d0e04b52681", - "resource": { - "resourceType": "Observation", - "id": "11738ca9-487e-3484-ff4d-5d0e04b52681", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Airport manservant", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/11738ca9-487e-3484-ff4d-5d0e04b52681" - } - }, - { - "fullUrl": "urn:uuid:a7307ba2-a39d-7fac-8333-416851242799", - "resource": { - "resourceType": "Observation", - "id": "a7307ba2-a39d-7fac-8333-416851242799", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Lanai flute unique plain feature parking pressure", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a7307ba2-a39d-7fac-8333-416851242799" - } - }, - { - "fullUrl": "urn:uuid:a0a317c7-fc88-8e06-1481-20dd212e9dc8", - "resource": { - "resourceType": "Observation", - "id": "a0a317c7-fc88-8e06-1481-20dd212e9dc8", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Instance buggy colt route pier menorah ingrate garb", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a0a317c7-fc88-8e06-1481-20dd212e9dc8" - } - }, - { - "fullUrl": "urn:uuid:9914967a-1c3e-c037-30f2-362b2135b21b", - "resource": { - "resourceType": "Observation", - "id": "9914967a-1c3e-c037-30f2-362b2135b21b", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Character press mini comic", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" + }, + { + "value": "6597923189", + "type": { + "coding": [ + { + "code": "NHSNMBR", + "display": "NHSNMBR" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/9914967a-1c3e-c037-30f2-362b2135b21b" - } - }, - { - "fullUrl": "urn:uuid:a43d8206-d6e6-95a5-2c99-aa86046ba477", - "resource": { - "resourceType": "Observation", - "id": "a43d8206-d6e6-95a5-2c99-aa86046ba477", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Reminder shofar congo vibration mother-in-law bondsman suspect", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NHSNBR" + } + ], + "name": [ + { + "family": "Clark", + "given": [ + "Frederick" + ], + "prefix": [ + "Mr" + ] + } + ], + "birthDate": "1930-01-22", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1930-01-22T00:00:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "19 Blocker House", + "Restaurant Square" + ], + "city": "Ilford", + "postalCode": "WI3 7KU", + "country": "GBR" + } + ], + "telecom": [ + { + "value": "073 0075 3040", + "system": "phone" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "A", + "display": "White - British" + } + }, + { + "url": "text", + "valueString": "A" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + } + }, + { + "fullUrl": "urn:uuid:635008fa-3d98-895d-90b3-ec0d2efa5f0f", + "resource": { + "resourceType": "Encounter", + "id": "635008fa-3d98-895d-90b3-ec0d2efa5f0f", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "type": [ + { + "coding": [ + { + "code": "28b", + "display": "28b" + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Observation/a43d8206-d6e6-95a5-2c99-aa86046ba477" + } + ], + "individual": { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "MED" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/635008fa-3d98-895d-90b3-ec0d2efa5f0f" + } + }, + { + "fullUrl": "urn:uuid:ba02f303-e848-5771-d742-0de5371b5be4", + "resource": { + "resourceType": "DocumentReference", + "id": "ba02f303-e848-5771-d742-0de5371b5be4", + "type": { + "coding": [ + { + "code": "DS" + } + ] + }, + "context": { + "period": { + "start": "2021-08-01T09:06:42+02:15" + }, + "related": [ + { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2021-08-03T00:00:00+02:15" + } + } + ], + "meta": { + "lastUpdated": "2021-08-01T09:06:42+02:15" + }, + "masterIdentifier": { + "value": "2RWRVAJ627408" + }, + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" + } + }, + { + "fullUrl": "urn:uuid:c031cd63-1fa2-cb31-8841-e4a2a3c936bb", + "resource": { + "resourceType": "ServiceRequest", + "id": "c031cd63-1fa2-cb31-8841-e4a2a3c936bb", + "status": "unknown", + "intent": "reflex-order", + "orderDetail": [ + { + "coding": [ + { + "code": "PSS-46", + "display": "Placer service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "FSS-47", + "display": "Filler service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2020-09-10T17:00:00+02:15", + "basedOn": [ + { + "reference": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + }, + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Placer 1", + "authorString": "Placer Field 1" + }, + { + "text": "Placer 2", + "authorString": "Placer Field 2" + }, + { + "text": "Filler 1", + "authorString": "Filler Field 1" + }, + { + "text": "Filler 2", + "authorString": "Filler Field 2" + } + ], + "priority": "routine", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" } + ], + "text": "Enteric Culture" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "444", + "display": "HIPPOCRATES", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H", + "version": "MD" + } + ] + } + ], + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "reasonReference": [ + { + "reference": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" + } + ], + "requester": { + "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + }, + "specimen": [ + { + "reference": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" + } + ], + "occurrenceDateTime": "2020-10-10T17:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c031cd63-1fa2-cb31-8841-e4a2a3c936bb" + } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + { + "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "resource": { + "resourceType": "PractitionerRole", + "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + } + }, + { + "fullUrl": "urn:uuid:29acd79b-adef-1dc7-6103-c65783a04bbb", + "resource": { + "resourceType": "ServiceRequest", + "id": "29acd79b-adef-1dc7-6103-c65783a04bbb", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "50", + "display": "11.22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" + } + ] + } + } + ], + "status": "unknown", + "intent": "reflex-order", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" + } + }, + { + "fullUrl": "urn:uuid:2cb11a40-e62b-7255-c309-1dd5b722b803", + "resource": { + "resourceType": "Specimen", + "id": "2cb11a40-e62b-7255-c309-1dd5b722b803", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SP15", + "display": "1.2", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T07:30:00+02:15" + }, + "receivedTime": "2002-02-12T07:30:00+02:15", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "ACDA" + } + ] + } + } + ], + "note": [ + { + "text": "Collector's comment" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "resource": { + "resourceType": "PractitionerRole", + "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "practitioner": { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + } + }, + { + "fullUrl": "urn:uuid:83cf5a63-9c84-2fa8-884b-1886e9526fd8", + "resource": { + "resourceType": "Observation", + "id": "83cf5a63-9c84-2fa8-884b-1886e9526fd8", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/83cf5a63-9c84-2fa8-884b-1886e9526fd8" + } + }, + { + "fullUrl": "urn:uuid:8485edc6-008c-2b01-b26f-a2af596d30b5", + "resource": { + "resourceType": "Observation", + "id": "8485edc6-008c-2b01-b26f-a2af596d30b5", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8485edc6-008c-2b01-b26f-a2af596d30b5" + } + }, + { + "fullUrl": "urn:uuid:c6a42129-232f-3242-4739-73141d3e0c22", + "resource": { + "resourceType": "Observation", + "id": "c6a42129-232f-3242-4739-73141d3e0c22", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Taxicab creator film therapist shelter", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c6a42129-232f-3242-4739-73141d3e0c22" + } + }, + { + "fullUrl": "urn:uuid:1cd484ad-c654-fbaf-1242-d5c6addb1285", + "resource": { + "resourceType": "Observation", + "id": "1cd484ad-c654-fbaf-1242-d5c6addb1285", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Naming grandmother ruth", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/1cd484ad-c654-fbaf-1242-d5c6addb1285" + } + }, + { + "fullUrl": "urn:uuid:68e0f79f-ad85-113d-c23d-58fec16ee5d9", + "resource": { + "resourceType": "Observation", + "id": "68e0f79f-ad85-113d-c23d-58fec16ee5d9", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Cesspool dress crystallography processing sphynx conspirator plate tool", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/68e0f79f-ad85-113d-c23d-58fec16ee5d9" + } + }, + { + "fullUrl": "urn:uuid:6ba400df-3c94-dccd-275f-87f7bef8cece", + "resource": { + "resourceType": "Observation", + "id": "6ba400df-3c94-dccd-275f-87f7bef8cece", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Let nothing neuropathologist grass", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ba400df-3c94-dccd-275f-87f7bef8cece" + } + }, + { + "fullUrl": "urn:uuid:a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", + "resource": { + "resourceType": "Observation", + "id": "a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "James flavor source sweats perfume spasm", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a93e88a9-4706-27a0-e24d-ca7b71a9d5a0" + } + }, + { + "fullUrl": "urn:uuid:b6655c58-2580-31ca-89fa-f71589186f5f", + "resource": { + "resourceType": "Observation", + "id": "b6655c58-2580-31ca-89fa-f71589186f5f", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Stopsign", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/b6655c58-2580-31ca-89fa-f71589186f5f" + } + }, + { + "fullUrl": "urn:uuid:6c24608d-f759-4c1e-75f1-7b530ba5810a", + "resource": { + "resourceType": "Observation", + "id": "6c24608d-f759-4c1e-75f1-7b530ba5810a", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Neat rugby sound evening hostel curio chastity pulley wallet xylophone", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6c24608d-f759-4c1e-75f1-7b530ba5810a" + } + }, + { + "fullUrl": "urn:uuid:8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", + "resource": { + "resourceType": "Observation", + "id": "8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Tomorrow survey raffle epee cash herb hovel frame", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb" + } + }, + { + "fullUrl": "urn:uuid:ee71fea8-96b6-a46c-579e-dc5367127579", + "resource": { + "resourceType": "Observation", + "id": "ee71fea8-96b6-a46c-579e-dc5367127579", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Wish orangutan caddy mayor knowledge guilt tight criteria", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ee71fea8-96b6-a46c-579e-dc5367127579" + } + }, + { + "fullUrl": "urn:uuid:a9f6136e-3718-d3a7-6b0c-089337325264", + "resource": { + "resourceType": "Observation", + "id": "a9f6136e-3718-d3a7-6b0c-089337325264", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Thong", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a9f6136e-3718-d3a7-6b0c-089337325264" + } + }, + { + "fullUrl": "urn:uuid:1729d3a6-8428-d4df-ad09-54ba86fbe34f", + "resource": { + "resourceType": "Observation", + "id": "1729d3a6-8428-d4df-ad09-54ba86fbe34f", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Scimitar gall-bladder economy orange trade sing town", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/1729d3a6-8428-d4df-ad09-54ba86fbe34f" + } + }, + { + "fullUrl": "urn:uuid:0689f0ef-6812-c40c-7c5b-8da95fcbc61d", + "resource": { + "resourceType": "Observation", + "id": "0689f0ef-6812-c40c-7c5b-8da95fcbc61d", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Vinyl people junk skiing north irony sing scorn cameo", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0689f0ef-6812-c40c-7c5b-8da95fcbc61d" + } + }, + { + "fullUrl": "urn:uuid:73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", + "resource": { + "resourceType": "Observation", + "id": "73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Math pimp wave leather national nurture responsibility suppression", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0" + } + }, + { + "fullUrl": "urn:uuid:6b7a5ccb-3e27-58ec-85e2-faae9175191e", + "resource": { + "resourceType": "Observation", + "id": "6b7a5ccb-3e27-58ec-85e2-faae9175191e", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Sash area", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6b7a5ccb-3e27-58ec-85e2-faae9175191e" + } + }, + { + "fullUrl": "urn:uuid:ae8f0749-b387-eeb6-9455-060899157001", + "resource": { + "resourceType": "Observation", + "id": "ae8f0749-b387-eeb6-9455-060899157001", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Search eyelids", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ae8f0749-b387-eeb6-9455-060899157001" + } + }, + { + "fullUrl": "urn:uuid:dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", + "resource": { + "resourceType": "Observation", + "id": "dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Suffocation face convert soup cricket", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dad4437d-d5a0-2a1f-95a5-adf4cca9ee81" + } + }, + { + "fullUrl": "urn:uuid:737a80e8-e1f6-3f78-98bf-f051b176be60", + "resource": { + "resourceType": "Observation", + "id": "737a80e8-e1f6-3f78-98bf-f051b176be60", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Step-Grandmother", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/737a80e8-e1f6-3f78-98bf-f051b176be60" + } + }, + { + "fullUrl": "urn:uuid:141338ad-2acf-f6f3-4c96-9db178a297db", + "resource": { + "resourceType": "Observation", + "id": "141338ad-2acf-f6f3-4c96-9db178a297db", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Pheasant shot disembodiment", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/141338ad-2acf-f6f3-4c96-9db178a297db" + } + }, + { + "fullUrl": "urn:uuid:9e207d6a-254c-199e-ace3-73028bbf61e2", + "resource": { + "resourceType": "Observation", + "id": "9e207d6a-254c-199e-ace3-73028bbf61e2", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "White feature", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9e207d6a-254c-199e-ace3-73028bbf61e2" + } + }, + { + "fullUrl": "urn:uuid:7ece5490-60d5-9c13-80d7-e316eb0f8e11", + "resource": { + "resourceType": "Observation", + "id": "7ece5490-60d5-9c13-80d7-e316eb0f8e11", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Duster", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7ece5490-60d5-9c13-80d7-e316eb0f8e11" + } + }, + { + "fullUrl": "urn:uuid:e8265970-6279-10e5-e7f2-5c293bfe01be", + "resource": { + "resourceType": "Observation", + "id": "e8265970-6279-10e5-e7f2-5c293bfe01be", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Science cycle demand", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e8265970-6279-10e5-e7f2-5c293bfe01be" + } + }, + { + "fullUrl": "urn:uuid:447cfa11-4719-8b8c-5d7f-698fe7f2d492", + "resource": { + "resourceType": "Observation", + "id": "447cfa11-4719-8b8c-5d7f-698fe7f2d492", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Charm official", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/447cfa11-4719-8b8c-5d7f-698fe7f2d492" + } + }, + { + "fullUrl": "urn:uuid:11738ca9-487e-3484-ff4d-5d0e04b52681", + "resource": { + "resourceType": "Observation", + "id": "11738ca9-487e-3484-ff4d-5d0e04b52681", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Airport manservant", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11738ca9-487e-3484-ff4d-5d0e04b52681" + } + }, + { + "fullUrl": "urn:uuid:a7307ba2-a39d-7fac-8333-416851242799", + "resource": { + "resourceType": "Observation", + "id": "a7307ba2-a39d-7fac-8333-416851242799", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Lanai flute unique plain feature parking pressure", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a7307ba2-a39d-7fac-8333-416851242799" + } + }, + { + "fullUrl": "urn:uuid:a0a317c7-fc88-8e06-1481-20dd212e9dc8", + "resource": { + "resourceType": "Observation", + "id": "a0a317c7-fc88-8e06-1481-20dd212e9dc8", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Instance buggy colt route pier menorah ingrate garb", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a0a317c7-fc88-8e06-1481-20dd212e9dc8" + } + }, + { + "fullUrl": "urn:uuid:9914967a-1c3e-c037-30f2-362b2135b21b", + "resource": { + "resourceType": "Observation", + "id": "9914967a-1c3e-c037-30f2-362b2135b21b", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Character press mini comic", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9914967a-1c3e-c037-30f2-362b2135b21b" + } + }, + { + "fullUrl": "urn:uuid:a43d8206-d6e6-95a5-2c99-aa86046ba477", + "resource": { + "resourceType": "Observation", + "id": "a43d8206-d6e6-95a5-2c99-aa86046ba477", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Reminder shofar congo vibration mother-in-law bondsman suspect", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a43d8206-d6e6-95a5-2c99-aa86046ba477" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json index b93f25f6d..55f05dffe 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json @@ -1,919 +1,919 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T05^MDM_T05" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:01:03.629Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T05^MDM_T05" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:26.28Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T05^MDM_T05" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post after", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + ] } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json index 3ca7aa157..5c04f49f1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json @@ -1,995 +1,995 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T05^MDM_T05" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:01:34.478Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T05^MDM_T05" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:03.081Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" + } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T05^MDM_T05" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post after", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json index c21396985..bdd6a578b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json @@ -1,965 +1,965 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T06^MDM_T06" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:02:44.036Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T06^MDM_T06" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:39.411Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" + } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T06^MDM_T06" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + ] } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" } + ] }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + }, + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" } + ] }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + ], + "text": "Order Detail" } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + } + }, + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json index b3860af1f..88de20bb1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json @@ -1,1076 +1,1076 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T06^MDM_T06" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:03:17.235Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T06^MDM_T06" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:44.695Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T06^MDM_T06" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - ], - "occurrenceDateTime": "2006-01-31T20:00:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T16:45:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + ] } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json index 68a5848d9..ac7a6150a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json @@ -1,919 +1,919 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T09^MDM_T09" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:03:55.272Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T09^MDM_T09" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:28.879Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T09^MDM_T09" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + ] } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json index 616711f45..1ff78b645 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json @@ -1,995 +1,995 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T09^MDM_T09" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:05:12.247Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T09^MDM_T09" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:52.031Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" + } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T09^MDM_T09" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json index d060f8a8d..fef968d77 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json @@ -1,965 +1,965 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T10^MDM_T10" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:08:36.031Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T10^MDM_T10" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:50.029Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" + } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T10^MDM_T10" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } + "quantityQuantity": { + "value": 54, + "unit": "lbs" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + ] } - }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + }, + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" } + ] }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + ], + "text": "Order Detail" } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" - } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" + } + }, + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } + }, + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json index ab93733ce..99a19b6ec 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json @@ -1,1076 +1,1076 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2008-01-31T19:15:00+05:30", - "identifier": { - "value": "PS1-20080131160038" - }, - "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", - "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T10^MDM_T10" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2008-01-31T16:00:00+02:15", + "identifier": { + "value": "PS1-20080131160038" + }, + "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", + "entry": [ + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:09:06.283Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" - }, - "occurredDateTime": "2008-01-31T19:15:00+05:30", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T10^MDM_T10" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" + } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:29.222Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T16:00:00+02:15", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" } + ] }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" + } + }, + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T16:00:00+02:15", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + }, + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T19:15:00+05:30", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T10^MDM_T10" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] - } - ], - "birthDate": "1972-12-01", - "gender": "male" - }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + ], + "text": "visit number" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + } + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" } + ] }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } + "context": { + "period": { + "start": "2008-01-31T15:55:00+02:15" + } }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + "content": [ + { + "attachment": { + "creation": "2008-01-31T16:00:00+02:15" } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + ] } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" + ] } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T19:10:00+05:30" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T19:15:00+05:30" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" - } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + ] } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "collection": { + "collectedDateTime": "2008-01-31T15:55:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + }, + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T19:10:00+05:30" + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + ] } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - ], - "occurrenceDateTime": "2006-01-31T20:00:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" } + ] }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2008-01-31T20:00:00+05:30" + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T16:45:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" + } + }, + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + ] } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T16:45:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json index c0d2d7201..4e2d75f18 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json @@ -1,440 +1,440 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2016-03-09T04:34:05+05:30", - "identifier": { - "value": "TC09SAPartAIG030101AA" - }, - "id": "b56f609b-5811-993c-e8ce-2ed8e3dbde53", - "entry": [ - { - "fullUrl": "urn:uuid:6eda7d2f-32f8-a6c7-5125-d59f65a25c97", - "resource": { - "resourceType": "MessageHeader", - "id": "6eda7d2f-32f8-a6c7-5125-d59f65a25c97", - "source": { - "name": "MDHHSDataHub", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "LAN", - "endpoint": "unknown", - "receiver": { - "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "sender": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/6eda7d2f-32f8-a6c7-5125-d59f65a25c97" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2016-03-08T18:04:05-05:00", + "identifier": { + "value": "TC09SAPartAIG030101AA" + }, + "id": "b56f609b-5811-993c-e8ce-2ed8e3dbde53", + "entry": [ + { + "fullUrl": "urn:uuid:6eda7d2f-32f8-a6c7-5125-d59f65a25c97", + "resource": { + "resourceType": "MessageHeader", + "id": "6eda7d2f-32f8-a6c7-5125-d59f65a25c97", + "source": { + "name": "MDHHSDataHub", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } }, - { - "fullUrl": "urn:uuid:a8f237a8-b330-c901-c5c0-5f847b8ecd91", - "resource": { - "resourceType": "Provenance", - "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:15:11.404Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2016-03-09T04:34:05+05:30", - "recorded": "2016-03-09T04:34:05+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "target": [ - { - "reference": "Bundle/b56f609b-5811-993c-e8ce-2ed8e3dbde53" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/a8f237a8-b330-c901-c5c0-5f847b8ecd91" + "destination": [ + { + "name": "LAN", + "endpoint": "unknown", + "receiver": { + "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" } - }, - { - "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "resource": { - "resourceType": "Organization", - "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "resource": { - "resourceType": "Organization", - "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" }, - { - "fullUrl": "urn:uuid:97997f4d-5259-b974-5a44-1b7450c2f4ab", - "resource": { - "resourceType": "Patient", - "id": "97997f4d-5259-b974-5a44-1b7450c2f4ab", - "identifier": [ - { - "value": "MRNTC09SA-Part A" - } - ], - "name": [ - { - "family": "Shine", - "given": [ - "Baby Girl" - ], - "use": "official" - } - ], - "birthDate": "2016-03-08", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2016-03-09T01:34:05+05:30" - } - ] - }, - "gender": "female", - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA", - "use": "home" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "use": "work", - "system": "phone" - } - ], - "deceasedBoolean": false, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Honey" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - } + "sender": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6eda7d2f-32f8-a6c7-5125-d59f65a25c97" + } + }, + { + "fullUrl": "urn:uuid:a8f237a8-b330-c901-c5c0-5f847b8ecd91", + "resource": { + "resourceType": "Provenance", + "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:32.095Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, - { - "fullUrl": "urn:uuid:f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", - "resource": { - "resourceType": "Organization", - "id": "f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", - "name": "Walmart" + "occurredDateTime": "2016-03-08T18:04:05-05:00", + "recorded": "2016-03-08T18:04:05-05:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" + "who": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - }, - { - "fullUrl": "urn:uuid:d57aadb1-2418-cd95-5527-0d92a48b5dfa", - "resource": { - "resourceType": "Account", - "id": "d57aadb1-2418-cd95-5527-0d92a48b5dfa", - "status": "active", - "guarantor": [ - { - "party": { - "reference": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" - }, - "onHold": false - } - ], - "subject": [ - { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/d57aadb1-2418-cd95-5527-0d92a48b5dfa" + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" } + ] }, - { - "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0", - "resource": { - "resourceType": "Coverage", - "id": "b4494dc0-e11b-658a-8cce-5241ed1ccdc0", - "class": [ - { - "value": "NA", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "IG030101", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "period": { - "end": "2017-10-08T01:34:05+05:30" - }, - "identifier": [ - { - "value": "TC09SA-PartA", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - } - ], - "status": "active", - "beneficiary": { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - }, - "payor": [ - { - "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" - } - ], - "policyHolder": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - }, - "subscriber": { - "reference": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" + "target": [ + { + "reference": "Bundle/b56f609b-5811-993c-e8ce-2ed8e3dbde53" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/a8f237a8-b330-c901-c5c0-5f847b8ecd91" + } + }, + { + "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "resource": { + "resourceType": "Organization", + "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + }, + { + "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "resource": { + "resourceType": "Organization", + "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Coverage/b4494dc0-e11b-658a-8cce-5241ed1ccdc0" + ] } - }, - { - "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", - "resource": { - "resourceType": "Organization", - "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", - "address": [ - { - "line": [ - "30555" - ], - "city": "Lansing", - "state": "MI", - "postalCode": "48933" - } - ], - "identifier": [ - { - "value": "LHC" - } - ], - "name": "Lansing Health Care" - }, - "request": { - "method": "PUT", - "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + }, + { + "fullUrl": "urn:uuid:97997f4d-5259-b974-5a44-1b7450c2f4ab", + "resource": { + "resourceType": "Patient", + "id": "97997f4d-5259-b974-5a44-1b7450c2f4ab", + "identifier": [ + { + "value": "MRNTC09SA-Part A" + } + ], + "name": [ + { + "family": "Shine", + "given": [ + "Baby Girl" + ], + "use": "official" + } + ], + "birthDate": "2016-03-08", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2016-03-08T15:04:05-05:00" } + ] }, - { - "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "resource": { - "resourceType": "Organization", - "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "name": "Walmart" + "gender": "female", + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA", + "use": "home" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "use": "work", + "system": "phone" + } + ], + "deceasedBoolean": false, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Honey" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + } + }, + { + "fullUrl": "urn:uuid:f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "resource": { + "resourceType": "Organization", + "id": "f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" + } + }, + { + "fullUrl": "urn:uuid:d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "resource": { + "resourceType": "Account", + "id": "d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" }, - "request": { - "method": "PUT", - "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + "onHold": false + } + ], + "subject": [ + { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/d57aadb1-2418-cd95-5527-0d92a48b5dfa" + } + }, + { + "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0", + "resource": { + "resourceType": "Coverage", + "id": "b4494dc0-e11b-658a-8cce-5241ed1ccdc0", + "class": [ + { + "value": "NA", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] } + }, + { + "value": "IG030101", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "period": { + "end": "2017-10-07T15:04:05-05:00" }, - { - "fullUrl": "urn:uuid:fed1892c-d5ce-3318-bc7c-692fa1cc5093", - "resource": { - "resourceType": "RelatedPerson", - "id": "fed1892c-d5ce-3318-bc7c-692fa1cc5093", - "relationship": [ - { - "coding": [ - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA" - } - ], - "name": [ - { - "family": "Shine", - "given": [ - "Sarah" - ] - } - ], - "birthDate": "1975-06-27", - "patient": { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + "identifier": [ + { + "value": "TC09SA-PartA", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" - } + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + } + ], + "status": "active", + "beneficiary": { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + }, + "payor": [ + { + "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + ], + "policyHolder": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + }, + "subscriber": { + "reference": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" + } + }, + "request": { + "method": "PUT", + "url": "Coverage/b4494dc0-e11b-658a-8cce-5241ed1ccdc0" + } + }, + { + "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", + "resource": { + "resourceType": "Organization", + "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", + "address": [ + { + "line": [ + "30555" + ], + "city": "Lansing", + "state": "MI", + "postalCode": "48933" + } + ], + "identifier": [ + { + "value": "LHC" + } + ], + "name": "Lansing Health Care" + }, + "request": { + "method": "PUT", + "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + }, + { + "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "resource": { + "resourceType": "Organization", + "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + }, + { + "fullUrl": "urn:uuid:fed1892c-d5ce-3318-bc7c-692fa1cc5093", + "resource": { + "resourceType": "RelatedPerson", + "id": "fed1892c-d5ce-3318-bc7c-692fa1cc5093", + "relationship": [ + { + "coding": [ + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA" + } + ], + "name": [ + { + "family": "Shine", + "given": [ + "Sarah" + ] + } + ], + "birthDate": "1975-06-27", + "patient": { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json index 4850c9e22..9adddfe50 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json @@ -1,733 +1,733 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2016-03-09T21:02:05+05:30", - "identifier": { - "value": "TC14IG030107AA" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2016-03-09T10:32:05-05:00", + "identifier": { + "value": "TC14IG030107AA" + }, + "id": "65e80ae9-58dc-500c-8ad4-ab62c0bb6898", + "entry": [ + { + "fullUrl": "urn:uuid:f651f710-5269-afaa-f743-57b7a501b0c6", + "resource": { + "resourceType": "MessageHeader", + "id": "f651f710-5269-afaa-f743-57b7a501b0c6", + "source": { + "name": "MDHHS-DataHub", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "LAN", + "endpoint": "unknown", + "receiver": { + "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "sender": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f651f710-5269-afaa-f743-57b7a501b0c6" + } }, - "id": "65e80ae9-58dc-500c-8ad4-ab62c0bb6898", - "entry": [ - { - "fullUrl": "urn:uuid:f651f710-5269-afaa-f743-57b7a501b0c6", - "resource": { - "resourceType": "MessageHeader", - "id": "f651f710-5269-afaa-f743-57b7a501b0c6", - "source": { - "name": "MDHHS-DataHub", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "LAN", - "endpoint": "unknown", - "receiver": { - "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "sender": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + { + "fullUrl": "urn:uuid:2f0f2d7d-7f93-e624-fa21-11d1c490897f", + "resource": { + "resourceType": "Provenance", + "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:13.501Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2016-03-09T10:32:05-05:00", + "recorded": "2016-03-09T10:32:05-05:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/f651f710-5269-afaa-f743-57b7a501b0c6" + "who": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - }, - { - "fullUrl": "urn:uuid:2f0f2d7d-7f93-e624-fa21-11d1c490897f", - "resource": { - "resourceType": "Provenance", - "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:16:11.017Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2016-03-09T21:02:05+05:30", - "recorded": "2016-03-09T21:02:05+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "target": [ - { - "reference": "Bundle/65e80ae9-58dc-500c-8ad4-ab62c0bb6898" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/2f0f2d7d-7f93-e624-fa21-11d1c490897f" + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" } + ] }, - { - "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "resource": { - "resourceType": "Organization", - "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + "target": [ + { + "reference": "Bundle/65e80ae9-58dc-500c-8ad4-ab62c0bb6898" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/2f0f2d7d-7f93-e624-fa21-11d1c490897f" + } + }, + { + "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "resource": { + "resourceType": "Organization", + "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + }, + { + "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "resource": { + "resourceType": "Organization", + "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "resource": { - "resourceType": "Organization", - "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + }, + { + "fullUrl": "urn:uuid:daed9284-6d12-ca12-4260-9aad09e1f201", + "resource": { + "resourceType": "Patient", + "id": "daed9284-6d12-ca12-4260-9aad09e1f201", + "identifier": [ + { + "value": "MRNTC14" + } + ], + "name": [ + { + "family": "Old", + "given": [ + "Baby Girl" + ], + "use": "official" + } + ], + "birthDate": "2016-02-23", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2016-02-23T06:27:05-05:00" } + ] }, - { - "fullUrl": "urn:uuid:daed9284-6d12-ca12-4260-9aad09e1f201", - "resource": { - "resourceType": "Patient", - "id": "daed9284-6d12-ca12-4260-9aad09e1f201", - "identifier": [ - { - "value": "MRNTC14" - } - ], - "name": [ - { - "family": "Old", - "given": [ - "Baby Girl" - ], - "use": "official" - } - ], - "birthDate": "2016-02-23", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2016-02-23T16:57:05+05:30" - } - ] - }, - "gender": "female", - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA", - "use": "home" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "use": "work", - "system": "phone" - } - ], - "deceasedBoolean": false, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Shonal" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + "gender": "female", + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA", + "use": "home" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "use": "work", + "system": "phone" + } + ], + "deceasedBoolean": false, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Shonal" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + } + }, + { + "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "resource": { + "resourceType": "Organization", + "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + }, + { + "fullUrl": "urn:uuid:2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "resource": { + "resourceType": "Account", + "id": "2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" } - }, - { - "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "resource": { - "resourceType": "Organization", - "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "name": "Walmart" - }, - "request": { - "method": "PUT", - "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + ], + "subject": [ + { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a" + } + }, + { + "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3", + "resource": { + "resourceType": "Coverage", + "id": "2839c7cc-58ca-f08d-1358-a15fa18660d3", + "class": [ + { + "value": "NA", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] } - }, - { - "fullUrl": "urn:uuid:2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", - "resource": { - "resourceType": "Account", - "id": "2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", - "status": "active", - "guarantor": [ - { - "party": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - } - } - ], - "subject": [ - { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a" + }, + { + "value": "FR080901", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "period": { + "end": "2017-10-07T15:04:05-05:00" }, - { - "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3", - "resource": { - "resourceType": "Coverage", - "id": "2839c7cc-58ca-f08d-1358-a15fa18660d3", - "class": [ - { - "value": "NA", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "FR080901", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "period": { - "end": "2017-10-08T01:34:05+05:30" - }, - "identifier": [ - { - "value": "TC05SA", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - } - ], - "status": "active", - "beneficiary": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "payor": [ - { - "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" - } - ], - "policyHolder": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - }, - "subscriber": { - "reference": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" + "identifier": [ + { + "value": "TC05SA", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/2839c7cc-58ca-f08d-1358-a15fa18660d3" - } + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + } + ], + "status": "active", + "beneficiary": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" }, - { - "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", - "resource": { - "resourceType": "Organization", - "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", - "address": [ - { - "line": [ - "30555" - ], - "city": "Lansing", - "state": "MI", - "postalCode": "48933" - } - ], - "identifier": [ - { - "value": "LHC" - } - ], - "name": "Lansing Health Care" - }, - "request": { - "method": "PUT", - "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" - } + "payor": [ + { + "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + ], + "policyHolder": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" }, - { - "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3", - "resource": { - "resourceType": "RelatedPerson", - "id": "ff1b880e-468e-7a2f-41cb-8b6e204901f3", - "relationship": [ - { - "coding": [ - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA" - } - ], - "name": [ - { - "family": "Shonal", - "given": [ - "Old" - ] - } - ], - "birthDate": "1975-06-27", - "patient": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + "subscriber": { + "reference": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" + } + }, + "request": { + "method": "PUT", + "url": "Coverage/2839c7cc-58ca-f08d-1358-a15fa18660d3" + } + }, + { + "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", + "resource": { + "resourceType": "Organization", + "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", + "address": [ + { + "line": [ + "30555" + ], + "city": "Lansing", + "state": "MI", + "postalCode": "48933" + } + ], + "identifier": [ + { + "value": "LHC" + } + ], + "name": "Lansing Health Care" + }, + "request": { + "method": "PUT", + "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + }, + { + "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3", + "resource": { + "resourceType": "RelatedPerson", + "id": "ff1b880e-468e-7a2f-41cb-8b6e204901f3", + "relationship": [ + { + "coding": [ + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA" + } + ], + "name": [ + { + "family": "Shonal", + "given": [ + "Old" + ] + } + ], + "birthDate": "1975-06-27", + "patient": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" + } + }, + { + "fullUrl": "urn:uuid:c0150cb3-0fdf-5809-54b6-8e3f186a90d7", + "resource": { + "resourceType": "ServiceRequest", + "id": "c0150cb3-0fdf-5809-54b6-8e3f186a90d7", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "ORD723222", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" + ] } - }, - { - "fullUrl": "urn:uuid:c0150cb3-0fdf-5809-54b6-8e3f186a90d7", - "resource": { - "resourceType": "ServiceRequest", - "id": "c0150cb3-0fdf-5809-54b6-8e3f186a90d7", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "ORD723222", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-783274", - "system": "urn:oid:2.16.840.1.113883.3.72.5.25", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "GORD874211", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2016-02-23T20:07:05+05:30", - "code": { - "coding": [ - { - "code": "1320", - "display": "HIV Ag/Ab - Serum", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "subject": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "requester": { - "reference": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" - }, - "specimen": [ - { - "reference": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" - } - ], - "note": [ - { - "text": "the sky is blue" - } - ], - "occurrenceDateTime": "2016-02-23T20:17:05+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + }, + { + "value": "R-783274", + "system": "urn:oid:2.16.840.1.113883.3.72.5.25", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c9463523-7143-2510-6861-24e4a2703f22", - "resource": { - "resourceType": "Organization", - "id": "c9463523-7143-2510-6861-24e4a2703f22", - "name": "Detroit City Hospital", - "identifier": [ - { - "value": "8175000005" - } - ], - "address": [ - { - "line": [ - "2405 Garden St" - ], - "city": "Detroit", - "state": "MI", - "postalCode": "48201", - "country": "USA" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c9463523-7143-2510-6861-24e4a2703f22" + }, + { + "value": "GORD874211", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", - "resource": { - "resourceType": "Practitioner", - "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", - "identifier": [ - { - "value": "8075000001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI" - } - ], - "name": [ - { - "family": "Smiles", - "given": [ - "Minnie" - ], - "suffix": [ - "DR" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" + } + ], + "authoredOn": "2016-02-23T09:37:05-05:00", + "code": { + "coding": [ + { + "code": "1320", + "display": "HIV Ag/Ab - Serum", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] + }, + "subject": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + }, + "requester": { + "reference": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" + }, + "specimen": [ + { + "reference": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" + } + ], + "note": [ + { + "text": "the sky is blue" + } + ], + "occurrenceDateTime": "2016-02-23T09:47:05-05:00" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + }, + { + "fullUrl": "urn:uuid:c9463523-7143-2510-6861-24e4a2703f22", + "resource": { + "resourceType": "Organization", + "id": "c9463523-7143-2510-6861-24e4a2703f22", + "name": "Detroit City Hospital", + "identifier": [ + { + "value": "8175000005" + } + ], + "address": [ + { + "line": [ + "2405 Garden St" + ], + "city": "Detroit", + "state": "MI", + "postalCode": "48201", + "country": "USA" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c9463523-7143-2510-6861-24e4a2703f22" + } + }, + { + "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", + "resource": { + "resourceType": "Practitioner", + "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", + "identifier": [ + { + "value": "8075000001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI" + } + ], + "name": [ + { + "family": "Smiles", + "given": [ + "Minnie" + ], + "suffix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" + } + }, + { + "fullUrl": "urn:uuid:9996be7d-26c8-997e-2f57-9ce40fe59181", + "resource": { + "resourceType": "PractitionerRole", + "id": "9996be7d-26c8-997e-2f57-9ce40fe59181", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "organization": { + "reference": "Organization/c9463523-7143-2510-6861-24e4a2703f22" }, - { - "fullUrl": "urn:uuid:9996be7d-26c8-997e-2f57-9ce40fe59181", - "resource": { - "resourceType": "PractitionerRole", - "id": "9996be7d-26c8-997e-2f57-9ce40fe59181", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "organization": { - "reference": "Organization/c9463523-7143-2510-6861-24e4a2703f22" - }, - "practitioner": { - "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" + "practitioner": { + "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" + } + }, + { + "fullUrl": "urn:uuid:29fb3250-9864-4dad-e590-4126768684d4", + "resource": { + "resourceType": "Specimen", + "id": "29fb3250-9864-4dad-e590-4126768684d4", + "identifier": [ + { + "value": "ORD723222", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" + ] + } + }, + { + "value": "R-783274", + "system": "urn:oid:2.16.840.1.113883.3.72.5.25", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedPeriod": { + "start": "2016-03-08T10:32:05-05:00", + "end": "2016-03-08T10:32:05-05:00" + } }, - { - "fullUrl": "urn:uuid:29fb3250-9864-4dad-e590-4126768684d4", - "resource": { - "resourceType": "Specimen", - "id": "29fb3250-9864-4dad-e590-4126768684d4", - "identifier": [ - { - "value": "ORD723222", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-783274", - "system": "urn:oid:2.16.840.1.113883.3.72.5.25", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedPeriod": { - "start": "2016-03-08T21:02:05+05:30", - "end": "2016-03-08T21:02:05+05:30" - } - }, - "request": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" + "request": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" + } + }, + { + "fullUrl": "urn:uuid:7fd7b81a-cae2-53b5-1d4c-b220a32a5695", + "resource": { + "resourceType": "Observation", + "id": "7fd7b81a-cae2-53b5-1d4c-b220a32a5695", + "status": "unknown", + "code": { + "coding": [ + { + "code": "AOE25", + "display": "Pregnancy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/BOL_0002" } + ] }, - { - "fullUrl": "urn:uuid:7fd7b81a-cae2-53b5-1d4c-b220a32a5695", - "resource": { - "resourceType": "Observation", - "id": "7fd7b81a-cae2-53b5-1d4c-b220a32a5695", - "status": "unknown", - "code": { - "coding": [ - { - "code": "AOE25", - "display": "Pregnancy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/BOL_0002" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" - } - ], - "valueString": "NO", - "effectiveDateTime": "2016-03-08T21:02:05+05:30", - "subject": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Order Detail" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7fd7b81a-cae2-53b5-1d4c-b220a32a5695" + "basedOn": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + ], + "valueString": "NO", + "effectiveDateTime": "2016-03-08T10:32:05-05:00", + "subject": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7fd7b81a-cae2-53b5-1d4c-b220a32a5695" + } + }, + { + "fullUrl": "urn:uuid:92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", + "resource": { + "resourceType": "Specimen", + "id": "92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", + "type": { + "coding": [ + { + "code": "119339001", + "display": "Stool Specimen (Specimen)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ] }, - { - "fullUrl": "urn:uuid:92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", - "resource": { - "resourceType": "Specimen", - "id": "92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", - "type": { - "coding": [ - { - "code": "119339001", - "display": "Stool Specimen (Specimen)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "collection": { - "collectedDateTime": "2016-03-08T21:02:05+05:30" - }, - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "NONE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - } - } - ], - "request": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707" + "collection": { + "collectedDateTime": "2016-03-08T10:32:05-05:00" + }, + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "NONE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] } - } - ] + } + ], + "request": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json index e3a858ee5..fda7efa54 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json @@ -1,2841 +1,2841 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00019" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } }, - "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", - "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:27.063Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:13:38.79Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "0310" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + ] } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + ] } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T14:41:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6415af3e-e19f-4ebe-e028-68273aa308ff", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "6415af3e-e19f-4ebe-e028-68273aa308ff", - "category": [ - "food" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/6415af3e-e19f-4ebe-e028-68273aa308ff" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" }, - { - "fullUrl": "urn:uuid:0bf0c9dd-ca57-7366-1557-e073ee1f717a", - "resource": { - "resourceType": "ServiceRequest", - "id": "0bf0c9dd-ca57-7366-1557-e073ee1f717a", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PS-31" - } - ] - } - } - ], - "status": "active", - "intent": "order", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:6415af3e-e19f-4ebe-e028-68273aa308ff", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "6415af3e-e19f-4ebe-e028-68273aa308ff", + "category": [ + "food" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - { - "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "resource": { - "resourceType": "ServiceRequest", - "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "basedOn": [ - { - "reference": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" - } - ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/6415af3e-e19f-4ebe-e028-68273aa308ff" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", - "resource": { - "resourceType": "Condition", - "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } - ] + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] }, - "request": { - "method": "PUT", - "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:0bf0c9dd-ca57-7366-1557-e073ee1f717a", + "resource": { + "resourceType": "ServiceRequest", + "id": "0bf0c9dd-ca57-7366-1557-e073ee1f717a", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "type": { + "coding": [ + { + "code": "PS-31" + } + ] + } + } + ], + "status": "active", + "intent": "order", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + }, + { + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "resource": { + "resourceType": "ServiceRequest", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "basedOn": [ + { + "reference": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", + "resource": { + "resourceType": "Condition", + "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" } + ], + "text": "Diabetes" }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" } + ], + "text": "Salmonella species" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + ], + "text": "Preliminary" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } - ] + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + }, + { + "fullUrl": "urn:uuid:93cb07c2-034f-56b1-9a47-558f231eeea0", + "resource": { + "resourceType": "Specimen", + "id": "93cb07c2-034f-56b1-9a47-558f231eeea0", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ], + "text": "Blood" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-03T14:34:28-08:00", + "end": "2011-11-03T14:34:28-08:00" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } } + ] }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" + "receivedTime": "2012-03-01", + "container": [ + { + "identifier": [ + { + "value": "A59032" + } + ], + "capacity": { + "value": 10, + "unit": "ML" + }, + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" - } - }, - { - "fullUrl": "urn:uuid:93cb07c2-034f-56b1-9a47-558f231eeea0", - "resource": { - "resourceType": "Specimen", - "id": "93cb07c2-034f-56b1-9a47-558f231eeea0", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "identifier": [ - { - "value": "A59032" - } - ], - "capacity": { - "value": 10, - "unit": "ML" - }, - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } - ] - }, - "specimenQuantity": { - "value": 5, - "unit": "ML" - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + "specimenQuantity": { + "value": 5, + "unit": "ML" } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } }, - { - "fullUrl": "urn:uuid:9216aed5-efd7-bd84-23b9-aca219d8b23b", - "resource": { - "resourceType": "DiagnosticReport", - "id": "9216aed5-efd7-bd84-23b9-aca219d8b23b", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/9216aed5-efd7-bd84-23b9-aca219d8b23b" + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + } + }, + { + "fullUrl": "urn:uuid:9216aed5-efd7-bd84-23b9-aca219d8b23b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9216aed5-efd7-bd84-23b9-aca219d8b23b", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9216aed5-efd7-bd84-23b9-aca219d8b23b" + } + }, + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + }, + { + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "resource": { + "resourceType": "Organization", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } + }, + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "resource": { + "resourceType": "Observation", + "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "resource": { - "resourceType": "Organization", - "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + "valueQuantity": { + "value": 27 } - }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" - }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + "valueQuantity": { + "value": 25 } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "resource": { - "resourceType": "Observation", - "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" + "specimen": { + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json index ac0b905d1..6762131ec 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json @@ -1,2546 +1,2546 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00018" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } }, - "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", - "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:16.294Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:14:17.046Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "resource": { + "resourceType": "ServiceRequest", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", + "resource": { + "resourceType": "Condition", + "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + ] } - }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + ] } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + ] } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T14:41:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" } + ], + "text": "Salmonella species" }, - { - "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "resource": { - "resourceType": "ServiceRequest", - "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" - } - ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + ], + "text": "Preliminary" } - }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - }, - { - "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", - "resource": { - "resourceType": "Condition", - "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", + "resource": { + "resourceType": "Specimen", + "id": "2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", + "identifier": [ + { + "value": "2545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ], + "text": "Blood" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-03T14:34:28-08:00", + "end": "2011-11-03T14:34:28-08:00" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" + } + }, + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + }, + { + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "resource": { + "resourceType": "Organization", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } + }, + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", - "resource": { - "resourceType": "Specimen", - "id": "2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", - "identifier": [ - { - "value": "2545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } - ] - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + }, + { + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "resource": { + "resourceType": "ServiceRequest", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "2203", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "value": "2301", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "basedOn": [ + { + "reference": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T13:00:00+02:15" } + } }, - { - "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "resource": { - "resourceType": "Organization", - "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + "code": { + "coding": [ + { + "code": "24590-2", + "display": "MR Brain", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" - }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + } + }, + { + "fullUrl": "urn:uuid:e7554134-0706-cbec-4d30-016ba0bf5d74", + "resource": { + "resourceType": "ServiceRequest", + "id": "e7554134-0706-cbec-4d30-016ba0bf5d74", + "identifier": [ + { + "value": "PAI-291", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "value": "FAI-292", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "active", + "intent": "order", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" + } + }, + { + "fullUrl": "urn:uuid:2b31b7a0-ab9d-942c-4611-89590ee58b1f", + "resource": { + "resourceType": "Specimen", + "id": "2b31b7a0-ab9d-942c-4611-89590ee58b1f", + "collection": { + "collectedDateTime": "2021-10-20T13:00:00+02:15" }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" - } - ] + "request": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" + } + }, + { + "fullUrl": "urn:uuid:0df7b0a3-d581-3f7c-4a37-9aba787cc146", + "resource": { + "resourceType": "Specimen", + "id": "0df7b0a3-d581-3f7c-4a37-9aba787cc146", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - }, - { - "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "resource": { - "resourceType": "ServiceRequest", - "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "2203", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2301", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "basedOn": [ - { - "reference": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T16:15:00+05:30" - } - } - }, - "code": { - "coding": [ - { - "code": "24590-2", - "display": "MR Brain", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" - } - ] + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ], + "text": "Blood" }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-03T14:34:28-08:00", + "end": "2011-11-03T14:34:28-08:00" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } } + ] }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" + }, + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.114222", + "assigner": { + "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } }, - { - "fullUrl": "urn:uuid:e7554134-0706-cbec-4d30-016ba0bf5d74", - "resource": { - "resourceType": "ServiceRequest", - "id": "e7554134-0706-cbec-4d30-016ba0bf5d74", - "identifier": [ - { - "value": "PAI-291", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-292", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } - ] - } - } - ], - "status": "active", - "intent": "order", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" + } + }, + { + "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "resource": { + "resourceType": "Organization", + "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" + ] } - }, - { - "fullUrl": "urn:uuid:2b31b7a0-ab9d-942c-4611-89590ee58b1f", - "resource": { - "resourceType": "Specimen", - "id": "2b31b7a0-ab9d-942c-4611-89590ee58b1f", - "collection": { - "collectedDateTime": "2021-10-20T16:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } + }, + { + "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "resource": { + "resourceType": "Observation", + "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:0df7b0a3-d581-3f7c-4a37-9aba787cc146", - "resource": { - "resourceType": "Specimen", - "id": "0df7b0a3-d581-3f7c-4a37-9aba787cc146", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } - ] - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.114222", - "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" + "valueQuantity": { + "value": 27 } - }, - { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "resource": { - "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "valueQuantity": { + "value": 25 } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "resource": { - "resourceType": "Observation", - "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" + "specimen": { + "reference": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json index 308458cf8..eec07a050 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json @@ -1,4213 +1,4213 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00019" - }, - "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", - "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:07:03.184Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:36.851Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T16:00:00+05:30", - "end": "2022-11-18T16:00:00+05:30" - } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(555) 555-2004", - "system": "phone", - "use": "home" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" - }, - "onHold": false, - "period": { - "start": "2016-01-01" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", - "resource": { - "resourceType": "RelatedPerson", - "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", - "identifier": [ - { - "value": "1516" - }, - { - "value": "19290207" - }, - { - "value": "2245367687", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MOT", - "display": "MOT" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "(608)251-7777", - "system": "phone", - "use": "home" - }, - { - "value": "(608)2517777", - "system": "phone", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "female", - "birthDate": "2001-04-12", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" - } - }, - { - "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", - "resource": { - "resourceType": "Location", - "id": "502c12bb-692b-055b-2d94-bf9805c5969e", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "request": { - "method": "PUT", - "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "code": "SpecialAccessRestrictionInstructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00Z", + "end": "2022-11-18T10:30:00Z" + } + } + ] } + ] }, - { - "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", - "resource": { - "resourceType": "Location", - "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", - "partOf": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", - "resource": { - "resourceType": "Location", - "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", - "name": "GHH", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + ] } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "onHold": false, + "period": { + "start": "2016-01-01" } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "resource": { + "resourceType": "RelatedPerson", + "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "identifier": [ + { + "value": "1516" + }, + { + "value": "19290207" + }, + { + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T14:41:00+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - }, - { - "condition": { - "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ - { - "value": "5426387999", - "system": "phone" - } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", - "resource": { - "resourceType": "RelatedPerson", - "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "phone" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] - }, - { - "family": "Smith", - "given": [ - "John", - "L" - ] - } - ], - "gender": "female", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", + "resource": { + "resourceType": "Location", + "id": "502c12bb-692b-055b-2d94-bf9805c5969e", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "resource": { + "resourceType": "Location", + "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "partOf": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" }, - { - "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" + } + }, + { + "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", + "resource": { + "resourceType": "Location", + "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", + "name": "GHH", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", - "resource": { - "resourceType": "ServiceRequest", - "id": "1694bdd9-e009-505d-1b38-a011c05aca98", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "9adf2339de714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "reasonReference": [ - { - "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" - } - ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" }, - { - "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", - "resource": { - "resourceType": "Organization", - "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", - "name": "Pathology " - }, - "request": { - "method": "PUT", - "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" } + ] }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] - } - ] + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "organization": { - "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" - }, - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - } - }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ] + "rank": 1 + }, + { + "condition": { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - }, - { - "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", - "resource": { - "resourceType": "Condition", - "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T18:00:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T19:00:15+05:30" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "resource": { + "resourceType": "RelatedPerson", + "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" }, - { - "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", - "resource": { - "resourceType": "DiagnosticReport", - "id": "248a4d68-4053-9a2a-7104-103d72488298", - "code": { - "coding": [ - { - "code": "3DHIS_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] }, - { - "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", - "resource": { - "resourceType": "Device", - "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", - "identifier": [ - { - "value": "Unknown", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" - }, - { - "value": "Unknown", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:612c5b43-e253-a3b6-e43e-d2b616f88975", - "resource": { - "resourceType": "Observation", - "id": "612c5b43-e253-a3b6-e43e-d2b616f88975", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHIS_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "OB-5.1", - "display": "Test", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" - } - ] - }, - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "note": [ - { - "text": "Note test" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" }, - { - "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", - "resource": { - "resourceType": "Specimen", - "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - } - ], - "accessionIdentifier": { - "value": "2017-PT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "request": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ], - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - ] + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", - "resource": { - "resourceType": "DiagnosticReport", - "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_LD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" - } + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", + "resource": { + "resourceType": "ServiceRequest", + "id": "1694bdd9-e009-505d-1b38-a011c05aca98", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", - "resource": { - "resourceType": "Observation", - "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "valueString": "Observation value", - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" }, - "request": { - "method": "PUT", - "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + }, + { + "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", + "resource": { + "resourceType": "Organization", + "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", + "name": "Pathology " + }, + "request": { + "method": "PUT", + "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "organization": { + "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + }, + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "resource": { + "resourceType": "Condition", + "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" } + ], + "text": "Diabetes" }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "onsetDateTime": "2020-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + }, + { + "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", + "resource": { + "resourceType": "DiagnosticReport", + "id": "248a4d68-4053-9a2a-7104-103d72488298", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", - "resource": { - "resourceType": "DiagnosticReport", - "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELARE", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + } + }, + { + "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", + "resource": { + "resourceType": "Device", + "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", + "identifier": [ + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" + }, + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + } + }, + { + "fullUrl": "urn:uuid:612c5b43-e253-a3b6-e43e-d2b616f88975", + "resource": { + "resourceType": "Observation", + "id": "612c5b43-e253-a3b6-e43e-d2b616f88975", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", - "resource": { - "resourceType": "Observation", - "id": "95061d26-6388-e018-b093-9a687d42b908", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "valueQuantity": { - "value": 120 - }, - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "OB-5.1", + "display": "Test", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" } + ] }, - { - "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Note test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" + } + }, + { + "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "resource": { + "resourceType": "Specimen", + "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] }, - { - "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", - "resource": { - "resourceType": "ServiceRequest", - "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "29adf2339de714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" - } - ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2017-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + }, + { + "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - { - "fullUrl": "urn:uuid:04f87c93-a03b-ed4c-fd83-fc61a2bafee8", - "resource": { - "resourceType": "Specimen", - "id": "04f87c93-a03b-ed4c-fd83-fc61a2bafee8", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", - "resource": { - "resourceType": "Condition", - "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2018-05-01T18:00:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T19:00:15+05:30" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "resource": { + "resourceType": "Observation", + "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", - "resource": { - "resourceType": "DiagnosticReport", - "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", - "code": { - "coding": [ - { - "code": "3DH_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueString": "Observation value", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" + ], + "text": "Final" } - }, - { - "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", - "resource": { - "resourceType": "Specimen", - "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - } - ], - "accessionIdentifier": { - "value": "2018-PT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "request": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ], - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", - "resource": { - "resourceType": "DiagnosticReport", - "id": "370e1124-2579-084a-42bd-160d2fb0c774", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "4DHISTECH_LD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + } + }, + { + "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", + "resource": { + "resourceType": "Observation", + "id": "95061d26-6388-e018-b093-9a687d42b908", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", - "resource": { - "resourceType": "DiagnosticReport", - "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", - "code": { - "coding": [ - { - "code": "4DHISTECH_LABELARE", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" - } - ] + "valueQuantity": { + "value": 120 + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" + } + }, + { + "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", - "resource": { - "resourceType": "ServiceRequest", - "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "29adf2e714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-41996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ], - "occurrenceDateTime": "2021-10-20T15:15:00+05:30", - "supportingInfo": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - }, - { - "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" - }, - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - }, - { - "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + } + }, + { + "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", + "resource": { + "resourceType": "ServiceRequest", + "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "29adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:060657ea-b419-660c-6786-4b82543f3bd5", - "resource": { - "resourceType": "Specimen", - "id": "060657ea-b419-660c-6786-4b82543f3bd5", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" }, - "request": { - "method": "PUT", - "url": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + }, + { + "fullUrl": "urn:uuid:04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "resource": { + "resourceType": "Specimen", + "id": "04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + }, + { + "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", + "resource": { + "resourceType": "Condition", + "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" } + ], + "text": "Diabetes" }, - { - "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", - "resource": { - "resourceType": "Observation", - "id": "d172fdac-a8ed-9480-80bb-b33992f04629", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ], - "valueString": "Test", - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ] + "onsetDateTime": "2018-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + }, + { + "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "code": { + "coding": [ + { + "code": "3DH_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", - "resource": { - "resourceType": "Specimen", - "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", - "identifier": [ - { - "value": "2019-PAT-1456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "request": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ], - "parent": [ - { - "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" + } + }, + { + "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "resource": { + "resourceType": "Specimen", + "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ] }, - { - "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", - "resource": { - "resourceType": "Specimen", - "id": "15f429e9-5db1-5521-af83-8dc73baa5009", - "identifier": [ - { - "value": "2019-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2018-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + }, + { + "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", + "resource": { + "resourceType": "DiagnosticReport", + "id": "370e1124-2579-084a-42bd-160d2fb0c774", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "4DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - { - "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", - "resource": { - "resourceType": "Observation", - "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 80 - } - }, - { - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 120 - } - } - ], - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - } - ], - "note": [ - { - "text": "Test Note OBX1" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" + } + }, + { + "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", + "code": { + "coding": [ + { + "code": "4DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", - "resource": { - "resourceType": "ServiceRequest", - "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "9adf2339de714c6698063e3ddf5d0167", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" - }, - { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ], - "occurrenceDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" + } + }, + { + "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "resource": { + "resourceType": "ServiceRequest", + "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "29adf2e714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-41996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:851bdda7-6cf5-57c9-970a-956116903efa", - "resource": { - "resourceType": "Specimen", - "id": "851bdda7-6cf5-57c9-970a-956116903efa", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15", + "supportingInfo": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + }, + { + "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + }, + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + }, + { + "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + }, + { + "fullUrl": "urn:uuid:060657ea-b419-660c-6786-4b82543f3bd5", + "resource": { + "resourceType": "Specimen", + "id": "060657ea-b419-660c-6786-4b82543f3bd5", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", - "resource": { - "resourceType": "ServiceRequest", - "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", - "status": "revoked", - "intent": "order", - "identifier": [ - { - "value": "PO-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FO-3", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339dc6698063e3ddf5d0167", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" - }, - { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ], - "occurrenceDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + }, + { + "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", + "resource": { + "resourceType": "Observation", + "id": "d172fdac-a8ed-9480-80bb-b33992f04629", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - { - "fullUrl": "urn:uuid:2b18a05d-bccc-f389-aa68-0b89fca251cd", - "resource": { - "resourceType": "Specimen", - "id": "2b18a05d-bccc-f389-aa68-0b89fca251cd", - "identifier": [ - { - "value": "PO-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FO-3", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" - }, - "request": [ - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + "basedOn": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "valueString": "Test", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + } + }, + { + "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", + "resource": { + "resourceType": "Specimen", + "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", + "identifier": [ + { + "value": "2019-PAT-1456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ] }, - { - "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", - "resource": { - "resourceType": "Observation", - "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - } - ], - "component": [ - { - "code": { - "coding": [ - { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 80 - } - }, - { - "code": { - "coding": [ - { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 120 - } - } - ], - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "note": [ - { - "text": "Test Note OBX1" - } - ], - "specimen": { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "parent": [ + { + "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + { + "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", + "resource": { + "resourceType": "Specimen", + "id": "15f429e9-5db1-5521-af83-8dc73baa5009", + "identifier": [ + { + "value": "2019-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + }, + { + "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", + "resource": { + "resourceType": "Observation", + "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - { - "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", - "resource": { - "resourceType": "Encounter", - "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "50011", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Acc-Mgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T14:41:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - "request": { - "method": "PUT", - "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + "valueQuantity": { + "value": 80 } - }, - { - "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", - "resource": { - "resourceType": "Location", - "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", - "name": "Lab01", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + "valueQuantity": { + "value": 120 } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" }, - { - "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", - "resource": { - "resourceType": "Location", - "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", - "partOf": { - "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" - }, - "name": "Room01", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + } + }, + { + "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "resource": { + "resourceType": "ServiceRequest", + "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + }, + { + "fullUrl": "urn:uuid:851bdda7-6cf5-57c9-970a-956116903efa", + "resource": { + "resourceType": "Specimen", + "id": "851bdda7-6cf5-57c9-970a-956116903efa", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + } + }, + { + "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", + "resource": { + "resourceType": "ServiceRequest", + "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", + "status": "revoked", + "intent": "order", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339dc6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" }, - { - "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", - "resource": { - "resourceType": "Location", - "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", - "name": "GHH Facility", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + }, + { + "fullUrl": "urn:uuid:2b18a05d-bccc-f389-aa68-0b89fca251cd", + "resource": { + "resourceType": "Specimen", + "id": "2b18a05d-bccc-f389-aa68-0b89fca251cd", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", - "resource": { - "resourceType": "Location", - "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", - "name": "Trauma-Centre", - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "request": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + } + }, + { + "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "resource": { + "resourceType": "Observation", + "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - { - "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", - "resource": { - "resourceType": "Location", - "id": "283ba5cc-3293-242c-794e-240b9ad6104e", - "partOf": { - "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "basedOn": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - "request": { - "method": "PUT", - "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" + "valueQuantity": { + "value": 80 } - }, - { - "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", - "resource": { - "resourceType": "Location", - "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", - "name": "GHH", - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" } + ] }, - "request": { - "method": "PUT", - "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" + "valueQuantity": { + "value": 120 } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" }, - { - "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", - "resource": { - "resourceType": "Encounter", - "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" - } - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ], + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + "request": { + "method": "PUT", + "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + }, + { + "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "resource": { + "resourceType": "Encounter", + "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "identifier": [ - { - "value": "5002", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Account-Manager", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "50011", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Acc-Mgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + } + }, + { + "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", + "resource": { + "resourceType": "Location", + "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", + "name": "Lab01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "resource": { + "resourceType": "Location", + "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "partOf": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + }, + "name": "Room01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" + } + }, + { + "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", + "resource": { + "resourceType": "Location", + "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", + "name": "GHH Facility", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" + } + }, + { + "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", + "resource": { + "resourceType": "Location", + "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", + "name": "Trauma-Centre", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + }, + { + "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", + "resource": { + "resourceType": "Location", + "id": "283ba5cc-3293-242c-794e-240b9ad6104e", + "partOf": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" + } + }, + { + "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "resource": { + "resourceType": "Location", + "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "name": "GHH", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" + } + }, + { + "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "resource": { + "resourceType": "Encounter", + "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2021-10-20T14:41:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } - } - ] + } + ], + "identifier": [ + { + "value": "5002", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Account-Manager", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json index 1d8bbd739..6470a3c73 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json @@ -1,1388 +1,1388 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00018" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } }, - "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", - "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:46.614Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:17:37.462Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + ] } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + ] } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T15:15:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "FAI-29", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "note": [ - { - "text": "Annotation text" - } - ], - "quantityQuantity": { - "value": 12, - "unit": "lb" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "BID" - } - ] - }, - "repeat": { - "duration": 50, - "durationUnit": "s", - "count": 21, - "timeOfDay": [ - "12:30:05" - ], - "boundsPeriod": { - "start": "2002-03-15", - "end": "2003-03-15" - } - } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + ] } - }, - { - "fullUrl": "urn:uuid:6158edb0-9ff7-8872-c1ec-a897e3af065b", - "resource": { - "resourceType": "Specimen", - "id": "6158edb0-9ff7-8872-c1ec-a897e3af065b", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" + ] } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "FAI-29", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Annotation text" + } + ], + "quantityQuantity": { + "value": 12, + "unit": "lb" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "BID" + } + ] + }, + "repeat": { + "duration": 50, + "durationUnit": "s", + "count": 21, + "timeOfDay": [ + "12:30:05" + ], + "boundsPeriod": { + "start": "2002-03-15", + "end": "2003-03-15" + } + } + }, + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + } + }, + { + "fullUrl": "urn:uuid:6158edb0-9ff7-8872-c1ec-a897e3af065b", + "resource": { + "resourceType": "Specimen", + "id": "6158edb0-9ff7-8872-c1ec-a897e3af065b", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json index 748cf5ee7..4e02a7745 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json @@ -1,2317 +1,2317 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00019" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } }, - "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", - "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:45.937Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:18:09.166Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "0310" + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + ] } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + ] } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T15:15:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T14:41:00+05:30" - } - } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - ], - "note": [ - { - "text": "CT Scan to be done urgent" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - } - }, - { - "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "resource": { - "resourceType": "Specimen", - "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } + }, + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T11:26:00+02:15" } + } }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + ], + "note": [ + { + "text": "CT Scan to be done urgent" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + } + }, + { + "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "resource": { + "resourceType": "Specimen", + "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" } + ], + "text": "Salmonella species" }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "basedOn": [ - { - "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Preliminary" } - } - ] + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json index 8852d04d4..7ccd8e4b7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json @@ -1,1379 +1,1379 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00018" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } }, - "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", - "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:04.535Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:18:40.033Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + ] } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T15:15:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T11:26:00+02:15" } + } }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T14:41:00+05:30" - } - } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + } + }, + { + "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "resource": { + "resourceType": "Specimen", + "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" } + ], + "text": "Traumatic brain injury" }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + }, + { + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "resource": { + "resourceType": "ServiceRequest", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "2203", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + ] } - }, - { - "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "resource": { - "resourceType": "Specimen", - "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "collection": { - "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + { + "value": "2301", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + ] } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } + } + ], + "authoredOn": "2021-10-20T11:26:00+02:15", + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-291", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } } + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 }, - { - "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "resource": { - "resourceType": "ServiceRequest", - "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "2203", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2301", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T14:41:00+05:30", - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-291", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T16:15:00+05:30" - } - } - }, - "code": { - "coding": [ - { - "code": "24590-2", - "display": "MR Brain", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T13:00:00+02:15" } + } }, - { - "fullUrl": "urn:uuid:8849ee55-3313-2d6a-bfbe-be22941a5a2a", - "resource": { - "resourceType": "Specimen", - "id": "8849ee55-3313-2d6a-bfbe-be22941a5a2a", - "collection": { - "collectedDateTime": "2021-10-20T16:15:00+05:30" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" + "code": { + "coding": [ + { + "code": "24590-2", + "display": "MR Brain", + "system": "http://loinc.org" } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + }, + { + "fullUrl": "urn:uuid:8849ee55-3313-2d6a-bfbe-be22941a5a2a", + "resource": { + "resourceType": "Specimen", + "id": "8849ee55-3313-2d6a-bfbe-be22941a5a2a", + "collection": { + "collectedDateTime": "2021-10-20T13:00:00+02:15" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json index 1be1a5943..2ad59523d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json @@ -1,1395 +1,1395 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00018" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } }, - "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", - "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:28.173Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:19:56.824Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + ] } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + ] } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T15:15:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:e3cd6eca-335d-36c3-5614-0375edecdd4a", - "resource": { - "resourceType": "NutritionOrder", - "id": "e3cd6eca-335d-36c3-5614-0375edecdd4a", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "dateTime": "2021-10-20T14:41:00+05:30", - "note": [ - { - "text": "Annotation text" - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "allergyIntolerance": [ - { - "reference": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - ], - "orderer": { - "reference": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" - }, - "foodPreferenceModifier": [ - { - "coding": [ - { - "code": "P-1", - "display": "Preference Code", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "Preference code - 04+Preference Code - IV" - }, - { - "coding": [ - { - "code": "P-2", - "display": "P-code", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "text": "Preference code - 04+Preference Code - IV" - } - ] - }, - "request": { - "method": "PUT", - "url": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" - } + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:48ca1067-dc80-7ff7-76e7-d72b70b7d02d", - "resource": { - "resourceType": "Practitioner", - "id": "48ca1067-dc80-7ff7-76e7-d72b70b7d02d", - "address": [ - { - "line": [ - "St-24, Greenwood", - "Building2" - ] - } - ], - "name": [ - { - "family": "SAWYER TOM MD", - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" - } + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" - } - ] - } - ] + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - { - "fullUrl": "urn:uuid:29e6afed-f958-e964-b7a1-f135fab6c279", - "resource": { - "resourceType": "PractitionerRole", - "id": "29e6afed-f958-e964-b7a1-f135fab6c279", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - }, - "practitioner": { - "reference": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:e3cd6eca-335d-36c3-5614-0375edecdd4a", + "resource": { + "resourceType": "NutritionOrder", + "id": "e3cd6eca-335d-36c3-5614-0375edecdd4a", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "dateTime": "2021-10-20T11:26:00+02:15", + "note": [ + { + "text": "Annotation text" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "allergyIntolerance": [ + { + "reference": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + ], + "orderer": { + "reference": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + }, + "foodPreferenceModifier": [ + { + "coding": [ + { + "code": "P-1", + "display": "Preference Code", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "Preference code - 04+Preference Code - IV" + }, + { + "coding": [ + { + "code": "P-2", + "display": "P-code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "text": "Preference code - 04+Preference Code - IV" + } + ] + }, + "request": { + "method": "PUT", + "url": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" + } + }, + { + "fullUrl": "urn:uuid:48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "resource": { + "resourceType": "Practitioner", + "id": "48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "address": [ + { + "line": [ + "St-24, Greenwood", + "Building2" + ] + } + ], + "name": [ + { + "family": "SAWYER TOM MD", + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" + } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + { + "fullUrl": "urn:uuid:29e6afed-f958-e964-b7a1-f135fab6c279", + "resource": { + "resourceType": "PractitionerRole", + "id": "29e6afed-f958-e964-b7a1-f135fab6c279", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + }, + "practitioner": { + "reference": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json index d24080bcd..35a1620de 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json @@ -1,1432 +1,1432 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T14:41:00+05:30", - "identifier": { - "value": "MSG00018" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } }, - "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", - "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:07.04Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:21:55.267Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T14:41:00+05:30", - "recorded": "2021-10-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + ] } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + ] } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + ] } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T15:15:00+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-10-20T12:00:00+02:15" }, - { - "fullUrl": "urn:uuid:a4593c44-65bc-e59b-2c53-a94eb2e9e939", - "resource": { - "resourceType": "SupplyRequest", - "id": "a4593c44-65bc-e59b-2c53-a94eb2e9e939", - "identifier": [ - { - "value": "RQ101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "cancelled", - "authoredOn": "2120-10-10T20:15:00+05:30", - "requester": { - "reference": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" - }, - "occurrenceDateTime": "2021-10-20T13:45:00+05:30", - "itemCodeableConcept": { - "coding": [ - { - "code": "I45323", - "display": "Implant" - } - ] - }, - "quantity": { - "value": 1, - "code": "EA", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - }, - "deliverTo": { - "reference": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" - }, - "deliverFrom": { - "reference": "Organization/6482b59c-934b-d920-616c-89e022525634" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" } + ] }, - { - "fullUrl": "urn:uuid:895c9a66-3463-8b94-1deb-61cd0d7e5589", - "resource": { - "resourceType": "Practitioner", - "id": "895c9a66-3463-8b94-1deb-61cd0d7e5589", - "identifier": [ - { - "value": "3850" - } - ], - "name": [ - { - "family": "ORDPROVIDER", - "given": [ - "JONES", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" } + ] }, - { - "fullUrl": "urn:uuid:5eba6b39-3663-2494-c4fd-923551fa026f", - "resource": { - "resourceType": "PractitionerRole", - "id": "5eba6b39-3663-2494-c4fd-923551fa026f", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" - }, - "organization": { - "reference": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "resource": { + "resourceType": "SupplyRequest", + "id": "a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "identifier": [ + { + "value": "RQ101", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" + ] } - }, - { - "fullUrl": "urn:uuid:e8632937-77b7-6a57-3f4b-0273f00c93f4", - "resource": { - "resourceType": "Organization", - "id": "e8632937-77b7-6a57-3f4b-0273f00c93f4", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "716", - "type": { - "coding": [ - { - "code": "XX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "1000 Hospital Lane", - "Ste. 123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - } - ], - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:6f75b20c-a345-5120-d85d-0598e1f0cd87", - "resource": { - "resourceType": "Organization", - "id": "6f75b20c-a345-5120-d85d-0598e1f0cd87", - "identifier": [ - { - "value": "ORSUP" - } - ], - "name": "Supply Department" - }, - "request": { - "method": "PUT", - "url": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "status": "cancelled", + "authoredOn": "2120-10-10T17:00:00+02:15", + "requester": { + "reference": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" }, - { - "fullUrl": "urn:uuid:6482b59c-934b-d920-616c-89e022525634", - "resource": { - "resourceType": "Organization", - "id": "6482b59c-934b-d920-616c-89e022525634", - "identifier": [ - { - "value": "GPC" - } - ], - "name": "GPC Medical Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/6482b59c-934b-d920-616c-89e022525634" + "occurrenceDateTime": "2021-10-20T10:30:00+02:15", + "itemCodeableConcept": { + "coding": [ + { + "code": "I45323", + "display": "Implant" } + ] }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } + "quantity": { + "value": 1, + "code": "EA", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T15:45:09+05:30", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } + "deliverTo": { + "reference": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + }, + "deliverFrom": { + "reference": "Organization/6482b59c-934b-d920-616c-89e022525634" } - ] + }, + "request": { + "method": "PUT", + "url": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" + } + }, + { + "fullUrl": "urn:uuid:895c9a66-3463-8b94-1deb-61cd0d7e5589", + "resource": { + "resourceType": "Practitioner", + "id": "895c9a66-3463-8b94-1deb-61cd0d7e5589", + "identifier": [ + { + "value": "3850" + } + ], + "name": [ + { + "family": "ORDPROVIDER", + "given": [ + "JONES", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + } + }, + { + "fullUrl": "urn:uuid:5eba6b39-3663-2494-c4fd-923551fa026f", + "resource": { + "resourceType": "PractitionerRole", + "id": "5eba6b39-3663-2494-c4fd-923551fa026f", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + }, + "organization": { + "reference": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" + } + }, + { + "fullUrl": "urn:uuid:e8632937-77b7-6a57-3f4b-0273f00c93f4", + "resource": { + "resourceType": "Organization", + "id": "e8632937-77b7-6a57-3f4b-0273f00c93f4", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "716", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "1000 Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" + } + }, + { + "fullUrl": "urn:uuid:6f75b20c-a345-5120-d85d-0598e1f0cd87", + "resource": { + "resourceType": "Organization", + "id": "6f75b20c-a345-5120-d85d-0598e1f0cd87", + "identifier": [ + { + "value": "ORSUP" + } + ], + "name": "Supply Department" + }, + "request": { + "method": "PUT", + "url": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + } + }, + { + "fullUrl": "urn:uuid:6482b59c-934b-d920-616c-89e022525634", + "resource": { + "resourceType": "Organization", + "id": "6482b59c-934b-d920-616c-89e022525634", + "identifier": [ + { + "value": "GPC" + } + ], + "name": "GPC Medical Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/6482b59c-934b-d920-616c-89e022525634" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T12:30:09+02:15", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json index de4ba39aa..32a5e8dfe 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json @@ -1,17 +1,17 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2014-10-06T06:45:00", + "timestamp": "2014-10-06T06:45:00+07:00", "identifier": { "value": "182" }, "id": "4d7652e0-2e87-c4b4-72d8-614f50d75e88", "entry": [ { - "fullUrl": "urn:uuid:f1f46d90-0473-6ea2-ae7f-b3165305d99f", + "fullUrl": "urn:uuid:a6b54ec8-e29f-8d5c-d53b-6eb5ba2f2222", "resource": { "resourceType": "MessageHeader", - "id": "f1f46d90-0473-6ea2-ae7f-b3165305d99f", + "id": "a6b54ec8-e29f-8d5c-d53b-6eb5ba2f2222", "source": { "name": "SomeSystem", "_endpoint": { @@ -52,7 +52,7 @@ }, "request": { "method": "PUT", - "url": "MessageHeader/f1f46d90-0473-6ea2-ae7f-b3165305d99f" + "url": "MessageHeader/a6b54ec8-e29f-8d5c-d53b-6eb5ba2f2222" } }, { @@ -62,10 +62,10 @@ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:23:37.264Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-03-25T12:58:40.623Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, - "occurredDateTime": "2014-10-06T06:45:00", - "recorded": "2014-10-06T06:45:00", + "occurredDateTime": "2014-10-06T06:45:00+07:00", + "recorded": "2014-10-06T06:45:00+07:00", "agent": [ { "type": { @@ -286,10 +286,10 @@ } }, { - "fullUrl": "urn:uuid:6d823dfd-8d69-fc55-bb7c-5115364bdb34", + "fullUrl": "urn:uuid:a3d33254-dd17-6444-46af-27da3fad4375", "resource": { "resourceType": "Observation", - "id": "6d823dfd-8d69-fc55-bb7c-5115364bdb34", + "id": "a3d33254-dd17-6444-46af-27da3fad4375", "status": "preliminary", "code": { "coding": [ @@ -304,7 +304,7 @@ "value": 4.06, "unit": "tera.l-1" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -342,7 +342,7 @@ }, "request": { "method": "PUT", - "url": "Observation/6d823dfd-8d69-fc55-bb7c-5115364bdb34" + "url": "Observation/a3d33254-dd17-6444-46af-27da3fad4375" } }, { @@ -390,10 +390,10 @@ } }, { - "fullUrl": "urn:uuid:e8be578a-267e-864d-eee7-21df040facdd", + "fullUrl": "urn:uuid:80304ffa-efa5-5991-39a2-73f550a5b63c", "resource": { "resourceType": "Observation", - "id": "e8be578a-267e-864d-eee7-21df040facdd", + "id": "80304ffa-efa5-5991-39a2-73f550a5b63c", "status": "preliminary", "code": { "coding": [ @@ -408,7 +408,7 @@ "value": 40.1, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -446,14 +446,14 @@ }, "request": { "method": "PUT", - "url": "Observation/e8be578a-267e-864d-eee7-21df040facdd" + "url": "Observation/80304ffa-efa5-5991-39a2-73f550a5b63c" } }, { - "fullUrl": "urn:uuid:4e088562-d23b-7850-733a-32f2e0ef18f9", + "fullUrl": "urn:uuid:947491bb-638d-32ea-2296-c89032c9c9eb", "resource": { "resourceType": "Observation", - "id": "4e088562-d23b-7850-733a-32f2e0ef18f9", + "id": "947491bb-638d-32ea-2296-c89032c9c9eb", "status": "final", "code": { "coding": [ @@ -468,7 +468,7 @@ "value": 221, "unit": "giga.l-1" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -506,7 +506,7 @@ }, "request": { "method": "PUT", - "url": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" + "url": "Observation/947491bb-638d-32ea-2296-c89032c9c9eb" } }, { @@ -557,7 +557,7 @@ }, "specimen": [ { - "reference": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8" + "reference": "Specimen/fc0a00ac-9ad6-ec0e-d885-e78d41a9baaa" } ] }, @@ -611,10 +611,10 @@ } }, { - "fullUrl": "urn:uuid:6bb755e5-a74c-c3f0-e18b-a92b568c4b19", + "fullUrl": "urn:uuid:5a5a146f-0b8b-1073-d43b-d032897b97b5", "resource": { "resourceType": "DiagnosticReport", - "id": "6bb755e5-a74c-c3f0-e18b-a92b568c4b19", + "id": "5a5a146f-0b8b-1073-d43b-d032897b97b5", "identifier": [ { "value": "88502218", @@ -659,7 +659,7 @@ ], "specimen": [ { - "reference": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8" + "reference": "Specimen/fc0a00ac-9ad6-ec0e-d885-e78d41a9baaa" } ], "result": [ @@ -667,29 +667,29 @@ "reference": "Observation/f736fbb2-aafc-4e52-abb9-20d77d01d302" }, { - "reference": "Observation/6d823dfd-8d69-fc55-bb7c-5115364bdb34" + "reference": "Observation/a3d33254-dd17-6444-46af-27da3fad4375" }, { "reference": "Observation/fa77427d-7606-99a5-ae91-f316de160668" }, { - "reference": "Observation/e8be578a-267e-864d-eee7-21df040facdd" + "reference": "Observation/80304ffa-efa5-5991-39a2-73f550a5b63c" }, { - "reference": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" + "reference": "Observation/947491bb-638d-32ea-2296-c89032c9c9eb" } ] }, "request": { "method": "PUT", - "url": "DiagnosticReport/6bb755e5-a74c-c3f0-e18b-a92b568c4b19" + "url": "DiagnosticReport/5a5a146f-0b8b-1073-d43b-d032897b97b5" } }, { - "fullUrl": "urn:uuid:1385d82a-b545-84d8-803a-e65c038399c8", + "fullUrl": "urn:uuid:fc0a00ac-9ad6-ec0e-d885-e78d41a9baaa", "resource": { "resourceType": "Specimen", - "id": "1385d82a-b545-84d8-803a-e65c038399c8", + "id": "fc0a00ac-9ad6-ec0e-d885-e78d41a9baaa", "identifier": [ { "value": "88502218", @@ -722,7 +722,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8" + "url": "Specimen/fc0a00ac-9ad6-ec0e-d885-e78d41a9baaa" } }, { @@ -759,10 +759,10 @@ } }, { - "fullUrl": "urn:uuid:7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663", + "fullUrl": "urn:uuid:5828dc7f-d6a2-f902-89b4-769dab523813", "resource": { "resourceType": "Specimen", - "id": "7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663", + "id": "5828dc7f-d6a2-f902-89b4-769dab523813", "identifier": [ { "value": "SpecimenID", @@ -785,21 +785,21 @@ ] }, "collection": { - "collectedDateTime": "2014-10-06T05:35:00" + "collectedDateTime": "2014-10-06T05:35:00+07:00" }, - "receivedTime": "2014-10-06T08:21:00", + "receivedTime": "2014-10-06T08:21:00+07:00", "status": "available" }, "request": { "method": "PUT", - "url": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "url": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" } }, { - "fullUrl": "urn:uuid:21983e67-0a20-c7c1-8c83-0b5c101ff0c7", + "fullUrl": "urn:uuid:1b6f9b12-9569-0734-ee26-0ff71bd83117", "resource": { "resourceType": "Observation", - "id": "21983e67-0a20-c7c1-8c83-0b5c101ff0c7", + "id": "1b6f9b12-9569-0734-ee26-0ff71bd83117", "status": "preliminary", "code": { "coding": [ @@ -814,7 +814,7 @@ "value": 72, "unit": "%" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -830,7 +830,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "reference": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" }, "extension": [ { @@ -855,14 +855,14 @@ }, "request": { "method": "PUT", - "url": "Observation/21983e67-0a20-c7c1-8c83-0b5c101ff0c7" + "url": "Observation/1b6f9b12-9569-0734-ee26-0ff71bd83117" } }, { - "fullUrl": "urn:uuid:f8678fde-a167-6a3d-1462-97a40d24fd8f", + "fullUrl": "urn:uuid:29d186ea-b8bd-ebc4-4cc5-0c5025d0ffa3", "resource": { "resourceType": "Observation", - "id": "f8678fde-a167-6a3d-1462-97a40d24fd8f", + "id": "29d186ea-b8bd-ebc4-4cc5-0c5025d0ffa3", "status": "preliminary", "code": { "coding": [ @@ -877,7 +877,7 @@ "value": 2, "unit": "%" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -893,7 +893,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "reference": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" }, "extension": [ { @@ -918,14 +918,14 @@ }, "request": { "method": "PUT", - "url": "Observation/f8678fde-a167-6a3d-1462-97a40d24fd8f" + "url": "Observation/29d186ea-b8bd-ebc4-4cc5-0c5025d0ffa3" } }, { - "fullUrl": "urn:uuid:0ec3b929-1338-f630-dcca-b251cd2f3e4f", + "fullUrl": "urn:uuid:2dea599b-9831-c349-80f4-ca17461d60bd", "resource": { "resourceType": "Observation", - "id": "0ec3b929-1338-f630-dcca-b251cd2f3e4f", + "id": "2dea599b-9831-c349-80f4-ca17461d60bd", "status": "preliminary", "code": { "coding": [ @@ -940,7 +940,7 @@ "value": 20, "unit": "%" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -956,7 +956,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "reference": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" }, "extension": [ { @@ -981,14 +981,14 @@ }, "request": { "method": "PUT", - "url": "Observation/0ec3b929-1338-f630-dcca-b251cd2f3e4f" + "url": "Observation/2dea599b-9831-c349-80f4-ca17461d60bd" } }, { - "fullUrl": "urn:uuid:cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f", + "fullUrl": "urn:uuid:965dbaca-8556-c484-544c-c4b0f92e1f56", "resource": { "resourceType": "Observation", - "id": "cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f", + "id": "965dbaca-8556-c484-544c-c4b0f92e1f56", "status": "preliminary", "code": { "coding": [ @@ -1003,7 +1003,7 @@ "value": 6, "unit": "%" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -1019,7 +1019,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "reference": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" }, "extension": [ { @@ -1044,14 +1044,14 @@ }, "request": { "method": "PUT", - "url": "Observation/cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f" + "url": "Observation/965dbaca-8556-c484-544c-c4b0f92e1f56" } }, { - "fullUrl": "urn:uuid:6bd3891e-fce2-4551-e162-52bcb7f1e205", + "fullUrl": "urn:uuid:1f37c106-9ad2-6a9b-895b-6bde5e913dcc", "resource": { "resourceType": "Observation", - "id": "6bd3891e-fce2-4551-e162-52bcb7f1e205", + "id": "1f37c106-9ad2-6a9b-895b-6bde5e913dcc", "status": "preliminary", "code": { "coding": [ @@ -1066,7 +1066,7 @@ "value": 0, "unit": "%" }, - "effectiveDateTime": "2014-10-06T06:27:00", + "effectiveDateTime": "2014-10-06T06:27:00+07:00", "interpretation": [ { "coding": [ @@ -1082,7 +1082,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663" + "reference": "Specimen/5828dc7f-d6a2-f902-89b4-769dab523813" }, "extension": [ { @@ -1107,7 +1107,7 @@ }, "request": { "method": "PUT", - "url": "Observation/6bd3891e-fce2-4551-e162-52bcb7f1e205" + "url": "Observation/1f37c106-9ad2-6a9b-895b-6bde5e913dcc" } }, { @@ -1158,7 +1158,7 @@ }, "specimen": [ { - "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "reference": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } ] }, @@ -1168,10 +1168,10 @@ } }, { - "fullUrl": "urn:uuid:bd4fd761-3a3c-6084-6bb0-5b21c024b208", + "fullUrl": "urn:uuid:5ed89514-c68e-db01-9339-9576de3c485a", "resource": { "resourceType": "DiagnosticReport", - "id": "bd4fd761-3a3c-6084-6bb0-5b21c024b208", + "id": "5ed89514-c68e-db01-9339-9576de3c485a", "identifier": [ { "value": "855238581", @@ -1216,37 +1216,37 @@ ], "specimen": [ { - "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "reference": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } ], "result": [ { - "reference": "Observation/21983e67-0a20-c7c1-8c83-0b5c101ff0c7" + "reference": "Observation/1b6f9b12-9569-0734-ee26-0ff71bd83117" }, { - "reference": "Observation/f8678fde-a167-6a3d-1462-97a40d24fd8f" + "reference": "Observation/29d186ea-b8bd-ebc4-4cc5-0c5025d0ffa3" }, { - "reference": "Observation/0ec3b929-1338-f630-dcca-b251cd2f3e4f" + "reference": "Observation/2dea599b-9831-c349-80f4-ca17461d60bd" }, { - "reference": "Observation/cfec5d8d-8d98-3ae1-e5fc-a2b3f986b14f" + "reference": "Observation/965dbaca-8556-c484-544c-c4b0f92e1f56" }, { - "reference": "Observation/6bd3891e-fce2-4551-e162-52bcb7f1e205" + "reference": "Observation/1f37c106-9ad2-6a9b-895b-6bde5e913dcc" } ] }, "request": { "method": "PUT", - "url": "DiagnosticReport/bd4fd761-3a3c-6084-6bb0-5b21c024b208" + "url": "DiagnosticReport/5ed89514-c68e-db01-9339-9576de3c485a" } }, { - "fullUrl": "urn:uuid:e8c2bedc-f247-6e63-2c6f-a58e26f24c33", + "fullUrl": "urn:uuid:3644f3d2-3b43-9382-c98b-b9f6b77e5295", "resource": { "resourceType": "Specimen", - "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33", + "id": "3644f3d2-3b43-9382-c98b-b9f6b77e5295", "identifier": [ { "value": "855238581", @@ -1279,7 +1279,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "url": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json index 4b7fe44e8..ab3792027 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json @@ -1,17 +1,17 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2014-10-06T09:31:00", + "timestamp": "2014-10-06T09:31:00+07:00", "identifier": { "value": "ControlID" }, "id": "1621d98e-0f06-6ff5-bfed-87e7a90a41b6", "entry": [ { - "fullUrl": "urn:uuid:35c86567-5347-8c97-4810-b39dedb9f855", + "fullUrl": "urn:uuid:8a62d0c6-ec77-772d-6d1b-de679fc4ce2a", "resource": { "resourceType": "MessageHeader", - "id": "35c86567-5347-8c97-4810-b39dedb9f855", + "id": "8a62d0c6-ec77-772d-6d1b-de679fc4ce2a", "source": { "name": "SomeSystem", "_endpoint": { @@ -53,7 +53,7 @@ }, "request": { "method": "PUT", - "url": "MessageHeader/35c86567-5347-8c97-4810-b39dedb9f855" + "url": "MessageHeader/8a62d0c6-ec77-772d-6d1b-de679fc4ce2a" } }, { @@ -63,10 +63,10 @@ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:25:06.091Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-03-25T12:54:28.235Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, - "occurredDateTime": "2014-10-06T09:31:00", - "recorded": "2014-10-06T09:31:00", + "occurredDateTime": "2014-10-06T09:31:00+07:00", + "recorded": "2014-10-06T09:31:00+07:00", "agent": [ { "type": { @@ -243,10 +243,10 @@ } }, { - "fullUrl": "urn:uuid:bc01c14a-802a-ef1a-7310-6285f43792ee", + "fullUrl": "urn:uuid:fcb0ce93-fb28-c321-936d-1cc79020e4da", "resource": { "resourceType": "Observation", - "id": "bc01c14a-802a-ef1a-7310-6285f43792ee", + "id": "fcb0ce93-fb28-c321-936d-1cc79020e4da", "status": "final", "code": { "coding": [ @@ -261,7 +261,7 @@ "value": 0, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -299,14 +299,14 @@ }, "request": { "method": "PUT", - "url": "Observation/bc01c14a-802a-ef1a-7310-6285f43792ee" + "url": "Observation/fcb0ce93-fb28-c321-936d-1cc79020e4da" } }, { - "fullUrl": "urn:uuid:4bdb7be4-1916-b9c7-6bdd-68b92259d75b", + "fullUrl": "urn:uuid:e87231eb-1f13-37e5-9297-32ce9dc2d5d9", "resource": { "resourceType": "Observation", - "id": "4bdb7be4-1916-b9c7-6bdd-68b92259d75b", + "id": "e87231eb-1f13-37e5-9297-32ce9dc2d5d9", "status": "final", "code": { "coding": [ @@ -321,7 +321,7 @@ "value": 72, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -359,14 +359,14 @@ }, "request": { "method": "PUT", - "url": "Observation/4bdb7be4-1916-b9c7-6bdd-68b92259d75b" + "url": "Observation/e87231eb-1f13-37e5-9297-32ce9dc2d5d9" } }, { - "fullUrl": "urn:uuid:f887f318-33d2-677f-4fc9-a657502b2f93", + "fullUrl": "urn:uuid:ef0f5cf4-01c3-8670-776b-9e6693b39f5d", "resource": { "resourceType": "Observation", - "id": "f887f318-33d2-677f-4fc9-a657502b2f93", + "id": "ef0f5cf4-01c3-8670-776b-9e6693b39f5d", "status": "final", "code": { "coding": [ @@ -381,7 +381,7 @@ "value": 2, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -419,14 +419,14 @@ }, "request": { "method": "PUT", - "url": "Observation/f887f318-33d2-677f-4fc9-a657502b2f93" + "url": "Observation/ef0f5cf4-01c3-8670-776b-9e6693b39f5d" } }, { - "fullUrl": "urn:uuid:daed3fa1-35de-05c8-848b-b368834784e0", + "fullUrl": "urn:uuid:af2c78a0-663d-7294-3da0-dd8db5bc0074", "resource": { "resourceType": "Observation", - "id": "daed3fa1-35de-05c8-848b-b368834784e0", + "id": "af2c78a0-663d-7294-3da0-dd8db5bc0074", "status": "final", "code": { "coding": [ @@ -441,7 +441,7 @@ "value": 20, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -479,14 +479,14 @@ }, "request": { "method": "PUT", - "url": "Observation/daed3fa1-35de-05c8-848b-b368834784e0" + "url": "Observation/af2c78a0-663d-7294-3da0-dd8db5bc0074" } }, { - "fullUrl": "urn:uuid:9b917bd6-891c-83e1-df59-27d2a89f65fb", + "fullUrl": "urn:uuid:2233e061-6852-d459-cc4e-262a07efd408", "resource": { "resourceType": "Observation", - "id": "9b917bd6-891c-83e1-df59-27d2a89f65fb", + "id": "2233e061-6852-d459-cc4e-262a07efd408", "status": "final", "code": { "coding": [ @@ -501,7 +501,7 @@ "value": 6, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -539,7 +539,7 @@ }, "request": { "method": "PUT", - "url": "Observation/9b917bd6-891c-83e1-df59-27d2a89f65fb" + "url": "Observation/2233e061-6852-d459-cc4e-262a07efd408" } }, { @@ -590,7 +590,7 @@ }, "specimen": [ { - "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "reference": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } ] }, @@ -644,10 +644,10 @@ } }, { - "fullUrl": "urn:uuid:bd4fd761-3a3c-6084-6bb0-5b21c024b208", + "fullUrl": "urn:uuid:5ed89514-c68e-db01-9339-9576de3c485a", "resource": { "resourceType": "DiagnosticReport", - "id": "bd4fd761-3a3c-6084-6bb0-5b21c024b208", + "id": "5ed89514-c68e-db01-9339-9576de3c485a", "identifier": [ { "value": "855238581", @@ -692,37 +692,37 @@ ], "specimen": [ { - "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "reference": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } ], "result": [ { - "reference": "Observation/bc01c14a-802a-ef1a-7310-6285f43792ee" + "reference": "Observation/fcb0ce93-fb28-c321-936d-1cc79020e4da" }, { - "reference": "Observation/4bdb7be4-1916-b9c7-6bdd-68b92259d75b" + "reference": "Observation/e87231eb-1f13-37e5-9297-32ce9dc2d5d9" }, { - "reference": "Observation/f887f318-33d2-677f-4fc9-a657502b2f93" + "reference": "Observation/ef0f5cf4-01c3-8670-776b-9e6693b39f5d" }, { - "reference": "Observation/daed3fa1-35de-05c8-848b-b368834784e0" + "reference": "Observation/af2c78a0-663d-7294-3da0-dd8db5bc0074" }, { - "reference": "Observation/9b917bd6-891c-83e1-df59-27d2a89f65fb" + "reference": "Observation/2233e061-6852-d459-cc4e-262a07efd408" } ] }, "request": { "method": "PUT", - "url": "DiagnosticReport/bd4fd761-3a3c-6084-6bb0-5b21c024b208" + "url": "DiagnosticReport/5ed89514-c68e-db01-9339-9576de3c485a" } }, { - "fullUrl": "urn:uuid:e8c2bedc-f247-6e63-2c6f-a58e26f24c33", + "fullUrl": "urn:uuid:3644f3d2-3b43-9382-c98b-b9f6b77e5295", "resource": { "resourceType": "Specimen", - "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33", + "id": "3644f3d2-3b43-9382-c98b-b9f6b77e5295", "identifier": [ { "value": "855238581", @@ -755,7 +755,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33" + "url": "Specimen/3644f3d2-3b43-9382-c98b-b9f6b77e5295" } }, { @@ -792,10 +792,10 @@ } }, { - "fullUrl": "urn:uuid:6006d57e-e0a3-d90e-7d9b-546ed575c527", + "fullUrl": "urn:uuid:9ab0f32a-af63-da4a-bcb2-3b605d5495de", "resource": { "resourceType": "Specimen", - "id": "6006d57e-e0a3-d90e-7d9b-546ed575c527", + "id": "9ab0f32a-af63-da4a-bcb2-3b605d5495de", "identifier": [ { "value": "SpecimenID", @@ -818,21 +818,21 @@ ] }, "collection": { - "collectedDateTime": "2014-10-06T05:35:00" + "collectedDateTime": "2014-10-06T05:35:00+07:00" }, - "receivedTime": "2014-10-06T06:21:00", + "receivedTime": "2014-10-06T06:21:00+07:00", "status": "available" }, "request": { "method": "PUT", - "url": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "url": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" } }, { - "fullUrl": "urn:uuid:9a972e53-b6e1-db45-025d-a4ba9c9fb63f", + "fullUrl": "urn:uuid:64a9eef4-b58b-d60e-5408-89eec14b2ee6", "resource": { "resourceType": "Observation", - "id": "9a972e53-b6e1-db45-025d-a4ba9c9fb63f", + "id": "64a9eef4-b58b-d60e-5408-89eec14b2ee6", "status": "final", "code": { "coding": [ @@ -847,7 +847,7 @@ "value": 13.4, "unit": "g/l-1" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -863,7 +863,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "reference": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" }, "extension": [ { @@ -888,14 +888,14 @@ }, "request": { "method": "PUT", - "url": "Observation/9a972e53-b6e1-db45-025d-a4ba9c9fb63f" + "url": "Observation/64a9eef4-b58b-d60e-5408-89eec14b2ee6" } }, { - "fullUrl": "urn:uuid:3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c", + "fullUrl": "urn:uuid:4bff032d-2cbc-f4b6-5e9a-f8a0d5ccac80", "resource": { "resourceType": "Observation", - "id": "3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c", + "id": "4bff032d-2cbc-f4b6-5e9a-f8a0d5ccac80", "status": "final", "code": { "coding": [ @@ -910,7 +910,7 @@ "value": 8.2, "unit": "giga.l-1" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -926,7 +926,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "reference": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" }, "extension": [ { @@ -951,14 +951,14 @@ }, "request": { "method": "PUT", - "url": "Observation/3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c" + "url": "Observation/4bff032d-2cbc-f4b6-5e9a-f8a0d5ccac80" } }, { - "fullUrl": "urn:uuid:04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700", + "fullUrl": "urn:uuid:0c8d054d-8276-964a-d67b-f1f9c3d57421", "resource": { "resourceType": "Observation", - "id": "04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700", + "id": "0c8d054d-8276-964a-d67b-f1f9c3d57421", "status": "final", "code": { "coding": [ @@ -973,7 +973,7 @@ "value": 4.08, "unit": "tera.l-1" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -989,7 +989,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "reference": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" }, "extension": [ { @@ -1014,14 +1014,14 @@ }, "request": { "method": "PUT", - "url": "Observation/04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700" + "url": "Observation/0c8d054d-8276-964a-d67b-f1f9c3d57421" } }, { - "fullUrl": "urn:uuid:e8be578a-267e-864d-eee7-21df040facdd", + "fullUrl": "urn:uuid:80304ffa-efa5-5991-39a2-73f550a5b63c", "resource": { "resourceType": "Observation", - "id": "e8be578a-267e-864d-eee7-21df040facdd", + "id": "80304ffa-efa5-5991-39a2-73f550a5b63c", "status": "final", "code": { "coding": [ @@ -1036,7 +1036,7 @@ "value": 39.7, "unit": "%" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -1052,7 +1052,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "reference": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" }, "extension": [ { @@ -1077,14 +1077,14 @@ }, "request": { "method": "PUT", - "url": "Observation/e8be578a-267e-864d-eee7-21df040facdd" + "url": "Observation/80304ffa-efa5-5991-39a2-73f550a5b63c" } }, { - "fullUrl": "urn:uuid:4e088562-d23b-7850-733a-32f2e0ef18f9", + "fullUrl": "urn:uuid:947491bb-638d-32ea-2296-c89032c9c9eb", "resource": { "resourceType": "Observation", - "id": "4e088562-d23b-7850-733a-32f2e0ef18f9", + "id": "947491bb-638d-32ea-2296-c89032c9c9eb", "status": "final", "code": { "coding": [ @@ -1099,7 +1099,7 @@ "value": 220, "unit": "giga.l-1" }, - "effectiveDateTime": "2014-10-06T08:30:00", + "effectiveDateTime": "2014-10-06T08:30:00+07:00", "interpretation": [ { "coding": [ @@ -1115,7 +1115,7 @@ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b" }, "specimen": { - "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527" + "reference": "Specimen/9ab0f32a-af63-da4a-bcb2-3b605d5495de" }, "extension": [ { @@ -1140,7 +1140,7 @@ }, "request": { "method": "PUT", - "url": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" + "url": "Observation/947491bb-638d-32ea-2296-c89032c9c9eb" } }, { @@ -1191,7 +1191,7 @@ }, "specimen": [ { - "reference": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75" + "reference": "Specimen/f073bb0f-9e94-b40b-da9d-46a1a4ab1284" } ] }, @@ -1201,10 +1201,10 @@ } }, { - "fullUrl": "urn:uuid:43054c97-ac1f-e627-4559-c8ae945117bd", + "fullUrl": "urn:uuid:5bc798e6-2316-5c26-076d-99ca3ce4c0fe", "resource": { "resourceType": "DiagnosticReport", - "id": "43054c97-ac1f-e627-4559-c8ae945117bd", + "id": "5bc798e6-2316-5c26-076d-99ca3ce4c0fe", "identifier": [ { "value": "88502218", @@ -1249,37 +1249,37 @@ ], "specimen": [ { - "reference": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75" + "reference": "Specimen/f073bb0f-9e94-b40b-da9d-46a1a4ab1284" } ], "result": [ { - "reference": "Observation/9a972e53-b6e1-db45-025d-a4ba9c9fb63f" + "reference": "Observation/64a9eef4-b58b-d60e-5408-89eec14b2ee6" }, { - "reference": "Observation/3c8a0ec2-08ed-15e2-b8b4-271ea74bef9c" + "reference": "Observation/4bff032d-2cbc-f4b6-5e9a-f8a0d5ccac80" }, { - "reference": "Observation/04dbbc1a-dc3f-55ab-4ded-9baf6bd4f700" + "reference": "Observation/0c8d054d-8276-964a-d67b-f1f9c3d57421" }, { - "reference": "Observation/e8be578a-267e-864d-eee7-21df040facdd" + "reference": "Observation/80304ffa-efa5-5991-39a2-73f550a5b63c" }, { - "reference": "Observation/4e088562-d23b-7850-733a-32f2e0ef18f9" + "reference": "Observation/947491bb-638d-32ea-2296-c89032c9c9eb" } ] }, "request": { "method": "PUT", - "url": "DiagnosticReport/43054c97-ac1f-e627-4559-c8ae945117bd" + "url": "DiagnosticReport/5bc798e6-2316-5c26-076d-99ca3ce4c0fe" } }, { - "fullUrl": "urn:uuid:f59e2ae9-1b51-5e9f-9ef1-2f05d070db75", + "fullUrl": "urn:uuid:f073bb0f-9e94-b40b-da9d-46a1a4ab1284", "resource": { "resourceType": "Specimen", - "id": "f59e2ae9-1b51-5e9f-9ef1-2f05d070db75", + "id": "f073bb0f-9e94-b40b-da9d-46a1a4ab1284", "identifier": [ { "value": "88502218", @@ -1312,7 +1312,7 @@ }, "request": { "method": "PUT", - "url": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75" + "url": "Specimen/f073bb0f-9e94-b40b-da9d-46a1a4ab1284" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json index 4debe6ab7..674ad4aff 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json @@ -1,2658 +1,2658 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2011-06-01T00:35:51+05:30", - "identifier": { - "value": "NIST-LRI-NG-002.00" - }, - "id": "7cbc05b1-9589-f624-6bb7-edea632acfeb", - "entry": [ - { - "fullUrl": "urn:uuid:15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", - "resource": { - "resourceType": "MessageHeader", - "id": "15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", - "source": { - "name": "NIST Test Lab APP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORU^R01^ORU_R01" - }, - "sender": { - "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2011-05-31T14:05:51-05:00", + "identifier": { + "value": "NIST-LRI-NG-002.00" + }, + "id": "7cbc05b1-9589-f624-6bb7-edea632acfeb", + "entry": [ + { + "fullUrl": "urn:uuid:15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", + "resource": { + "resourceType": "MessageHeader", + "id": "15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", + "source": { + "name": "NIST Test Lab APP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/15cde54f-eadb-4bee-fe4c-0e8dbe4f4959" - } - }, - { - "fullUrl": "urn:uuid:69d21cff-2d4e-b89f-1109-5fb744517c1f", - "resource": { - "resourceType": "Provenance", - "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:25:46.081Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" - }, - "occurredDateTime": "2011-06-01T00:35:51+05:30", - "recorded": "2011-06-01T00:35:51+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORU^R01^ORU_R01" - } - ] - }, - "target": [ - { - "reference": "Bundle/7cbc05b1-9589-f624-6bb7-edea632acfeb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/69d21cff-2d4e-b89f-1109-5fb744517c1f" - } - }, - { - "fullUrl": "urn:uuid:aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", - "resource": { - "resourceType": "Organization", - "id": "aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", - "identifier": [ - { - "value": "NIST Lab Facility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Lab-Facility" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" - } - }, - { - "fullUrl": "urn:uuid:c828b9d8-dc07-4b58-af67-705a38d1fa4d", - "resource": { - "resourceType": "Organization", - "id": "c828b9d8-dc07-4b58-af67-705a38d1fa4d", - "identifier": [ - { - "value": "NIST EHR Facility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-EHR-Facility" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" - } - }, - { - "fullUrl": "urn:uuid:397de93b-65e0-b3b6-7a79-d7869d57a8aa", - "resource": { - "resourceType": "Patient", - "id": "397de93b-65e0-b3b6-7a79-d7869d57a8aa", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI" - } - ], - "name": [ - { - "family": "Jones", - "given": [ - "William", - "A" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - } - }, - { - "fullUrl": "urn:uuid:9f988649-6c25-7f5f-f25c-65f3042e23b6", - "resource": { - "resourceType": "Practitioner", - "id": "9f988649-6c25-7f5f-f25c-65f3042e23b6", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "2343242" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" - } - }, - { - "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" - }, - "organization": { - "reference": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" + "receiver": { + "reference": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORU^R01^ORU_R01" + }, + "sender": { + "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/15cde54f-eadb-4bee-fe4c-0e8dbe4f4959" + } + }, + { + "fullUrl": "urn:uuid:69d21cff-2d4e-b89f-1109-5fb744517c1f", + "resource": { + "resourceType": "Provenance", + "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:20.929Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + }, + "occurredDateTime": "2011-05-31T14:05:51-05:00", + "recorded": "2011-05-31T14:05:51-05:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - }, - { - "fullUrl": "urn:uuid:4134770e-37a2-6447-4497-d73ddee6412d", - "resource": { - "resourceType": "Organization", - "id": "4134770e-37a2-6447-4497-d73ddee6412d", - "name": "Century Hospital", - "identifier": [ - { - "value": "987", - "type": { - "coding": [ - { - "code": "XX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "2070 Test Park" - ], - "city": "Los Angeles", - "state": "CA", - "postalCode": "90067", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" - } - }, - { - "fullUrl": "urn:uuid:86b13b68-64ca-4bf2-8f9d-524c127b445f", - "resource": { - "resourceType": "Observation", - "id": "86b13b68-64ca-4bf2-8f9d-524c127b445f", - "status": "final", - "code": { - "coding": [ - { - "code": "26453-1", - "display": "Erythrocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Erythrocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 4.41, - "code": "10*6/uL", - "unit": "million per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "4.3 to 6.2" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" - } - }, - { - "fullUrl": "urn:uuid:e950bf40-a65b-1565-b77a-9e409335894c", - "resource": { - "resourceType": "Observation", - "id": "e950bf40-a65b-1565-b77a-9e409335894c", - "status": "final", - "code": { - "coding": [ - { - "code": "718-7", - "display": "Hemoglobin [Mass/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Hemoglobin [Mass/volume] in Blood" - }, - "valueQuantity": { - "value": 12.5, - "code": "g/mL", - "unit": "grams per milliliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "13 to 18" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "L", - "display": "Low", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" - } - }, - { - "fullUrl": "urn:uuid:57d75a50-68d1-42d2-23c7-85a2737939c3", - "resource": { - "resourceType": "Observation", - "id": "57d75a50-68d1-42d2-23c7-85a2737939c3", - "status": "final", - "code": { - "coding": [ - { - "code": "20570-8", - "display": "Hematocrit [Volume Fraction] of Blood", - "system": "http://loinc.org" - } - ], - "text": "Hematocrit [Volume Fraction] of Blood" - }, - "valueQuantity": { - "value": 41, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "40 to 52" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" - } - }, - { - "fullUrl": "urn:uuid:d0fbf918-54d1-7ba3-5412-43a57a7f18b1", - "resource": { - "resourceType": "Observation", - "id": "d0fbf918-54d1-7ba3-5412-43a57a7f18b1", - "status": "final", - "code": { - "coding": [ - { - "code": "26464-8", - "display": "Leukocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Leukocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 105600, - "code": "{cells}/uL", - "unit": "cells per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "4300 to 10800" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" - } - }, - { - "fullUrl": "urn:uuid:7067c914-c96b-8595-60f3-2e7df530e7f0", - "resource": { - "resourceType": "Observation", - "id": "7067c914-c96b-8595-60f3-2e7df530e7f0", - "status": "final", - "code": { - "coding": [ - { - "code": "26515-7", - "display": "Platelets [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Platelets [#/volume] in Blood" - }, - "valueQuantity": { - "value": 210000, - "code": "{cells}/uL", - "unit": "cells per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "150000 to 350000" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" - } - }, - { - "fullUrl": "urn:uuid:992117b5-5929-6b7c-5570-199ffa437877", - "resource": { - "resourceType": "Observation", - "id": "992117b5-5929-6b7c-5570-199ffa437877", - "status": "final", - "code": { - "coding": [ - { - "code": "30428-7", - "display": "Erythrocyte mean corpuscular volume [Entitic volume]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular volume [Entitic volume]" - }, - "valueQuantity": { - "value": 91, - "code": "fL", - "unit": "femtoliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "80 to 95" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/992117b5-5929-6b7c-5570-199ffa437877" - } - }, - { - "fullUrl": "urn:uuid:444f2073-1f9b-5ccb-4c6f-225668686427", - "resource": { - "resourceType": "Observation", - "id": "444f2073-1f9b-5ccb-4c6f-225668686427", - "status": "final", - "code": { - "coding": [ - { - "code": "28539-5", - "display": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]" - }, - "valueQuantity": { - "value": 29, - "code": "pg/{cell}", - "unit": "picograms per cell", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "27 to 31" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" - } - }, - { - "fullUrl": "urn:uuid:e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", - "resource": { - "resourceType": "Observation", - "id": "e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", - "status": "final", - "code": { - "coding": [ - { - "code": "28540-3", - "display": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]" - }, - "valueQuantity": { - "value": 32.4, - "code": "g/dL", - "unit": "grams per deciliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "32 to 36" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" - } - }, - { - "fullUrl": "urn:uuid:5b437ecc-2c30-8c06-133f-465771b904ad", - "resource": { - "resourceType": "Observation", - "id": "5b437ecc-2c30-8c06-133f-465771b904ad", - "status": "final", - "code": { - "coding": [ - { - "code": "30385-9", - "display": "Erythrocyte distribution width [Ratio]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte distribution width [Ratio]" - }, - "valueQuantity": { - "value": 10.5, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "10.2 to 14.5" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" - } - }, - { - "fullUrl": "urn:uuid:911e4e3a-2cbc-7a98-00d7-c84848cf5089", - "resource": { - "resourceType": "Observation", - "id": "911e4e3a-2cbc-7a98-00d7-c84848cf5089", - "status": "final", - "code": { - "coding": [ - { - "code": "26444-0", - "display": "Basophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Basophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 0.1, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 0.3" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" - } - }, - { - "fullUrl": "urn:uuid:56ced431-5315-0916-1416-28535869cf35", - "resource": { - "resourceType": "Observation", - "id": "56ced431-5315-0916-1416-28535869cf35", - "status": "final", - "code": { - "coding": [ - { - "code": "30180-4", - "display": "Basophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Basophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 0.1, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 2" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/56ced431-5315-0916-1416-28535869cf35" - } - }, - { - "fullUrl": "urn:uuid:a66c4fde-e0f8-969f-26fa-302858c57c3e", - "resource": { - "resourceType": "Observation", - "id": "a66c4fde-e0f8-969f-26fa-302858c57c3e", - "status": "final", - "code": { - "coding": [ - { - "code": "26484-6", - "display": "Monocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Monocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 3, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0.0 to 13.0" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" - } - }, - { - "fullUrl": "urn:uuid:a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", - "resource": { - "resourceType": "Observation", - "id": "a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", - "status": "final", - "code": { - "coding": [ - { - "code": "26485-3", - "display": "Monocytes/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Monocytes/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 3, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 10" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" - } - }, - { - "fullUrl": "urn:uuid:003b8354-4e8a-c413-7904-a5827158c46b", - "resource": { - "resourceType": "Observation", - "id": "003b8354-4e8a-c413-7904-a5827158c46b", - "status": "final", - "code": { - "coding": [ - { - "code": "26449-9", - "display": "Eosinophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Eosinophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 2.1, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0.0 to 0.45" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" - } - }, - { - "fullUrl": "urn:uuid:201f8c4b-0e9a-ca62-aedd-5baf37822777", - "resource": { - "resourceType": "Observation", - "id": "201f8c4b-0e9a-ca62-aedd-5baf37822777", - "status": "final", - "code": { - "coding": [ - { - "code": "26450-7", - "display": "Eosinophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Eosinophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 2, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 6" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" - } - }, - { - "fullUrl": "urn:uuid:82489f84-cccb-c095-eb55-42ed77eb1c94", - "resource": { - "resourceType": "Observation", - "id": "82489f84-cccb-c095-eb55-42ed77eb1c94", - "status": "final", - "code": { - "coding": [ - { - "code": "26474-7", - "display": "Lymphocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Lymphocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 41.2, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "1.0 to 4.8" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" - } - }, - { - "fullUrl": "urn:uuid:452e4d56-c770-85d2-56d5-b8831f428ece", - "resource": { - "resourceType": "Observation", - "id": "452e4d56-c770-85d2-56d5-b8831f428ece", - "status": "final", - "code": { - "coding": [ - { - "code": "26478-8", - "display": "Lymphocytes/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Lymphocytes/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 39, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "15.0 to 45.0" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" - } - }, - { - "fullUrl": "urn:uuid:2a2a40ab-094b-5c4f-ed4c-06da5b795adb", - "resource": { - "resourceType": "Observation", - "id": "2a2a40ab-094b-5c4f-ed4c-06da5b795adb", - "status": "final", - "code": { - "coding": [ - { - "code": "26499-4", - "display": "Neutrophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Neutrophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 58, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "1.5 to 7.0" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" - } - }, - { - "fullUrl": "urn:uuid:50ff46fb-efee-ee90-4005-de5f705b3e05", - "resource": { - "resourceType": "Observation", - "id": "50ff46fb-efee-ee90-4005-de5f705b3e05", - "status": "final", - "code": { - "coding": [ - { - "code": "26511-6", - "display": "Neutrophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Neutrophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 55, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "50 to 73" - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" - } - }, - { - "fullUrl": "urn:uuid:acd9efe2-e488-9629-4ee4-7381dd2f033a", - "resource": { - "resourceType": "Observation", - "id": "acd9efe2-e488-9629-4ee4-7381dd2f033a", - "status": "final", - "code": { - "coding": [ - { - "code": "38892-6", - "display": "Anisocytosis [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Anisocytosis [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260348001", - "display": "Present ++ out of ++++", - "system": "http://snomed.info/sct" - } - ], - "text": "Moderate Anisocytosis" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" - } - }, - { - "fullUrl": "urn:uuid:7590df32-4991-c5ec-defe-e0dc2c2eaf1e", - "resource": { - "resourceType": "Observation", - "id": "7590df32-4991-c5ec-defe-e0dc2c2eaf1e", - "status": "final", - "code": { - "coding": [ - { - "code": "30400-6", - "display": "Hypochromia [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Hypochromia [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" - } - }, - { - "fullUrl": "urn:uuid:9309af3c-7981-ab3a-916e-39e0c93849e1", - "resource": { - "resourceType": "Observation", - "id": "9309af3c-7981-ab3a-916e-39e0c93849e1", - "status": "final", - "code": { - "coding": [ - { - "code": "30424-6", - "display": "Macrocytes [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Macrocytes [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" - } - }, - { - "fullUrl": "urn:uuid:7a7a84ca-efac-1264-4b89-afcb99a042d3", - "resource": { - "resourceType": "Observation", - "id": "7a7a84ca-efac-1264-4b89-afcb99a042d3", - "status": "final", - "code": { - "coding": [ - { - "code": "30434-5", - "display": "Microcytes [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Microcytes [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" - } - }, - { - "fullUrl": "urn:uuid:cbf7415b-71cd-2693-d05f-729ad10cab5b", - "resource": { - "resourceType": "Observation", - "id": "cbf7415b-71cd-2693-d05f-729ad10cab5b", - "status": "final", - "code": { - "coding": [ - { - "code": "779-9", - "display": "Poikilocytosis [Presence] in Blood by Light microscopy", - "system": "http://loinc.org" - } - ], - "text": "Poikilocytosis [Presence] in Blood by Light microscopy" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" - } - }, - { - "fullUrl": "urn:uuid:f0e1d14d-8b98-c494-88da-2ccc76244df2", - "resource": { - "resourceType": "Observation", - "id": "f0e1d14d-8b98-c494-88da-2ccc76244df2", - "status": "final", - "code": { - "coding": [ - { - "code": "10378-8", - "display": "Polychromasia [Presence] in Blood by Light microscopy", - "system": "http://loinc.org" - } - ], - "text": "Polychromasia [Presence] in Blood by Light microscopy" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" - } - }, - { - "fullUrl": "urn:uuid:04f6146a-df8b-3d11-aac2-5f003cbc41eb", - "resource": { - "resourceType": "Observation", - "id": "04f6146a-df8b-3d11-aac2-5f003cbc41eb", - "status": "final", - "code": { - "coding": [ - { - "code": "6742-1", - "display": "Erythrocyte morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte morphology finding [Identifier] in Blood" - }, - "valueString": "Many spherocytes present.", - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" - } - }, - { - "fullUrl": "urn:uuid:d6dd70a5-58fa-39bc-c4c8-81398826e0bb", - "resource": { - "resourceType": "Observation", - "id": "d6dd70a5-58fa-39bc-c4c8-81398826e0bb", - "status": "final", - "code": { - "coding": [ - { - "code": "11156-7", - "display": "Leukocyte morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Leukocyte morphology finding [Identifier] in Blood" - }, - "valueString": "Reactive morphology in lymphoid cells.", - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" - } - }, - { - "fullUrl": "urn:uuid:f20f3493-d398-8740-ad5f-24421acdb6ad", - "resource": { - "resourceType": "Observation", - "id": "f20f3493-d398-8740-ad5f-24421acdb6ad", - "status": "final", - "code": { - "coding": [ - { - "code": "11125-2", - "display": "Platelet morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Platelet morphology finding [Identifier] in Blood" - }, - "valueString": "Platelets show defective granulation.", - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" - } - }, - { - "fullUrl": "urn:uuid:be7b96d7-8880-3116-f8e3-328359c8e8b1", - "resource": { - "resourceType": "ServiceRequest", - "id": "be7b96d7-8880-3116-f8e3-328359c8e8b1", - "status": "unknown", - "intent": "filler-order", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "GORD874233", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57021-8", - "display": "CBC W Auto Differential panel in Blood", - "system": "http://loinc.org" - }, - { - "code": "4456544", - "display": "CBC", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" - } - ], - "text": "CBC W Auto Differential panel in Blood" - }, - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "requester": { - "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" - }, - "specimen": [ - { - "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - }, - { - "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "resource": { - "resourceType": "Practitioner", - "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "identifier": [ - { - "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1", - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Radon", - "given": [ - "Nicholas" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" - } - }, - { - "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033", - "resource": { - "resourceType": "PractitionerRole", - "id": "3abddc6b-7cdf-a483-2997-914e226aa033", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + "who": { + "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" + } + ] + }, + "target": [ + { + "reference": "Bundle/7cbc05b1-9589-f624-6bb7-edea632acfeb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/69d21cff-2d4e-b89f-1109-5fb744517c1f" + } + }, + { + "fullUrl": "urn:uuid:aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", + "resource": { + "resourceType": "Organization", + "id": "aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", + "identifier": [ + { + "value": "NIST Lab Facility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Lab-Facility" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" + } + }, + { + "fullUrl": "urn:uuid:c828b9d8-dc07-4b58-af67-705a38d1fa4d", + "resource": { + "resourceType": "Organization", + "id": "c828b9d8-dc07-4b58-af67-705a38d1fa4d", + "identifier": [ + { + "value": "NIST EHR Facility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-EHR-Facility" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" + } + }, + { + "fullUrl": "urn:uuid:397de93b-65e0-b3b6-7a79-d7869d57a8aa", + "resource": { + "resourceType": "Patient", + "id": "397de93b-65e0-b3b6-7a79-d7869d57a8aa", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" - } - }, - { - "fullUrl": "urn:uuid:617a0645-a45a-07a5-77e4-f40de55f8c42", - "resource": { - "resourceType": "DiagnosticReport", - "id": "617a0645-a45a-07a5-77e4-f40de55f8c42", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "GORD874233", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "effectiveDateTime": "2011-01-04T04:04:28+05:30", - "code": { - "coding": [ - { - "code": "57021-8", - "display": "CBC W Auto Differential panel in Blood", - "system": "http://loinc.org" - }, - { - "code": "4456544", - "display": "CBC", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" - } - ], - "text": "CBC W Auto Differential panel in Blood" - }, - "issued": "2011-01-05T06:30:28+05:30", - "status": "final", - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ], - "specimen": [ - { - "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" - } - ], - "result": [ - { - "reference": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" - }, - { - "reference": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" - }, - { - "reference": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" - }, - { - "reference": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" - }, - { - "reference": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" - }, - { - "reference": "Observation/992117b5-5929-6b7c-5570-199ffa437877" - }, - { - "reference": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" - }, - { - "reference": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" - }, - { - "reference": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" - }, - { - "reference": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" - }, - { - "reference": "Observation/56ced431-5315-0916-1416-28535869cf35" - }, - { - "reference": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" - }, - { - "reference": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" - }, - { - "reference": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" - }, - { - "reference": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" - }, - { - "reference": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" - }, - { - "reference": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" - }, - { - "reference": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" - }, - { - "reference": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" - }, - { - "reference": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" - }, - { - "reference": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" - }, - { - "reference": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" - }, - { - "reference": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" - }, - { - "reference": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" - }, - { - "reference": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" - }, - { - "reference": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" - }, - { - "reference": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" - }, - { - "reference": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/617a0645-a45a-07a5-77e4-f40de55f8c42" - } - }, - { - "fullUrl": "urn:uuid:aa90eecf-8084-cda9-f937-6932c6bb4f79", - "resource": { - "resourceType": "Specimen", - "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "collection": { - "collectedDateTime": "2011-01-04T04:04:28+05:30" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI" + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "William", + "A" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + } + }, + { + "fullUrl": "urn:uuid:9f988649-6c25-7f5f-f25c-65f3042e23b6", + "resource": { + "resourceType": "Practitioner", + "id": "9f988649-6c25-7f5f-f25c-65f3042e23b6", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "2343242" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" + } + }, + { + "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" + }, + "organization": { + "reference": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + }, + { + "fullUrl": "urn:uuid:4134770e-37a2-6447-4497-d73ddee6412d", + "resource": { + "resourceType": "Organization", + "id": "4134770e-37a2-6447-4497-d73ddee6412d", + "name": "Century Hospital", + "identifier": [ + { + "value": "987", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "2070 Test Park" + ], + "city": "Los Angeles", + "state": "CA", + "postalCode": "90067", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" + } + }, + { + "fullUrl": "urn:uuid:86b13b68-64ca-4bf2-8f9d-524c127b445f", + "resource": { + "resourceType": "Observation", + "id": "86b13b68-64ca-4bf2-8f9d-524c127b445f", + "status": "final", + "code": { + "coding": [ + { + "code": "26453-1", + "display": "Erythrocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Erythrocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 4.41, + "code": "10*6/uL", + "unit": "million per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "4.3 to 6.2" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" + } + }, + { + "fullUrl": "urn:uuid:e950bf40-a65b-1565-b77a-9e409335894c", + "resource": { + "resourceType": "Observation", + "id": "e950bf40-a65b-1565-b77a-9e409335894c", + "status": "final", + "code": { + "coding": [ + { + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "valueQuantity": { + "value": 12.5, + "code": "g/mL", + "unit": "grams per milliliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "13 to 18" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "L", + "display": "Low", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" + } + }, + { + "fullUrl": "urn:uuid:57d75a50-68d1-42d2-23c7-85a2737939c3", + "resource": { + "resourceType": "Observation", + "id": "57d75a50-68d1-42d2-23c7-85a2737939c3", + "status": "final", + "code": { + "coding": [ + { + "code": "20570-8", + "display": "Hematocrit [Volume Fraction] of Blood", + "system": "http://loinc.org" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood" + }, + "valueQuantity": { + "value": 41, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "40 to 52" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" + } + }, + { + "fullUrl": "urn:uuid:d0fbf918-54d1-7ba3-5412-43a57a7f18b1", + "resource": { + "resourceType": "Observation", + "id": "d0fbf918-54d1-7ba3-5412-43a57a7f18b1", + "status": "final", + "code": { + "coding": [ + { + "code": "26464-8", + "display": "Leukocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Leukocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 105600, + "code": "{cells}/uL", + "unit": "cells per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "4300 to 10800" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" + } + }, + { + "fullUrl": "urn:uuid:7067c914-c96b-8595-60f3-2e7df530e7f0", + "resource": { + "resourceType": "Observation", + "id": "7067c914-c96b-8595-60f3-2e7df530e7f0", + "status": "final", + "code": { + "coding": [ + { + "code": "26515-7", + "display": "Platelets [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Platelets [#/volume] in Blood" + }, + "valueQuantity": { + "value": 210000, + "code": "{cells}/uL", + "unit": "cells per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "150000 to 350000" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" + } + }, + { + "fullUrl": "urn:uuid:992117b5-5929-6b7c-5570-199ffa437877", + "resource": { + "resourceType": "Observation", + "id": "992117b5-5929-6b7c-5570-199ffa437877", + "status": "final", + "code": { + "coding": [ + { + "code": "30428-7", + "display": "Erythrocyte mean corpuscular volume [Entitic volume]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular volume [Entitic volume]" + }, + "valueQuantity": { + "value": 91, + "code": "fL", + "unit": "femtoliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "80 to 95" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/992117b5-5929-6b7c-5570-199ffa437877" + } + }, + { + "fullUrl": "urn:uuid:444f2073-1f9b-5ccb-4c6f-225668686427", + "resource": { + "resourceType": "Observation", + "id": "444f2073-1f9b-5ccb-4c6f-225668686427", + "status": "final", + "code": { + "coding": [ + { + "code": "28539-5", + "display": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]" + }, + "valueQuantity": { + "value": 29, + "code": "pg/{cell}", + "unit": "picograms per cell", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "27 to 31" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" + } + }, + { + "fullUrl": "urn:uuid:e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", + "resource": { + "resourceType": "Observation", + "id": "e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", + "status": "final", + "code": { + "coding": [ + { + "code": "28540-3", + "display": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]" + }, + "valueQuantity": { + "value": 32.4, + "code": "g/dL", + "unit": "grams per deciliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "32 to 36" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" + } + }, + { + "fullUrl": "urn:uuid:5b437ecc-2c30-8c06-133f-465771b904ad", + "resource": { + "resourceType": "Observation", + "id": "5b437ecc-2c30-8c06-133f-465771b904ad", + "status": "final", + "code": { + "coding": [ + { + "code": "30385-9", + "display": "Erythrocyte distribution width [Ratio]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte distribution width [Ratio]" + }, + "valueQuantity": { + "value": 10.5, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "10.2 to 14.5" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" + } + }, + { + "fullUrl": "urn:uuid:911e4e3a-2cbc-7a98-00d7-c84848cf5089", + "resource": { + "resourceType": "Observation", + "id": "911e4e3a-2cbc-7a98-00d7-c84848cf5089", + "status": "final", + "code": { + "coding": [ + { + "code": "26444-0", + "display": "Basophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Basophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 0.1, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 0.3" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" + } + }, + { + "fullUrl": "urn:uuid:56ced431-5315-0916-1416-28535869cf35", + "resource": { + "resourceType": "Observation", + "id": "56ced431-5315-0916-1416-28535869cf35", + "status": "final", + "code": { + "coding": [ + { + "code": "30180-4", + "display": "Basophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Basophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 0.1, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 2" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/56ced431-5315-0916-1416-28535869cf35" + } + }, + { + "fullUrl": "urn:uuid:a66c4fde-e0f8-969f-26fa-302858c57c3e", + "resource": { + "resourceType": "Observation", + "id": "a66c4fde-e0f8-969f-26fa-302858c57c3e", + "status": "final", + "code": { + "coding": [ + { + "code": "26484-6", + "display": "Monocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Monocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 3, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0.0 to 13.0" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" + } + }, + { + "fullUrl": "urn:uuid:a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", + "resource": { + "resourceType": "Observation", + "id": "a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", + "status": "final", + "code": { + "coding": [ + { + "code": "26485-3", + "display": "Monocytes/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Monocytes/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 3, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 10" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" + } + }, + { + "fullUrl": "urn:uuid:003b8354-4e8a-c413-7904-a5827158c46b", + "resource": { + "resourceType": "Observation", + "id": "003b8354-4e8a-c413-7904-a5827158c46b", + "status": "final", + "code": { + "coding": [ + { + "code": "26449-9", + "display": "Eosinophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Eosinophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 2.1, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0.0 to 0.45" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" + } + }, + { + "fullUrl": "urn:uuid:201f8c4b-0e9a-ca62-aedd-5baf37822777", + "resource": { + "resourceType": "Observation", + "id": "201f8c4b-0e9a-ca62-aedd-5baf37822777", + "status": "final", + "code": { + "coding": [ + { + "code": "26450-7", + "display": "Eosinophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Eosinophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 2, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 6" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" + } + }, + { + "fullUrl": "urn:uuid:82489f84-cccb-c095-eb55-42ed77eb1c94", + "resource": { + "resourceType": "Observation", + "id": "82489f84-cccb-c095-eb55-42ed77eb1c94", + "status": "final", + "code": { + "coding": [ + { + "code": "26474-7", + "display": "Lymphocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Lymphocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 41.2, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "1.0 to 4.8" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" + } + }, + { + "fullUrl": "urn:uuid:452e4d56-c770-85d2-56d5-b8831f428ece", + "resource": { + "resourceType": "Observation", + "id": "452e4d56-c770-85d2-56d5-b8831f428ece", + "status": "final", + "code": { + "coding": [ + { + "code": "26478-8", + "display": "Lymphocytes/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Lymphocytes/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 39, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "15.0 to 45.0" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" + } + }, + { + "fullUrl": "urn:uuid:2a2a40ab-094b-5c4f-ed4c-06da5b795adb", + "resource": { + "resourceType": "Observation", + "id": "2a2a40ab-094b-5c4f-ed4c-06da5b795adb", + "status": "final", + "code": { + "coding": [ + { + "code": "26499-4", + "display": "Neutrophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Neutrophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 58, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "1.5 to 7.0" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" + } + }, + { + "fullUrl": "urn:uuid:50ff46fb-efee-ee90-4005-de5f705b3e05", + "resource": { + "resourceType": "Observation", + "id": "50ff46fb-efee-ee90-4005-de5f705b3e05", + "status": "final", + "code": { + "coding": [ + { + "code": "26511-6", + "display": "Neutrophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Neutrophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 55, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "50 to 73" + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" + } + }, + { + "fullUrl": "urn:uuid:acd9efe2-e488-9629-4ee4-7381dd2f033a", + "resource": { + "resourceType": "Observation", + "id": "acd9efe2-e488-9629-4ee4-7381dd2f033a", + "status": "final", + "code": { + "coding": [ + { + "code": "38892-6", + "display": "Anisocytosis [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Anisocytosis [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260348001", + "display": "Present ++ out of ++++", + "system": "http://snomed.info/sct" + } + ], + "text": "Moderate Anisocytosis" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" + } + }, + { + "fullUrl": "urn:uuid:7590df32-4991-c5ec-defe-e0dc2c2eaf1e", + "resource": { + "resourceType": "Observation", + "id": "7590df32-4991-c5ec-defe-e0dc2c2eaf1e", + "status": "final", + "code": { + "coding": [ + { + "code": "30400-6", + "display": "Hypochromia [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Hypochromia [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" + } + }, + { + "fullUrl": "urn:uuid:9309af3c-7981-ab3a-916e-39e0c93849e1", + "resource": { + "resourceType": "Observation", + "id": "9309af3c-7981-ab3a-916e-39e0c93849e1", + "status": "final", + "code": { + "coding": [ + { + "code": "30424-6", + "display": "Macrocytes [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Macrocytes [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" + } + }, + { + "fullUrl": "urn:uuid:7a7a84ca-efac-1264-4b89-afcb99a042d3", + "resource": { + "resourceType": "Observation", + "id": "7a7a84ca-efac-1264-4b89-afcb99a042d3", + "status": "final", + "code": { + "coding": [ + { + "code": "30434-5", + "display": "Microcytes [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Microcytes [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" + } + }, + { + "fullUrl": "urn:uuid:cbf7415b-71cd-2693-d05f-729ad10cab5b", + "resource": { + "resourceType": "Observation", + "id": "cbf7415b-71cd-2693-d05f-729ad10cab5b", + "status": "final", + "code": { + "coding": [ + { + "code": "779-9", + "display": "Poikilocytosis [Presence] in Blood by Light microscopy", + "system": "http://loinc.org" + } + ], + "text": "Poikilocytosis [Presence] in Blood by Light microscopy" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" + } + }, + { + "fullUrl": "urn:uuid:f0e1d14d-8b98-c494-88da-2ccc76244df2", + "resource": { + "resourceType": "Observation", + "id": "f0e1d14d-8b98-c494-88da-2ccc76244df2", + "status": "final", + "code": { + "coding": [ + { + "code": "10378-8", + "display": "Polychromasia [Presence] in Blood by Light microscopy", + "system": "http://loinc.org" + } + ], + "text": "Polychromasia [Presence] in Blood by Light microscopy" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" + } + }, + { + "fullUrl": "urn:uuid:04f6146a-df8b-3d11-aac2-5f003cbc41eb", + "resource": { + "resourceType": "Observation", + "id": "04f6146a-df8b-3d11-aac2-5f003cbc41eb", + "status": "final", + "code": { + "coding": [ + { + "code": "6742-1", + "display": "Erythrocyte morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte morphology finding [Identifier] in Blood" + }, + "valueString": "Many spherocytes present.", + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" + } + }, + { + "fullUrl": "urn:uuid:d6dd70a5-58fa-39bc-c4c8-81398826e0bb", + "resource": { + "resourceType": "Observation", + "id": "d6dd70a5-58fa-39bc-c4c8-81398826e0bb", + "status": "final", + "code": { + "coding": [ + { + "code": "11156-7", + "display": "Leukocyte morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Leukocyte morphology finding [Identifier] in Blood" + }, + "valueString": "Reactive morphology in lymphoid cells.", + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" + } + }, + { + "fullUrl": "urn:uuid:f20f3493-d398-8740-ad5f-24421acdb6ad", + "resource": { + "resourceType": "Observation", + "id": "f20f3493-d398-8740-ad5f-24421acdb6ad", + "status": "final", + "code": { + "coding": [ + { + "code": "11125-2", + "display": "Platelet morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Platelet morphology finding [Identifier] in Blood" + }, + "valueString": "Platelets show defective granulation.", + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" + } + }, + { + "fullUrl": "urn:uuid:be7b96d7-8880-3116-f8e3-328359c8e8b1", + "resource": { + "resourceType": "ServiceRequest", + "id": "be7b96d7-8880-3116-f8e3-328359c8e8b1", + "status": "unknown", + "intent": "filler-order", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "GORD874233", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57021-8", + "display": "CBC W Auto Differential panel in Blood", + "system": "http://loinc.org" }, - "request": { - "method": "PUT", - "url": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" - } - }, - { - "fullUrl": "urn:uuid:a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", - "resource": { - "resourceType": "Specimen", - "id": "a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", - "type": { - "coding": [ - { - "code": "119297000", - "display": "BLD", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "collectedDateTime": "2011-01-04T04:04:28+05:30" + { + "code": "4456544", + "display": "CBC", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" + } + ], + "text": "CBC W Auto Differential panel in Blood" + }, + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "requester": { + "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" + }, + "specimen": [ + { + "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + }, + { + "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "resource": { + "resourceType": "Practitioner", + "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "identifier": [ + { + "value": "57422", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Radon", + "given": [ + "Nicholas" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + } + }, + { + "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033", + "resource": { + "resourceType": "PractitionerRole", + "id": "3abddc6b-7cdf-a483-2997-914e226aa033", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" + } + }, + { + "fullUrl": "urn:uuid:617a0645-a45a-07a5-77e4-f40de55f8c42", + "resource": { + "resourceType": "DiagnosticReport", + "id": "617a0645-a45a-07a5-77e4-f40de55f8c42", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "GORD874233", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2011-01-03T14:34:28-08:00", + "code": { + "coding": [ + { + "code": "57021-8", + "display": "CBC W Auto Differential panel in Blood", + "system": "http://loinc.org" }, - "request": { - "method": "PUT", - "url": "Specimen/a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963" + { + "code": "4456544", + "display": "CBC", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" + } + ], + "text": "CBC W Auto Differential panel in Blood" + }, + "issued": "2011-01-04T17:00:28-08:00", + "status": "final", + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ], + "specimen": [ + { + "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + } + ], + "result": [ + { + "reference": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" + }, + { + "reference": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" + }, + { + "reference": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" + }, + { + "reference": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" + }, + { + "reference": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" + }, + { + "reference": "Observation/992117b5-5929-6b7c-5570-199ffa437877" + }, + { + "reference": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" + }, + { + "reference": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" + }, + { + "reference": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" + }, + { + "reference": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" + }, + { + "reference": "Observation/56ced431-5315-0916-1416-28535869cf35" + }, + { + "reference": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" + }, + { + "reference": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" + }, + { + "reference": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" + }, + { + "reference": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" + }, + { + "reference": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" + }, + { + "reference": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" + }, + { + "reference": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" + }, + { + "reference": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" + }, + { + "reference": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" + }, + { + "reference": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" + }, + { + "reference": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" + }, + { + "reference": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" + }, + { + "reference": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" + }, + { + "reference": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" + }, + { + "reference": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" + }, + { + "reference": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" + }, + { + "reference": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/617a0645-a45a-07a5-77e4-f40de55f8c42" + } + }, + { + "fullUrl": "urn:uuid:aa90eecf-8084-cda9-f937-6932c6bb4f79", + "resource": { + "resourceType": "Specimen", + "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "collection": { + "collectedDateTime": "2011-01-03T14:34:28-08:00" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + } + }, + { + "fullUrl": "urn:uuid:a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", + "resource": { + "resourceType": "Specimen", + "id": "a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", + "type": { + "coding": [ + { + "code": "119297000", + "display": "BLD", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "collectedDateTime": "2011-01-03T14:34:28-08:00" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json index d14d0494e..daba032a8 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json @@ -1,2605 +1,2605 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2012-03-14T20:44:00+05:30", - "identifier": { - "value": "2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325" - }, - "id": "3294d4fe-4d33-61e3-310f-3078b6bb0264", - "entry": [ - { - "fullUrl": "urn:uuid:bb2c62d5-a5ee-37cf-332d-bd928e8586f4", - "resource": { - "resourceType": "MessageHeader", - "id": "bb2c62d5-a5ee-37cf-332d-bd928e8586f4", - "source": { - "name": "IA PHIMS Stage", - "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IA.DOH.IDSS", - "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.19", - "receiver": { - "reference": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORU^R01^ORU_R01" - }, - "sender": { - "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/bb2c62d5-a5ee-37cf-332d-bd928e8586f4" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2012-03-14T12:59:00-02:15", + "identifier": { + "value": "2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325" + }, + "id": "3294d4fe-4d33-61e3-310f-3078b6bb0264", + "entry": [ + { + "fullUrl": "urn:uuid:bb2c62d5-a5ee-37cf-332d-bd928e8586f4", + "resource": { + "resourceType": "MessageHeader", + "id": "bb2c62d5-a5ee-37cf-332d-bd928e8586f4", + "source": { + "name": "IA PHIMS Stage", + "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "version": "2.4.3.52854", + "software": "Rhapsody" }, - { - "fullUrl": "urn:uuid:4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", - "resource": { - "resourceType": "Provenance", - "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:23:01.071Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" - }, - "occurredDateTime": "2012-03-14T20:44:00+05:30", - "recorded": "2012-03-14T20:44:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORU^R01^ORU_R01" - } - ] - }, - "target": [ - { - "reference": "Bundle/3294d4fe-4d33-61e3-310f-3078b6bb0264" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/4b8e3786-de8b-c12f-345b-3c83fc1c4a0d" + "destination": [ + { + "name": "IA.DOH.IDSS", + "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.19", + "receiver": { + "reference": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" } - }, - { - "fullUrl": "urn:uuid:353c3718-dc57-7a15-8660-7aeed24b4f7e", - "resource": { - "resourceType": "Organization", - "id": "353c3718-dc57-7a15-8660-7aeed24b4f7e", - "identifier": [ - { - "value": "IA Public Health Lab", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-Public-Health-Lab" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.1.10411", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", - "resource": { - "resourceType": "Organization", - "id": "6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", - "identifier": [ - { - "value": "IA DOH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-DOH" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.1.3650", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" - } + "eventCoding": { + "code": "R01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORU^R01^ORU_R01" }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854" - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } + "sender": { + "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/bb2c62d5-a5ee-37cf-332d-bd928e8586f4" + } + }, + { + "fullUrl": "urn:uuid:4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", + "resource": { + "resourceType": "Provenance", + "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:10.588Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, - { - "fullUrl": "urn:uuid:389b3d01-dc6f-2c15-38c5-8c4e86a515c8", - "resource": { - "resourceType": "Patient", - "id": "389b3d01-dc6f-2c15-38c5-8c4e86a515c8", - "identifier": [ - { - "value": "14", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "assigner": { - "reference": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" - } - } - ], - "name": [ - { - "family": "Finn", - "given": [ - "Huckleberry" - ], - "use": "official" - } - ], - "birthDate": "1963-08-15", - "gender": "male", - "address": [ - { - "line": [ - "721 SPRING STREET" - ], - "city": "GRINNELL", - "state": "IA", - "postalCode": "50112", - "country": "USA", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", - "version": "2.5.1" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "04/24/2007" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "1002-5", - "display": "American Indian or Alaska Native", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "04/24/2007" - } - }, - { - "url": "text", - "valueString": "White+American Indian or Alaska Native" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "2.5.1" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] + "occurredDateTime": "2012-03-14T12:59:00-02:15", + "recorded": "2012-03-14T12:59:00-02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + "who": { + "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" } - }, - { - "fullUrl": "urn:uuid:5263bd4f-69ed-d465-3e10-e79f2010bf12", - "resource": { - "resourceType": "Organization", - "id": "5263bd4f-69ed-d465-3e10-e79f2010bf12", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" + } + ], + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" } + ] }, - { - "fullUrl": "urn:uuid:2110f421-a2a2-e702-115a-490a55c8ce3f", - "resource": { - "resourceType": "Practitioner", - "id": "2110f421-a2a2-e702-115a-490a55c8ce3f", - "identifier": [ - { - "value": "1111", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERLt", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "given": [ - "Zafar", - "Mahen" - ], - "suffix": [ - "JR", - "MD" - ], - "prefix": [ - "Dr." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + "target": [ + { + "reference": "Bundle/3294d4fe-4d33-61e3-310f-3078b6bb0264" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/4b8e3786-de8b-c12f-345b-3c83fc1c4a0d" + } + }, + { + "fullUrl": "urn:uuid:353c3718-dc57-7a15-8660-7aeed24b4f7e", + "resource": { + "resourceType": "Organization", + "id": "353c3718-dc57-7a15-8660-7aeed24b4f7e", + "identifier": [ + { + "value": "IA Public Health Lab", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-Public-Health-Lab" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.1.10411", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:505c291e-5ae6-8346-bfe0-2587065e410e", - "resource": { - "resourceType": "PractitionerRole", - "id": "505c291e-5ae6-8346-bfe0-2587065e410e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + } + ], + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + }, + { + "fullUrl": "urn:uuid:6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", + "resource": { + "resourceType": "Organization", + "id": "6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", + "identifier": [ + { + "value": "IA DOH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-DOH" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.1.3650", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" + ] } - }, - { - "fullUrl": "urn:uuid:e2f9615a-8a86-7a34-07b8-e75842da37f0", - "resource": { - "resourceType": "Organization", - "id": "e2f9615a-8a86-7a34-07b8-e75842da37f0", - "name": "ABC Hospital", - "address": [ - { - "line": [ - "A city", - "Florida" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + } + ], + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854" + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:389b3d01-dc6f-2c15-38c5-8c4e86a515c8", + "resource": { + "resourceType": "Patient", + "id": "389b3d01-dc6f-2c15-38c5-8c4e86a515c8", + "identifier": [ + { + "value": "14", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "assigner": { + "reference": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" + } + } + ], + "name": [ + { + "family": "Finn", + "given": [ + "Huckleberry" + ], + "use": "official" + } + ], + "birthDate": "1963-08-15", + "gender": "male", + "address": [ + { + "line": [ + "721 SPRING STREET" + ], + "city": "GRINNELL", + "state": "IA", + "postalCode": "50112", + "country": "USA", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "version": "2.5.1" } + ] }, - { - "fullUrl": "urn:uuid:c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", - "identifier": [ - { - "value": "EI21obx1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "effectiveDateTime": "1999-07-02", - "status": "unknown", - "performer": [ - { - "reference": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" - }, - { - "reference": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" - } - ], - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "04/24/2007" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "04/24/2007" + } + }, + { + "url": "text", + "valueString": "White+American Indian or Alaska Native" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "2.5.1" } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c4c46dc5-e54b-dccd-4e40-c3c13c4a537b" + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + { + "fullUrl": "urn:uuid:5263bd4f-69ed-d465-3e10-e79f2010bf12", + "resource": { + "resourceType": "Organization", + "id": "5263bd4f-69ed-d465-3e10-e79f2010bf12", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" + } + }, + { + "fullUrl": "urn:uuid:2110f421-a2a2-e702-115a-490a55c8ce3f", + "resource": { + "resourceType": "Practitioner", + "id": "2110f421-a2a2-e702-115a-490a55c8ce3f", + "identifier": [ + { + "value": "1111", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERLt", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + ] } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ], + "name": [ + { + "given": [ + "Zafar", + "Mahen" + ], + "suffix": [ + "JR", + "MD" + ], + "prefix": [ + "Dr." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + } + }, + { + "fullUrl": "urn:uuid:505c291e-5ae6-8346-bfe0-2587065e410e", + "resource": { + "resourceType": "PractitionerRole", + "id": "505c291e-5ae6-8346-bfe0-2587065e410e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" + } + }, + { + "fullUrl": "urn:uuid:e2f9615a-8a86-7a34-07b8-e75842da37f0", + "resource": { + "resourceType": "Organization", + "id": "e2f9615a-8a86-7a34-07b8-e75842da37f0", + "name": "ABC Hospital", + "address": [ + { + "line": [ + "A city", + "Florida" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" + } + }, + { + "fullUrl": "urn:uuid:c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", + "identifier": [ + { + "value": "EI21obx1", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + "effectiveDateTime": "1999-07-02", + "status": "unknown", + "performer": [ + { + "reference": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" + }, + { + "reference": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" + } + ], + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c4c46dc5-e54b-dccd-4e40-c3c13c4a537b" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" } + ] }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" } + ] }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + ], + "text": "Document unique file name" } - }, - { - "fullUrl": "urn:uuid:8877e882-e573-a85d-7172-b48e78842771", - "resource": { - "resourceType": "ServiceRequest", - "id": "8877e882-e573-a85d-7172-b48e78842771", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PUSI", - "display": "parent Identifier", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" - } - ] - } - } - ], - "status": "completed", - "intent": "filler-order", - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:8877e882-e573-a85d-7172-b48e78842771", + "resource": { + "resourceType": "ServiceRequest", + "id": "8877e882-e573-a85d-7172-b48e78842771", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" + ] } - }, - { - "fullUrl": "urn:uuid:805f1b25-f43a-3bca-8bbd-49d530107363", - "resource": { - "resourceType": "ServiceRequest", - "id": "805f1b25-f43a-3bca-8bbd-49d530107363", - "status": "completed", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "PSS-46", - "display": "Placer service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "FSS-47", - "display": "Filler service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2020-09-10T20:15:00+05:30", - "basedOn": [ - { - "reference": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - }, - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "note": [ - { - "text": "Placer 1", - "authorString": "Placer Field 1" - }, - { - "text": "Placer 2", - "authorString": "Placer Field 2" - }, - { - "text": "Filler 1", - "authorString": "Filler Field 1" - }, - { - "text": "Filler 2", - "authorString": "Filler Field 2" - }, - { - "text": "Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 & other STECs, and Aeromonas" - }, - { - "text": "Allergy to peanuts observed.", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "priority": "asap", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "444", - "display": "Reason for study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "MD" - } - ] - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "requester": { - "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - }, - "specimen": [ - { - "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + ] } - }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + }, + { + "type": { + "coding": [ + { + "code": "PUSI", + "display": "parent Identifier", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" + } + ] + } + } + ], + "status": "completed", + "intent": "filler-order", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" + } + }, + { + "fullUrl": "urn:uuid:805f1b25-f43a-3bca-8bbd-49d530107363", + "resource": { + "resourceType": "ServiceRequest", + "id": "805f1b25-f43a-3bca-8bbd-49d530107363", + "status": "completed", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "PSS-46", + "display": "Placer service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "FSS-47", + "display": "Filler service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2020-09-10T17:00:00+02:15", + "basedOn": [ + { + "reference": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + }, + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Placer 1", + "authorString": "Placer Field 1" + }, + { + "text": "Placer 2", + "authorString": "Placer Field 2" + }, + { + "text": "Filler 1", + "authorString": "Filler Field 1" + }, + { + "text": "Filler 2", + "authorString": "Filler Field 2" + }, + { + "text": "Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 & other STECs, and Aeromonas" + }, + { + "text": "Allergy to peanuts observed.", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "priority": "asap", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" } + ], + "text": "Enteric Culture" }, - { - "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "resource": { - "resourceType": "PractitionerRole", - "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + "reasonCode": [ + { + "coding": [ + { + "code": "444", + "display": "Reason for study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "MD" + } + ] + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "requester": { + "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + }, + "specimen": [ + { + "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + { + "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "resource": { + "resourceType": "PractitionerRole", + "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", + "resource": { + "resourceType": "Practitioner", + "id": "dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", + "identifier": [ + { + "value": "Harry" + } + ], + "name": [ + { + "family": "Raud", + "given": [ + "Geny" + ], + "suffix": [ + "Mr." + ], + "prefix": [ + "Dr." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" + } + }, + { + "fullUrl": "urn:uuid:8182cb21-0236-09c6-937c-c04615216e29", + "resource": { + "resourceType": "PractitionerRole", + "id": "8182cb21-0236-09c6-937c-c04615216e29", + "location": [ + { + "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + } + ], + "practitioner": { + "reference": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" + } + }, + { + "fullUrl": "urn:uuid:f120dcaf-8a79-00e0-4045-9383d82935b6", + "resource": { + "resourceType": "Location", + "id": "f120dcaf-8a79-00e0-4045-9383d82935b6", + "partOf": { + "reference": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "name": "Poc-32", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + } + }, + { + "fullUrl": "urn:uuid:2732e881-cd1e-fe71-a03e-521f112a1e7d", + "resource": { + "resourceType": "Location", + "id": "2732e881-cd1e-fe71-a03e-521f112a1e7d", + "partOf": { + "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + "name": "Room-4", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" + } + }, + { + "fullUrl": "urn:uuid:faa87bc6-7206-7406-fe54-24bab9877eb3", + "resource": { + "resourceType": "Location", + "id": "faa87bc6-7206-7406-fe54-24bab9877eb3", + "partOf": { + "reference": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" }, - { - "fullUrl": "urn:uuid:dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", - "resource": { - "resourceType": "Practitioner", - "id": "dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", - "identifier": [ - { - "value": "Harry" - } - ], - "name": [ - { - "family": "Raud", - "given": [ - "Geny" - ], - "suffix": [ - "Mr." - ], - "prefix": [ - "Dr." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" + "name": "Bed3", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/faa87bc6-7206-7406-fe54-24bab9877eb3" + } + }, + { + "fullUrl": "urn:uuid:739b2979-f712-b0f4-daad-acefae9b4feb", + "resource": { + "resourceType": "Location", + "id": "739b2979-f712-b0f4-daad-acefae9b4feb", + "name": "Facility-3", + "identifier": [ + { + "value": "urn:oid:1.2", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" + } + }, + { + "fullUrl": "urn:uuid:8f787230-6d25-6e0e-db3d-96fd13a2d66c", + "resource": { + "resourceType": "Location", + "id": "8f787230-6d25-6e0e-db3d-96fd13a2d66c", + "partOf": { + "reference": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" }, - { - "fullUrl": "urn:uuid:8182cb21-0236-09c6-937c-c04615216e29", - "resource": { - "resourceType": "PractitionerRole", - "id": "8182cb21-0236-09c6-937c-c04615216e29", - "location": [ - { - "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" - } - ], - "practitioner": { - "reference": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" + "name": "Building-4", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" + } + }, + { + "fullUrl": "urn:uuid:f7028223-0ee3-7152-e027-07bb5b0224ac", + "resource": { + "resourceType": "Location", + "id": "f7028223-0ee3-7152-e027-07bb5b0224ac", + "partOf": { + "reference": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" }, - { - "fullUrl": "urn:uuid:f120dcaf-8a79-00e0-4045-9383d82935b6", - "resource": { - "resourceType": "Location", - "id": "f120dcaf-8a79-00e0-4045-9383d82935b6", - "partOf": { - "reference": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" - }, - "name": "Poc-32", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "name": "FL-2", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + ] } - }, - { - "fullUrl": "urn:uuid:2732e881-cd1e-fe71-a03e-521f112a1e7d", - "resource": { - "resourceType": "Location", - "id": "2732e881-cd1e-fe71-a03e-521f112a1e7d", - "partOf": { - "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" - }, - "name": "Room-4", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" + ] } - }, - { - "fullUrl": "urn:uuid:faa87bc6-7206-7406-fe54-24bab9877eb3", - "resource": { - "resourceType": "Location", - "id": "faa87bc6-7206-7406-fe54-24bab9877eb3", - "partOf": { - "reference": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" - }, - "name": "Bed3", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/faa87bc6-7206-7406-fe54-24bab9877eb3" + ] } + } + ], + "effectiveDateTime": "2002-02-15T07:30:00+02:15", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "Enteric Culture" }, - { - "fullUrl": "urn:uuid:739b2979-f712-b0f4-daad-acefae9b4feb", - "resource": { - "resourceType": "Location", - "id": "739b2979-f712-b0f4-daad-acefae9b4feb", - "name": "Facility-3", - "identifier": [ - { - "value": "urn:oid:1.2", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" + "issued": "2002-03-15T07:30:00+02:15", + "category": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + } + ], + "status": "final", + "performer": [ + { + "reference": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" + }, + { + "reference": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "basedOn": [ + { + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + ], + "specimen": [ + { + "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + ], + "result": [ + { + "reference": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" + } + ] + }, + "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "request": { + "method": "PUT", + "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4" + } + }, + { + "fullUrl": "urn:uuid:8c441677-2d13-b04b-260c-45f02d79bc0e", + "resource": { + "resourceType": "Practitioner", + "id": "8c441677-2d13-b04b-260c-45f02d79bc0e", + "identifier": [ + { + "value": "Richa" + } + ], + "name": [ + { + "suffix": [ + "Mr." + ], + "prefix": [ + "Md." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + } + }, + { + "fullUrl": "urn:uuid:6f4104a9-6928-bcaf-7719-2fb47f0c2df5", + "resource": { + "resourceType": "PractitionerRole", + "id": "6f4104a9-6928-bcaf-7719-2fb47f0c2df5", + "code": [ + { + "coding": [ + { + "code": "TECH" + } + ] + } + ], + "location": [ + { + "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + } + ], + "practitioner": { + "reference": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" + } + }, + { + "fullUrl": "urn:uuid:59b00d6f-7e90-a8a3-eec1-19d7f88514ea", + "resource": { + "resourceType": "Location", + "id": "59b00d6f-7e90-a8a3-eec1-19d7f88514ea", + "partOf": { + "reference": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" + }, + "name": "Poc-34", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + } + }, + { + "fullUrl": "urn:uuid:c5fb4a94-3953-175e-8c5f-af620ce4dab3", + "resource": { + "resourceType": "Location", + "id": "c5fb4a94-3953-175e-8c5f-af620ce4dab3", + "partOf": { + "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" }, - { - "fullUrl": "urn:uuid:8f787230-6d25-6e0e-db3d-96fd13a2d66c", - "resource": { - "resourceType": "Location", - "id": "8f787230-6d25-6e0e-db3d-96fd13a2d66c", - "partOf": { - "reference": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" - }, - "name": "Building-4", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" + "name": "Rm-4", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" + } + }, + { + "fullUrl": "urn:uuid:a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", + "resource": { + "resourceType": "Location", + "id": "a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", + "partOf": { + "reference": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" }, - { - "fullUrl": "urn:uuid:f7028223-0ee3-7152-e027-07bb5b0224ac", - "resource": { - "resourceType": "Location", - "id": "f7028223-0ee3-7152-e027-07bb5b0224ac", - "partOf": { - "reference": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" - }, - "name": "FL-2", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" + "name": "Bed2", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb" + } + }, + { + "fullUrl": "urn:uuid:6bfb18a9-f219-312a-ee80-9e291ef76221", + "resource": { + "resourceType": "Location", + "id": "6bfb18a9-f219-312a-ee80-9e291ef76221", + "name": "Facility-4", + "identifier": [ + { + "value": "urn:oid:1.22", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" + } + }, + { + "fullUrl": "urn:uuid:0d82ce59-bb51-650a-f3fa-c6497491502f", + "resource": { + "resourceType": "Location", + "id": "0d82ce59-bb51-650a-f3fa-c6497491502f", + "partOf": { + "reference": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" }, - { - "resource": { - "resourceType": "DiagnosticReport", - "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", - "resultsInterpreter": [ - { - "reference": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" - } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "effectiveDateTime": "2002-02-15T10:45:00+05:30", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "issued": "2002-03-15T10:45:00+05:30", - "category": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - } - ], - "status": "final", - "performer": [ - { - "reference": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" - }, - { - "reference": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "basedOn": [ - { - "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" - } - ], - "specimen": [ - { - "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" - } - ], - "result": [ - { - "reference": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" - } - ] - }, - "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", - "request": { - "method": "PUT", - "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4" + "name": "Building-3", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" + } + }, + { + "fullUrl": "urn:uuid:419f9823-93d6-9783-fc89-e37418b9f4cb", + "resource": { + "resourceType": "Location", + "id": "419f9823-93d6-9783-fc89-e37418b9f4cb", + "partOf": { + "reference": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" }, - { - "fullUrl": "urn:uuid:8c441677-2d13-b04b-260c-45f02d79bc0e", - "resource": { - "resourceType": "Practitioner", - "id": "8c441677-2d13-b04b-260c-45f02d79bc0e", - "identifier": [ - { - "value": "Richa" - } - ], - "name": [ - { - "suffix": [ - "Mr." - ], - "prefix": [ - "Md." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + "name": "FL-3", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" + } + }, + { + "fullUrl": "urn:uuid:c6073275-8b6b-8315-211c-f96e9700b6ae", + "resource": { + "resourceType": "Practitioner", + "id": "c6073275-8b6b-8315-211c-f96e9700b6ae", + "identifier": [ + { + "value": "35" + } + ], + "name": [ + { + "family": "Samuel" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + } + }, + { + "fullUrl": "urn:uuid:f035eb01-dd52-98c8-42f4-08d3a63e5aa2", + "resource": { + "resourceType": "PractitionerRole", + "id": "f035eb01-dd52-98c8-42f4-08d3a63e5aa2", + "code": [ + { + "coding": [ + { + "code": "TRANS" + } + ] + } + ], + "period": { + "start": "2002-11-11", + "end": "2002-11-12" }, - { - "fullUrl": "urn:uuid:6f4104a9-6928-bcaf-7719-2fb47f0c2df5", - "resource": { - "resourceType": "PractitionerRole", - "id": "6f4104a9-6928-bcaf-7719-2fb47f0c2df5", - "code": [ - { - "coding": [ - { - "code": "TECH" - } - ] - } - ], - "location": [ - { - "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" - } - ], - "practitioner": { - "reference": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + "location": [ + { + "reference": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" + } + ], + "practitioner": { + "reference": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" + } + }, + { + "fullUrl": "urn:uuid:ce40a46d-eaed-b5a4-ef6e-463cae637157", + "resource": { + "resourceType": "Location", + "id": "ce40a46d-eaed-b5a4-ef6e-463cae637157", + "name": "Area23", + "mode": "instance", + "description": "35--Samuel--20021111--20021112--Area23", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" + } + }, + { + "fullUrl": "urn:uuid:95c9f253-3bac-cf73-202b-907e4e997489", + "resource": { + "resourceType": "Specimen", + "id": "95c9f253-3bac-cf73-202b-907e4e997489", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" + ] } - }, - { - "fullUrl": "urn:uuid:59b00d6f-7e90-a8a3-eec1-19d7f88514ea", - "resource": { - "resourceType": "Location", - "id": "59b00d6f-7e90-a8a3-eec1-19d7f88514ea", - "partOf": { - "reference": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" - }, - "name": "Poc-34", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + ] } - }, - { - "fullUrl": "urn:uuid:c5fb4a94-3953-175e-8c5f-af620ce4dab3", - "resource": { - "resourceType": "Location", - "id": "c5fb4a94-3953-175e-8c5f-af620ce4dab3", - "partOf": { - "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" - }, - "name": "Rm-4", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" + ] } + } + ], + "type": { + "coding": [ + { + "code": "SP15", + "display": "1.2", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - { - "fullUrl": "urn:uuid:a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", - "resource": { - "resourceType": "Location", - "id": "a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", - "partOf": { - "reference": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" - }, - "name": "Bed2", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T07:30:00+02:15" + }, + "receivedTime": "2002-02-12T07:30:00+02:15", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "ACDA" } - }, - "request": { - "method": "PUT", - "url": "Location/a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb" + ] } - }, - { - "fullUrl": "urn:uuid:6bfb18a9-f219-312a-ee80-9e291ef76221", - "resource": { - "resourceType": "Location", - "id": "6bfb18a9-f219-312a-ee80-9e291ef76221", - "name": "Facility-4", - "identifier": [ - { - "value": "urn:oid:1.22", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ], + "note": [ + { + "text": "Collector's comment" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" + ] } - }, - { - "fullUrl": "urn:uuid:0d82ce59-bb51-650a-f3fa-c6497491502f", - "resource": { - "resourceType": "Location", - "id": "0d82ce59-bb51-650a-f3fa-c6497491502f", - "partOf": { - "reference": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" - }, - "name": "Building-3", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "resource": { + "resourceType": "PractitionerRole", + "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "practitioner": { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:419f9823-93d6-9783-fc89-e37418b9f4cb", - "resource": { - "resourceType": "Location", - "id": "419f9823-93d6-9783-fc89-e37418b9f4cb", - "partOf": { - "reference": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" - }, - "name": "FL-3", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" + ] } - }, - { - "fullUrl": "urn:uuid:c6073275-8b6b-8315-211c-f96e9700b6ae", - "resource": { - "resourceType": "Practitioner", - "id": "c6073275-8b6b-8315-211c-f96e9700b6ae", - "identifier": [ - { - "value": "35" - } - ], - "name": [ - { - "family": "Samuel" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f035eb01-dd52-98c8-42f4-08d3a63e5aa2", - "resource": { - "resourceType": "PractitionerRole", - "id": "f035eb01-dd52-98c8-42f4-08d3a63e5aa2", - "code": [ - { - "coding": [ - { - "code": "TRANS" - } - ] - } - ], - "period": { - "start": "2002-11-11", - "end": "2002-11-12" - }, - "location": [ - { - "reference": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" - } - ], - "practitioner": { - "reference": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:ce40a46d-eaed-b5a4-ef6e-463cae637157", - "resource": { - "resourceType": "Location", - "id": "ce40a46d-eaed-b5a4-ef6e-463cae637157", - "name": "Area23", - "mode": "instance", - "description": "35--Samuel--20021111--20021112--Area23", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" + ] + } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:cdbf1614-4191-7f8c-d914-c071cc2a44bc", + "resource": { + "resourceType": "Observation", + "id": "cdbf1614-4191-7f8c-d914-c071cc2a44bc", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:95c9f253-3bac-cf73-202b-907e4e997489", - "resource": { - "resourceType": "Specimen", - "id": "95c9f253-3bac-cf73-202b-907e4e997489", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SP15", - "display": "1.2", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "method": { - "text": "Collection Method" - }, - "collectedDateTime": "2002-02-15T10:45:00+05:30" - }, - "receivedTime": "2002-02-12T10:45:00+05:30", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "ACDA" - } - ] - } - } - ], - "note": [ - { - "text": "Collector's comment" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" } + ], + "text": "Salmonella species" }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "van Beethoven", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" }, - { - "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "resource": { - "resourceType": "PractitionerRole", - "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "practitioner": { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "basedOn": [ + { + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + ], + "text": "Preliminary" } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + }, + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:e42df22d-2f6d-d024-aa57-9d069936760a", + "resource": { + "resourceType": "Specimen", + "id": "e42df22d-2f6d-d024-aa57-9d069936760a", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ] } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ], + "text": "Blood" }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-03T14:34:28-08:00", + "end": "2011-11-03T14:34:28-08:00" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } } + ] }, - { - "fullUrl": "urn:uuid:cdbf1614-4191-7f8c-d914-c071cc2a44bc", - "resource": { - "resourceType": "Observation", - "id": "cdbf1614-4191-7f8c-d914-c071cc2a44bc", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "basedOn": [ - { - "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.114222", + "assigner": { + "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + "note": [ + { + "text": "This is a specimen resource" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + } + }, + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:e42df22d-2f6d-d024-aa57-9d069936760a", - "resource": { - "resourceType": "Specimen", - "id": "e42df22d-2f6d-d024-aa57-9d069936760a", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-04T04:04:28+05:30", - "end": "2011-11-04T04:04:28+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } - ] - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.114222", - "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + }, + { + "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "resource": { + "resourceType": "Organization", + "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } + }, + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "resource": { - "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "specimen": [ + { + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + }, + { + "fullUrl": "urn:uuid:9d7eed34-b8fe-1a79-d3da-092a4d5f8775", + "resource": { + "resourceType": "Observation", + "id": "9d7eed34-b8fe-1a79-d3da-092a4d5f8775", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" } + ], + "text": "result1" }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" - }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + "valueQuantity": { + "value": 27 } - }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "specimen": [ - { - "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" - } - ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + "valueQuantity": { + "value": 25 } + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" }, - { - "fullUrl": "urn:uuid:9d7eed34-b8fe-1a79-d3da-092a4d5f8775", - "resource": { - "resourceType": "Observation", - "id": "9d7eed34-b8fe-1a79-d3da-092a4d5f8775", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "specimen": { - "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/9d7eed34-b8fe-1a79-d3da-092a4d5f8775" + "specimen": { + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9d7eed34-b8fe-1a79-d3da-092a4d5f8775" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json index abd09771d..ee89cb35f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2002-02-15T09:30:00", + "timestamp": "2002-02-15T09:30:00+06:00", "identifier": { "value": "CNTRL-3456" }, @@ -68,10 +68,10 @@ "id": "1af3c547-cdab-c300-08bf-cc3836b6381a", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:26:24.489Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + "div": "

Resource bundle generated on 2022-03-25T12:34:29.872Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" }, - "occurredDateTime": "2002-02-15T09:30:00", - "recorded": "2002-02-15T09:30:00", + "occurredDateTime": "2002-02-15T09:30:00+06:00", + "recorded": "2002-02-15T09:30:00+06:00", "agent": [ { "type": { @@ -354,7 +354,7 @@ }, "specimen": [ { - "reference": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632" + "reference": "Specimen/c965d3ae-f07a-1943-b184-9471ce1c3b44" } ] }, @@ -446,7 +446,7 @@ } } ], - "effectiveDateTime": "2002-02-15T07:30:00", + "effectiveDateTime": "2002-02-15T07:30:00+06:00", "code": { "coding": [ { @@ -466,7 +466,7 @@ ], "specimen": [ { - "reference": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632" + "reference": "Specimen/c965d3ae-f07a-1943-b184-9471ce1c3b44" } ], "result": [ @@ -481,10 +481,10 @@ } }, { - "fullUrl": "urn:uuid:03cf7725-1dd2-d3e3-65da-f7aa7b36e632", + "fullUrl": "urn:uuid:c965d3ae-f07a-1943-b184-9471ce1c3b44", "resource": { "resourceType": "Specimen", - "id": "03cf7725-1dd2-d3e3-65da-f7aa7b36e632", + "id": "c965d3ae-f07a-1943-b184-9471ce1c3b44", "identifier": [ { "value": "845439", @@ -512,12 +512,12 @@ } ], "collection": { - "collectedDateTime": "2002-02-15T07:30:00" + "collectedDateTime": "2002-02-15T07:30:00+06:00" } }, "request": { "method": "PUT", - "url": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632" + "url": "Specimen/c965d3ae-f07a-1943-b184-9471ce1c3b44" } } ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json index e7d05e5de..4a53a7080 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json @@ -1,1732 +1,1732 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R22", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R22^OUL_R22" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + ] } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:34:01.904Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R22^OUL_R22" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:42.651Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" } + ] }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + ], + "text": "Partial" } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ] }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" } + ] }, - { - "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", - "resource": { - "resourceType": "Practitioner", - "id": "270fd480-c315-53b2-d0bc-f714da2af549", - "identifier": [ - { - "value": "dszczepaniak" - } - ] + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" }, - "request": { - "method": "PUT", - "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 18", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "resource": { - "resourceType": "Location", - "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "name": "BMGPED", - "mode": "instance", - "description": "BMGPED", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + ] } - }, - { - "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "resource": { - "resourceType": "Encounter", - "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + ] } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 18", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "160" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + ], + "text": "Partial" } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" } + ] }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } + "duration": 2, + "durationUnit": "h", + "count": 5 + } }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + "priority": "asap", + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" } + ] }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" } + ] }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" } + ] }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" } + ] }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json index 0afa6ebd6..55fea0563 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json @@ -1,2244 +1,2244 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R22", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R22^OUL_R22" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + ] } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:34:31.956Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R22^OUL_R22" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:32.684Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" } + ] }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + ], + "text": "Partial" } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" } + ] }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" } + ] }, - { - "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", - "resource": { - "resourceType": "Practitioner", - "id": "270fd480-c315-53b2-d0bc-f714da2af549", - "identifier": [ - { - "value": "dszczepaniak" - } - ] + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" }, - "request": { - "method": "PUT", - "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "resource": { - "resourceType": "Location", - "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "name": "BMGPED", - "mode": "instance", - "description": "BMGPED", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + ] } - }, - { - "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "resource": { - "resourceType": "Encounter", - "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + ] } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "160" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + ], + "text": "Partial" } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" } + ] }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + ] } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" } + ] }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" } + ] }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" } + ] }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + ], + "text": "Document unique file name" } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] }, - { - "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", - "resource": { - "resourceType": "Specimen", - "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2018-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - } - ], - "accessionIdentifier": { - "value": "2018-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - }, - { - "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" } + } + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" }, - { - "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", - "resource": { - "resourceType": "Substance", - "id": "03218fed-e075-17f5-eed3-9733b929be0a", - "code": { - "coding": [ - { - "code": "SI12345", - "display": "Substance_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + }, + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" } + ] }, - { - "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "resource": { - "resourceType": "Specimen", - "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "identifier": [ - { - "value": "2018-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" }, - "request": { - "method": "PUT", - "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + }, + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + } + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - { - "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "resource": { - "resourceType": "Specimen", - "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "identifier": [ - { - "value": "2018-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + "valueCodeableConcept": { + "coding": [ + { + "code": "60" } + ] }, - { - "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", - "resource": { - "resourceType": "Observation", - "id": "4f6daab9-2509-9217-8920-1561570f9fc3", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ], - "effectiveDateTime": "2000-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + "referenceRange": [ + { + "text": "100-120" + } + ], + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "resource": { - "resourceType": "ServiceRequest", - "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - ], - "note": [ - { - "text": "Submission", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" }, - { - "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "resource": { - "resourceType": "DiagnosticReport", - "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ], - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + } + }, + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" }, - { - "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "resource": { - "resourceType": "DocumentReference", - "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "type": { - "coding": [ - { - "code": "CN" - } - ] - }, - "context": { - "period": { - "start": "2000-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2000-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2000-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - ], - "authenticator": { - "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - }, - "masterIdentifier": { - "value": "018841" - }, - "identifier": [ - { - "value": "54402-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307507", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Submission", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + ] } - }, - { - "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "resource": { - "resourceType": "Practitioner", - "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "identifier": [ - { - "value": "Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] }, - { - "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "resource": { - "resourceType": "Practitioner", - "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "identifier": [ - { - "value": "Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "type": { + "coding": [ + { + "code": "CN" } + ] }, - { - "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", - "resource": { - "resourceType": "PractitionerRole", - "id": "83992e43-371b-2d63-da1c-8957ccb895c4", - "practitioner": { - "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + "context": { + "period": { + "start": "2000-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" } + ] }, - { - "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", - "resource": { - "resourceType": "Practitioner", - "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", - "identifier": [ - { - "value": "Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + "content": [ + { + "attachment": { + "creation": "2000-11-03T00:00:00+02:15", + "contentType": "image/jpeg" } + } + ], + "meta": { + "lastUpdated": "2000-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" }, - { - "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", - "resource": { - "resourceType": "PractitionerRole", - "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", - "practitioner": { - "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + ], + "text": "Document unique file name" } - }, - { - "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + }, + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + }, + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + }, + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json index dda81f806..85620af41 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json @@ -1,2802 +1,2802 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R23", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R23^OUL_R23" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:36:20.478Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R23^OUL_R23" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + ] } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:24.509Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 80, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 80, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ], - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "valueCodeableConcept": { + "coding": [ + { + "code": "60" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "valueCodeableConcept": { + "coding": [ + { + "code": "120" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" - } - }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" - } - }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json index f19eafa39..f19d58048 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json @@ -1,3441 +1,3441 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R23", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R23^OUL_R23" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:37:21.163Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R23^OUL_R23" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:11.733Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ], - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "resource": { - "resourceType": "ServiceRequest", - "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } - ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "valueCodeableConcept": { + "coding": [ + { + "code": "60" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + "valueCodeableConcept": { + "coding": [ + { + "code": "120" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", - "resource": { - "resourceType": "Observation", - "id": "4f6daab9-2509-9217-8920-1561570f9fc3", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ], - "effectiveDateTime": "2000-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" - } - }, - { - "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "resource": { - "resourceType": "Specimen", - "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "identifier": [ - { - "value": "2018-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", - "parent": [ - { - "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - }, - { - "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - } - ], - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2018-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - } - ], - "accessionIdentifier": { - "value": "2018-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", - "request": { - "method": "PUT", - "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - }, - { - "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "resource": { - "resourceType": "Specimen", - "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "identifier": [ - { - "value": "2018-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - } - }, - { - "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", - "resource": { - "resourceType": "Substance", - "id": "03218fed-e075-17f5-eed3-9733b929be0a", - "code": { - "coding": [ - { - "code": "SI12345", - "display": "Substance_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - }, - { - "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "resource": { - "resourceType": "ServiceRequest", - "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - ], - "note": [ - { - "text": "Antibodies detected", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - }, - { - "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "resource": { - "resourceType": "DiagnosticReport", - "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ], - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" - } - }, - { - "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "resource": { - "resourceType": "DocumentReference", - "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "type": { - "coding": [ - { - "code": "CN" - } - ] - }, - "context": { - "period": { - "start": "2000-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2000-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2000-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - ], - "authenticator": { - "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - }, - "masterIdentifier": { - "value": "018841" - }, - "identifier": [ - { - "value": "54402-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307507", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - }, - { - "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "resource": { - "resourceType": "Practitioner", - "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "identifier": [ - { - "value": "Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - }, - { - "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "resource": { - "resourceType": "Practitioner", - "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "identifier": [ - { - "value": "Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } - }, - { - "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", - "resource": { - "resourceType": "PractitionerRole", - "id": "83992e43-371b-2d63-da1c-8957ccb895c4", - "practitioner": { - "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - }, - { - "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", - "resource": { - "resourceType": "Practitioner", - "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", - "identifier": [ - { - "value": "Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" - } - }, - { - "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", - "resource": { - "resourceType": "PractitionerRole", - "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", - "practitioner": { - "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - } - }, - { - "fullUrl": "urn:uuid:12062591-8d86-396b-ac8c-c28aba726bd2", - "resource": { - "resourceType": "Practitioner", - "id": "12062591-8d86-396b-ac8c-c28aba726bd2", - "identifier": [ - { - "value": "Mily" - } - ], - "name": [ - { - "family": "Antony", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" - } - }, - { - "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ], + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + } + }, + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + ], + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + } + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + }, + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + }, + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" - } + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Antibodies detected", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "type": { + "coding": [ + { + "code": "CN" + } + ] + }, + "context": { + "period": { + "start": "2000-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2000-11-03T00:00:00+02:15", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2000-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + }, + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + }, + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + }, + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + }, + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + } + }, + { + "fullUrl": "urn:uuid:12062591-8d86-396b-ac8c-c28aba726bd2", + "resource": { + "resourceType": "Practitioner", + "id": "12062591-8d86-396b-ac8c-c28aba726bd2", + "identifier": [ + { + "value": "Mily" + } + ], + "name": [ + { + "family": "Antony", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json index 5dac9b752..853de6d70 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json @@ -1,2887 +1,2887 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R24", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R24^OUL_R24" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:38:52.628Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R24^OUL_R24" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" } + ] }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:00.527Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "basedOn": [ - { - "reference": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } + "text": { + "status": "generated", + "div": "

Visit Description:

" }, - { - "fullUrl": "urn:uuid:959de135-72a9-8eca-8466-f72569728c13", - "resource": { - "resourceType": "ServiceRequest", - "id": "959de135-72a9-8eca-8466-f72569728c13", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU_31" - } - ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:959de135-72a9-8eca-8466-f72569728c13", + "resource": { + "resourceType": "ServiceRequest", + "id": "959de135-72a9-8eca-8466-f72569728c13", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU_31" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "80" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" - } - }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" - } - }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "80" } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json index 80d961b51..aebc58789 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json @@ -1,3034 +1,3034 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2019-03-11T14:46:33+05:30", - "identifier": { - "value": "1932" - }, - "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", - "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R24", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R24^OUL_R24" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2019-03-11T10:16:33+01:00", + "identifier": { + "value": "1932" + }, + "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", + "entry": [ + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:39:22.38Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" - }, - "occurredDateTime": "2019-03-11T14:46:33+05:30", - "recorded": "2019-03-11T14:46:33+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R24^OUL_R24" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T13:31:33+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:17.945Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T10:16:33+01:00", + "recorded": "2019-03-11T10:16:33+01:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T10:16:33+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "resource": { - "resourceType": "ServiceRequest", - "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } - ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T19:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T21:33:00+05:30" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T03:15:00+05:30", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T17:01:00+05:30" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T16:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T18:18:00+02:15" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T00:00:00+02:15", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T13:46:00+02:15" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "code": "DOCI", + "display": "Document unique identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "80" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:4432d203-d7f8-41a3-4a33-1fdd2273def6", - "resource": { - "resourceType": "ServiceRequest", - "id": "4432d203-d7f8-41a3-4a33-1fdd2273def6", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "5ca95971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "4be96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf9de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "note": [ - { - "text": "Follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 12, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "QOD", - "display": "every other day", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - }, - { - "fullUrl": "urn:uuid:b6178ff2-41f5-639e-14d9-061004b4ce81", - "resource": { - "resourceType": "DiagnosticReport", - "id": "b6178ff2-41f5-639e-14d9-061004b4ce81", - "identifier": [ - { - "value": "5ca95971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "4be96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf9de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/b6178ff2-41f5-639e-14d9-061004b4ce81" - } - }, - { - "fullUrl": "urn:uuid:a3cead74-dc41-60c8-989a-2462337f6acf", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a3cead74-dc41-60c8-989a-2462337f6acf", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - ] + "valueCodeableConcept": { + "coding": [ + { + "code": "80" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a3cead74-dc41-60c8-989a-2462337f6acf" - } - }, - { - "fullUrl": "urn:uuid:f8d9acb0-2453-703f-7423-4c6abc17f4d1", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f8d9acb0-2453-703f-7423-4c6abc17f4d1", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4432d203-d7f8-41a3-4a33-1fdd2273def6", + "resource": { + "resourceType": "ServiceRequest", + "id": "4432d203-d7f8-41a3-4a33-1fdd2273def6", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f8d9acb0-2453-703f-7423-4c6abc17f4d1" - } - } - ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "note": [ + { + "text": "Follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 12, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "QOD", + "display": "every other day", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + }, + { + "fullUrl": "urn:uuid:b6178ff2-41f5-639e-14d9-061004b4ce81", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b6178ff2-41f5-639e-14d9-061004b4ce81", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/b6178ff2-41f5-639e-14d9-061004b4ce81" + } + }, + { + "fullUrl": "urn:uuid:a3cead74-dc41-60c8-989a-2462337f6acf", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a3cead74-dc41-60c8-989a-2462337f6acf", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a3cead74-dc41-60c8-989a-2462337f6acf" + } + }, + { + "fullUrl": "urn:uuid:f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f8d9acb0-2453-703f-7423-4c6abc17f4d1" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json index 3fe7ea0a1..2d464343a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json @@ -1,3458 +1,3458 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O11^RDE_O11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:46:11.898Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O11^RDE_O11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:47.129Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - } + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - }, - { - "coding": [ - { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." - } - ] - }, - { - "coding": [ - { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." - } - ] - } - ], - "text": "+Text instruction latest", - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T13:45:00+05:30", - "end": "2019-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - }, - { - "maxDosePerLifetime": { - "value": 100, - "unit": "mg" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T10:30:00+02:15", + "end": "2019-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerLifetime": { + "value": 100, + "unit": "mg" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } } - ] + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json index 01ef44de0..851b9b8c6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json @@ -1,3843 +1,3843 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O11^RDE_O11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:20.251Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:46:42.413Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O11^RDE_O11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } - }, - { - "name": { - "family": "Ben2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - }, - { - "coding": [ - { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." - } - ] - }, - { - "coding": [ - { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." - } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T13:45:00+05:30", - "end": "2019-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", - "resource": { - "resourceType": "MedicationRequest", - "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 3 times daily.", - "text": "Remind the patient to schedule follow up appointment+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "INHAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IO", - "display": "Intraocular" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 60, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2022-11-04T13:45:00+05:30", - "end": "2022-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - }, - { - "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "resource": { - "resourceType": "Organization", - "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "name": "FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T10:30:00+02:15", + "end": "2019-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - { - "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", - "resource": { - "resourceType": "Practitioner", - "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", - "identifier": [ - { - "value": "1552" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } - }, - { - "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", - "resource": { - "resourceType": "PractitionerRole", - "id": "87315732-187e-7965-60ae-330d707429dd", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T10:30:00+02:15", + "end": "2022-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + }, + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ + { + "value": "1552" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + } + }, + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + } + }, + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + } + }, + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - } - }, - { - "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", - "resource": { - "resourceType": "Organization", - "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy", - "system": "http://example.com/v2-to-fhir-converter/Identifier/X" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ + { + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - { - "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", - "resource": { - "resourceType": "Medication", - "id": "bef0245d-479b-d766-6f14-a704bed9f117", - "code": { - "coding": [ - { - "code": "01220200105", - "display": "250 mg capsule", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" - }, - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "D-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" } + ] }, - "request": { - "method": "PUT", - "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - } - }, - { - "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", - "resource": { - "resourceType": "Medication", - "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", - "code": { - "coding": [ - { - "code": "2669", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" } - }, - "request": { - "method": "PUT", - "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - } - }, - { - "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", - "resource": { - "resourceType": "MedicationRequest", - "id": "98deab99-5806-4bb3-8bce-36c7527df86a", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 4, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "medicationReference": { - "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - }, - "basedOn": [ - { - "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 8, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "TESTI", - "display": "Testicle(Testis)" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } - ] - }, - "sequence": 2, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 160, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 3, - "boundsPeriod": { - "start": "2022-11-04T13:45:00+05:30", - "end": "2022-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" - } - } - ] + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T10:30:00+02:15", + "end": "2022-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json index 517efd452..5724c6517 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json @@ -1,3499 +1,3499 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O25^RDE_O25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:48:05.842Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O25^RDE_O25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:05.599Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - } + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - }, - { - "coding": [ - { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." - } - ] - }, - { - "coding": [ - { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." - } - ] - } - ], - "text": "+Text instruction latest", - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T13:45:00+05:30", - "end": "2019-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - }, - { - "maxDosePerPeriod": { - "numerator": { - "value": 100, - "unit": "mg" - }, - "denominator": { - "value": 1, - "unit": "mo", - "system": "http://unitsofmeasure.org", - "code": "mo" - } - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", - "resource": { - "resourceType": "Task", - "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T10:30:00+02:15", + "end": "2019-11-04T11:30:00+02:15" }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" - } + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "mo", + "system": "http://unitsofmeasure.org", + "code": "mo" + } + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json index 4de91115f..c17071fa7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json @@ -1,3913 +1,3913 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O25^RDE_O25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:56.944Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:48:36.466Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O25^RDE_O25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } - }, - { - "name": { - "family": "Ben2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - }, - { - "coding": [ - { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." - } - ] - }, - { - "coding": [ - { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." - } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T13:45:00+05:30", - "end": "2019-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", - "resource": { - "resourceType": "Task", - "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" } - }, - "request": { - "method": "PUT", - "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" - } - }, - { - "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", - "resource": { - "resourceType": "MedicationRequest", - "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 3 times daily.", - "text": "Remind the patient to schedule follow up appointment+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "INHAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IO", - "display": "Intraocular" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 60, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2022-11-04T13:45:00+05:30", - "end": "2022-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - }, - { - "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "resource": { - "resourceType": "Organization", - "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "name": "FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - { - "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", - "resource": { - "resourceType": "Practitioner", - "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", - "identifier": [ - { - "value": "1552" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } - }, - { - "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", - "resource": { - "resourceType": "PractitionerRole", - "id": "87315732-187e-7965-60ae-330d707429dd", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T10:30:00+02:15", + "end": "2019-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + } + }, + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - } - }, - { - "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", - "resource": { - "resourceType": "Organization", - "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy", - "system": "http://example.com/v2-to-fhir-converter/Identifier/X" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - { - "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", - "resource": { - "resourceType": "Medication", - "id": "bef0245d-479b-d766-6f14-a704bed9f117", - "code": { - "coding": [ - { - "code": "01220200105", - "display": "250 mg capsule", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" - }, - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "D-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T10:30:00+02:15", + "end": "2022-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + }, + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ + { + "value": "1552" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + } + }, + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + } + }, + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + } + }, + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - } - }, - { - "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", - "resource": { - "resourceType": "Medication", - "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", - "code": { - "coding": [ - { - "code": "2669", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" } - }, - "request": { - "method": "PUT", - "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - } - }, - { - "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", - "resource": { - "resourceType": "MedicationRequest", - "id": "98deab99-5806-4bb3-8bce-36c7527df86a", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 4, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "medicationReference": { - "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - }, - "basedOn": [ - { - "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 8, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "Test", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } - ] - }, - "sequence": 2, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 160, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 3, - "boundsPeriod": { - "start": "2022-11-04T13:45:00+05:30", - "end": "2022-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" - } - }, - { - "fullUrl": "urn:uuid:f3484f07-7a60-db29-1d1b-0577b0069e15", - "resource": { - "resourceType": "Task", - "id": "f3484f07-7a60-db29-1d1b-0577b0069e15", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ + { + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "Test", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "Task/f3484f07-7a60-db29-1d1b-0577b0069e15" - } + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T10:30:00+02:15", + "end": "2022-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + }, + { + "fullUrl": "urn:uuid:f3484f07-7a60-db29-1d1b-0577b0069e15", + "resource": { + "resourceType": "Task", + "id": "f3484f07-7a60-db29-1d1b-0577b0069e15", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "code": "refill-authorization-request", + "display": "Pharmacy/treatment refill authorization request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] + }, + "request": { + "method": "PUT", + "url": "Task/f3484f07-7a60-db29-1d1b-0577b0069e15" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json index 31cdc40ed..4c8dddd99 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json @@ -1,2892 +1,2892 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDS^O13^RDS_O13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "resource": { - "resourceType": "Provenance", - "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:51:11.139Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDS^O13^RDS_O13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:58.748Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "resource": { - "resourceType": "MedicationRequest", - "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1, - "performer": { - "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseRange": { - "low": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "high": { - "value": 2, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "tab" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", - "resource": { - "resourceType": "Organization", - "id": "b406d79a-60db-a776-64f2-2112eb3404da", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - { - "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "resource": { - "resourceType": "Medication", - "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - } - }, - { - "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "resource": { - "resourceType": "Medication", - "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "amount": { - "numerator": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "denominator": { - "value": 1 - } + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", - "resource": { - "resourceType": "Medication", - "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - } - }, - { - "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "resource": { - "resourceType": "MedicationRequest", - "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN12345", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1 - }, - "reasonCode": [ - { - "coding": [ - { - "code": "3355" - } - ] - } + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "requester": { - "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - }, - "basedOn": [ - { - "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" - } - }, - { - "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "resource": { - "resourceType": "PractitionerRole", - "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - } - }, - { - "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "resource": { - "resourceType": "Medication", - "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - }, - { - "code": "418739006", - "display": "Doxycycline 150 mg oral tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385055001", - "display": "Tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - } - }, - { - "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "resource": { - "resourceType": "MedicationDispense", - "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, "code": "385055001", "unit": "Tablet", "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Tablet" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - } - }, - { - "maxDosePerPeriod": { - "numerator": { - "value": 100, - "unit": "mg" - }, - "denominator": { - "value": 1, - "unit": "O" - } - } - } + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:00+05:30", - "end": "2020-01-15T19:15:00+05:30" - } - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "resource": { - "resourceType": "Location", - "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "identifier": [ - { - "value": "UNITY", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "Unity", - "address": { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" } - }, - "request": { - "method": "PUT", - "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - } + ] + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "O" + } + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:00+02:15", + "end": "2020-01-15T16:00:00+02:15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" } - ] + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json index c4c873fd0..1f4c7bf97 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json @@ -1,3648 +1,3648 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDS^O13^RDS_O13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:45.121Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "resource": { - "resourceType": "Provenance", - "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:51:39.501Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDS^O13^RDS_O13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "resource": { - "resourceType": "MedicationRequest", - "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1, - "performer": { - "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseRange": { - "low": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "high": { - "value": 2, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "tab" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", - "resource": { - "resourceType": "Organization", - "id": "b406d79a-60db-a776-64f2-2112eb3404da", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - { - "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "resource": { - "resourceType": "Medication", - "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - } - }, - { - "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "resource": { - "resourceType": "Medication", - "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "denominator": { - "value": 1 - } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - }, - { - "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", - "resource": { - "resourceType": "Medication", - "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - } - }, - { - "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "resource": { - "resourceType": "MedicationRequest", - "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN12345", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1 - }, - "reasonCode": [ - { - "coding": [ - { - "code": "3355" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - }, - "basedOn": [ - { - "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" - } - }, - { - "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "resource": { - "resourceType": "PractitionerRole", - "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - } - }, - { - "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "resource": { - "resourceType": "Medication", - "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - }, - { - "code": "418739006", - "display": "Doxycycline 150 mg oral tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385055001", - "display": "Tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - } - }, - { - "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "resource": { - "resourceType": "MedicationDispense", - "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, "code": "385055001", "unit": "Tablet", "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Tablet" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:00+05:30", - "end": "2020-01-15T19:15:00+05:30" - } - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "action-by", + "display": "Action by", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "resource": { - "resourceType": "Location", - "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "identifier": [ - { - "value": "UNITY", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "Unity", - "address": { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "TESTI", - "display": "Testicle(Testis)" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } - } - ], - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:00+02:15", + "end": "2020-01-15T16:00:00+02:15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - } + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T06:27:26+02:15", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T09:42:26+05:30", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] - }, - { - "coding": [ - { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." - } - ] - }, - { - "coding": [ - { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." - } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T13:45:00+05:30", - "end": "2019-11-04T14:45:00+05:30" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:e13b21dc-37ff-acf6-0e4e-a4744d3299a0", - "resource": { - "resourceType": "Medication", - "id": "e13b21dc-37ff-acf6-0e4e-a4744d3299a0", - "code": { - "coding": [ - { - "code": "308191", - "display": "amoxicillin 500 MG Oral Capsule", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" - }, - { - "code": "323510009", - "display": "Amoxicillin 500 mg oral capsule", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385049006", - "display": "Capsule", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" - } - }, - { - "fullUrl": "urn:uuid:0cd1106d-1307-4f0c-1ef7-0a35165bdbed", - "resource": { - "resourceType": "MedicationDispense", - "id": "0cd1106d-1307-4f0c-1ef7-0a35165bdbed", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, - "code": "385049006", - "unit": "Capsule", - "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Capsule" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "ADB", - "display": "Abdomen", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "MedicationDispense/0cd1106d-1307-4f0c-1ef7-0a35165bdbed" - } - }, - { - "fullUrl": "urn:uuid:aaabbc3b-a186-0461-6456-9974f494563b", - "resource": { - "resourceType": "Practitioner", - "id": "aaabbc3b-a186-0461-6456-9974f494563b", - "identifier": [ - { - "value": "9141339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Anny", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T19:15:00+05:30", - "end": "2020-01-15T19:15:00+05:30" - } - } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" - } + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T10:30:00+02:15", + "end": "2019-11-04T11:30:00+02:15" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "resource": { + "resourceType": "Medication", + "id": "e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "code": { + "coding": [ + { + "code": "308191", + "display": "amoxicillin 500 MG Oral Capsule", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + }, + { + "code": "323510009", + "display": "Amoxicillin 500 mg oral capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385049006", + "display": "Capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + } + }, + { + "fullUrl": "urn:uuid:0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "resource": { + "resourceType": "MedicationDispense", + "id": "0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385049006", + "unit": "Capsule", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Capsule" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "ADB", + "display": "Abdomen", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/0cd1106d-1307-4f0c-1ef7-0a35165bdbed" + } + }, + { + "fullUrl": "urn:uuid:aaabbc3b-a186-0461-6456-9974f494563b", + "resource": { + "resourceType": "Practitioner", + "id": "aaabbc3b-a186-0461-6456-9974f494563b", + "identifier": [ + { + "value": "9141339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Anny", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:00+02:15", + "end": "2020-01-15T16:00:00+02:15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json index a68f92101..f7c7f1b87 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json @@ -1,2100 +1,2100 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-14T14:35:00+05:30", - "identifier": { - "value": "MSG00012" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-14T11:20:00+02:15", + "identifier": { + "value": "MSG00012" + }, + "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", + "entry": [ + { + "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", + "resource": { + "resourceType": "MessageHeader", + "id": "84fede5c-45a5-87f6-e613-122c708147b1", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S12^SIU_S12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" + } }, - "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", - "entry": [ - { - "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", - "resource": { - "resourceType": "MessageHeader", - "id": "84fede5c-45a5-87f6-e613-122c708147b1", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S12^SIU_S12" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:43.232Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + }, + "occurredDateTime": "2021-09-14T11:20:00+02:15", + "recorded": "2021-09-14T11:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:52:45.417Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" - }, - "occurredDateTime": "2021-09-14T14:35:00+05:30", - "recorded": "2021-09-14T14:35:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S12^SIU_S12" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S12^SIU_S12" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment booked for emergency procedure", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment booked for emergency procedure", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "accepted" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:2d2a3226-c568-67d5-b72d-197016a744fe", - "resource": { - "resourceType": "Location", - "id": "2d2a3226-c568-67d5-b72d-197016a744fe", - "name": "GENOPD", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:2d2a3226-c568-67d5-b72d-197016a744fe", + "resource": { + "resourceType": "Location", + "id": "2d2a3226-c568-67d5-b72d-197016a744fe", + "name": "GENOPD", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + } + }, + { + "fullUrl": "urn:uuid:c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", + "resource": { + "resourceType": "Location", + "id": "c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", + "partOf": { + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" }, - { - "fullUrl": "urn:uuid:c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", - "resource": { - "resourceType": "Location", - "id": "c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", - "partOf": { - "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50" + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } - }, - { - "fullUrl": "urn:uuid:7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", - "resource": { - "resourceType": "Location", - "id": "7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", - "name": "FACILITY1", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50" + } + }, + { + "fullUrl": "urn:uuid:7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", + "resource": { + "resourceType": "Location", + "id": "7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", + "name": "FACILITY1", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" + } + }, + { + "fullUrl": "urn:uuid:60f9253f-2278-912d-b0cb-29905def8a31", + "resource": { + "resourceType": "Location", + "id": "60f9253f-2278-912d-b0cb-29905def8a31", + "partOf": { + "reference": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" }, - { - "fullUrl": "urn:uuid:60f9253f-2278-912d-b0cb-29905def8a31", - "resource": { - "resourceType": "Location", - "id": "60f9253f-2278-912d-b0cb-29905def8a31", - "partOf": { - "reference": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/60f9253f-2278-912d-b0cb-29905def8a31" + "name": "BUILDING1", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/60f9253f-2278-912d-b0cb-29905def8a31" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T19:15:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "116290004", - "display": "Acute abdominal pain", - "system": "http://snomed.info/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "A", - "display": "Ambulance", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + }, + { + "status": "completed", + "location": { + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + ], + "text": "visit number" } + } + ], + "period": { + "start": "2021-01-15T16:00:10+02:15" }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "reasonCode": [ + { + "coding": [ + { + "code": "116290004", + "display": "Acute abdominal pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" } + ] }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "A", + "display": "Ambulance", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:41e75a04-7180-c2c5-d139-5abc95b2fe05", - "resource": { - "resourceType": "Observation", - "id": "41e75a04-7180-c2c5-d139-5abc95b2fe05", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 72, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "60-120" - } - ], - "effectiveDateTime": "2021-09-14", - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Observation/41e75a04-7180-c2c5-d139-5abc95b2fe05" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } - }, - { - "fullUrl": "urn:uuid:ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", - "resource": { - "resourceType": "Condition", - "id": "ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", - "code": { - "coding": [ - { - "code": "64766004", - "display": "Ulcerative colitis(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Ulcerative Colitis" - }, - "onsetDateTime": "2021-08-25T12:50:25+05:30", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T16:45:15+05:30" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:41e75a04-7180-c2c5-d139-5abc95b2fe05", + "resource": { + "resourceType": "Observation", + "id": "41e75a04-7180-c2c5-d139-5abc95b2fe05", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Heart rate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "valueQuantity": { + "value": 72, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "60-120" + } + ], + "effectiveDateTime": "2021-09-14", + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" } - }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/41e75a04-7180-c2c5-d139-5abc95b2fe05" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", + "resource": { + "resourceType": "Condition", + "id": "ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", + "code": { + "coding": [ + { + "code": "64766004", + "display": "Ulcerative colitis(disorder)", + "system": "http://snomed.info/sct" } + ], + "text": "Ulcerative Colitis" }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" - }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + "onsetDateTime": "2021-08-25T11:40:25+04:20", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + { + "code": "1212", + "display": "Biopsy" } - } - ] + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json index 2992f8ccc..fa61b179b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-10T14:45:00+05:30", - "identifier": { - "value": "MSG00012" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-10T11:30:00+02:15", + "identifier": { + "value": "MSG00012" + }, + "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", + "entry": [ + { + "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", + "resource": { + "resourceType": "MessageHeader", + "id": "84fede5c-45a5-87f6-e613-122c708147b1", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S12^SIU_S12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" + } }, - "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", - "entry": [ - { - "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", - "resource": { - "resourceType": "MessageHeader", - "id": "84fede5c-45a5-87f6-e613-122c708147b1", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S12^SIU_S12" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:19.635Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + }, + "occurredDateTime": "2021-08-10T11:30:00+02:15", + "recorded": "2021-08-10T11:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:53:10.667Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" - }, - "occurredDateTime": "2021-08-10T14:45:00+05:30", - "recorded": "2021-08-10T14:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S12^SIU_S12" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S12^SIU_S12" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment for annual checkup", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json index d1d6e1ff9..602b00add 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json @@ -1,1444 +1,1444 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-20T14:41:00+05:30", - "identifier": { - "value": "MSG00013" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-20T11:26:00+02:15", + "identifier": { + "value": "MSG00013" + }, + "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", + "entry": [ + { + "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "resource": { + "resourceType": "MessageHeader", + "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S13^SIU_S13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" + } }, - "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", - "entry": [ - { - "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "resource": { - "resourceType": "MessageHeader", - "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S13^SIU_S13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:25.182Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + }, + "occurredDateTime": "2021-09-20T11:26:00+02:15", + "recorded": "2021-09-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:53:48.376Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" - }, - "occurredDateTime": "2021-09-20T14:41:00+05:30", - "recorded": "2021-09-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S13^SIU_S13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S13^SIU_S13" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "accepted" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" - }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json index 4e452298f..a964cb5f0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:45:00+05:30", - "identifier": { - "value": "MSG00013" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:30:00+02:15", + "identifier": { + "value": "MSG00013" + }, + "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", + "entry": [ + { + "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "resource": { + "resourceType": "MessageHeader", + "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S13^SIU_S13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" + } }, - "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", - "entry": [ - { - "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "resource": { - "resourceType": "MessageHeader", - "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S13^SIU_S13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:30.771Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + }, + "occurredDateTime": "2021-08-18T11:30:00+02:15", + "recorded": "2021-08-18T11:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:54:14.848Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" - }, - "occurredDateTime": "2021-08-18T14:45:00+05:30", - "recorded": "2021-08-18T14:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S13^SIU_S13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S13^SIU_S13" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-20T11:30:00+02:15", + "end": "2021-08-20T12:30:00+02:15", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-20T14:45:00+05:30", - "end": "2021-08-20T15:45:00+05:30", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json index 45ee1882b..235180650 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json @@ -1,1444 +1,1444 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-20T14:41:00+05:30", - "identifier": { - "value": "MSG00014" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-20T11:26:00+02:15", + "identifier": { + "value": "MSG00014" + }, + "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", + "entry": [ + { + "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "resource": { + "resourceType": "MessageHeader", + "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S14^SIU_S14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" + } }, - "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", - "entry": [ - { - "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "resource": { - "resourceType": "MessageHeader", - "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S14^SIU_S14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:27.74Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + }, + "occurredDateTime": "2021-09-20T11:26:00+02:15", + "recorded": "2021-09-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:54:46.179Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" - }, - "occurredDateTime": "2021-09-20T14:41:00+05:30", - "recorded": "2021-09-20T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S14^SIU_S14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S14^SIU_S14" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "accepted" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "accepted" + }, + { + "actor": { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" - }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:18e734c1-7258-6297-f8aa-fbcf2188c7bb", - "resource": { - "resourceType": "Location", - "id": "18e734c1-7258-6297-f8aa-fbcf2188c7bb", - "name": "055", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:96860c54-dfeb-5e05-abe0-9e5d518e5865", - "resource": { - "resourceType": "Location", - "id": "96860c54-dfeb-5e05-abe0-9e5d518e5865", - "partOf": { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - }, - "name": "Room02", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/96860c54-dfeb-5e05-abe0-9e5d518e5865" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:18e734c1-7258-6297-f8aa-fbcf2188c7bb", + "resource": { + "resourceType": "Location", + "id": "18e734c1-7258-6297-f8aa-fbcf2188c7bb", + "name": "055", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:36e00a7a-d432-5856-498d-a698f70a8f15", - "resource": { - "resourceType": "Location", - "id": "36e00a7a-d432-5856-498d-a698f70a8f15", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] - }, - "request": { - "method": "PUT", - "url": "Location/36e00a7a-d432-5856-498d-a698f70a8f15" + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + } + }, + { + "fullUrl": "urn:uuid:96860c54-dfeb-5e05-abe0-9e5d518e5865", + "resource": { + "resourceType": "Location", + "id": "96860c54-dfeb-5e05-abe0-9e5d518e5865", + "partOf": { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + }, + "name": "Room02", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/96860c54-dfeb-5e05-abe0-9e5d518e5865" + } + }, + { + "fullUrl": "urn:uuid:36e00a7a-d432-5856-498d-a698f70a8f15", + "resource": { + "resourceType": "Location", + "id": "36e00a7a-d432-5856-498d-a698f70a8f15", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/36e00a7a-d432-5856-498d-a698f70a8f15" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json index 03687cc69..52a33d6b5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-17T14:45:00+05:30", - "identifier": { - "value": "MSG00014" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-17T11:30:00+02:15", + "identifier": { + "value": "MSG00014" + }, + "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", + "entry": [ + { + "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "resource": { + "resourceType": "MessageHeader", + "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S14^SIU_S14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" + } }, - "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", - "entry": [ - { - "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "resource": { - "resourceType": "MessageHeader", - "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S14^SIU_S14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:23.157Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + }, + "occurredDateTime": "2021-08-17T11:30:00+02:15", + "recorded": "2021-08-17T11:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:55:14.367Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" - }, - "occurredDateTime": "2021-08-17T14:45:00+05:30", - "recorded": "2021-08-17T14:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S14^SIU_S14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S14^SIU_S14" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b66d2815-7fb1-5d31-cba4-786795453f66", - "resource": { - "resourceType": "Location", - "id": "b66d2815-7fb1-5d31-cba4-786795453f66", - "name": "LabUnit102", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:03162b68-aea3-37a0-0d98-94e29ee09823", - "resource": { - "resourceType": "Location", - "id": "03162b68-aea3-37a0-0d98-94e29ee09823", - "partOf": { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/03162b68-aea3-37a0-0d98-94e29ee09823" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:b448ecd3-a552-3ac7-08ab-a52774f67b11", - "resource": { - "resourceType": "Location", - "id": "b448ecd3-a552-3ac7-08ab-a52774f67b11", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/b448ecd3-a552-3ac7-08ab-a52774f67b11" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:b66d2815-7fb1-5d31-cba4-786795453f66", + "resource": { + "resourceType": "Location", + "id": "b66d2815-7fb1-5d31-cba4-786795453f66", + "name": "LabUnit102", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + } + }, + { + "fullUrl": "urn:uuid:03162b68-aea3-37a0-0d98-94e29ee09823", + "resource": { + "resourceType": "Location", + "id": "03162b68-aea3-37a0-0d98-94e29ee09823", + "partOf": { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/03162b68-aea3-37a0-0d98-94e29ee09823" + } + }, + { + "fullUrl": "urn:uuid:b448ecd3-a552-3ac7-08ab-a52774f67b11", + "resource": { + "resourceType": "Location", + "id": "b448ecd3-a552-3ac7-08ab-a52774f67b11", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/b448ecd3-a552-3ac7-08ab-a52774f67b11" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json index 93a8dd027..ac9819745 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json @@ -1,1444 +1,1444 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-23T14:41:00+05:30", - "identifier": { - "value": "MSG00015" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-23T11:26:00+02:15", + "identifier": { + "value": "MSG00015" + }, + "id": "d7447df6-4738-6328-ce18-4b3764840611", + "entry": [ + { + "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "resource": { + "resourceType": "MessageHeader", + "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S15^SIU_S15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" + } }, - "id": "d7447df6-4738-6328-ce18-4b3764840611", - "entry": [ - { - "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "resource": { - "resourceType": "MessageHeader", - "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S15^SIU_S15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:22.808Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + }, + "occurredDateTime": "2021-09-23T11:26:00+02:15", + "recorded": "2021-09-23T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:55:47.135Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" - }, - "occurredDateTime": "2021-09-23T14:41:00+05:30", - "recorded": "2021-09-23T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S15^SIU_S15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S15^SIU_S15" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment cancelled" - }, - { - "text": "Patient instructions - Appointment cancelled" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment is available for other Practitioner as the appointment is cancelled" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment cancelled" + }, + { + "text": "Patient instructions - Appointment cancelled" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment is available for other Practitioner as the appointment is cancelled" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json index 45c12be40..359bebf8a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T13:45:00+05:30", - "identifier": { - "value": "MSG00015" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T10:30:00+02:15", + "identifier": { + "value": "MSG00015" + }, + "id": "d7447df6-4738-6328-ce18-4b3764840611", + "entry": [ + { + "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "resource": { + "resourceType": "MessageHeader", + "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S15^SIU_S15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" + } }, - "id": "d7447df6-4738-6328-ce18-4b3764840611", - "entry": [ - { - "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "resource": { - "resourceType": "MessageHeader", - "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S15^SIU_S15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:11.237Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + }, + "occurredDateTime": "2021-08-18T10:30:00+02:15", + "recorded": "2021-08-18T10:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:56:16.823Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" - }, - "occurredDateTime": "2021-08-18T13:45:00+05:30", - "recorded": "2021-08-18T13:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S15^SIU_S15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S15^SIU_S15" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup cancelled as GP is not available on Aug 18.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment for annual checkup cancelled as GP is not available on Aug 18.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "draft", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "draft", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "draft", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "draft", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json index 0561339fd..67ada4a8a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json @@ -1,1444 +1,1444 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00016" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00016" + }, + "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", + "entry": [ + { + "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", + "resource": { + "resourceType": "MessageHeader", + "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S16^SIU_S16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" + } }, - "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", - "entry": [ - { - "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", - "resource": { - "resourceType": "MessageHeader", - "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S16^SIU_S16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:01.319Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:56:50.691Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" - }, - "occurredDateTime": "1989-08-18T14:41:00+05:30", - "recorded": "1989-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S16^SIU_S16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S16^SIU_S16" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment discontinued due to equipment malfunction" - }, - { - "text": "Patient instructions - Appointment discontinued due to equipment malfunction" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment malfunction" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment discontinued due to equipment malfunction" + }, + { + "text": "Patient instructions - Appointment discontinued due to equipment malfunction" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment malfunction" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json index 13a34077b..59158704d 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-10T15:15:00+05:30", - "identifier": { - "value": "MSG00016" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-10T12:00:00+02:15", + "identifier": { + "value": "MSG00016" + }, + "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", + "entry": [ + { + "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", + "resource": { + "resourceType": "MessageHeader", + "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S16^SIU_S16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" + } }, - "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", - "entry": [ - { - "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", - "resource": { - "resourceType": "MessageHeader", - "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S16^SIU_S16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:18.566Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + }, + "occurredDateTime": "2021-08-10T12:00:00+02:15", + "recorded": "2021-08-10T12:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:57:18.396Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" - }, - "occurredDateTime": "2021-08-10T15:15:00+05:30", - "recorded": "2021-08-10T15:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S16^SIU_S16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S16^SIU_S16" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup discontinued due to power failure at the facility.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment for annual checkup discontinued due to power failure at the facility.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json index 169710e50..f1e96be76 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json @@ -1,1444 +1,1444 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-23T14:41:00+05:30", - "identifier": { - "value": "MSG00017" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-23T11:26:00+02:15", + "identifier": { + "value": "MSG00017" + }, + "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", + "entry": [ + { + "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "resource": { + "resourceType": "MessageHeader", + "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S17", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S17^SIU_S17" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" + } }, - "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", - "entry": [ - { - "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "resource": { - "resourceType": "MessageHeader", - "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S17", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S17^SIU_S17" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:05.167Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + }, + "occurredDateTime": "2021-09-23T11:26:00+02:15", + "recorded": "2021-09-23T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:59:32.471Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" - }, - "occurredDateTime": "2021-09-23T14:41:00+05:30", - "recorded": "2021-09-23T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S17^SIU_S17" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S17^SIU_S17" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "entered-in-error", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "entered-in-error", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "entered-in-error", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment deleted" - }, - { - "text": "Patient instructions - Appointment deleted" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment available" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "entered-in-error", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment deleted" + }, + { + "text": "Patient instructions - Appointment deleted" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment available" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json index 75ba88f16..46d85ba6f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-10T13:45:00+05:30", - "identifier": { - "value": "MSG00017" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-10T10:30:00+02:15", + "identifier": { + "value": "MSG00017" + }, + "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", + "entry": [ + { + "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "resource": { + "resourceType": "MessageHeader", + "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S17", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S17^SIU_S17" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" + } }, - "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", - "entry": [ - { - "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "resource": { - "resourceType": "MessageHeader", - "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S17", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S17^SIU_S17" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:48.815Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + }, + "occurredDateTime": "2021-08-10T10:30:00+02:15", + "recorded": "2021-08-10T10:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T09:59:59.087Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" - }, - "occurredDateTime": "2021-08-10T13:45:00+05:30", - "recorded": "2021-08-10T13:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S17^SIU_S17" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S17^SIU_S17" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "entered-in-error", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup deleted as it was assigned to wrong patient.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "entered-in-error", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Appointment for annual checkup deleted as it was assigned to wrong patient.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID566", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID566", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "entered-in-error", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "entered-in-error", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "entered-in-error", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "entered-in-error", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json index 64611f98c..1ecb24821 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json @@ -1,1441 +1,1441 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-09-24T13:15:00+05:30", - "identifier": { - "value": "MSG00026" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-24T10:00:00+02:15", + "identifier": { + "value": "MSG00026" + }, + "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", + "entry": [ + { + "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "resource": { + "resourceType": "MessageHeader", + "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S26^SIU_S26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" + } }, - "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", - "entry": [ - { - "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "resource": { - "resourceType": "MessageHeader", - "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S26^SIU_S26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:24.139Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + }, + "occurredDateTime": "2021-09-24T10:00:00+02:15", + "recorded": "2021-09-24T10:00:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:00:45.34Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" - }, - "occurredDateTime": "2021-09-24T13:15:00+05:30", - "recorded": "2021-09-24T13:15:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S26^SIU_S26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S26^SIU_S26" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-09-24T09:30:00+02:15", + "end": "2021-09-24T10:20:00+02:15", + "minutesDuration": 1, + "status": "noshow", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T12:45:00+05:30", - "end": "2021-09-24T13:35:00+05:30", - "minutesDuration": 1, - "status": "noshow", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T12:45:00+05:30" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T09:30:00+02:15" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "period": { + "start": "2021-09-24T09:30:00+02:15" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T12:45:00+05:30" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient did not show up for the appointment" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment available" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T09:30:00+02:15" }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + { + "code": "1212", + "display": "Biopsy" } + ] }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] - }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient did not show up for the appointment" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + }, + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment available" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + } + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] - } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" + } + }, + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" + } + }, + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json index f5d8cebf4..1459f033c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json @@ -1,1712 +1,1712 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:45:00+05:30", - "identifier": { - "value": "MSG00026" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:30:00+02:15", + "identifier": { + "value": "MSG00026" + }, + "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", + "entry": [ + { + "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "resource": { + "resourceType": "MessageHeader", + "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S26^SIU_S26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" + } }, - "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", - "entry": [ - { - "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "resource": { - "resourceType": "MessageHeader", - "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S26^SIU_S26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:33.182Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + }, + "occurredDateTime": "2021-08-18T11:30:00+02:15", + "recorded": "2021-08-18T11:30:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:01:15.618Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" - }, - "occurredDateTime": "2021-08-18T14:45:00+05:30", - "recorded": "2021-08-18T14:45:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S26^SIU_S26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S26^SIU_S26" } + ] }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + ], + "target": [ + { + "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" + } + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" } + ] }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" - } + "priority": 2, + "start": "2021-08-18T11:30:00+02:15", + "end": "2021-08-18T12:30:00+02:15", + "minutesDuration": 70, + "status": "noshow", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Patient did not show up for the annual checkup ", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T14:45:00+05:30", - "end": "2021-08-18T15:45:00+05:30", - "minutesDuration": 70, - "status": "noshow", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - ], - "comment": "Patient did not show up for the annual checkup ", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + } + }, + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + }, + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + } + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" + } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "enterer", + "display": "Enterer", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - } - ] + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ] + ], + "text": "Canada" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + ] } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Lab Staff Instructions - Patient did not show up" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment available for lab test" - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + "note": [ + { + "text": "Lab Staff Instructions - Patient did not show up" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment available for lab test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Radiology Staff Instructions - Patient did not show up" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment available for imaging" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" + } + }, + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + "alias": [ + "Location available for lab test" + ] + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" + } + }, + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + }, + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + "note": [ + { + "text": "Radiology Staff Instructions - Patient did not show up" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + }, + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment available for imaging" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + } + }, + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } + }, + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" + } + }, + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" + } + }, + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + }, + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + } + }, + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" + } + }, + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } - } - ] + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" + } + }, + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json index ede3546ac..ae3bbe035 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2012-07-01T08:22:00", + "timestamp": "2012-07-01T08:22:00+07:00", "identifier": { "value": "NIST-IZ-001.00" }, @@ -67,10 +67,10 @@ "id": "cab498e7-22e3-614e-b9ff-079c8535c9d8", "text": { "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:02:38.219Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + "div": "

Resource bundle generated on 2022-03-25T12:35:31.9Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" }, - "occurredDateTime": "2012-07-01T08:22:00", - "recorded": "2012-07-01T08:22:00", + "occurredDateTime": "2012-07-01T08:22:00+07:00", + "recorded": "2012-07-01T08:22:00+07:00", "agent": [ { "type": { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json index ba953d689..50cdad97f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json @@ -1,4291 +1,4291 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:55.687Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:05:15.806Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "89898989", - "use": "work", - "system": "email" + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } - }, - { - "name": { - "family": "Ben2" - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + { + "name": { + "family": "Ben2" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + ] } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" } + ] }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" } + ] }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + ] } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "resource": { - "resourceType": "Device", - "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T15:00:00+02:15", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T18:15:00+05:30", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" } + ] }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" } + ] }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" } + ] }, - { - "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", - "resource": { - "resourceType": "Immunization", - "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2021-08-18", - "vaccineCode": { - "coding": [ - { - "code": "49281021588", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2021-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" } + ] }, - { - "fullUrl": "urn:uuid:b078ac32-02fb-9749-1cb5-6c7766185ea9", - "resource": { - "resourceType": "ServiceRequest", - "id": "b078ac32-02fb-9749-1cb5-6c7766185ea9", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - }, - "note": [ - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-10T05:30:00+05:30", - "end": "2021-11-10T05:30:00+05:30" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" } + ] }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + }, + { + "fullUrl": "urn:uuid:b078ac32-02fb-9749-1cb5-6c7766185ea9", + "resource": { + "resourceType": "ServiceRequest", + "id": "b078ac32-02fb-9749-1cb5-6c7766185ea9", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + ] } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" - } - ], - "name": "Sanofi Pasteur" + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + }, + "note": [ + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-09T16:00:00-08:00", + "end": "2021-11-09T16:00:00-08:00" }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + }, + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" } + ] }, - { - "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", - "resource": { - "resourceType": "Observation", - "id": "37a16973-f481-a452-cd1f-35386801f806", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + } + }, + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "resource": { - "resourceType": "Observation", - "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2021-08-18", - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json index 138ffafb2..d48c78f4e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json @@ -1,4458 +1,4458 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-08-18T14:41:00+05:30", - "identifier": { - "value": "MSG00001" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY", + "system": "http://example.com/v2-to-fhirconverter/security-label" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:35:40.84Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:05:49.32Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2021-08-18T14:41:00+05:30", - "recorded": "2021-08-18T14:41:00+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } + ] }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T14:41:00+05:30" - } - ] - }, - "gender": "male", - "address": [ + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "value": "89898989", - "use": "work", - "system": "email" + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" } - ], - "communication": [ + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T15:31:30+05:30", - "meta": { - "lastUpdated": "2005-01-10T04:05:14+05:30" + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } - }, - { - "name": { - "family": "Ben2" - } - } - ] + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + }, + { + "name": { + "family": "Ben2" } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } + ] }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + ] } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" } + ] }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + ] } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" } + ] }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } + ] }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" } + ] }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T15:54:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" } + ] }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" } + ] }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + "valueMoney": { + "value": 150, + "currency": "USD" } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ] + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "ResponsibleObserver", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "LabMedicalDirector", + "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" } + ] }, - { - "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "resource": { - "resourceType": "Device", - "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" } + ] }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" } + ] }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" } + ] }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" } + ] }, - { - "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", - "resource": { - "resourceType": "Immunization", - "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2021-08-18", - "vaccineCode": { - "coding": [ - { - "code": "49281021588", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2021-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" } + ] }, - { - "fullUrl": "urn:uuid:c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", - "resource": { - "resourceType": "ServiceRequest", - "id": "c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + }, + { + "fullUrl": "urn:uuid:c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "resource": { + "resourceType": "ServiceRequest", + "id": "c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + }, + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" - } - ], - "name": "Sanofi Pasteur" - }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" } + ] }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + } + }, + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" } + ] }, - { - "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", - "resource": { - "resourceType": "Observation", - "id": "37a16973-f481-a452-cd1f-35386801f806", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + } + }, + { + "fullUrl": "urn:uuid:9dc51316-3b86-fe81-dad0-6018e526d43e", + "resource": { + "resourceType": "Immunization", + "id": "9dc51316-3b86-fe81-dad0-6018e526d43e", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "resource": { - "resourceType": "Observation", - "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2021-08-18", - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2014-10-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" } + ] }, - { - "fullUrl": "urn:uuid:9dc51316-3b86-fe81-dad0-6018e526d43e", - "resource": { - "resourceType": "Immunization", - "id": "9dc51316-3b86-fe81-dad0-6018e526d43e", - "identifier": [ - { - "value": "38760", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2014-10-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed", - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Immunization/9dc51316-3b86-fe81-dad0-6018e526d43e" + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" } + ] }, - { - "fullUrl": "urn:uuid:97a02aa1-5d37-07ce-9424-b4d2bfcdef49", - "resource": { - "resourceType": "ServiceRequest", - "id": "97a02aa1-5d37-07ce-9424-b4d2bfcdef49", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "38760", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "primarySource": false, + "status": "completed", + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/9dc51316-3b86-fe81-dad0-6018e526d43e" + } + }, + { + "fullUrl": "urn:uuid:97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "resource": { + "resourceType": "ServiceRequest", + "id": "97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/97a02aa1-5d37-07ce-9424-b4d2bfcdef49" + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/97a02aa1-5d37-07ce-9424-b4d2bfcdef49" + } + }, + { + "fullUrl": "urn:uuid:729d7e70-12fb-da13-46eb-3818c172ae2f", + "resource": { + "resourceType": "Immunization", + "id": "729d7e70-12fb-da13-46eb-3818c172ae2f", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "fullUrl": "urn:uuid:729d7e70-12fb-da13-46eb-3818c172ae2f", - "resource": { - "resourceType": "Immunization", - "id": "729d7e70-12fb-da13-46eb-3818c172ae2f", - "identifier": [ - { - "value": "35508", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2013-11-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" - }, - "request": { - "method": "PUT", - "url": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2013-11-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" } + ] }, - { - "fullUrl": "urn:uuid:9732220b-4f71-14f7-8f19-de460a1a515b", - "resource": { - "resourceType": "ServiceRequest", - "id": "9732220b-4f71-14f7-8f19-de460a1a515b", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "35508", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + } + }, + { + "fullUrl": "urn:uuid:9732220b-4f71-14f7-8f19-de460a1a515b", + "resource": { + "resourceType": "ServiceRequest", + "id": "9732220b-4f71-14f7-8f19-de460a1a515b", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + } + }, + { + "fullUrl": "urn:uuid:cfd5887f-8b44-e556-cb3f-b0559624aedc", + "resource": { + "resourceType": "Observation", + "id": "cfd5887f-8b44-e556-cb3f-b0559624aedc", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + { + "code": "30963-3" } + ] }, - { - "fullUrl": "urn:uuid:cfd5887f-8b44-e556-cb3f-b0559624aedc", - "resource": { - "resourceType": "Observation", - "id": "cfd5887f-8b44-e556-cb3f-b0559624aedc", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Vaccine Funding Source", - "system": "http://loinc.org" - }, - { - "code": "30963-3" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/cfd5887f-8b44-e556-cb3f-b0559624aedc" + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" } - } - ] + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cfd5887f-8b44-e556-cb3f-b0559624aedc" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json index 9a6949ce5..fd5f0e6d3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json @@ -1,928 +1,928 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2015-06-24T19:17:27.655+05:30", - "identifier": { - "value": "NIST-IZ-AD-2.1_Send_V04_Z22" - }, - "id": "3364f83f-1a00-2742-2d21-2244f2ba834d", - "entry": [ - { - "fullUrl": "urn:uuid:aefd5bbc-563b-7d19-5096-4b5754c338c1", - "resource": { - "resourceType": "MessageHeader", - "id": "aefd5bbc-563b-7d19-5096-4b5754c338c1", - "source": { - "name": "NISTEHRAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - }, - "destination": [ - { - "name": "NISTIISAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "sender": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - }, - "responsible": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2015-06-24T08:47:27.655-05:00", + "identifier": { + "value": "NIST-IZ-AD-2.1_Send_V04_Z22" + }, + "id": "3364f83f-1a00-2742-2d21-2244f2ba834d", + "entry": [ + { + "fullUrl": "urn:uuid:aefd5bbc-563b-7d19-5096-4b5754c338c1", + "resource": { + "resourceType": "MessageHeader", + "id": "aefd5bbc-563b-7d19-5096-4b5754c338c1", + "source": { + "name": "NISTEHRAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "NISTIISAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" } + ] }, - "request": { - "method": "PUT", - "url": "MessageHeader/aefd5bbc-563b-7d19-5096-4b5754c338c1" - } - }, - { - "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", - "resource": { - "resourceType": "Provenance", - "id": "87847f45-4a99-9d88-c439-65574d8fd20b", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-02-22T10:01:59.011Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2015-06-24T19:17:27.655+05:30", - "recorded": "2015-06-24T19:17:27.655+05:30", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "target": [ - { - "reference": "Bundle/3364f83f-1a00-2742-2d21-2244f2ba834d" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" - } - }, - { - "fullUrl": "urn:uuid:8a0eacde-8a9d-6c26-af93-755bbf26dedc", - "resource": { - "resourceType": "Organization", - "id": "8a0eacde-8a9d-6c26-af93-755bbf26dedc", - "identifier": [ - { - "value": "NISTEHRFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTEHRFAC" - } - ], - "partOf": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - }, - "name": "NISTEHRFAC" - }, - "request": { - "method": "PUT", - "url": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } - }, - { - "fullUrl": "urn:uuid:421aa904-409c-709f-ad7d-f1a7673d884f", - "resource": { - "resourceType": "Organization", - "id": "421aa904-409c-709f-ad7d-f1a7673d884f", - "identifier": [ - { - "value": "NISTIISFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTIISFAC" - } - ], - "partOf": { - "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - }, - "name": "NISTIISFAC" - }, - "request": { - "method": "PUT", - "url": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - } - }, - { - "fullUrl": "urn:uuid:8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", - "resource": { - "resourceType": "Patient", - "id": "8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", - "identifier": [ - { - "value": "90012", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI-1" - } - ], - "name": [ - { - "family": "Wong", - "given": [ - "Elise" - ], - "use": "official" - } - ], - "birthDate": "1983-06-15", - "gender": "female", - "address": [ - { - "line": [ - "9200 Wellington Trail" - ], - "city": "Bozeman", - "state": "MT", - "postalCode": "59715", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - } - ], - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "active": true, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC" - } - }, - { - "url": "text", - "valueString": "2186-5" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } - }, - { - "fullUrl": "urn:uuid:89c802dd-30ec-8f4e-c374-059cfde1c975", - "resource": { - "resourceType": "Observation", - "id": "89c802dd-30ec-8f4e-c374-059cfde1c975", - "status": "final", - "code": { - "coding": [ - { - "code": "30963-3", - "display": "Vaccine Funding Source", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/89c802dd-30ec-8f4e-c374-059cfde1c975" - } - }, - { - "fullUrl": "urn:uuid:195cc57b-4ab5-49fd-4e1d-53f79651bf13", - "resource": { - "resourceType": "Observation", - "id": "195cc57b-4ab5-49fd-4e1d-53f79651bf13", - "status": "final", - "code": { - "coding": [ - { - "code": "64994-7", - "display": "Vaccine Funding Program Eligibility", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "method": { - "coding": [ - { - "code": "VXC40", - "display": "per immunization", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/195cc57b-4ab5-49fd-4e1d-53f79651bf13" - } - }, - { - "fullUrl": "urn:uuid:ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", - "resource": { - "resourceType": "Observation", - "id": "ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "partOf": [ - { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2" - } - }, - { - "fullUrl": "urn:uuid:0878a797-17ce-3674-ac45-5f740963c772", - "resource": { - "resourceType": "Observation", - "id": "0878a797-17ce-3674-ac45-5f740963c772", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2015-06-24", - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "partOf": [ - { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0878a797-17ce-3674-ac45-5f740963c772" - } - }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "fullUrl": "urn:uuid:c0f2ddcb-f061-279f-d5e1-7b54b437e9db", - "resource": { - "resourceType": "Immunization", - "id": "c0f2ddcb-f061-279f-d5e1-7b54b437e9db", - "identifier": [ - { - "value": "4422", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2015-06-24", - "vaccineCode": { - "coding": [ - { - "code": "49281-0215-88", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2015-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - }, - { - "fullUrl": "urn:uuid:6aa18dc9-978e-a9e5-5533-ec8376372c0d", - "resource": { - "resourceType": "ServiceRequest", - "id": "6aa18dc9-978e-a9e5-5533-ec8376372c0d", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + "receiver": { + "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "sender": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + }, + "responsible": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/aefd5bbc-563b-7d19-5096-4b5754c338c1" + } + }, + { + "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", + "resource": { + "resourceType": "Provenance", + "id": "87847f45-4a99-9d88-c439-65574d8fd20b", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-25T08:36:34.675Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2015-06-24T08:47:27.655-05:00", + "recorded": "2015-06-24T08:47:27.655-05:00", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + "who": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "target": [ + { + "reference": "Bundle/3364f83f-1a00-2742-2d21-2244f2ba834d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" + } + }, + { + "fullUrl": "urn:uuid:8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "resource": { + "resourceType": "Organization", + "id": "8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "identifier": [ + { + "value": "NISTEHRFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTEHRFAC" + } + ], + "partOf": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + }, + "name": "NISTEHRFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + }, + { + "fullUrl": "urn:uuid:421aa904-409c-709f-ad7d-f1a7673d884f", + "resource": { + "resourceType": "Organization", + "id": "421aa904-409c-709f-ad7d-f1a7673d884f", + "identifier": [ + { + "value": "NISTIISFAC", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTIISFAC" + } + ], + "partOf": { + "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + }, + "name": "NISTIISFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + } + }, + { + "fullUrl": "urn:uuid:8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", + "resource": { + "resourceType": "Patient", + "id": "8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", + "identifier": [ + { + "value": "90012", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" } + ] }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } - }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" - } - ], - "name": "Sanofi Pasteur" - }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - }, - { - "fullUrl": "urn:uuid:c82d117c-dc9d-e431-dc92-6ca91243da07", - "resource": { - "resourceType": "Immunization", - "id": "c82d117c-dc9d-e431-dc92-6ca91243da07", - "identifier": [ - { - "value": "38760", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2014-10-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" - }, - "request": { - "method": "PUT", - "url": "Immunization/c82d117c-dc9d-e431-dc92-6ca91243da07" - } - }, - { - "fullUrl": "urn:uuid:3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", - "resource": { - "resourceType": "ServiceRequest", - "id": "3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "38760", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI-1" + } + ], + "name": [ + { + "family": "Wong", + "given": [ + "Elise" + ], + "use": "official" + } + ], + "birthDate": "1983-06-15", + "gender": "female", + "address": [ + { + "line": [ + "9200 Wellington Trail" + ], + "city": "Bozeman", + "state": "MT", + "postalCode": "59715", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + } + ], + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "active": true, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" } + }, + { + "url": "text", + "valueString": "Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC" + } + }, + { + "url": "text", + "valueString": "2186-5" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } + }, + { + "fullUrl": "urn:uuid:89c802dd-30ec-8f4e-c374-059cfde1c975", + "resource": { + "resourceType": "Observation", + "id": "89c802dd-30ec-8f4e-c374-059cfde1c975", + "status": "final", + "code": { + "coding": [ + { + "code": "30963-3", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/89c802dd-30ec-8f4e-c374-059cfde1c975" + } + }, + { + "fullUrl": "urn:uuid:195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "resource": { + "resourceType": "Observation", + "id": "195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "status": "final", + "code": { + "coding": [ + { + "code": "64994-7", + "display": "Vaccine Funding Program Eligibility", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "method": { + "coding": [ + { + "code": "VXC40", + "display": "per immunization", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/195cc57b-4ab5-49fd-4e1d-53f79651bf13" + } + }, + { + "fullUrl": "urn:uuid:ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", + "resource": { + "resourceType": "Observation", + "id": "ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "partOf": [ + { + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2" + } + }, + { + "fullUrl": "urn:uuid:0878a797-17ce-3674-ac45-5f740963c772", + "resource": { + "resourceType": "Observation", + "id": "0878a797-17ce-3674-ac45-5f740963c772", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2015-06-24", + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "partOf": [ + { + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0878a797-17ce-3674-ac45-5f740963c772" + } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "fullUrl": "urn:uuid:c0f2ddcb-f061-279f-d5e1-7b54b437e9db", + "resource": { + "resourceType": "Immunization", + "id": "c0f2ddcb-f061-279f-d5e1-7b54b437e9db", + "identifier": [ + { + "value": "4422", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae" - } - }, - { - "fullUrl": "urn:uuid:07ff92a4-c57e-8726-a03a-1241de54a9c3", - "resource": { - "resourceType": "Immunization", - "id": "07ff92a4-c57e-8726-a03a-1241de54a9c3", - "identifier": [ - { - "value": "35508", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2013-11-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" - }, - "request": { - "method": "PUT", - "url": "Immunization/07ff92a4-c57e-8726-a03a-1241de54a9c3" - } - }, - { - "fullUrl": "urn:uuid:568bfd87-8b76-703a-b0d3-5449d0f37c58", - "resource": { - "resourceType": "ServiceRequest", - "id": "568bfd87-8b76-703a-b0d3-5449d0f37c58", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "35508", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" } + ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/568bfd87-8b76-703a-b0d3-5449d0f37c58" + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2015-06-24", + "vaccineCode": { + "coding": [ + { + "code": "49281-0215-88", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2015-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + }, + { + "fullUrl": "urn:uuid:6aa18dc9-978e-a9e5-5533-ec8376372c0d", + "resource": { + "resourceType": "ServiceRequest", + "id": "6aa18dc9-978e-a9e5-5533-ec8376372c0d", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "ordering-provider", + "display": "Ordering Provider", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } + }, + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + }, + { + "fullUrl": "urn:uuid:c82d117c-dc9d-e431-dc92-6ca91243da07", + "resource": { + "resourceType": "Immunization", + "id": "c82d117c-dc9d-e431-dc92-6ca91243da07", + "identifier": [ + { + "value": "38760", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2014-10-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/c82d117c-dc9d-e431-dc92-6ca91243da07" + } + }, + { + "fullUrl": "urn:uuid:3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", + "resource": { + "resourceType": "ServiceRequest", + "id": "3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae" + } + }, + { + "fullUrl": "urn:uuid:07ff92a4-c57e-8726-a03a-1241de54a9c3", + "resource": { + "resourceType": "Immunization", + "id": "07ff92a4-c57e-8726-a03a-1241de54a9c3", + "identifier": [ + { + "value": "35508", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2013-11-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/07ff92a4-c57e-8726-a03a-1241de54a9c3" + } + }, + { + "fullUrl": "urn:uuid:568bfd87-8b76-703a-b0d3-5449d0f37c58", + "resource": { + "resourceType": "ServiceRequest", + "id": "568bfd87-8b76-703a-b0d3-5449d0f37c58", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" } - ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/568bfd87-8b76-703a-b0d3-5449d0f37c58" + } + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/CcdaTestTimezoneInput.ccda b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/CcdaTestTimezoneInput.ccda new file mode 100644 index 000000000..f7ecd3978 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/CcdaTestTimezoneInput.ccda @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/Hl7v2TestTimezoneInput.hl7v2 b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/Hl7v2TestTimezoneInput.hl7v2 new file mode 100644 index 000000000..f08f880a6 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Input/Hl7v2TestTimezoneInput.hl7v2 @@ -0,0 +1,2 @@ +MSH|^~\&|AccMgr|1|||20050110045504||ADT^A01|599102|P|2.3||| +IN1|200101|20010101|2001111112|200111111223|20200101010101+0800||| \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/CcdaTestTimezoneTemplate.liquid b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/CcdaTestTimezoneTemplate.liquid new file mode 100644 index 000000000..6ac1df95b --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/CcdaTestTimezoneTemplate.liquid @@ -0,0 +1,9 @@ +{% assign Composition = msg.ClinicalDocument -%} +{ + "datetime1": "{{ Composition.datetime1.value | add_hyphens_date }}", + "datetime2": "{{ Composition.datetime2.value | add_hyphens_date }}", + "datetime3": "{{ Composition.datetime2.value | format_as_date_time }}", + "datetime4": "{{ Composition.datetime3.value | format_as_date_time }}", + "datetime5": "{{ Composition.datetime4.value | format_as_date_time }}", + "datetime6": "{{ Composition.datetime5.value | format_as_date_time }}" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/Hl7v2TestTimezoneTemplate.liquid b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/Hl7v2TestTimezoneTemplate.liquid new file mode 100644 index 000000000..bf99a5d5f --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/TimezoneHandling/Template/Hl7v2TestTimezoneTemplate.liquid @@ -0,0 +1,9 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'IN1' -%} +{ + "datetime1": "{{ firstSegments.IN1.1.Value | add_hyphens_date }}", + "datetime2": "{{ firstSegments.IN1.2.Value | add_hyphens_date }}", + "datetime3": "{{ firstSegments.IN1.2.Value | format_as_date_time }}", + "datetime4": "{{ firstSegments.IN1.3.Value | format_as_date_time }}", + "datetime5": "{{ firstSegments.IN1.4.Value | format_as_date_time }}", + "datetime6": "{{ firstSegments.IN1.5.Value | format_as_date_time }}" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs index 5e559c77b..5184a34ab 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs @@ -31,21 +31,29 @@ public static IEnumerable GetValidDataWithoutTimeZoneForAddHyphensDate yield return new object[] { @"19880101000000", "utc", new DateTime(1988, 1, 1, 0, 0, 0) }; } + public static IEnumerable GetValidDataForAddHyphensDateWithDefaultTimeZoneHandling() + { + yield return new object[] { null, null }; + yield return new object[] { string.Empty, string.Empty }; + yield return new object[] { @"2001", @"2001" }; + yield return new object[] { @"200101", @"2001-01" }; + yield return new object[] { @"19241010", @"1924-10-10" }; + yield return new object[] { @"19850101000000", @"1985-01-01" }; + } + public static IEnumerable GetValidDataForAddSeconds() { yield return new object[] { null, 60, "local", null }; yield return new object[] { string.Empty, 60, "local", string.Empty }; - yield return new object[] { @"1970-01-01T00:01:00.000+10:00", -60, "utc", @"1969-12-31T14:00:00.000Z" }; yield return new object[] { @"1970-01-01T00:01:00.000+05:30", -60, "utc", @"1969-12-31T18:30:00.000Z" }; - yield return new object[] { @"1970-01-01T00:01:00Z", 60.123, "preserve", @"1970-01-01T00:02:00.123Z" }; yield return new object[] { @"1970-01-01T00:01:00+06:00", 60.000, "preserve", @"1970-01-01T00:02:00+06:00" }; yield return new object[] { @"1970-01-01T00:01:00+06:30", 60.000, "preserve", @"1970-01-01T00:02:00+06:30" }; - yield return new object[] { @"2001-01", 60, "preserve", @"2001-01-01T00:01:00" }; yield return new object[] { @"1970-01-01T00:01:00+14:00", 60, "utc", @"1969-12-31T10:02:00Z" }; // Skip this test in pipeline, as the local time zone is different + // yield return new object[] { @"2001-01", 60, "preserve", @"2001-01-01T00:01:00+08:00" }; // yield return new object[] { @"1924-10-10", 60000, "utc", @"1924-10-10T08:40:00Z" }; // yield return new object[] { @"1970-01-01T00:01:00+06:00", 60, "local", @"1970-01-01T02:02:00+08:00" }; // yield return new object[] { @"1924-10-10", 60000, "local", @"1924-10-10T16:40:00" }; @@ -58,6 +66,18 @@ public static IEnumerable GetValidDataWithoutTimeZoneForAddSecondsWith yield return new object[] { @"1970-01-01", 60, "utc", @"1969-12-31T16:01:00Z", new DateTime(1970, 1, 1) }; } + public static IEnumerable GetValidDataForAddSecondsWithDefaultTimeZoneHandling() + { + yield return new object[] { null, 60, null }; + yield return new object[] { string.Empty, 60, string.Empty }; + yield return new object[] { @"1970-01-01T00:01:00Z", 60.123, @"1970-01-01T00:02:00.123Z" }; + yield return new object[] { @"1970-01-01T00:01:00+06:00", 60.000, @"1970-01-01T00:02:00+06:00" }; + + // Skip this test in pipeline, as the local time zone is different + // yield return new object[] { @"2001-01", 60, @"2001-01-01T00:01:00+08:00" }; + // yield return new object[] { @"1924-10-10", 60000, @"1924-10-10T16:40:00+08:00" }; + } + public static IEnumerable GetValidDataForFormatAsDateTime() { // TimeZoneHandling does not affect dateTime without time @@ -72,10 +92,6 @@ public static IEnumerable GetValidDataForFormatAsDateTime() yield return new object[] { @"200101", "preserve", @"2001-01" }; yield return new object[] { @"200101", "local", @"2001-01" }; - // If no time zone provided, it is treated as local - yield return new object[] { @"20050110045253", "preserve", @"2005-01-10T04:52:53" }; - yield return new object[] { @"20050110045253", "local", @"2005-01-10T04:52:53" }; - // If time zone provided, it should be formatted according to TimeZoneHandling yield return new object[] { @"20110103143428-0800", "preserve", @"2011-01-03T14:34:28-08:00" }; yield return new object[] { @"20110103143428-0845", "preserve", @"2011-01-03T14:34:28-08:45" }; @@ -87,10 +103,14 @@ public static IEnumerable GetValidDataForFormatAsDateTime() yield return new object[] { @"19701231115959+0630", "utc", @"1970-12-31T05:29:59Z" }; // Skip this test in pipeline, as the local time zone is different - // yield return new object[] { @"2001", "utc", @"2000" }; - // yield return new object[] { @"20050110045253", "utc", @"2005-01-09T20:52:53Z" }; // yield return new object[] { @"20110103143428-0800", "local", @"2011-01-04T06:34:28+08:00" }; // yield return new object[] { @"19701231115959+0600", "local", @"1970-12-31T13:59:59+08:00" }; + + // If no time zone provided, it is treated as local + // yield return new object[] { @"2001", "utc", @"2000" }; + // yield return new object[] { @"20050110045253", "utc", @"2005-01-09T20:52:53Z" }; + // yield return new object[] { @"20050110045253", "preserve", @"2005-01-10T04:52:53+08:00" }; + // yield return new object[] { @"20050110045253", "local", @"2005-01-10T04:52:53+08:00" }; } // We assume the local timezone is +08:00. @@ -101,6 +121,20 @@ public static IEnumerable GetValidDataWithoutTimeZoneForFormatAsDateTi yield return new object[] { @"19701231115959", "utc", @"1970-12-31T03:59:59Z", new DateTime(1970, 12, 31, 11, 59, 59) }; } + public static IEnumerable GetValidDataForFormatAsDateTimeWithDefaultTimeZoneHandling() + { + yield return new object[] { @"200101", @"2001-01" }; + yield return new object[] { @"20110103143428-0800", @"2011-01-03T14:34:28-08:00" }; + yield return new object[] { @"19701231115959+0600", @"1970-12-31T11:59:59+06:00" }; + yield return new object[] { @"19701231115959+0600", @"1970-12-31T11:59:59+06:00" }; + yield return new object[] { @"19701231115959+0000", @"1970-12-31T11:59:59Z" }; + yield return new object[] { @"19701231115959-0000", @"1970-12-31T11:59:59Z" }; + + // If no time zone provided, it is treated as local + // yield return new object[] { @"20050110045253", @"2005-01-10T04:52:53+08:00" }; + // yield return new object[] { @"20110103143428", @"2011-01-03T14:34:28+08:00" }; + } + public static IEnumerable GetInvalidDataForAddHyphensDate() { yield return new object[] { @"20badInput" }; @@ -168,6 +202,14 @@ public void GivenSeconds_WhenAddOnValidDataWithoutTimeZone_CorrectDateTimeShould Assert.Equal(expectedDateTime, dateTimeString); } + [Theory] + [MemberData(nameof(GetValidDataForAddSecondsWithDefaultTimeZoneHandling))] + public void GivenAValidData_WhenAddSecondsWithDefaultTimeZoneHandling_ConvertedDateTimeShouldBeReturned(string originalDateTime, double seconds, string expectedDateTime) + { + var result = Filters.AddSeconds(originalDateTime, seconds); + Assert.Equal(expectedDateTime, result); + } + [Theory] [MemberData(nameof(GetInvalidDataForAddSeconds))] public void GivenSeconds_WhenAddOnInvalidDateTime_ExceptionShouldBeThrow(string originalDateTime) @@ -194,6 +236,14 @@ public void GivenAValidDataWithoutTimeZone_WhenAddHyphensDate_CorrectDateTimeSho Assert.Contains(result, dateTimeString); } + [Theory] + [MemberData(nameof(GetValidDataForAddHyphensDateWithDefaultTimeZoneHandling))] + public void GivenAValidData_WhenAddHyphensDateWithDefaultTimeZoneHandling_ConvertedDateTimeShouldBeReturned(string input, string expectedDateTime) + { + var result = Filters.AddHyphensDate(input); + Assert.Equal(expectedDateTime, result); + } + [Theory] [MemberData(nameof(GetValidDataForFormatAsDateTime))] public void GivenADateTime_WhenFormatAsDateTime_ConvertedDateTimeStringShouldBeReturned(string input, string timeZoneHandling, string expected) @@ -213,6 +263,14 @@ public void GivenAValidDataWithoutTimeZone_WhenFormatAsDateTime_ConvertedDateTim Assert.Contains(expectedDateTime, dateTimeString); } + [Theory] + [MemberData(nameof(GetValidDataForFormatAsDateTimeWithDefaultTimeZoneHandling))] + public void GivenAValidData_WhenFormatAsDateTimeWithDefaultTimeZoneHandling_ConvertedDateTimeShouldBeReturned(string input, string expectedDateTime) + { + var result = Filters.FormatAsDateTime(input); + Assert.Equal(expectedDateTime, result); + } + [Theory] [MemberData(nameof(GetInvalidDataForAddHyphensDate))] public void GivenAnInvalidDateTime_WhenAddHyphensDate_ExceptionShouldBeThrown(string input) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs index 983bc4054..cd1b6f253 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs @@ -66,7 +66,7 @@ public static string AddHyphensDate(string input, string timeZoneHandling = "pre return dateTimeObject.ToFhirString(outputTimeZoneHandling); } - public static string FormatAsDateTime(string input, string timeZoneHandling = "local") + public static string FormatAsDateTime(string input, string timeZoneHandling = "preserve") { if (string.IsNullOrEmpty(input)) { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs index 1c7b254aa..028fdfa62 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Models/PartialDateTime.cs @@ -111,17 +111,7 @@ public string ToFhirString(TimeZoneHandlingMethod timeZoneHandling = TimeZoneHan }; } - var timeZoneSuffix = string.Empty; - if (HasTimeZone) - { - // Using "Z" to represent zero timezone. - timeZoneSuffix = resultDateTime.Offset == TimeSpan.Zero ? "Z" : "%K"; - } - - if (timeZoneHandling == TimeZoneHandlingMethod.Utc) - { - timeZoneSuffix = "Z"; - } + var timeZoneSuffix = resultDateTime.Offset == TimeSpan.Zero ? "Z" : "%K"; var dateTimeFormat = Precision < DateTimePrecision.Milliseconds ? "yyyy-MM-ddTHH:mm:ss" + timeZoneSuffix : "yyyy-MM-ddTHH:mm:ss.fff" + timeZoneSuffix; return resultDateTime.ToString(dateTimeFormat); From 185bb85ff9df2d76f7ca71899a69817ad1cb83e1 Mon Sep 17 00:00:00 2001 From: shashanknarang27 <75470172+shashanknarang27@users.noreply.github.com> Date: Tue, 29 Mar 2022 14:29:30 +0530 Subject: [PATCH 09/15] Phase -2, Milestone-3 Mapping (#366) --- data/SampleData/Hl7v2/ADT-A01-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A02-01.hl7 | 2 + data/SampleData/Hl7v2/ADT-A03-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A04-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A05-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A06-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A07-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A08-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A13-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A14-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A15-01.hl7 | 2 + data/SampleData/Hl7v2/ADT-A16-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A28-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A31-01.hl7 | 3 + data/SampleData/Hl7v2/ADT-A45-01.hl7 | 13 +- data/SampleData/Hl7v2/ADT-A45-02.hl7 | 11 +- data/SampleData/Hl7v2/ADT-A47-01.hl7 | 8 +- data/SampleData/Hl7v2/ADT-A47-02.hl7 | 10 +- data/SampleData/Hl7v2/BAR-P01-01.hl7 | 20 + data/SampleData/Hl7v2/BAR-P01-02.hl7 | 28 + data/SampleData/Hl7v2/BAR-P02-01.hl7 | 9 + data/SampleData/Hl7v2/BAR-P02-02.hl7 | 13 + data/SampleData/Hl7v2/BAR-P12-01.hl7 | 9 + data/SampleData/Hl7v2/BAR-P12-02.hl7 | 11 + data/SampleData/Hl7v2/DFT-P03-01.hl7 | 19 + data/SampleData/Hl7v2/DFT-P03-02.hl7 | 30 + data/SampleData/Hl7v2/DFT-P11-01.hl7 | 19 + data/SampleData/Hl7v2/DFT-P11-02.hl7 | 35 + data/SampleData/Hl7v2/OMG-O19-01.hl7 | 50 + data/SampleData/Hl7v2/OMG-O19-02.hl7 | 56 + data/SampleData/Hl7v2/OML-O21-01.hl7 | 3 + data/SampleData/Hl7v2/OML-O21-03.hl7 | 12 +- data/SampleData/Hl7v2/ORM-O01-01.hl7 | 6 +- data/SampleData/Hl7v2/ORM-O01-03.hl7 | 8 +- data/SampleData/Hl7v2/ORM-O01-04.hl7 | 9 +- data/SampleData/Hl7v2/ORM-O01-05.hl7 | 6 +- data/SampleData/Hl7v2/ORM-O01-06.hl7 | 10 +- data/SampleData/Hl7v2/ORU-R01-01.hl7 | 13 +- data/SampleData/Hl7v2/OUL-R22-01.hl7 | 10 +- data/SampleData/Hl7v2/OUL-R23-01.hl7 | 8 + data/SampleData/Hl7v2/OUL-R24-01.hl7 | 10 +- data/SampleData/Hl7v2/RDE-O11-01.hl7 | 10 + data/SampleData/Hl7v2/RDE-O11-02.hl7 | 8 +- data/SampleData/Hl7v2/RDE-O25-01.hl7 | 11 +- data/SampleData/Hl7v2/RDE-O25-02.hl7 | 8 +- data/SampleData/Hl7v2/RDS-O13-01.hl7 | 9 + data/SampleData/Hl7v2/REF-I12-01.hl7 | 24 + data/SampleData/Hl7v2/REF-I12-02.hl7 | 28 + data/SampleData/Hl7v2/REF-I14-01.hl7 | 23 + data/SampleData/Hl7v2/REF-I14-02.hl7 | 28 + data/SampleData/Hl7v2/VXU-V04-01.hl7 | 7 +- data/Templates/Hl7v2/ADT_A01.liquid | 96 +- data/Templates/Hl7v2/ADT_A02.liquid | 63 +- data/Templates/Hl7v2/ADT_A03.liquid | 95 +- data/Templates/Hl7v2/ADT_A04.liquid | 95 +- data/Templates/Hl7v2/ADT_A05.liquid | 95 +- data/Templates/Hl7v2/ADT_A06.liquid | 96 +- data/Templates/Hl7v2/ADT_A07.liquid | 95 +- data/Templates/Hl7v2/ADT_A08.liquid | 95 +- data/Templates/Hl7v2/ADT_A13.liquid | 95 +- data/Templates/Hl7v2/ADT_A14.liquid | 97 +- data/Templates/Hl7v2/ADT_A15.liquid | 63 +- data/Templates/Hl7v2/ADT_A16.liquid | 95 +- data/Templates/Hl7v2/ADT_A28.liquid | 95 +- data/Templates/Hl7v2/ADT_A31.liquid | 95 +- data/Templates/Hl7v2/ADT_A45.liquid | 320 + data/Templates/Hl7v2/ADT_A47.liquid | 93 +- data/Templates/Hl7v2/BAR_P01.liquid | 1170 ++ data/Templates/Hl7v2/BAR_P02.liquid | 280 + data/Templates/Hl7v2/BAR_P12.liquid | 573 + .../Hl7v2/CodeSystem/CodeSystem.json | 128 +- data/Templates/Hl7v2/DFT_P03.liquid | 1624 +++ data/Templates/Hl7v2/DFT_P11.liquid | 1957 +++ .../Hl7v2/DataType/_CWEIdentifier.liquid | 12 +- .../Hl7v2/DataType/_EIIdentifier.liquid | 4 +- .../_EIIdentifier_InternalValues.liquid | 4 +- .../Hl7v2/DataType/_HDLocation.liquid | 2 +- .../Hl7v2/DataType/_HDOrganization.liquid | 4 +- .../_HDOrganization_InternalValue.liquid | 4 +- data/Templates/Hl7v2/DataType/_HDUri.liquid | 4 +- .../Hl7v2/DataType/_PL_HDLocation.liquid | 2 +- .../Templates/Hl7v2/DataType/_STCoding.liquid | 1 - .../Hl7v2/DataType/_XONOrganization.liquid | 31 +- data/Templates/Hl7v2/ID/_Account.liquid | 2 + data/Templates/Hl7v2/ID/_Encounter.liquid | 4 + .../Hl7v2/ID/_MedicationDispense.liquid | 6 +- .../Hl7v2/ID/_PractitionerRole.liquid | 8 + data/Templates/Hl7v2/ID/_Procedure.liquid | 2 + data/Templates/Hl7v2/OMG_O19.liquid | 2525 ++++ data/Templates/Hl7v2/OML_O21.liquid | 1080 ++ data/Templates/Hl7v2/ORM_O01.liquid | 191 +- data/Templates/Hl7v2/ORU_R01.liquid | 1402 ++- data/Templates/Hl7v2/OUL_R22.liquid | 946 ++ data/Templates/Hl7v2/OUL_R23.liquid | 943 ++ data/Templates/Hl7v2/OUL_R24.liquid | 652 + data/Templates/Hl7v2/RDE_O11.liquid | 1293 +- data/Templates/Hl7v2/RDE_O25.liquid | 1291 +- data/Templates/Hl7v2/RDS_O13.liquid | 940 +- data/Templates/Hl7v2/REF_I12.liquid | 971 ++ data/Templates/Hl7v2/REF_I14.liquid | 968 ++ data/Templates/Hl7v2/Resource/_Account.liquid | 10 +- .../Hl7v2/Resource/_ChargeItem.liquid | 2 +- .../Hl7v2/Resource/_ClaimResponse.liquid | 8 +- .../Templates/Hl7v2/Resource/_Coverage.liquid | 4 +- .../Hl7v2/Resource/_DocumentReference.liquid | 4 +- .../Hl7v2/Resource/_Encounter.liquid | 8 +- .../Hl7v2/Resource/_MedicationDispense.liquid | 4 +- .../Hl7v2/Resource/_MedicationRequest.liquid | 3 +- .../Hl7v2/Resource/_NutritionOrder.liquid | 13 + .../Hl7v2/Resource/_Observation.liquid | 40 +- .../Hl7v2/Resource/_Organization.liquid | 19 +- data/Templates/Hl7v2/Resource/_Patient.liquid | 12 +- .../Hl7v2/Resource/_Practitioner.liquid | 7 +- .../Hl7v2/Resource/_PractitionerRole.liquid | 187 +- .../Hl7v2/Resource/_Procedure.liquid | 30 +- .../Hl7v2/Resource/_ServiceRequest.liquid | 2 +- .../Templates/Hl7v2/Resource/_Specimen.liquid | 3 +- .../Hl7v2/Resource/_Substance.liquid | 2 +- data/Templates/Hl7v2/Resource/_Task.liquid | 4 +- data/Templates/Hl7v2/VXU_V04.liquid | 328 +- .../FunctionalTests.cs | 23 + .../RuleBasedTests.cs | 53 +- .../Hl7v2/ADT_A01/ADT-A01-01-expected.json | 10439 ++++++++-------- .../Hl7v2/ADT_A01/ADT-A01-02-expected.json | 3841 +++--- .../Hl7v2/ADT_A01/ADT01-23-expected.json | 14 +- .../Hl7v2/ADT_A01/ADT01-28-expected.json | 11 +- .../Hl7v2/ADT_A02/ADT-A02-01-expected.json | 6672 +++++----- .../Hl7v2/ADT_A02/ADT-A02-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A03/ADT-A03-01-expected.json | 10209 +++++++-------- .../Hl7v2/ADT_A03/ADT-A03-02-expected.json | 3843 +++--- .../Hl7v2/ADT_A04/ADT-A04-01-expected.json | 10209 +++++++-------- .../Hl7v2/ADT_A04/ADT-A04-02-expected.json | 4301 ++++--- .../Hl7v2/ADT_A04/ADT04-23-expected.json | 6 +- .../Hl7v2/ADT_A04/ADT04-251-expected.json | 2 +- .../Hl7v2/ADT_A04/ADT04-28-expected.json | 12 +- .../Hl7v2/ADT_A05/ADT-A05-01-expected.json | 9609 +++++++------- .../Hl7v2/ADT_A05/ADT-A05-02-expected.json | 4301 ++++--- .../Hl7v2/ADT_A06/ADT-A06-01-expected.json | 6022 +++++---- .../Hl7v2/ADT_A06/ADT-A06-02-expected.json | 1901 ++- .../Hl7v2/ADT_A07/ADT-A07-01-expected.json | 5610 +++++---- .../Hl7v2/ADT_A07/ADT-A07-02-expected.json | 1841 ++- .../Hl7v2/ADT_A08/ADT-A08-01-expected.json | 10213 +++++++-------- .../Hl7v2/ADT_A08/ADT-A08-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A09/ADT-A09-01-expected.json | 2852 ++--- .../Hl7v2/ADT_A09/ADT-A09-02-expected.json | 2159 ++-- .../Hl7v2/ADT_A10/ADT-A10-01-expected.json | 2852 ++--- .../Hl7v2/ADT_A10/ADT-A10-02-expected.json | 2135 ++-- .../Hl7v2/ADT_A11/ADT-A11-01-expected.json | 5746 ++++----- .../Hl7v2/ADT_A11/ADT-A11-02-expected.json | 4291 ++++--- .../Hl7v2/ADT_A13/ADT-A13-01-expected.json | 10207 +++++++-------- .../Hl7v2/ADT_A13/ADT-A13-02-expected.json | 4299 ++++--- .../Hl7v2/ADT_A14/ADT-A14-01-expected.json | 9609 +++++++------- .../Hl7v2/ADT_A14/ADT-A14-02-expected.json | 4301 ++++--- .../Hl7v2/ADT_A15/ADT-A15-01-expected.json | 6052 ++++----- .../Hl7v2/ADT_A15/ADT-A15-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A16/ADT-A16-01-expected.json | 9609 +++++++------- .../Hl7v2/ADT_A16/ADT-A16-02-expected.json | 4301 ++++--- .../Hl7v2/ADT_A25/ADT-A25-01-expected.json | 5754 ++++----- .../Hl7v2/ADT_A25/ADT-A25-02-expected.json | 4299 ++++--- .../Hl7v2/ADT_A26/ADT-A26-01-expected.json | 5136 ++++---- .../Hl7v2/ADT_A26/ADT-A26-02-expected.json | 3593 +++--- .../Hl7v2/ADT_A27/ADT-A27-01-expected.json | 5744 ++++----- .../Hl7v2/ADT_A27/ADT-A27-02-expected.json | 4291 ++++--- .../Hl7v2/ADT_A28/ADT-A28-01-expected.json | 9609 +++++++------- .../Hl7v2/ADT_A28/ADT-A28-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A29/ADT-A29-01-expected.json | 5754 ++++----- .../Hl7v2/ADT_A29/ADT-A29-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A31/ADT-A31-01-expected.json | 9609 +++++++------- .../Hl7v2/ADT_A31/ADT-A31-02-expected.json | 3785 +++--- .../Hl7v2/ADT_A40/ADT-A40-01-expected.json | 454 +- .../Hl7v2/ADT_A40/ADT-A40-02-expected.json | 530 +- .../Hl7v2/ADT_A41/ADT-A41-01-expected.json | 955 +- .../Hl7v2/ADT_A41/ADT-A41-02-expected.json | 859 +- .../Hl7v2/ADT_A45/ADT-A45-01-expected.json | 798 ++ .../Hl7v2/ADT_A45/ADT-A45-02-expected.json | 637 + .../Hl7v2/ADT_A47/ADT-A47-01-expected.json | 1363 +- .../Hl7v2/ADT_A47/ADT-A47-02-expected.json | 1297 +- .../Hl7v2/ADT_A60/ADT-A60-01-expected.json | 5131 ++++---- .../Hl7v2/ADT_A60/ADT-A60-02-expected.json | 2151 ++-- .../Hl7v2/BAR_P01/BAR-P01-01-expected.json | 5100 ++++++++ .../Hl7v2/BAR_P01/BAR-P01-02-expected.json | 5196 ++++++++ .../Hl7v2/BAR_P02/BAR-P02-01-expected.json | 2465 ++++ .../Hl7v2/BAR_P02/BAR-P02-02-expected.json | 2791 +++++ .../Hl7v2/BAR_P12/BAR-P12-01-expected.json | 2958 +++++ .../Hl7v2/BAR_P12/BAR-P12-02-expected.json | 3114 +++++ .../Hl7v2/DFT_P03/DFT-P03-01-expected.json | 3797 ++++++ .../Hl7v2/DFT_P03/DFT-P03-02-expected.json | 4064 ++++++ .../Hl7v2/DFT_P11/DFT-P11-01-expected.json | 3485 ++++++ .../Hl7v2/DFT_P11/DFT-P11-02-expected.json | 4617 +++++++ .../Hl7v2/MDM_T01/MDM-T01-01-expected.json | 1676 +-- .../Hl7v2/MDM_T01/MDM-T01-02-expected.json | 1820 +-- .../Hl7v2/MDM_T02/MDM-T02-01-expected.json | 1762 +-- .../Hl7v2/MDM_T02/MDM-T02-02-expected.json | 1970 +-- .../Hl7v2/MDM_T02/MDM-T02-03-expected.json | 3746 +++--- .../Hl7v2/MDM_T05/MDM-T05-01-expected.json | 1696 +-- .../Hl7v2/MDM_T05/MDM-T05-02-expected.json | 1840 +-- .../Hl7v2/MDM_T06/MDM-T06-01-expected.json | 1782 +-- .../Hl7v2/MDM_T06/MDM-T06-02-expected.json | 1990 +-- .../Hl7v2/MDM_T09/MDM-T09-01-expected.json | 1696 +-- .../Hl7v2/MDM_T09/MDM-T09-02-expected.json | 1840 +-- .../Hl7v2/MDM_T10/MDM-T10-01-expected.json | 1782 +-- .../Hl7v2/MDM_T10/MDM-T10-02-expected.json | 1990 +-- .../Hl7v2/OMG_O19/OMG-O19-01-expected.json | 5045 ++++++++ .../Hl7v2/OMG_O19/OMG-O19-02-expected.json | 4516 +++++++ .../OML_O21/MDHHS-OML-O21-1-expected.json | 1011 +- .../OML_O21/MDHHS-OML-O21-2-expected.json | 1576 ++- .../Hl7v2/OML_O21/OML-O21-01-expected.json | 5950 +++++---- .../Hl7v2/OML_O21/OML-O21-02-expected.json | 4763 +++---- .../Hl7v2/OML_O21/OML-O21-03-expected.json | 8624 +++++++------ .../Hl7v2/ORM_O01/ORM-O01-01-expected.json | 3355 +++-- .../Hl7v2/ORM_O01/ORM-O01-02-expected.json | 4373 +++---- .../Hl7v2/ORM_O01/ORM-O01-03-expected.json | 3106 +++-- .../Hl7v2/ORM_O01/ORM-O01-04-expected.json | 3361 +++-- .../Hl7v2/ORM_O01/ORM-O01-05-expected.json | 3431 +++-- .../Hl7v2/ORM_O01/ORM-O01-06-expected.json | 2395 ++++ .../Hl7v2/ORU_R01/LAB-ORU-1-expected.json | 8 +- .../Hl7v2/ORU_R01/LAB-ORU-2-expected.json | 8 +- .../LRI_2.0-NG_CBC_Typ_Message-expected.json | 5107 ++++---- .../Hl7v2/ORU_R01/ORU-R01-01-expected.json | 7953 ++++++++---- .../ORU_R01/ORU-R01-RMGEAD-expected.json | 20 +- .../Hl7v2/OUL_R22/OUL-R22-01-expected.json | 4395 ++++--- .../Hl7v2/OUL_R22/OUL-R22-02-expected.json | 4183 +++---- .../Hl7v2/OUL_R23/OUL-R23-01-expected.json | 6346 ++++++---- .../Hl7v2/OUL_R23/OUL-R23-02-expected.json | 6671 +++++----- .../Hl7v2/OUL_R24/OUL-R24-01-expected.json | 6470 +++++----- .../Hl7v2/OUL_R24/OUL-R24-02-expected.json | 5845 ++++----- .../Hl7v2/RDE_O11/RDE-O11-01-expected.json | 8336 +++++++----- .../Hl7v2/RDE_O11/RDE-O11-02-expected.json | 8019 ++++++------ .../Hl7v2/RDE_O25/RDE-O25-01-expected.json | 8436 ++++++++----- .../Hl7v2/RDE_O25/RDE-O25-02-expected.json | 8153 ++++++------ .../Hl7v2/RDS_O13/RDS-O13-01-expected.json | 7128 ++++++----- .../Hl7v2/RDS_O13/RDS-O13-02-expected.json | 7029 ++++++----- .../Hl7v2/REF_I12/REF-I12-01-expected.json | 3647 ++++++ .../Hl7v2/REF_I12/REF-I12-02-expected.json | 3906 ++++++ .../Hl7v2/REF_I14/REF-I14-01-expected.json | 3586 ++++++ .../Hl7v2/REF_I14/REF-I14-02-expected.json | 3799 ++++++ .../Hl7v2/SIU_S12/SIU-S12-01-expected.json | 3917 +++--- .../Hl7v2/SIU_S12/SIU-S12-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S13/SIU-S13-01-expected.json | 2697 ++-- .../Hl7v2/SIU_S13/SIU-S13-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S14/SIU-S14-01-expected.json | 2697 ++-- .../Hl7v2/SIU_S14/SIU-S14-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S15/SIU-S15-01-expected.json | 2697 ++-- .../Hl7v2/SIU_S15/SIU-S15-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S16/SIU-S16-01-expected.json | 2697 ++-- .../Hl7v2/SIU_S16/SIU-S16-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S17/SIU-S17-01-expected.json | 2697 ++-- .../Hl7v2/SIU_S17/SIU-S17-02-expected.json | 3197 +++-- .../Hl7v2/SIU_S26/SIU-S26-01-expected.json | 2691 ++-- .../Hl7v2/SIU_S26/SIU-S26-02-expected.json | 3197 +++-- ..._1.1_Admin_Child_Max_Message-expected.json | 18 +- .../Hl7v2/VXU_V04/VXU-V04-01-expected.json | 8498 +++++++------ .../Hl7v2/VXU_V04/VXU-V04-02-expected.json | 8404 ++++++------- .../Expected/Hl7v2/VXU_V04/VXU-expected.json | 1736 +-- 254 files changed, 330875 insertions(+), 224229 deletions(-) create mode 100644 data/SampleData/Hl7v2/BAR-P01-01.hl7 create mode 100644 data/SampleData/Hl7v2/BAR-P01-02.hl7 create mode 100644 data/SampleData/Hl7v2/BAR-P02-01.hl7 create mode 100644 data/SampleData/Hl7v2/BAR-P02-02.hl7 create mode 100644 data/SampleData/Hl7v2/BAR-P12-01.hl7 create mode 100644 data/SampleData/Hl7v2/BAR-P12-02.hl7 create mode 100644 data/SampleData/Hl7v2/DFT-P03-01.hl7 create mode 100644 data/SampleData/Hl7v2/DFT-P03-02.hl7 create mode 100644 data/SampleData/Hl7v2/DFT-P11-01.hl7 create mode 100644 data/SampleData/Hl7v2/DFT-P11-02.hl7 create mode 100644 data/SampleData/Hl7v2/OMG-O19-01.hl7 create mode 100644 data/SampleData/Hl7v2/OMG-O19-02.hl7 create mode 100644 data/SampleData/Hl7v2/REF-I12-01.hl7 create mode 100644 data/SampleData/Hl7v2/REF-I12-02.hl7 create mode 100644 data/SampleData/Hl7v2/REF-I14-01.hl7 create mode 100644 data/SampleData/Hl7v2/REF-I14-02.hl7 create mode 100644 data/Templates/Hl7v2/ADT_A45.liquid create mode 100644 data/Templates/Hl7v2/BAR_P01.liquid create mode 100644 data/Templates/Hl7v2/BAR_P02.liquid create mode 100644 data/Templates/Hl7v2/BAR_P12.liquid create mode 100644 data/Templates/Hl7v2/DFT_P03.liquid create mode 100644 data/Templates/Hl7v2/DFT_P11.liquid create mode 100644 data/Templates/Hl7v2/OMG_O19.liquid create mode 100644 data/Templates/Hl7v2/REF_I12.liquid create mode 100644 data/Templates/Hl7v2/REF_I14.liquid create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-06-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-02-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-01-expected.json create mode 100644 src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-02-expected.json diff --git a/data/SampleData/Hl7v2/ADT-A01-01.hl7 b/data/SampleData/Hl7v2/ADT-A01-01.hl7 index 75cd0b45f..25820b9c4 100644 --- a/data/SampleData/Hl7v2/ADT-A01-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A01-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A02-01.hl7 b/data/SampleData/Hl7v2/ADT-A02-01.hl7 index 59c5b778c..ea047fd86 100644 --- a/data/SampleData/Hl7v2/ADT-A02-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A02-01.hl7 @@ -4,9 +4,11 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 PDA|I21^Acute myocardial infarction^I10|ICCU^Room1^Bed25^GHH|Y|20211102123000+0115|005454^DeathCert^Robin^B|Y|20211102103000+0115^20211102113000+0115|002324^Autopsy^John^K|N \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A03-01.hl7 b/data/SampleData/Hl7v2/ADT-A03-01.hl7 index a4f8ca307..bb7984d7c 100644 --- a/data/SampleData/Hl7v2/ADT-A03-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A03-01.hl7 @@ -4,14 +4,17 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI diff --git a/data/SampleData/Hl7v2/ADT-A04-01.hl7 b/data/SampleData/Hl7v2/ADT-A04-01.hl7 index 6e1ba1700..50a22e23b 100644 --- a/data/SampleData/Hl7v2/ADT-A04-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A04-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A05-01.hl7 b/data/SampleData/Hl7v2/ADT-A05-01.hl7 index 3aa70c463..1fe9b4317 100644 --- a/data/SampleData/Hl7v2/ADT-A05-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A05-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0110|20150209113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A06-01.hl7 b/data/SampleData/Hl7v2/ADT-A06-01.hl7 index 42c11590a..020cac0df 100644 --- a/data/SampleData/Hl7v2/ADT-A06-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A06-01.hl7 @@ -4,16 +4,19 @@ EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^ PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215| +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| MRG|||PACCT001|||| NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^Internet|(555)555-2005^^CP||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^CP|5492308914^^CP| PV1|1|I|SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| PV2|WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| ARV|2|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215| +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1||PT|DB1456|Y|20210830|20210930| OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||FairOaks Hspital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0215|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001| +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A07-01.hl7 b/data/SampleData/Hl7v2/ADT-A07-01.hl7 index ec19269aa..75af1a0ff 100644 --- a/data/SampleData/Hl7v2/ADT-A07-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A07-01.hl7 @@ -4,16 +4,19 @@ EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^ PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215| +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| MRG|||PACCT101|||| NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^Internet|(555)555-2005^^CP||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^CP|5492308914^^CP| PV1|1|O|OPD^0001^01^GOOD HEALTH HOSPITAL|||SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| PV2|SPROOM^ROOM2&2.16.840.1.113883.4.642.1.1108&ISO^BED-1^FACILITY-1^^^BUILDING-1^FLOOR-1^^^||140004^Chronic pharyngitis^sct||||||||||005454^REFSRC^ROBIN^B||| ARV|2|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215| +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1||PT|DB1456|Y|20210830|20210930| OBX|27|NM|8867-4^heart rate^LN||44|beats/min^^ISO|70-80|A^A^HL&0078|2.5||F|||19990702|||||19990702||||FairOaks Hspital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0215|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001| +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A08-01.hl7 b/data/SampleData/Hl7v2/ADT-A08-01.hl7 index 26bd5f267..153afba14 100644 --- a/data/SampleData/Hl7v2/ADT-A08-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A08-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A13-01.hl7 b/data/SampleData/Hl7v2/ADT-A13-01.hl7 index 7f11d74b1..e62189129 100644 --- a/data/SampleData/Hl7v2/ADT-A13-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A13-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A14-01.hl7 b/data/SampleData/Hl7v2/ADT-A14-01.hl7 index 8860bb953..cb57f4dca 100644 --- a/data/SampleData/Hl7v2/ADT-A14-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A14-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT|||||20150208113419+0530|20150209113419+0530||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A15-01.hl7 b/data/SampleData/Hl7v2/ADT-A15-01.hl7 index c79d61783..ede7efa43 100644 --- a/data/SampleData/Hl7v2/ADT-A15-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A15-01.hl7 @@ -4,8 +4,10 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A16-01.hl7 b/data/SampleData/Hl7v2/ADT-A16-01.hl7 index 7a4fef2e7..b8db002d9 100644 --- a/data/SampleData/Hl7v2/ADT-A16-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A16-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||20150210113419+0110||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A28-01.hl7 b/data/SampleData/Hl7v2/ADT-A28-01.hl7 index ba7b209b2..ecc4af6bc 100644 --- a/data/SampleData/Hl7v2/ADT-A28-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A28-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A31-01.hl7 b/data/SampleData/Hl7v2/ADT-A31-01.hl7 index d3fac8746..ec46eabd7 100644 --- a/data/SampleData/Hl7v2/ADT-A31-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A31-01.hl7 @@ -4,15 +4,18 @@ EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfs PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^White^HL70005||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C ARV|1|X|LOC|PHY|No disclosure of patient location|20211118103000+0215^20221118103000+0215 +ROL|1|AD|PP^Primary Care Provider^HL70443|12377H87^Smith^John^A^III^DR^PHD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406|1234 Magnolia Lane, Ste. 231^^Houston^TX^33612^USA|^^Internet^fred@nnnn.com^111^813^8853999^1234|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|Good Health Hospital^L^^^^CMS^XX^^A| DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +ROL|1|AD|PP^Primary Care Provider^HL70443|121^Phoeb^Harold^H|20220101000000|20220202000000|||408443003^General practice^SNOMED|2^Physician Clinic^HL70406||^^Internet^Pheob@nnnn.com^|InternalMedicine^^^UniversityHospitals^^C^Briones^3^|L Multispeciality Hospital^L^^^^CMS^XX^^A| GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse diff --git a/data/SampleData/Hl7v2/ADT-A45-01.hl7 b/data/SampleData/Hl7v2/ADT-A45-01.hl7 index 8c6256c92..802a88936 100644 --- a/data/SampleData/Hl7v2/ADT-A45-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A45-01.hl7 @@ -1,6 +1,7 @@ -MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A45^ADT_A45|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|ADT^A45^ADT_A45|MSG00045|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +MRG|||PACCT002||5001^^^AccMgr^VN|| +PV1|1|O|OPD^0001^01^GOOD HEALTH HOSPITAL|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A45-02.hl7 b/data/SampleData/Hl7v2/ADT-A45-02.hl7 index a4a3651a1..4cccc1dbb 100644 --- a/data/SampleData/Hl7v2/ADT-A45-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A45-02.hl7 @@ -1,4 +1,7 @@ -MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A45^ADT_A45|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&W1.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&2.4&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&2.8&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&r2.3&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital \ No newline at end of file +MSH|^~\&|ADT1|GHHSFacility^2.16.840.1.122848.1.30^ISO|GHHInc.|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202109141120+0215|SECURITY|ADT^A45^ADT_A45|MSG00045|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|A02|20210115160010+0215||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0215^20200115160010+0215^GP|20210115160010+0215|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +MRG|PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL||PACCT002||5001^^^AccMgr^VN|| +PV1|1|O|OPD^0001^01^GOOD HEALTH HOSPITAL||||0210^ATTEND^AARON^A||||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0215| +MRG|PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL||PACCT002||5010^^^AccMgr^VN|| +PV1|2|O|OPD^0001^01^GOOD HEALTH HOSPITAL||||0210^ATTEND^AARON^A||||||||||||5010^^^AccMgr^VN|||||||||||||||||||||||||20210215160010+0215| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A47-01.hl7 b/data/SampleData/Hl7v2/ADT-A47-01.hl7 index 0c010d5bf..54a34b2ce 100644 --- a/data/SampleData/Hl7v2/ADT-A47-01.hl7 +++ b/data/SampleData/Hl7v2/ADT-A47-01.hl7 @@ -1,5 +1,5 @@ -MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG000047|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet -PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 \ No newline at end of file +EVN|A47|20210115160010+0000||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0000^20200115160010+0000^GP|20210115160010+0000|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||MR101^5^M11^GOOD HEALTH HOSPITAL^MR||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800|||M||PACCT101|220917255|DL^T05349638||||N|1|||||N|||20210110015014+0315|||||||89898989^WPN^Internet +MRG|MR102^^^BCBS^MR||PACCT101 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ADT-A47-02.hl7 b/data/SampleData/Hl7v2/ADT-A47-02.hl7 index d3468d97a..f940ee345 100644 --- a/data/SampleData/Hl7v2/ADT-A47-02.hl7 +++ b/data/SampleData/Hl7v2/ADT-A47-02.hl7 @@ -1,3 +1,7 @@ -MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO -EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO -PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet \ No newline at end of file +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|ADT^A47^ADT_A47|MSG000047|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|A47|20210115160010+0000||03|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115160010+0000^20200115160010+0000^GP|20210115160010+0000|Good Health Hospital^1.3.6.1.4.1.44750.1.4^ISO +PID|1||MR101^5^M11^GOOD HEALTH HOSPITAL^MR||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800|||M||PACCT101|220917255|DL^T05349638||||N|1|||||N|||20210110015014+0315|||||||89898989^WPN^Internet +MRG|MR102^^^BCBS^MR||PACCT101 +PID|1||145^^^BCBS^MR||Test^Test^A||20180205|F|||123 Street^^Raleigh^NC^27615||(111)111-1111^^PH^^^111^1111111|||||5027440^^^^AN +MRG|569^^^BCBS^MR \ No newline at end of file diff --git a/data/SampleData/Hl7v2/BAR-P01-01.hl7 b/data/SampleData/Hl7v2/BAR-P01-01.hl7 new file mode 100644 index 000000000..9a5a2a3f2 --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P01-01.hl7 @@ -0,0 +1,20 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P01^BAR_P01|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +PRT||CO||CP||PPT|||Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 diff --git a/data/SampleData/Hl7v2/BAR-P01-02.hl7 b/data/SampleData/Hl7v2/BAR-P01-02.hl7 new file mode 100644 index 000000000..977c5ec49 --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P01-02.hl7 @@ -0,0 +1,28 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P01^BAR_P01|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|A01|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^^^M10^DN^^||||||||||Methodist Church|||20150202^20150202 +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +PV1|2|O|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|R|||1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|MED||||||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Outpatient|40007715^^^AccMng&1.2&HCD^AM|||||||||||||||||||Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150206113419+0110||||||48^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC1245^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +OBX|27|NM|8867-4^heartrate^LN||80~110|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||20150206|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|20150206|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD| +AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20150206114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP +IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI +IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse + diff --git a/data/SampleData/Hl7v2/BAR-P02-01.hl7 b/data/SampleData/Hl7v2/BAR-P02-01.hl7 new file mode 100644 index 000000000..546ae2c00 --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P02-01.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P02^BAR_P02|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|BAR|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|| +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +PID|1||PAT234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|| diff --git a/data/SampleData/Hl7v2/BAR-P02-02.hl7 b/data/SampleData/Hl7v2/BAR-P02-02.hl7 new file mode 100644 index 000000000..93227cf51 --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P02-02.hl7 @@ -0,0 +1,13 @@ +MSH|^~\&|ADTApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P02^BAR_P02|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|BAR|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|| +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +DB1|2|PT|DB-3^4^M11^test^MR^UH^19241011^19241012|Y|20210830|20210930| +PID|1||PAT234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|| +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR|||| +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +DB1|1|PT|DB-4^4^M11^test^MR^UH^19241011^19241012|Y|20210830|20210930| diff --git a/data/SampleData/Hl7v2/BAR-P12-01.hl7 b/data/SampleData/Hl7v2/BAR-P12-01.hl7 new file mode 100644 index 000000000..c8ede61fc --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P12-01.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|BARApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P12^BAR_P12|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|P12|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +OBX|1|RP|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 diff --git a/data/SampleData/Hl7v2/BAR-P12-02.hl7 b/data/SampleData/Hl7v2/BAR-P12-02.hl7 new file mode 100644 index 000000000..452b50557 --- /dev/null +++ b/data/SampleData/Hl7v2/BAR-P12-02.hl7 @@ -0,0 +1,11 @@ +MSH|^~\&|BARApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|198908181126+0215|SECURITY|BAR^P12^BAR_P12|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|P12|20290801070624+0115|20290801070724|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART|BT^Bhutan^ISO3166_1|20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +DG1|1|I9|422504002^Ischemic stroke(disorder)^SCT|Stroke|20040125114025+0420|A|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0215|DI20^Diagnosis^1.3.6.1.4.1.44750.1.2.2^CLIP|A|^^1.3.6.1.4.1.44750.1.2.2^CLIP +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|200501251140+0100|D^Diagnostic Procedure^HL70230|2|1210^ANES^MARK^B|||121188^Patrick^Harold^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Good Health Hospital.Community Health and Hospitals&L^A|12345689^Everyman2^Adam2^A^III^DR^PHD^ADT01^^L^4^M11^MR|||799008^Sigmoid colon ulcer^SCT||||PR1006||||OT^201||PR1001 +PR1|2||71045^Xray exam chest 1 view^C4||20191122 +OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 + diff --git a/data/SampleData/Hl7v2/DFT-P03-01.hl7 b/data/SampleData/Hl7v2/DFT-P03-01.hl7 new file mode 100644 index 000000000..533fedd0d --- /dev/null +++ b/data/SampleData/Hl7v2/DFT-P03-01.hl7 @@ -0,0 +1,19 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|DFT^P03^DFT_P03|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|P03|200501122200+0000|||C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|| +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +ORC|RE|PLACER|FILLER||CM||||20191122 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +OBX|1|FT|ERDr^ED Physician Notes||||||||F +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO +PR1|1||71045^Xray exam chest 1 view^C4||20191122 +PRT||CO||CP||PPT|||Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +DG1|2||68235000^Nasal congestion^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse \ No newline at end of file diff --git a/data/SampleData/Hl7v2/DFT-P03-02.hl7 b/data/SampleData/Hl7v2/DFT-P03-02.hl7 new file mode 100644 index 000000000..a1196489f --- /dev/null +++ b/data/SampleData/Hl7v2/DFT-P03-02.hl7 @@ -0,0 +1,30 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|DFT^P03^DFT_P03|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|P03|200501122200+0000|200502122200|01^Patient request^HL70062|C08^Woolfson^Kathleen^2ndname^Jr^Dr^MD^^DRNBR&1.3.6.1.4.1.44750.1.2.2&ISO^L^^^ANON|20210817151943.4+0200|Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^| +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +ORC|RE|PLACER|FILLER||CM||||20191122 +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +OBX|1|FT|ER-Dr^ED Physician Notes||||||||F +NTE|1||First Observation|| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +NTE|1||First Financial|| +PR1|1||71045^Xray exam chest 1 view^C4||20191122 +ORC|RE|PLACER-2|FILLER-2||CM||||20191122 +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||First OBR of first Financial|| +OBX|1|FT|ERDr^ED Physician Notes||Text||||||F +NTE|1||First obx of first Financial|| +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +PR1|1||7105^Xray exam chest 1 view^C4||20191122 +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +DG1|2||68235000^Nasal congestion^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse diff --git a/data/SampleData/Hl7v2/DFT-P11-01.hl7 b/data/SampleData/Hl7v2/DFT-P11-01.hl7 new file mode 100644 index 000000000..bc18a0007 --- /dev/null +++ b/data/SampleData/Hl7v2/DFT-P11-01.hl7 @@ -0,0 +1,19 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|DFT^P11^DFT_P11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +EVN|P11|200501122200+0000|||C08^Woolfson^Kathleen||Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +ORC|RE|PLACER|FILLER||CM||||20191122 +OBX|1|FT|ERDr^ED Physician Notes||||||||F +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +DG1|2||68235000^Nasal congestion^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +PR1|1||71045^Xray exam chest 1 view^C4||20191122 +PRT||CO||CP||PPT|||Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +FT1|2|||20191122|20191122|CG|92002^General Ophthalmological Services and Procedures^C4|||1|70&USD||||||||302017001^Sore eye^SCT|^^^|^^^||||92002^General Ophthalmological Services and Procedures^C4 +DG1|1||K63.3^Ulcer of Intestine^I10|||F|||||||||1|25^Vernie^Doe|D +GT1|1||EVERYMAN&&&&Aniston^ADAM||||||||SEL^Self^HL70063 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/DFT-P11-02.hl7 b/data/SampleData/Hl7v2/DFT-P11-02.hl7 new file mode 100644 index 000000000..5dc6cff06 --- /dev/null +++ b/data/SampleData/Hl7v2/DFT-P11-02.hl7 @@ -0,0 +1,35 @@ +MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202108181126+0215|SECURITY|DFT^P11^DFT_P11|MSG00001|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +EVN|P11|200501122200+0000|||C08^Woolfson^Kathleen||Cona_Health^1.3.6.1.4.1.44750.1.4^ISO +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +DB1|1|PT|DB123^4^M11^t&1.3.6.1.4.1.44750.1.2.2&ISO^MR^UH^19241011^19241012|Y|20210830|20210930| +ORC|RE|PLACER|FILLER||CM||||20191122 +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +OBX|1|FT|ERDr1^ED Physician Notes||||||||F +NTE|1||First Observation|| +ORC|RE|PLACER-1|FILLER-1||CM||||20191122 +OBR|1|||24317-0^Hemogram and platelet count, automated^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +OBX|1|FT|ERDr2^ED Physician Notes||||||||F +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +DG1|2||68235000^Nasal congestion^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M||||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +PR1|1||71045^Xray exam chest 1 view^C4||20191122 +ORC|RE|PLACER-2|FILLER-2||CM||||20191122 +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||First OBR of first Financial|| +DG1|1||29857009^Chest pain^SCT|||F|||||||||1|20^Stewart^Patrick^^^DO|D +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-11^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +FT1|2|||20191122|20191122|CG|92002^General Ophthalmological Services and Procedures^C4|||1|70&USD||||||||302017001^Sore eye^SCT|^^^|^^^||||92002^General Ophthalmological Services and Procedures^C4 +DG1|1||K63.3^Ulcer of Intestine^I10|||F|||||||||1|25^Vernie^Doe|D +GT1|1|GI-11|EVERYMAN&&&&Aniston^ADAM||||||||SEL^Self^HL70063 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OMG-O19-01.hl7 b/data/SampleData/Hl7v2/OMG-O19-01.hl7 new file mode 100644 index 000000000..ee56d1cc8 --- /dev/null +++ b/data/SampleData/Hl7v2/OMG-O19-01.hl7 @@ -0,0 +1,50 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|OMG^O19^OMG_O19|MSG00019|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0000^20221118103000+0000| +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5d07&L^47371996286d40019903e76ba57e49e8&L|HD||||||||||||||||Pathology +PRT||AD||AD||PPT||ORC Hospital|Lane 5 East ORC, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +PRT||AD||AD||PPT||Hospital OBR||PD-10.11^PD-10.2 +DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| +OBX|1|ED|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|CWE|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|OB-5^Observation^L||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +NTE|1||Note test|| +PRT||AD||AD|987^Obx Family|PPT||Healthcare Centre|Lane 4^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|1|ED|3DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|NM|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|120||||||F|||||||PD-10.1^PD-10.2|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 +SAC||2017-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +OBX|1|RP|3DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|CWE|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|OB-5^Observation^L||||||F||||||||20190311101611||||||||||RSLT +PRT||AD||AD||PPT||General Medical Center|obx-sac, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|OBX-SAC-10.1^PD-10.2 +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||50011^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5167^47371996286d40019903e76ba57e49e8|HD||||||||||||||||Pathology +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +OBR|1|||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +NTE|1||Test Note|| +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +OBX|1|RP|3DHISTECH_SD^3DHISTECH Digital^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ST|3DHISTECH_SD^3DHISTECH Digital^L|1^1^1|Observation value||||||F|||||||PDORC-10.1^PD-10.2|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +NTE|1||Test Note OBX 2|| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI168^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OMG-O19-02.hl7 b/data/SampleData/Hl7v2/OMG-O19-02.hl7 new file mode 100644 index 000000000..317625a9b --- /dev/null +++ b/data/SampleData/Hl7v2/OMG-O19-02.hl7 @@ -0,0 +1,56 @@ +MSH|^~\&|ORDApp|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Aux^ISO|GHHRFacility^2.16.840.1.1122848.1.32^ISO|202110201126+0215|SECURITY|OMG^O19^OMG_O19|MSG00019|P|2.8|||||USA||en-US|||22 GHH Inc.|23 GHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet +PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0000^20221118103000+0000| +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| +OBX|1|ED|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|CWE|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|OB-5.1^Test^XYZ||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +NTE|1||Note test|| +SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|1|ED|3DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|2|NM|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SAC||2017-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +OBX|1|RP|3DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +OBX|3|ST|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|Observation value||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +ORC|SC|||29adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 +OBR|1|||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Urgent|| +DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20180501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| +OBX|1|ED|3DH_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SPM|1|2018-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +OBX|1|ED|4DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +SAC||2018-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L +OBX|1|RP|4DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +ORC|SC|1101^GHHPlacer||29adf2e714c6698063e3ddf5d07^41996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +OBR|1|845439^GHH OE||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +OBX|1|ST|3DHISH_SLD^3DHISTECH Digital Slide^L|1^1^1|Test||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +SPM|1|2019-PAT-1456-1&L|2019-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 +PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||50011^^^Acc-Mgr^VN|||||||||||||||||||||||||202110201126+0215| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|SC|||9adf2339de714c6698063e3ddf5d0167^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +OBR|1|||57698-3^Lipid panel with direct LDL - Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Test Note for 3rd ServiceRequest|| +OBX|1|NM|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|80~120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +NTE|1||Test Note OBX1|| +PV1|1|P|Lab01^Room01^^GHH Facility|||Trauma-Centre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5002^^^Account Manager^VN|||||||||||||||||||||||||202110201126+0215| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +ORC|CA|NI-2||9adf2339dc6698063e3ddf5d0167^47371996286d40019903e76ba57e49e8|||||||||||||||||Pathology +OBR|1|PO-2|FO-3|57698-3^Lipid panel with direct LDL - Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| +NTE|1||Test Note for 3rd ServiceRequest|| +OBX|1|NM|7ISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|80~120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +NTE|1||Test Note OBX1|| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OML-O21-01.hl7 b/data/SampleData/Hl7v2/OML-O21-01.hl7 index df34a4660..4347682ee 100644 --- a/data/SampleData/Hl7v2/OML-O21-01.hl7 +++ b/data/SampleData/Hl7v2/OML-O21-01.hl7 @@ -18,3 +18,6 @@ SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^ OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I SAC|1|EA54678|A59032|C487892|||||||||||||||||10|5|7|ML OBX|1|RP|3DHISTH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +BLG||CR|AI168^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 diff --git a/data/SampleData/Hl7v2/OML-O21-03.hl7 b/data/SampleData/Hl7v2/OML-O21-03.hl7 index a98386757..7ee4f4903 100644 --- a/data/SampleData/Hl7v2/OML-O21-03.hl7 +++ b/data/SampleData/Hl7v2/OML-O21-03.hl7 @@ -2,34 +2,41 @@ SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|||LINDAS TEST ORGANIZATION^^SIISCLIENT818|^^^^^^^^^^^^MR|||||||02^Reminder/recall-any method^HL70215|||Church||A^Active^HL70441|20150202^20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| ARV|1|A|DEM|PAT|Access restricted to clinicians other than the consulting clinician|20211118103000+0000^20221118103000+0000| PV1|1|O|LABUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201126+0215| PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| ORC|SC|||9adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology +PRT||AD||AD|12^ORC Fam|PPT||ORC Hospital|Lane 5 East ORC, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 OBR|1|||57698-3^Lipid panel with direct LDL - Serum or Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| NTE|1||Urgent|| +PRT||AD||AD|54^OBR Fam|PPT||Hospital OBR|obr, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.11^PD-10.2 DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20200501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| OBX|1|ED|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT -OBX|2|CWE|3DHIS_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|OB-5.1^Test^XYZ||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT NTE|1||Note test|| +PRT||AD||AD|987^Obx Family|PPT||Healthcare Centre|Lane 4^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 OBX|1|ED|3DHISTECH_LABELARE^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|2|NM|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|3|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 SAC||2017-PT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L OBX|1|RP|3DHISTECH_LD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|3|ST|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|Observation value||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||AD||AD||PPT||General Medical Center|obx-sac, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|OBX-SAC-10.1^PD-10.2 ORC|SC|||29adf2339de714c6698063e3ddf5d07^47371996286d40019903e76ba57e49e8|CM||||||||||||||||Pathology TQ1|1||Once^^^^1^d&Day&ANS+^^AC^1^hr&Hour&ANS+|||1^d&Day&ANS+|||R|Pain|Fasting Sugar||15^min&minute&ANS+|1 OBR|1|||57698-3^Lipid panel with direct LDL^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| NTE|1||Urgent|| +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 DG1|1||E10.9^Diabetes Mellitus Type 1^I10|Diabetes|20180501123009+0000|F|||||||||1|005454^LAB^ROBIN^B|||20200501133015+0000|DG1002||| OBX|1|ED|3DH_LABELAREA^3DHIS L Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT SPM|1|2018-PAT-123456-1&L|2017-PAT-123456&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 @@ -53,5 +60,4 @@ ORC|CA|NI-2||9adf2339dc6698063e3ddf5d0167^47371996286d40019903e76ba57e49e8|||||| OBR|1|PO-2|FO-3|57698-3^Lipid panel with direct LDL - Plasma^LN||202110201200+0215|202110201200+0215|||||||||005454^LAB^ROBIN^B|||||||||S|||||||005454&ROBIN^^^LABUnit01^Room01^^GHH|||| NTE|1||Test Note for 3rd ServiceRequest|| OBX|1|NM|7ISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|80~120||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT -NTE|1||Test Note OBX1|| - +NTE|1||Test Note OBX1|| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-01.hl7 b/data/SampleData/Hl7v2/ORM-O01-01.hl7 index 954db8ce3..032fb3356 100644 --- a/data/SampleData/Hl7v2/ORM-O01-01.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-01.hl7 @@ -5,4 +5,8 @@ AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||2010201200+0215||||||||||||||O| OBR|1|||24725-4^CT Head^LN|||202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S||||^FAI-29|||005454&ROBIN^^^RADUnit01^Room01^^GHH2|||| CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 -DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +CTI|RSID1234|1^Phase_ID1^HL70396 +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-03.hl7 b/data/SampleData/Hl7v2/ORM-O01-03.hl7 index e5ad99335..36bd27639 100644 --- a/data/SampleData/Hl7v2/ORM-O01-03.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-03.hl7 @@ -4,5 +4,11 @@ PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.110 ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||1^^^202110201126+0215^^^||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201200+0215||||||||||||||O| OBR|1|||24725-4^CT Head^LN||202110201200+0215|202110201200+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201126+0215^^^|||||005454&ROBIN^^^RADUnit01^Room01^^GHH|||| DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +CTI|SSID-1^Sponser Study^1.3.6.1.4.1.44750.1.2.2^CLIP|1^Phase_ID1^HL70396| +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 ORC|NW|2203^GHHPlacer|2301^GHHFiller||SC||1^^^202110201126+0215^^^||202110201126+0215|2304^ENTER^MARY^C|3301^VERIFY^PETER^K|3850^ORDPROVIDER^JONES^A^^^|||202110201300+0215||||||||||||||O| -OBR|1|||24590-2^MR Brain^LN||202110201300+0215|202110201300+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201300+0215^^^||PAI-291^FAI-292|||005454&ROBIN^^^RADUnit02^Room02^^GHH||| \ No newline at end of file +OBR|1|||24590-2^MR Brain^LN||202110201300+0215|202110201300+0215|||||||||005454^RAD^ROBIN^B|||||||||S||1^^^202110201300+0215^^^||PAI-291^FAI-292|||005454&ROBIN^^^RADUnit02^Room02^^GHH||| +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +CTI|RSID1234|1^Phase_ID1^HL70396| +BLG||CR|AI168^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-04.hl7 b/data/SampleData/Hl7v2/ORM-O01-04.hl7 index 074e3fc55..7a02da3c4 100644 --- a/data/SampleData/Hl7v2/ORM-O01-04.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-04.hl7 @@ -3,6 +3,11 @@ PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M1 PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 ORC|NW|1101^GHHPlacer|1201^GHHFiller||SC||12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21|||2304^ENTER^MARY^C|3301^VERIFY^PETER^K|^SAWYER TOM MD^^^^^^^^L|||||||||MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY^L|307 W MCCARTY ST^^JEFFERSON CITY^MO^65101^USA^B|^WPN^PH^^1^^5555555|St-24, Greenwood^Building2|||||O| -ODS|P||P-1^Preference Code^NDC~P-2^P-code^L|Preference code - 04~Preference Code - IV +ODS|P||P-1^Preference Code^L~P-2^P-code^L|Preference code - 04~Preference Code - IV +NTE|1||CT Scan to be done urgent|| CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 -DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-05.hl7 b/data/SampleData/Hl7v2/ORM-O01-05.hl7 index e3e487dc9..9081ad2d3 100644 --- a/data/SampleData/Hl7v2/ORM-O01-05.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-05.hl7 @@ -6,4 +6,8 @@ ORC|NW|RQ101^GHHPlacer|986^IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|PGN- RQD|1|23455^Implant, Special Hip||I45323^Implant|1|EA^^ACR|||ORSUP^Supply Department|202110201030+0215| RQ1||GPC^GPC Medical Inc.||||| CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 -DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORM-O01-06.hl7 b/data/SampleData/Hl7v2/ORM-O01-06.hl7 index 3da0db1ef..8154c4939 100644 --- a/data/SampleData/Hl7v2/ORM-O01-06.hl7 +++ b/data/SampleData/Hl7v2/ORM-O01-06.hl7 @@ -2,7 +2,13 @@ PID|1|1234567^4^M11^test^MR^University Hospital^19241011^19241012|PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS|PATID567^^^test2|EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M|elbert^Son|2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|PSSN123121234|DLN-123^US^20010123|1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|||20080825111630+0115|Y|||20050110015014+0315||||||CA^Canada^ISO3166_1|89898989^WPN^Internet PV1|1|O|RADUnit01^Room01^^GHH|||TraumaCentre^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^GHH1|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||03410^ADMIT^LINDA^C||5001^^^AccMgr^VN|||||||||||||||||||||||||202110201200+0215| AL1|1|EA|P^PENICILLIN^ICDO|MI|CODE16|20210824 -ORC|NW|1163422591^EPC|||||50&lb^BID&11:30:05^S50^19240315^19240315^^^Annotation test text^^^^21~12&lb^BID&12:30:05^S50^20020315^20030315^^^Annotation text^^^^21||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +ORC|NW|1163422591^EPC|||||50&lb^BID&11:30:05^s50^19240315^19240315^^^Annotation test text^^^^21~12&lb^BID&12:30:05^s50^20020315^20030315^^^Annotation text^^^^21||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12||||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +NTE|1||CT Scan to be done urgent|| CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 -DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| \ No newline at end of file +DG1|1||S06.9^TBI(traumatic brain injury^I10|Traumatic brain injury|20200501123009+0215|F|||||||||1|005454^RAD^ROBIN^B|||20200501133015+0215|DG1002||| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +CTI|RSID1234|1^Phase_ID1^HL70396 +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/ORU-R01-01.hl7 b/data/SampleData/Hl7v2/ORU-R01-01.hl7 index 2e0b75699..bf0bf5bc7 100644 --- a/data/SampleData/Hl7v2/ORU-R01-01.hl7 +++ b/data/SampleData/Hl7v2/ORU-R01-01.hl7 @@ -1,18 +1,29 @@ MSH|^~\&|IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|IA Public Health Lab^2.16.840.1.114222.4.1.10411^ISO|IA.DOH.IDSS^2.16.840.1.114222.4.3.3.19^ISO|IA DOH^2.16.840.1.114222.4.1.3650^ISO|201203141259-0215||ORU^R01^ORU_R01|2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325|T|2.5.1|||AL|NE|USA||||PHLabReport-Ack^^2.16.840.1.113883.9.10^ISO SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854||20070725111624 PID|1||14^^^IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO||Finn^Huckleberry^^^^^L||19630815|M||2106-3^White^CDCREC^^^^04/24/2007~1002-5^American Indian or Alaska Native^CDCREC^^^^04/24/2007|721 SPRING STREET^^GRINNELL^IA^50112^USA^H|||||M^Married^HL70002^^^^2.5.1||||||H^Hispanic or Latino^HL70189^^^^2.5.1 +PRT|1|AD||AD^Admitting Provider^HL70912|112233421^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBX||RP|8867-4^heartrate^LN||https://testurl.com^^SD^PICT||||||F|||19990702||1111^^Zafar^Mahen^JR^Dr.^MD^^PERLt^B^^^BR|||||EI21obx1^OII||ABC Hospital|A city^Florida^VA^22031^USA| +PRT||AD||AD|12188^Hippocrates|PPT||Birla^L^4544^3^M10^CMS^XX^^A|OBX-PID East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 +PV1|1|P|HUH AE OMU&9.8&lp^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110|20150209113419+0110|||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PRT||AD||AD|188^John|PPT||Org-Pv1-PRT|4, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PV1-PRT-10.1^PD-10.2 ORC|NW||986^IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|PGN-04|CM|||PAI-8.1^FAI-8.2|202009101700+0215||||||201510101700+0215||||||MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY^L|307 W MCCARTY ST^^JEFFERSON CITY^MO^65101^USA^B|^WPN^PH^^1^^5555555|St-24, Greenwood^Building2|||||O^Outpatient Facility||PUSI^parent Identifier^AR +PRT||AD||AD||PPT||Birla ORC Org|ORC4, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 OBX||ED|||App5^NS^Octet-stream^Base64| +PRT||AD||AD||PPT||Birla Doc Org|Doc Ref, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-101.1^PD-10.2 TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters OBR|1|845439^GHH OE|986^IA PHIMS Stage^2.16.840.1.114222.4.3.3.5.1.2^ISO|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^Enteric Culture|R|202010101700+0215|200202150730+0215||150^lb&lb&ANSI+|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A||||200202120730+0215|SP15&1.2&L^ACDA^Collection Method^BN&223.3&L|||Placer 1|Placer 2|Filler 1|Filler 2|200203150730+0215||BLB|F||||||444^Reason for study^L^^^^MD|Harry&Raud&Geny&&Mr.&Dr.^^^Poc-32^Room-4^Bed3^Facility-3&1.2&ISO^^^Building-4^FL-2||Richa&&&&Mr.&Md.^^^Poc-34^Rm-4^Bed2^Facility-4&1.22&ISO^^^Building-3^FL-3|35&Samuel^20021111^20021112^Area23||||Collector's comment|||||||PSS-46^Placer service^L|FSS-47^Filler service^L||||||APON-53^4^M11^ORU^MR^University Hospital NTE|1|L|Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 \T\ other STECs, and Aeromonas|RE^Remark^HL70364^^^^2.5.1 NTE|1||Allergy to peanuts observed.||9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^20100115^20200115^GP|202010101600+0215| +PRT||AD||AD||PPT|||Order room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.11^PD-10.2 TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 CTD|C^Emergency Contact^HL70131|Doe^Rosallie|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^WPN^PH^^^^^^^^^(608)271-9001|O^Office Phone Number^HL70185 OBX|1|CWE|625-4^Bacteria identified in Stool by Culture^XYZ^^^^2.33^^result1|1|27268008^Salmonella^SCT^^^^^^Salmonella species|beats/min^^ISO|70-80|A^A^HL70078^^^^2.5|||P|||20120301|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|^^^^^^^^Bacterial Culture|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|201203140957|BU^Observation site^E5|EI21^OII||State Hygienic Laboratory^L^^^^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO^FI^^^16D0648109|State Hygienic Laboratory^UI Research Park -Coralville^Iowa City^IA^52242-5002^USA^B^^19103|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||Birla Observation Org|obx, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +CTI|RSID1234|1^Phase_ID1^HL70396| SPM|1|2012545^2012999999&IA PHIMS Stage&2.16.840.1.114222.4.3.3.5.1.2&ISO|PAI12^FAI12|ASERU^Serum^^FUR^^^^^Blood||STUTM^Stuart transport medium^^PHENOL^Stool^L^20|BCAE|BAP^^HL70488^^^^^^Specimen source site||||40^&lbs||This is a specimen resource|AMB^Ambient Temperature^HL70376~DRY^dry^HL70376||20110103143428-0800^20111103143428-0800|20120301||Y||||AUT^Autolyzed^HL70493^CLOT~HEM|||T-container^ContainerType^ABC|||AI-30^^^IA PHIMS Stage&2.16.840.1.114222&ISO^PI^IA Public Health Lab&2.16.840.1.114222.4.1.10411&ISO|OSI-31^^^IPHIMS Stage&426d2726-51fc-89fe-a946-8596e80a80eb&GUID^PI^PH Lab&16.840.1.114222.4.1.10411&UUID|ShipID-32^Shipment^1.3.6.1.4.1.44750.1.2.2^CLIP OBX|1|RP|1063-7^Serum or Plasma^XYZ^^^^2.33^^result1|1|https://testurl.com^^image^PICT||||||O -OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I \ No newline at end of file +OBX|2|NM|8867-4^Bacteria identified^LN^^^^2.33^^result1|1|27~25||||||I +PRT||AD||AD|142^SPM|PPT||Specimen Organization|SPM, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R22-01.hl7 b/data/SampleData/Hl7v2/OUL-R22-01.hl7 index 4ae23878c..351e2f3ed 100644 --- a/data/SampleData/Hl7v2/OUL-R22-01.hl7 +++ b/data/SampleData/Hl7v2/OUL-R22-01.hl7 @@ -1,15 +1,22 @@ MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R22^OUL_R22|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|PD-10.1^PD-10.2|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 PV1|1|O|^^^BMGPED||||dszczepaniak +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||||25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 18^Test^XYZ| OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBX||ED|||App5^NS^Octet-stream^Base64| +PRT||AD||AD||PPT||Birla Doc Org|Doc Ref, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-101.1^PD-10.2 TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 @@ -17,4 +24,5 @@ OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseC OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||CO||CP|432^Jartckson|PPT||Mayo12 Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R23-01.hl7 b/data/SampleData/Hl7v2/OUL-R23-01.hl7 index 2eb67910b..a0bc06ce4 100644 --- a/data/SampleData/Hl7v2/OUL-R23-01.hl7 +++ b/data/SampleData/Hl7v2/OUL-R23-01.hl7 @@ -1,15 +1,22 @@ MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R23^OUL_R23|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBX|27|NM|8867-4^heartrate^LN||80|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 OBX|27|CWE|8867-4^heartrate^LN||60~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||50|25|25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM||||||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBX||ED|||App5^NS^Octet-stream^Base64| +PRT||AD||AD||PPT||Birla Doc Org|Doc Ref, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-101.1^PD-10.2 TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 @@ -17,4 +24,5 @@ OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseC OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||CO||CP|432^Jartckson|PPT||Mayo12 Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/OUL-R24-01.hl7 b/data/SampleData/Hl7v2/OUL-R24-01.hl7 index db0db137b..953ee1b53 100644 --- a/data/SampleData/Hl7v2/OUL-R24-01.hl7 +++ b/data/SampleData/Hl7v2/OUL-R24-01.hl7 @@ -1,20 +1,28 @@ MSH|^~\&|CASECENTER|CASECENTER FACILITY|IHEPALM||20190311101633+0100||OUL^R24^OUL_R24|1932|P|2.8|||NE|AL||UNICODE UTF-8|||LAB29^IHE SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||00000-0000000|000000|AAAAAAAA^AAAAAA^A||20190411101633+0215|M||U|00000 A AA AA AAA^^AAAAAA^AA^00000 ||(700)000-0000^^PH|||S|||000-00-0000 -OBX|27|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +OBX|27|NM|8867-4^heartrate^LN|||beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|Internal Medicine^^^UH Hospitals^^D^Briones Bone^3b^||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO ORC|SC|||9adf2339de714c6698063e3ddf5d0167&L^47371996286d40019903e76ba57e49e8&L|CM|||PAI-8.1^FAI-8.2|||||||||||||Pathology Dep.^D^^^^&dcb587e4ec7f4fbdbe7846f604c70c47&UUID||||||||||PU_31 +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| OBX||ED|||App5^NS^Octet-stream^Base64| +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| TXA|1|DIS||201011101818+0215|John Smith|201011030000+0215||201011031346+0215|Chris Rock|Emma Watson||018840|1307506^test|||54302-DEX|AU|R|AV|||||radiology report|string ofCharacters NTE|1||Submission of serum||MLEE^ATTEND^AARON^A^^^MD|202010101600+0215| TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^ACM^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 SPM|1|2017-PAT-123456-1&L|2017-PAT-123456&L~2017-PAT&L~2017&L|SKBP^Biopsy, Skin^HL70487|||||||P^Patient specimen^HL70369 OBX|7|CWE|8867-4^heartrate^LN||80~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||Birla Doc Org|Doc Ref, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|PD-101.1^PD-10.2 SAC||2017-PAT-123456^L|2017-PAT-123456-1-2-5|2017-PAT-123456-1-A^L INV|SI1234^Substance_ID^HL70451|OK^OK Status^HL70383|RC^Reagent Calibrator^HL70384|CONT1234^Container_ID^LabID|||||25||ML^Mili Litre^UCUM|20210131||||TST_ID12|MFG_Lot 12|SUPL_ID 34| OBX|1|RP|3DHISTECH_SLD^3DHISTECH Digital Slide^L|1^1^1|http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView\T\ContainerID=0\T\SlideID=40bcbe96bcbf8cda8b07403263b92cb4^^IM^MRXS||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||40bcbe96bcbf8cda8b07403263b92cb4^3DHISTECH_SLDID||||||||RSLT OBX|2|ED|3DHISTECH_THUMBNAIL^3DHISTECH Thumbnail Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|3|ED|3DHISTECH_LABELAREA^3DHISTECH Label Area Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT OBX|4|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +PRT||CO||CP|432^Jartckson|PPT||Mayo12 Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| CTI|RSID1234|1^Phase_ID1^HL70396 \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDE-O11-01.hl7 b/data/SampleData/Hl7v2/RDE-O11-01.hl7 index 9796c755c..53da3b406 100644 --- a/data/SampleData/Hl7v2/RDE-O11-01.hl7 +++ b/data/SampleData/Hl7v2/RDE-O11-01.hl7 @@ -2,18 +2,28 @@ MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFac SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5||20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| RXR|IV^IV Infusion RXC|A|0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|3|BG^Bag^L|5|mg/hr^mg/hr||4|mg/hr^mg/hr RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE CDO|1|A|100^mg|^PL +OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||Healthcare Centre|Lane 4^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 +CTI|RSID1234|1^Phase_ID1^HL70396| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDE-O11-02.hl7 b/data/SampleData/Hl7v2/RDE-O11-02.hl7 index aa9f47136..0ed465c0e 100644 --- a/data/SampleData/Hl7v2/RDE-O11-02.hl7 +++ b/data/SampleData/Hl7v2/RDE-O11-02.hl7 @@ -15,10 +15,16 @@ RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^N TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^test&falcon.iupui.edu&DNS^MR^UV Hospital|02 +CTI|RSID1234|1^Phase_ID1^HL70396| ORC|NW|1422591^EPC|||||||20221104062726+0215|||||||||ACMS004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1552^Mr. Yardy||FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I TQ1|1|4^&caps|P&Post (after)&HL70335^^^^60^min^^PCM^120^s|11:30:05|3^Hr|17^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXO|01220200105^250 mg capsule^GPI^00047040230^Ampicillin 250 mg caps^NDC|5||caps^capsule|D-5^Dosage Form^L|^Remind the patient to schedule follow up appointment|^1 tablet by oral route 3 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^X|Maryland Heights^Keysville|||8765935243^^PH RXR|IO^Intraocular|HAND^INHAND|IVP^IV PUSH TEST||| RXE||2669^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|8||53^mg/hr|128^Dosage^L|Titrate to BP less than 180|||4|bg^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH TQ1|2|2.5^&cap|P&Post (after)&HL70335^^^^160^min^^PCM^180^s|11:45:05|4.5^Hr|18^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 -RXR|IP^Intraperitoneal|TESTI^Testicle(Testis)|IVP^IV PUSH||| \ No newline at end of file +RXR|IP^Intraperitoneal|TESTI^Testicle(Testis)|IVP^IV PUSH||| +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +BLG|CR||AI168^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital| +CTI|SSID-1^Sponser Study^1.3.6.1.4.1.44750.1.2.2^CLIP|1^Phase_ID1^HL70396| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDE-O25-01.hl7 b/data/SampleData/Hl7v2/RDE-O25-01.hl7 index 303e14d12..a0fe45946 100644 --- a/data/SampleData/Hl7v2/RDE-O25-01.hl7 +++ b/data/SampleData/Hl7v2/RDE-O25-01.hl7 @@ -2,19 +2,28 @@ MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFac SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| TQ1|1||TID|||3^D&day&ISO+|||R^Routine^HL70485||Its a condition text| RXO|00047040230^Ampicillin 250 mg caps^NDC|2||caps^capsule|DF-5^Dosage Form^L|^Remind the patient toschedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^|Maryland Heights^Keysville|||8765935243^^PH +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| RXR|IV^IV Infusion RXC|A|0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|3|BG^Bag^L|5|mg/hr^mg/hr||4|mg/hr^mg/hr RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|5||43^mg/hr|128^Dosage form^L|Titrate to BP less than 180~Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective.~Nicardipine is light sensitivie. Store in carton/overwrap until ready to use.|||3|BG^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE CDO|1|A|100^mg|^M - +OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||Healthcare Centre|Lane 4^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 +CTI|RSID1234|1^Phase_ID1^HL70396| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDE-O25-02.hl7 b/data/SampleData/Hl7v2/RDE-O25-02.hl7 index a4689b729..ca00bda3a 100644 --- a/data/SampleData/Hl7v2/RDE-O25-02.hl7 +++ b/data/SampleData/Hl7v2/RDE-O25-02.hl7 @@ -15,10 +15,16 @@ RXE||0143963401^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^N TQ1|1|2^&cp|P&Post (after)&HL70335^^^^180^min^^PCM^360^s|113005|3^Hr|17^Hr&ucum|20191104103000+0215|20191104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXR|IV^Intravenous|HAND^HAND|IVP^IV PUSH||| RXC|A|0143963401^200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC|4|BG^Bag|5|mg/hr^mg/hr|^CARDENE +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^544^3^M10^CMS^XX|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT +BLG||CR|AI167^4^M11^test&falcon.iupui.edu&DNS^MR^UV Hospital|02 +CTI|RSID1234|1^Phase_ID1^HL70396| ORC|NW|1422591^EPC|||||||20221104062726+0215|||||||||ACMS004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1552^Mr. Yardy||FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I TQ1|1|4^&caps|P&Post (after)&HL70335^^^^60^min^^PCM^120^s|11:30:05|3^Hr|17^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 RXO|01220200105^250 mg capsule^GPI^00047040230^Ampicillin 250 mg caps^NDC|5||caps^capsule|D-5^Dosage Form^L|^Remind the patient to schedule follow up appointment|^1 tablet by oral route 3 times daily.||G||10|caps^capsule|12|OP-14^Jane^Warn|||||1|mg|25|$|2^&cap|||||5||||Health Care Dispense Pharmacy^Dispense^X|Maryland Heights^Keysville|||8765935243^^PH RXR|IO^Intraocular|HAND^INHAND|IVP^IV PUSH TEST||| RXE||2669^200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK^NDC^^^^^^niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)|8||53^mg/hr|128^Dosage^L|Titrate to BP less than 180|||4|bg^Bag|12|^TEST ONE^KEITH^BELL^||PN15||||19||||23|mL/hr^mL/hr|0.2|3^mg|||||||||||||39|LF_CPM^LFH CPM CAROUSEL PHARMACY^L|Filbert Street^Oaks Drive||||8256487985^^PH TQ1|2|2.5^&cap|P&Post (after)&HL70335^^^^160^min^^PCM^180^s|11:45:05|4.5^Hr|18^Hr&ucum|20221104103000+0215|20221104113000+0215|S|Its a condition text|Text instruction latest||1^ann|2 -RXR|IP^Intraperitoneal|Test^HAND|IVP^IV PUSH||| \ No newline at end of file +RXR|IP^Intraperitoneal|Test^HAND|IVP^IV PUSH||| +FT1|2|||20191122|20191122|CG|626.2|||1|120&USD||||||||29857009^Chest pain^SCT|^^^|^^^||||99011^first op visit +BLG||CR|AI168^4^M11^&falcon.iupui.edu&DNS^MR^UV Hospital|02 +CTI|SSID-1^Sponser Study^1.3.6.1.4.1.44750.1.2.2^CLIP|1^Phase_ID1^HL70396| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/RDS-O13-01.hl7 b/data/SampleData/Hl7v2/RDS-O13-01.hl7 index d027948a3..ea9f04442 100644 --- a/data/SampleData/Hl7v2/RDS-O13-01.hl7 +++ b/data/SampleData/Hl7v2/RDS-O13-01.hl7 @@ -2,18 +2,27 @@ MSH|^~\&|IMMAPP|GHHSFacility^2.16.840.1.122848.1.30^ISO|EHRApp^1.Edu^ISO|GHHRFac SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 PID|1||PATID1234^5^M11^test1&2.16.1&HCD^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm~Josh&&&&Bing^^stanley^^^^L^^^^^19241010^19241015|SMITH^Angela^L|198808181126+0215|M||2106-3^White^HL70005~2028-9^Asian^HL70005|1000&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^^^^^^^^Near Highway|GL|78788788^^CP^5555^^^1111^^^^^2222^20010110^20020110^^^^18~12121212^^CP|7777^^CP~1111^^TDD|ara^^HL70296^eng^English-us^HL70296^v2^v2.1^TextInEnglish|M^Married|AME|4000776^^^AccMgr&1.3.6.1.4.1.44750.1.2.2&ISO^VN^1^19241011^19241012|||1212121^^^NTH&rt23&HCD^AND^^19241011^19241012|H^HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|2|US^United States of America^ISO3166_1|Vet123^retired^ART||20080825111630+0115|Y|||20050110015014+0315||125097000^Goat^SCT|4880003^Beagle^SCT|||CA^Canada^ISO3166_1|89898989^WPN^Internet PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|||||||||||Methodist Church|||20150202 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| PV1|1|I|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406||Eastlane&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| ORC|NW|1163422591^EPC|||||||20191104062726+0215|||||||||ACMSE004^ACMSE004^^20420001^RMG PRIMARY CARE 2001 WIESBROOK RD (WHEATON)|1542^Mr. Yardy||LAKE FOREST HOSPITAL IP|1000 N WESTMORELAND RD^^LAKE FOREST^IL^60045-1659^|(847)234-5600^WPN^PH|P1 TESTING ONLY^^^^^|||||I +PRT||AD||AD||PPT||N Memorial|Maryland street^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||Its a condition text| RXO|01151327^Doxycycline^NDC|1|2|385055001^Tablet^SCT||^Remind the patient to schedule follow up appointment with the provider.|^1 tablet by oral route 2 times daily.||G||6|385055001^Tablet^SCT|1|OP-14^Jane^Warn||||150|mg^mg||||2^tab&tab|||||||||Health Care Dispense Pharmacy|Maryland Heights^Keysville|||8765935243^^PH +PRT||CO||CP|58^Jackson|PPT||Mayo Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| RXR|IV^Intravenous RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y RXE||01151327^Doxycycline^NDC|1||385055001^Tablet^SCT||^1 tablet by oral route 2 times daily.||G|6|385055001^Tablet^SCT|1|||PN12345|1|||19||||||||3355||||5737Y|||||||||||| +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO TQ1|1||TID|||3^D&day&ISO|||R^Routine^HL70485||| RXR|PO^oral^HL70162 RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y RXD|1|01151327^Doxycycline^NDC|20201212|10|385055001^Tablet^SCT|385055001^Tablet^SCT|PN12345||After Food|9941339108^Smith&Mr.&Smith^Adam^Mellie^Jr^Dr^MD^^NPIID&2.16.840.1.113883.4.6&ISO^L^^^NPI^^^^^^201001151600+0215^202001151600+0215^GP||1^385055001&Tablet&SCT|||||||||||||418739006^Doxycycline 150 mg oral tablet^SCT|||||UNITY^Unity^L|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US||R^Refill - Full Fill^HL70484||RFID12345 +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO RXR|PO^oral^HL70162 RXC|A|01151327^Doxycycline^NDC|1|385055001^Tablet^SCT|||5737Y CDO|1|A|100^mg|^O +OBX|27|CWE|8867-4^heartrate^LN||160~120|beats/min^^ISO|100-120|A^A^HL7nnnn~B^B|||S|||19990802|Org-15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT||AD||AD||PPT||Healthcare Centre|Lane 4^136^B^CommunityHospital^^N^^^|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO +FT1|1|12345||20191122|20191122|CG|71045^Xray exam chest 1 view^C4|||2|100&USD|50&USD|RAD-1^Radiology Deptt^L|||||SE|29857009^Chest pain^SCT~68235000^Nasal congestion^SCT|9941339108^Smith^Adam^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI||||9941339116^Mellie^John^^^^^^&2.16.840.1.113883.4.6&ISO^^^^NPI|71045^Xray exam chest 1 view^C4|26|||0182-1061-05^ASPIRIN EC^NDC|||Good Health Hospital^L^4544^3^M10^CMS^XX^^A|GOOD HEALTH HOSPITAL^^^^^&2.16.840.1.113883.2.4.6.1&ISO^^^^123456789|Item-12345^^L|Model-12345|||||||PN-12345|5^385049006&Capsule&SCT diff --git a/data/SampleData/Hl7v2/REF-I12-01.hl7 b/data/SampleData/Hl7v2/REF-I12-01.hl7 new file mode 100644 index 000000000..eb6525e13 --- /dev/null +++ b/data/SampleData/Hl7v2/REF-I12-01.hl7 @@ -0,0 +1,24 @@ +MSH|^~\&|GHH|GHHSFacility^2.16.840.1.122848.1.30^ISO|RHH|RHHFacility^2.16.840.1.1122848.1.32^ISO|202201251620+0000|SECURITY|REF^I12^REF_I12|MSG00112|P|2.8|||||USA||en-US|||22 GHH Inc.|23 RHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +RF1|P^Pending^HL70283|R^Routine^HL70280|Med^Medical^HL70281||O^Outpatient^HL70284|226839^EPIC|20220125|20220210|20220125|O^Provider Ordered^HL70336|11001^EXTID||||||||Radiant Health Hospital|12131^McWilliams^Paul^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Radiant Health Hospital.Community Health and Hospitals&L^A||||Referral to Specialist|X| +AUT|PPO|HC02|HIIC(MI State Code)|20220110|20220310|HL71001111111111|175|1|1|20220310||||||||||||||||||comment|X| +PRD|RP^Referring Provider^HL70286|POWELL^ROBERT^^^DR^MD|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999|^^^GENERAL FACILITY^^^^^GHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-1234||PLN1001^SL^^20240112|20200112|20240112|GOOD HEALTH HOSPITAL|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(626)555-7889| +PRD|RT^Referred to Provider^HL70286|McWILLIAMS^PAUL^^^DR^MD|2000 PARK AVENUE^^ANN ARBOR^MI^99999|^^^GI FACILITY^^^^^RHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-5678||PLN5010^SL^^20241012|20201012|20241012|RADIANT HEALTH HOSPITAL|555 HEALTHCARE AVENUE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(426)545-9881| +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +DG1|1||K63.3^Ulcer of Intestine^I10|Ulcer of Intestine|20220101123009+0000|F|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0000|DG1002|X|DG1001| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0000|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||K63.3^Ulcer of Intestine^I10||||PR1006||||OT^201||PR1001| +AUT|PPO|HC03|HIIC(MI State Code)|20220110|20220210|HL72001111111111|200|1|1|20220210||||||||||||||||||comment|X| +OBR|1|||22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||202201201200+0215|202201201200+0215|||||||||005454^PATH^MARK^B|||||||||S||1^^^202201201126+0215^^^|||||005454&MARK^^^LABUnit02^Room02^^GHH|||| +NTE|||Lab Test for Ulcer || +OBX|1|ST|22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||Positive|||A^A^HL70078|2.5||F|||20220120|||||20220120||||FairOaks Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +PRT|1|AD||AD^Admitting Provider^HL70912|112233421^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +NTE|||Test Positive.Infection indicates presence of ulcer|| +PV1|1|I|SPROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0000| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||789.09^Abdominal pain other specified site^I9C||||||||||005454^REFSRC^ROBIN^B||| +NTE|||Lab test|| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/REF-I12-02.hl7 b/data/SampleData/Hl7v2/REF-I12-02.hl7 new file mode 100644 index 000000000..dcbb23326 --- /dev/null +++ b/data/SampleData/Hl7v2/REF-I12-02.hl7 @@ -0,0 +1,28 @@ +MSH|^~\&|GHH|GHHSFacility^2.16.840.1.122848.1.30^ISO|RHH|RHHFacility^2.16.840.1.1122848.1.32^ISO|202201251620+0215|SECURITY|REF^I12^REF_I12|MSG00012|P|2.8|||||USA||en-US|||22 GHH Inc.|23 RHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +RF1|P^Pending^HL70283|R^Routine^HL70280|Med^Medical^HL70281||O^Outpatient^HL70284|226839^EPIC|20220125|20220210|20220125|O^Provider Ordered^HL70336|11001^EXTID||||||||Radiant Health Hospital|12131^McWilliams^Paul^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Radiant Health Hospital.Community Health and Hospitals&L^A||||Referral to Specialist|X| +AUT|PPO|HC02|HIIC(MI State Code)|20220110|20220310|HL71001111111111|175|1|1|20220310||||||||||||||||||comment|X| +PRD|RP^Referring Provider^HL70286|POWELL^ROBERT^^^DR^MD|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999|^^^GENERAL FACILITY^^^^^GHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-1234||PLN1001^SL^^20240112|20200112|20240112|GOOD HEALTH HOSPITAL|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(626)555-7889| +PRD|RT^Referred to Provider^HL70286|McWILLIAMS^PAUL^^^DR^MD|2000 PARK AVENUE^^ANN ARBOR^MI^99999|^^^GI FACILITY^^^^^RHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-5678||PLN5010^SL^^20241012|20201012|20241012|RADIANT HEALTH HOSPITAL|555 HEALTHCARE AVENUE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(426)545-9881| +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +DG1|1||K63.3^Ulcer of Intestine^I10|Ulcer of Intestine|20220101123009+0000|F|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0000|DG1002|X|DG1001| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0000|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||K63.3^Ulcer of Intestine^I10||||PR1006||||OT^201||PR1001| +AUT|PPO|HC03|HIIC(MI State Code)|20220110|20220210|HL72001111111111|200|1|1|20220210||||||||||||||||||comment|X| +OBR|1|||22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||202201201200+0215|202201201200+0215|||||||||005454^PATH^MARK^B|||||||||S||1^^^202201201126+0215^^^|||||005454&MARK^^^LABUnit02^Room02^^GHH|||| +NTE|||Lab Test for Ulcer || +OBX|1|ST|22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||Positive|||A^A^HL70078|2.5||F|||20220120|||||20220120||||FairOaks Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +OBX|1|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +NTE|||Test Positive.Infection indicates presence of ulcer|| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +NTE|||Lab Test for ECG || +OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|||Fluctuation in pulserate|| +PV1|1|I|SPROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0000| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||789.09^Abdominal pain other specified site^I9C||||||||||005454^REFSRC^ROBIN^B||| +NTE|||Lab test|| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/REF-I14-01.hl7 b/data/SampleData/Hl7v2/REF-I14-01.hl7 new file mode 100644 index 000000000..57cf04ad2 --- /dev/null +++ b/data/SampleData/Hl7v2/REF-I14-01.hl7 @@ -0,0 +1,23 @@ +MSH|^~\&|GHH|GHHSFacility^2.16.840.1.122848.1.30^ISO|RHH|RHHFacility^2.16.840.1.1122848.1.32^ISO|202201251620+0000|SECURITY|REF^I14^REF_I14|MSG00112|P|2.8|||||USA||en-US|||22 GHH Inc.|23 RHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion|2.4.3.52854|Rhapsody|2.4.3|Testactivity|20070725111624 +RF1|P^Pending^HL70283|R^Routine^HL70280|Med^Medical^HL70281||O^Outpatient^HL70284|226839^EPIC|20220125|20220210|20220125|O^Provider Ordered^HL70336|11001^EXTID||||||||Radiant Health Hospital|12131^McWilliams^Paul^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Radiant Health Hospital.Community Health and Hospitals&L^A||||Referral to Specialist|X| +AUT|PPO|HC02|HIIC(MI State Code)|20220110|20220310|HL71001111111111|175|1|1|20220310||||||||||||||||||comment|X| +PRD|RP^Referring Provider^HL70286|POWELL^ROBERT^^^DR^MD|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999|^^^GENERAL FACILITY^^^^^GHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-1234||PLN1001^SL^^20240112|20200112|20240112|GOOD HEALTH HOSPITAL|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(626)555-7889| +PRD|RT^Referred to Provider^HL70286|McWILLIAMS^PAUL^^^DR^MD|2000 PARK AVENUE^^ANN ARBOR^MI^99999|^^^GI FACILITY^^^^^RHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-5678||PLN5010^SL^^20241012|20201012|20241012|RADIANT HEALTH HOSPITAL|555 HEALTHCARE AVENUE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(426)545-9881| +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||Y|N|10535^Goldbergn&van^Ludwig^A^III^Dr^PHD^^&MPI.Community Health and Hospitals&L^L^3^M10^MR^& Good Health Hospital.Community Health and Hospitals&L^A|vehicle acident||Y|Route 50&Fairfax^VA^^^20324||5348 +DG1|1||K63.3^Ulcer of Intestine^I10|Ulcer of Intestine|20220101123009+0000|F|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0000|DG1002|X|DG1001| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0000|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||K63.3^Ulcer of Intestine^I10||||PR1006||||OT^201||PR1001| +AUT|PPO|HC03|HIIC(MI State Code)|20220110|20220210|HL72001111111111|200|1|1|20220210||||||||||||||||||comment|X| +OBR|1|||22310-7^Helicobacter pylori Ab[Presence] in Serum1^LN||202201201200+0215|202201201200+0215|||||||||005454^PATH^MARK^B|||||||||S||1^^^202201201126+0215^^^|||||005454&MARK^^^LABUnit02^Room02^^GHH|||| +NTE|||Lab Test for Ulcer1 || +OBX|1|ST|22311-7^Helicobacter pylori Ab[Presence] in Serum^LN||Positive|||A^A^HL70078|2.5||F|||20220120|||||20220120||||FairOaks Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +PRT|1|AD||AD^Admitting Provider^HL70912|||1^Hospital^HL70406|Good Health Hospital^L^4544^3^M10^CMS^XX^^A|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| +PV1|1|I|SPROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0000| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||789.09^Abdominal pain other specified site^I9C||||||||||005454^REFSRC^ROBIN^B||| +NTE|||Lab test|| \ No newline at end of file diff --git a/data/SampleData/Hl7v2/REF-I14-02.hl7 b/data/SampleData/Hl7v2/REF-I14-02.hl7 new file mode 100644 index 000000000..663629c8b --- /dev/null +++ b/data/SampleData/Hl7v2/REF-I14-02.hl7 @@ -0,0 +1,28 @@ +MSH|^~\&|GHH|GHHSFacility^2.16.840.1.122848.1.30^ISO|RHH|RHHFacility^2.16.840.1.1122848.1.32^ISO|202101151620+0215|SECURITY|REF^I14^REF_I12|MSG00014|P|2.8|||||USA||en-US|||22 GHH Inc.|23 RHH Inc.|24GHH^2.16.840.1.114884.10.20^ISO|25GHH^2.16.840.1.114884.10.23^ISO +SFT|Orion Health^L|2.4.3.52854|Rhapsody|2.4.3.52854|RAP234 Text| +RF1|C^Cancelled^Local|R^Routine^HL70280|Med^Medical^HL70281||I^Inpatient^HL70284|226839^EPIC|20220125|20220210|20220125|O^Provider Ordered^HL70336|11001^EXTID||||||||Radiant Health Hospital|12131^McWilliams^Paul^H^IV^Dr^MD^^&Provider Master.Community Health and Hospitals&L^L^9^M10^DN^&Radiant Health Hospital.Community Health and Hospitals&L^A||||Referral to Specialist|X| +AUT|PPO|HC02|HIIC(MI State Code)|20220110|20220310|HL71001111111111|175|1|1|20220310||||||||||||||||||comment|X| +PRD|RP^Referring Provider^HL70286|POWELL^ROBERT^^^DR^MD|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999|^^^GENERAL FACILITY^^^^^GHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-1234||PLN1001^SL^^20240112|20200112|20240112|GOOD HEALTH HOSPITAL|1031 HEALTHCARE DRIVE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(626)555-7889| +PRD|RT^Referred to Provider^HL70286|McWILLIAMS^PAUL^^^DR^MD|2000 PARK AVENUE^^ANN ARBOR^MI^99999|^^^GI FACILITY^^^^^RHH MEDICAL CENTER|^WPN^PH^^^^^^^^^(626)555-5678||PLN5010^SL^^20241012|20201012|20241012|RADIANT HEALTH HOSPITAL|555 HEALTHCARE AVENUE^^ANN ARBOR^MI^99999||^WPN^PH^^^^^^^^^(426)545-9881| +PID|1||PATID1234^5^M11^ADT1^GOOD HEALTH HOSPITAL~123456789^^^^^USSSA^||EVERYMAN^ADAM^A^III|Davis|19610615|M|SMITH^JOHN|2106-3^WHITE^HL7000|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L||^PRN^PH^^^270^6009800||EN^ENGLISH^HL70296|M|BAP^Christian: Baptist^HL70006|PACCT110|220917255|DL^T05349638||N^NOT HISPANIC OR LATINO^HL70189|St. Francis Community Hospital of Lower South Side|N|1|US^United States of America^ISO3166_1||||N|||20210110015014+0315|||||||89898989^WPN^Internet +NK1|1|DOE^MARY|MTH^MOTHER^HL70063|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010|(555) 555-2004^^PH|(555)555-2005^^PH||20210101|20210201||||Bull Run Family Practice||F|||||||||||||||Smith^John^L|5426387999^^PH|115 MAINSTREET^^GOODTOWN^KY^42010^USA^L^010||||||||5493275904^^PH|5492308914^^PH| +GT1|1|1516|RADIANT^LUCY^^||1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|(608)251-7777^^PH^^^|(608)2517777^^PH|20010412|F|P/F|MOT|2245367687|20160101|||EHS GENERIC EMPLOYER|1979 MILKYWAY^^VERONA^WI^53593^US|(608)271-9000^^^^^608^2719000|19290207|1||N|||| +IN1|1|BAV^Blue Advantage HMO|Org-12345^^^&2.16.840.1.113883.1.1&ISO^NIIP|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Roger^Dann|(555)555-5555^^PH|Grp-12345|BCBS HMO|Tel-12345^^^&2.16.840.1.113883.1.2&ISO^EN|Telstra|19981101|||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||548851236L|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI||||||A +IN2|EI-12345^^^&2.16.840.1.113883.1.4&ISO^EI|425-57-9745|||I^Insurance company|Medicare-12345||||MI-12345||||||||||||||||||||||||en^English|||||||||||||||Richard^Paul|(555)555-1234^^PH|||||||||||MB-12345^^^&2.16.840.1.113883.1.5&ISO^MB||(555)123-1234^^PH|(555)123-5678^^PH||||||||02^Spouse +ACC|20140317||Route 50 intersection||534249|7878000|Dr Goldberg|vehicle accident||546930|Route 50^Fairfax^VA^20324||5348 +DG1|1||K63.3^Ulcer of Intestine^I10|Ulcer of Intestine|20220101123009+0000|F|||||||||1|005454^DIAG^ROBIN^B|||20200501133015+0000|DG1002|X|DG1001| +AL1||DA^DrugAllergy^HL7127|XYZallergen|MI^Mild^Hl7128|moderate|20210121| +PR1|1||76164006^Biopsy of colon (procedure)^SCT|Biopsy of colon, which was part of colonoscopy|20210907112233+0000|D^Diagnostic Procedure^HL70230||1210^ANES^MARK^B|||2210^SURGEON^ROBERT^M||||K63.3^Ulcer of Intestine^I10||||PR1006||||OT^201||PR1001| +AUT|PPO|HC03|HIIC(MI State Code)|20220110|20220210|HL71001111111111|200|1|1|20220210||||||||||||||||||comment|X| +OBR|1|||22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||202201201200+0215|202201201200+0215|||||||||005454^PATH^MARK^B|||||||||S||1^^^202201201126+0215^^^|||||005454&MARK^^^LABUnit02^Room02^^GHH|||| +NTE|||Lab Test for Ulcer || +OBX|1|ST|22310-7^Helicobacter pylori Ab[Presence] in Serum^LN||Positive|||A^A^HL70078|2.5||F|||20220120|||||20220120||||FairOaks Hospital||Research Park^Fairfax^VA^22031^USA|Atchinson^Christopher +OBX|1|ED|3DHISTECH_PREVIEWCAM^3DHISTECH Preview Camera Image^L^S_IMAGE^Supplemental Image^IHELAW|1^1^1|^IM^JPEG^Base64^VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=||||||F|||||||Unknown^3DHISTECH~Unknown^3DHISTECH|20190311101611||||||||||RSLT +NTE|||Test Positive.Infection indicates presence of ulcer|| +OBR||5ca95f51971d414bbcb4be9ca88e9846^L|40bcbe96bcbf8cda8b07403263b92cb4|SCAN^Scan Slide^3DHISTECH|||||||||||||||||||||||||||||||||||||||||||||RE +NTE|||Lab Test for ECG || +OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-89fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +NTE|||Fluctuation in pulserate|| +PV1|1|I|SPROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^|||WAITINGROOM^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^^FACILITY1^^^BUILDING1^FLOOR0^^^|0210^ATTEND^AARON^A|0310^REFER^LINDA^C|||||||||||5001^^^AccMgr^VN|||||||||||||||||||||||||20210115160010+0000| +PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||789.09^Abdominal pain other specified site^I9C||||||||||005454^REFSRC^ROBIN^B||| +NTE|||Laboratoy test|| diff --git a/data/SampleData/Hl7v2/VXU-V04-01.hl7 b/data/SampleData/Hl7v2/VXU-V04-01.hl7 index d5433ea31..3c12c3f69 100644 --- a/data/SampleData/Hl7v2/VXU-V04-01.hl7 +++ b/data/SampleData/Hl7v2/VXU-V04-01.hl7 @@ -5,16 +5,19 @@ PD1|S^^ACR||LINDAS TEST ORGANIZATION^^SIISCLIENT818|88^Hippo^rold^H^V^Dr^MD^^TE^ NK1|1|Evan&&&&Aniston^ADAM^A^III^Dr.^MD^D|EMC^test^ACR^CHD^^^9.0^10.0|2222&HOME&STREET^Highway^GREENSBORO^NC^27401-1020^US^BI^^jkdha&test^^^^20000110^20050111~111&Duck ST^^Fowl|78788788^WPN^Internet^5555^^^^^^^^^20010110^20020110^^^^18~121111^PRN^CP|88888888^PRN^CP^5555^^^^^^^^878777^20010110^20020110^^^^18~6666666^^BP|O|20210818|20211218|||12345567^4^M11^T1&2.16.840.1.113883.19&HCD^MR^University Hospital^19241011^19241012|TestOrg^^O12^^^^EI^^^Org12||F^^^M|19620110045504||||ara||||||||||Green^John^A^II^DR^MD^D^^^19241012^G~Josh&&&&Bing^^stanley^^^^L|898989898^^FX~88888888^^CP|Street1&Palkstreet~ST-2|I-123^^^^BA~I-222^^^^DI||2106-3^test^FDDC||Security no-23|||1515151515^WPN^CP^555544^^^^^^^^777^20010110^20020110^^^^1|444444^^CP PV1|1|P|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|E|1234567^4^M11^t&2.16.840.1.113883.19&HCD^ANON^University Hospital^19241011^19241012|4 East, room 136, bed B 4E^136^B^CommunityHospital^^N^^^|1122334^Alaz^Mohammed^Mahi^JR^Dr.^MD^^PERSONNELt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al|C006^Woolfson^Kathleen^^^Dr^^^TEST&23.2&HCD^MSK^^^BA|C008^Condoc^leen^^^Dr^^^&1.3.6.1.4.1.44750.1.2.2&ISO^NAV^^^BR|SUR|||R|NHS Provider-General (inc.A\T\E-this Hosp)||VIP^Very Important Person^L^IMP^^DCM^v1.1^v1.2^Inportant Person|37^DISNEY^WALT^^^^^^AccMgr^^^^ANC|Inpatient|40007716^^^AccMng&1.2&HCD^AM|||||||||||||||||Admitted as Inpatient^Sample^ACR|22&Homes&FDK|Vegan^Vegetarian|HOMERTON UNIVER||Active|POC^Room-2^Bed-103^^^C^Greenland|Nursing home^^^^^^Rosewood|20150208113419+0110||||||50^^^T123&1.3.6.1.4.1.44750.1.2.2&ISO^MR||Othhel^^^^^^^^testing&&HCD||EOC124^5^M11^Etest&2.16.1&HCD^MR^CommunityHospital PV2|^ROOM1&2.16.840.1.113883.4.642.1.1108&ISO^BED1^FACILITY1^^^BUILDING1^FLOOR1^^^||140004^Chronic pharyngitis^SCT||||||||2|Health Checkup|12188^Hippocrates^Harold^H^IV^Dr^MD^^TE&Provider Master.Community Health and Hospitals&DNS^^^M10^DN^^|||||||||N|||2^^^3^^^V1.2^V1.3|||||||||||||C -GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|F|P/F|SEL|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3|Jupiter Hospital|N|SLF|20000725111420|N||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany +GT1|1|1516^4^M11^test^MR^Unity Hospital^19241011^19241012|RADIANT^LUCY^^|Rebecca^Jonas|1619 SOUTH UNIVERSITY^^MADISON^WI^53703^US|6082517777^^Internet^8484~717171^^PH|021212^^MD|20010412|M|P/F|BRO|G-SSN-12|20010410|20010415|2|EHS GENERIC EMPLOYER|1979 MILKY WAY^^VERONA^WI^53593^US|082719000^^PH|55121^^^^FI|3||N|SLF|20080825111630+0115|Y||||1231^^^^BC|M|20091010|20101010||||ger||||||MothersMaiden|BT^Bhutan^ISO3166_1||Ben^Charles~Ben2|000352^^CP~00121^^FX|Urgent requirement||||GEOrg|||||Germany IN1|1|BAV^Blue Advantage HMO|IC-1.31^24^BCV^&2.16.840.1.113883.1.1&ISO^NIIP^^19291011^19291012|Blue Cross Blue Shield of Texas|1979 MILKY WAY^^VERONA^WI^53593^US|Henry&&&&Roth^Rony^A^III^Dr.^MD^D^^^19251012|(555)555-5555^BPN^PH|PUBSUMB|SelfPay||Sam P. Hil|19891001|20501001||HMO^health maintenance organization policy|Doe^Rosallie^John^III^Mrs.^Bachelors^R|SPO^Spouse|19750228|3857 Velvet Treasure Terrace^^Midnight^NC^27878^US|||||||||||||||||PN-145|150&USD^DC||||||F^Female|2000 MILKY WAY^^VERONA^WI^53593^US|||B||HMO-12345^^^&2.16.840.1.113883.1.3&ISO^NI IN2|1117^4^M11^&2.16.840.1.113883.1.4&ISO^EI^University Hospital~1118^^^^BC|425-57-9745|||I^Insurance company|Medicare-12345|Jack&&&&Aniston^ADAM^A^III^Dr.^MD^D^^^19241012^^^^PF^Addsm|MCN-008||MI-12345||||||||||||||||||||||||eng^English|||||||||||||||Richard^Paul|254622222^^PH|||||||||||PNM1234^4^M11^PM&2.6.1&HCD^MR^University Hospital^19241011^19241012||0005245^WPN^Internet~^^CP|555777888^^FX~^^PH||||||Max Life Insurance||02^Spouse OBX|1|NM|8867-4^heartrate^LN||60~120|beats/min^^ISO|70-80|A^A^HL7nnnn~B^B|||S|||19990702|Org15^ID of producer^CAS|1134^Aly^Zafar^Mahendra^JR^Dr.^MD^^PERSt&1.23&HCD^B^^^BR^^^^^^19241010^19241015^Al~2234^Pauly^Berrie^Raud|OBS^This is test method^AS4|EI12.3^NI2^426d2726-51fc-00fe-a946-8596e80a80eb^GUID~^^1.3.6.1.4.1.44750.1.2.2^ISO|19990702|BU^Observation site^E5|EI21^OII||FairOaks Hspital|Research Park^Fairfax^VA^22031^USA|MD-25^Atchinson^Christopher^^MD|||||||PAI-1^FAI-1 +PRT|1|AD||AD^Admitting Provider^HL70912|10535^van Beethoven&van^Ludwig^A^III^Dr^PHD||1^Hospital^HL70406|Good Health Hospital|HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|SampleDevice|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| NTE|1||No Antibodies Detected||MLEE^ATTEND^AARON^A^^^MD|202010101500+0215| ORC|RE|4422^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|13696^NIST-AA-IZ-2^2.16.840.1.114222.4.3.3.5.1.2^ISO|||||||7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN||654^Thomas^Wilma^Elizabeth^^^^^NIST-PI-1^L^^^MD|||202108181126||NISTEHRFAC^NISTEHRFacility^HL70362| +PRT||AD||AD||PPT||General Medical Center|Street-5^136^B^CommunityHospital^^N^^^|PD-10.1^PD-10.2 TQ1|1|54^&lbs|P&Post (after)&HL70335^HD^^^12^min^^PC^120^s|11:30:05~11:45:05|30^s|150^&kg|202110091600-0800|202111091600-0800|A|This is condition text|Please follow the text instructions||2^hr|5 RXA|0|1|20210818||49281021588^TENIVAC^NDC|0.5|mL^mL^UCUM||00^New Record^NIP001|7824^Jackson^Lily^Suzanne^^^^^NIST-PI-1^L^^^PRN|^^^NIST-Clinic-1||||315841|20211216|PMC^Sanofi Pasteur^MVX|||CP|A||||||HUH AE OMU&9.8&ISO^OMU B^Bed 03^HOMERTON UNIVER^^C^Homerton UH^Floor5|0007&Hospital Lane^Ste. 123^Ann Arbor ^MI^99999^USA^M^^&W^^^20000110&20000120^^^^^^^Near Highway RXR|C28161^Intramuscular^NCIT|RD^Right Deltoid^HL70163 OBX|1|CE|30963-3^Vaccine Funding Source^LN|1|PHC70^Private^CDCPHINVS||||||F|||20210818 OBX|2|CE|64994-7^Vaccine Funding Program Eligibility^LN|2|V01^Not VFC Eligible^HL70064||||||F|||20210818|||VXC40^per immunization^CDCPHINVS OBX|3|CE|69764-9^Document Type^LN|3|253088698300028811170411^Tetanus/Diphtheria (Td) Vaccine VIS^cdcgs1vis||||||F|||20210818 -OBX|4|DT|29769-7^Date Vis Presented^LN|3|20210818||||||F|||20210818 \ No newline at end of file +OBX|4|DT|29769-7^Date Vis Presented^LN|3|20210818||||||F|||20210818 +PRT||CO||CP|432^Jartckson|PPT||Mayo12 Memorial|Eureka Springs^136^B^CommunityHospital^^N^^^|PDORC-10.1^PD-10.2|20210223093000|20210224100000||6547 Drums St^^Flint^MI^48507|^PRN^PH^^^810^4502369|00643169001763^^2.51.1.1^ISO|20140401|20220712|123ABC|21A11F4855| RA12345678BA123^^2.16.840.1.113883.6.18.1.34^ISO|| \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A01.liquid b/data/Templates/Hl7v2/ADT_A01.liquid index 8098d99be..7dbac8268 100644 --- a/data/Templates/Hl7v2/ADT_A01.liquid +++ b/data/Templates/Hl7v2/ADT_A01.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -342,6 +341,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -381,6 +442,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} @@ -614,6 +707,7 @@ {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} {% endif -%} {% endif -%} + {% endfor -%} {% for autSegment in autSegmentLists.AUT %} {% if autSegment.6 %} diff --git a/data/Templates/Hl7v2/ADT_A02.liquid b/data/Templates/Hl7v2/ADT_A02.liquid index a00f3095f..4aafe4635 100644 --- a/data/Templates/Hl7v2/ADT_A02.liquid +++ b/data/Templates/Hl7v2/ADT_A02.liquid @@ -2,7 +2,6 @@ {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign uacSegmentLists = hl7v2Data | get_segment_lists: 'UAC' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -283,6 +282,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for db1Segment in db1SegmentLists.DB1 -%} {% if db1Segment.2.1.Value == "PT" %} {% for db in db1Segment.3.Repeats -%} diff --git a/data/Templates/Hl7v2/ADT_A03.liquid b/data/Templates/Hl7v2/ADT_A03.liquid index f4f6f25e0..85453e368 100644 --- a/data/Templates/Hl7v2/ADT_A03.liquid +++ b/data/Templates/Hl7v2/ADT_A03.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -342,6 +341,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -381,6 +442,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A04.liquid b/data/Templates/Hl7v2/ADT_A04.liquid index 97e58eeb3..18480bc78 100644 --- a/data/Templates/Hl7v2/ADT_A04.liquid +++ b/data/Templates/Hl7v2/ADT_A04.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|PDA|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -344,6 +343,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -383,6 +444,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A05.liquid b/data/Templates/Hl7v2/ADT_A05.liquid index 87835a156..0eca8a9b4 100644 --- a/data/Templates/Hl7v2/ADT_A05.liquid +++ b/data/Templates/Hl7v2/ADT_A05.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -341,6 +340,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -380,6 +441,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A06.liquid b/data/Templates/Hl7v2/ADT_A06.liquid index af564c319..0a058969a 100644 --- a/data/Templates/Hl7v2/ADT_A06.liquid +++ b/data/Templates/Hl7v2/ADT_A06.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|MRG|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -344,7 +343,68 @@ {% include 'Resource/Encounter' ARV: arvSegment2, ID: encounterId %} {% endif %} {% endfor %} - + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -384,6 +444,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A07.liquid b/data/Templates/Hl7v2/ADT_A07.liquid index b66a728cb..c40cd4fd5 100644 --- a/data/Templates/Hl7v2/ADT_A07.liquid +++ b/data/Templates/Hl7v2/ADT_A07.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|MRG|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -345,6 +344,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -384,6 +445,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A08.liquid b/data/Templates/Hl7v2/ADT_A08.liquid index c06a72a70..e27392504 100644 --- a/data/Templates/Hl7v2/ADT_A08.liquid +++ b/data/Templates/Hl7v2/ADT_A08.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|PDA|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -326,6 +325,68 @@ {% endif %} {% endfor %} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -382,6 +443,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A13.liquid b/data/Templates/Hl7v2/ADT_A13.liquid index f85e3ecef..ba21571b2 100644 --- a/data/Templates/Hl7v2/ADT_A13.liquid +++ b/data/Templates/Hl7v2/ADT_A13.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2|DRG|ACC|UB1|UB2|PDA' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -315,6 +314,68 @@ {% endif %} {% endfor %} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -371,6 +432,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A14.liquid b/data/Templates/Hl7v2/ADT_A14.liquid index 0886750b6..56453af73 100644 --- a/data/Templates/Hl7v2/ADT_A14.liquid +++ b/data/Templates/Hl7v2/ADT_A14.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2|DRG|ACC|UB1|UB2' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -329,7 +328,69 @@ {% endif -%} {% endif -%} {% endif -%} - + + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -369,6 +430,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A15.liquid b/data/Templates/Hl7v2/ADT_A15.liquid index 9d783dcd8..2699ad6d7 100644 --- a/data/Templates/Hl7v2/ADT_A15.liquid +++ b/data/Templates/Hl7v2/ADT_A15.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -271,6 +270,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for obxSegment in obxSegmentLists.OBX -%} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} diff --git a/data/Templates/Hl7v2/ADT_A16.liquid b/data/Templates/Hl7v2/ADT_A16.liquid index 99420d33a..58db52c53 100644 --- a/data/Templates/Hl7v2/ADT_A16.liquid +++ b/data/Templates/Hl7v2/ADT_A16.liquid @@ -1,7 +1,6 @@ {% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2|DRG|ACC' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} @@ -313,6 +312,68 @@ {% endif %} {% endfor %} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} @@ -369,6 +430,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A28.liquid b/data/Templates/Hl7v2/ADT_A28.liquid index 5300828f4..88789f9d4 100644 --- a/data/Templates/Hl7v2/ADT_A28.liquid +++ b/data/Templates/Hl7v2/ADT_A28.liquid @@ -9,7 +9,6 @@ {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} {% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} @@ -330,6 +329,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -369,6 +430,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A31.liquid b/data/Templates/Hl7v2/ADT_A31.liquid index c4b6238a6..0186a5ab8 100644 --- a/data/Templates/Hl7v2/ADT_A31.liquid +++ b/data/Templates/Hl7v2/ADT_A31.liquid @@ -9,7 +9,6 @@ {% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} {% assign rf1SegmentLists = hl7v2Data | get_segment_lists: 'RF1' -%} {% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} -{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} {% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} @@ -330,6 +329,68 @@ {% endif -%} {% endif -%} + {% assign rolSegmentPositionIndex_PID = 0 %} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PID = rolSegmentPositionIndex_PID | plus: 1 %} + {% endfor %} + + {% assign rolSegmentPositionIndex_PV1 = 0 %} + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PV1 = rolSegmentPositionIndex_PV1 | plus: 1 %} + {% endfor %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} {% if pr1Segment.8 -%} {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} @@ -369,6 +430,38 @@ {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endfor -%} {% for nk1Segment in nk1SegmentLists.NK1 -%} diff --git a/data/Templates/Hl7v2/ADT_A45.liquid b/data/Templates/Hl7v2/ADT_A45.liquid new file mode 100644 index 000000000..d0ef0907b --- /dev/null +++ b/data/Templates/Hl7v2/ADT_A45.liquid @@ -0,0 +1,320 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|UAC|EVN|MSH' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} + +{% assign mrgSegmentLists = hl7v2Data | get_segment_lists: 'MRG' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A45', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% endif -%} + + {% for mrgSegment in mrgSegmentLists.MRG -%} + + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: mrgSegment, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] -%} + + {% if pv1Segment.19.Value -%} + + {% if pv1Segment.19.Value == mrgSegment.5.Value -%} + + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A45', PV1: pv1Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment -%} + + {% endif -%} + {% endif -%} + + + {% unless pv1Segment.19.Value -%} + {% if pv1Segment.50.Value -%} + + {% if pv1Segment.50.Value == mrgSegment.6.Value -%} + + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1_50: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A45', PV1: pv1Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment -%} + + {% endif -%} + {% endif -%} + {% endunless -%} + + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ADT_A47.liquid b/data/Templates/Hl7v2/ADT_A47.liquid index 2edc05a73..13f553975 100644 --- a/data/Templates/Hl7v2/ADT_A47.liquid +++ b/data/Templates/Hl7v2/ADT_A47.liquid @@ -1,6 +1,8 @@ -{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|UAC|EVN|PD1|MSH|MRG' -%} +{% assign firstSegments = hl7v2Data | get_first_segments: 'UAC|EVN|PD1|MSH' -%} +{% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} {% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign mrgSegmentLists = hl7v2Data | get_segment_lists: 'MRG' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} { "resourceType": "Bundle", @@ -58,70 +60,6 @@ {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} - - {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} - {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1 -%} - - {% if firstSegments.PID.18 -%} - {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} - {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} - {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} - {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} - {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} - {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} - {% endif -%} - {% endif -%} - - {% if firstSegments.PID.2 -%} - {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} - {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} - {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} - {% endif -%} - {% endif -%} - {% for pid3 in firstSegments.PID.3.Repeats -%} - {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} - {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} - {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} - {% endif -%} - {% endfor -%} - {% if firstSegments.PID.4 -%} - {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} - {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} - {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} - {% endif -%} - {% endif -%} - - {% unless nk1SegmentLists.NK1 -%} - {% if firstSegments.PID.21 -%} - {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} - {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} - {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} - {% endif -%} - {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} - {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} - {% endif -%} - {% endunless -%} - - {% if firstSegments.PD1.3 -%} - {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} - {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} - {% endif -%} - - {% if firstSegments.PD1.4 -%} - {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} - {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} - {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} - {% endif -%} - {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} - {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} - {% endif -%} - - {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} - {% for arvSegment1 in arvSegmentLists1.ARV %} - {% if arvSegment1 %} - {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} - {% endif %} - {% endfor %} {% if firstSegments.EVN -%} {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} @@ -140,5 +78,30 @@ {% endif -%} {% endif -%} + {% evaluate linkageId using 'ID/Linkage' MRG: mrgSegmentLists.MRG[0] -%} + + {% for pidSegment in pidSegmentLists.PID -%} + + {% assign mrgSegmentLists1 = hl7v2Data | get_related_segment_list: pidSegment, 'MRG' -%} + {% assign mrgSegment = mrgSegmentLists1.MRG[0] %} + + {% include 'Resource/Linkage' PID: pidSegment, MRG: mrgSegment, ID: linkageId -%} + + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% for mrg in mrgSegment.1.Repeats -%} + {% if mrg.4.1 != "" and mrg.4.1 != null and mrg.4.2 != "" and mrg.4.2 != null and mrg.4.3 != "" and mrg.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: mrg.4 -%} + {% include 'Resource/Organization', PID: mrg, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% endfor %} + ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/BAR_P01.liquid b/data/Templates/Hl7v2/BAR_P01.liquid new file mode 100644 index 000000000..b4a970f04 --- /dev/null +++ b/data/Templates/Hl7v2/BAR_P01.liquid @@ -0,0 +1,1170 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|EVN|PID|PD1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign pv1SegmentLists = hl7v2Data | get_segment_lists: 'PV1' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign accSegmentLists = hl7v2Data | get_segment_lists: 'ACC' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'BAR_P01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1-%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, EVN: firstSegments.EVN, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentPositionIndex = 0 %} + {% assign rolSegmentPositionIndex = 0 %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} + + {% assign isPRTSegmentPresent = false %} + {% for prtSegment in prtSegmentLists.PRT %} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% if checkParentPV1.PV1.Value == null and checkParentPR1.PR1.Value == null and checkParentIN1.IN1.Value == null %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + + {%- comment -%} PATIENT-ROL related coding starts {%- endcomment -%} + {% assign rolSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + {% for rolSegment_PID in rolSegmentLists_PID.ROL %} + {% assign checkParentPV1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentPR1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + + {% if checkParentPV1_ROL.PV1.Value == null and checkParentPR1_ROL.PR1.Value == null and checkParentIN1_ROL.IN1.Value == null %} + {% unless isPRTSegmentPresent %} + {% unless rolSegment_PID.2.Value == "DE" or rolSegment_PID.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PID.3, XCN: rolSegment_PID.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PID.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PID.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PID.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PID.13-%} + {% endif -%} + {% if rolSegment_PID.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PID.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PID , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {% endfor %} + + {%- comment -%} PATIENT-ROL related coding ends {%- endcomment -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for pv1Segment in pv1SegmentLists.PV1 -%} + + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PV1: pv1Segment -%} + + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Resource/Encounter' Root_Template: 'BAR_P01', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} + + {% assign prtSegmentListsPV1 = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + {% assign pr1Segment = hl7v2Data | get_related_segment_list: pv1Segment, 'PR1' -%} + {% assign in1Segment = hl7v2Data | get_related_segment_list: pv1Segment, 'IN1' -%} + + {% assign isPRTSegmentPresent = false %} + {%- comment -%} VISIT -PV1- PRT related coding start {%- endcomment -%} + {% for prtSegment in prtSegmentListsPV1.PRT %} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% if checkParentPV1.PV1.Value == pv1Segment.Value %} + {% unless checkParentPR1.PR1 == pr1Segment.PR1[0] %} + {% unless checkParentIN1.IN1 == in1Segment.IN1[0] %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + {% endif %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + + {%- comment -%} VISIT -PV1- ROL related coding start {%- endcomment -%} + + {% assign rolSegmentLists_PV1 = hl7v2Data | get_related_segment_list: pv1Segment, 'ROL' -%} + {% for rolSegment_PV1 in rolSegmentLists_PV1.ROL %} + {% assign checkParentPV1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentPR1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + {% if checkParentPV1_ROL.PV1.Value == pv1Segment.Value %} + {% unless checkParentPR1_ROL.PR1 == pr1Segment.PR1[0] %} + {% unless checkParentIN1_ROL.IN1 == in1Segment.IN1[0] %} + {% unless isPRTSegmentPresent %} + {% unless rolSegment_PV1.2.Value == "DE" or rolSegment_PV1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PV1.3, XCN: rolSegment_PV1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PV1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PV1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PV1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PV1.13-%} + {% endif -%} + {% if rolSegment_PV1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PV1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PV1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless -%} + {% endunless -%} + {% endunless -%} + {% endif %} + {% endfor %} + + {%- comment -%} VISIT - ROL related coding end {%- endcomment -%} + {% endfor -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: patientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + {% assign obxSegmentPositionIndex = 0 %} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex}}, 'PV1' -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: checkParentPV1.PV1, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId %} + {% assign obxSegmentPositionIndex = obxSegmentPositionIndex | plus: 1 -%} + {% endfor -%} + + {% assign al1SegmentPositionIndex = 0 %} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'AL1', {{al1SegmentPositionIndex}}, 'PV1' -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: checkParentPV1.PV1, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + + + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterId -%} + + {% assign al1SegmentPositionIndex = al1SegmentPositionIndex | plus: 1 -%} + {% endfor -%} + + {% assign dg1SegmentPositionIndex = 0 %} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'DG1', {{dg1SegmentPositionIndex}}, 'PV1' -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: checkParentPV1.PV1, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId %} + {% assign dg1SegmentPositionIndex = dg1SegmentPositionIndex | plus: 1 -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + + {% if checkParentPV1.PV1.54 -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: checkParentPV1.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% endfor -%} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {% assign in1Segment = hl7v2Data | get_related_segment_list: pr1Segment, 'IN1' -%} + {%- comment -%} FINANCIAL_PROCEDURE- PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsPR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'PRT' -%} + {% assign isPRTSegmentPresent = false %} + + {% for prtSegment in prtSegmentListsPR1.PRT %} + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% if checkParentPR1.PR1.Value == pr1Segment.Value %} + {% unless checkParentIN1.IN1 == in1Segment.IN1[0] %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Procedure/Performer_Actor' REF: fullOrganization_ID_PRT_8, ID: procedureId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {% unless pr1Segment.23 -%} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Procedure/Location' REF: FullLocation_ID_PRT_9, ID: procedureId -%} + {% endunless %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullDeviceId, ID: procedureId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {% endfor %} + + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% assign checkParentPR1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PR1' -%} + {% assign checkParentIN1_ROL = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + {% if checkParentPR1_ROL.PR1.Value == pr1Segment.Value %} + {% unless checkParentIN1_ROL.IN1 == in1Segment.IN1[0] %} + {% unless isPRTSegmentPresent %} + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% endunless -%} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless -%} + {% endunless -%} + {% endif %} + {% endfor %} + + + {%- comment -%} FINANCIAL_PROCEDURE - ROL relatated coding end {%- endcomment -%} + {% endfor -%} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% assign in1SegmentPositionIndex = 0 %} + {% for in1Segment in in1SegmentLists.IN1 -%} + {% assign in2SegmentLists = hl7v2Data | get_related_segment_list: in1Segment, 'IN2' -%} + {% assign in2Segment = in2SegmentLists.IN2[0] %} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + + {%- comment -%} FINANCIAL_PROCEDURE- PRT relatated coding start {%- endcomment -%} + {% assign checkParentPV1IN1 = hl7v2Data | get_parent_segment: 'IN1', {{prtSegmentPositionIndex}}, 'PV1' -%} + + {% assign prtSegmentListsPR1 = hl7v2Data | get_related_segment_list: in1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsPR1.PRT %} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + + {% if checkParentPV1IN1.PV1.Value == checkParentPV1.Value %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + {% endfor %} + + {%- comment -%} FINANCIAL_PROCEDURE - PRT relatated coding end {%- endcomment -%} + {% assign in1SegmentPositionIndex = in1SegmentPositionIndex | plus: 1 %} + {% endfor -%} + + {% assign accSegmentPositionIndex = 0 %} + + {% for accSegment in accSegmentLists.ACC %} + {% if accSegment.7 -%} + {% if accSegment.7.9.1 != "" and accSegment.7.9.1 != null and accSegment.7.9.2 != "" and accSegment.7.9.2 != null and accSegment.7.9.3 != "" and accSegment.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: accSegment.7.9 -%} + {% include 'Resource/Organization', ACC: accSegment.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: accSegment.7 -%} + {% include 'Resource/Practitioner' ACC: accSegment.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if accSegment.3 or accSegment.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: accSegment -%} + {% include 'Resource/Location' ACC: accSegment, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: accSegment, baseId: patientId -%} + {% include 'Resource/Observation' ACC: accSegment, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'ACC', {{accSegmentPositionIndex}}, 'PV1' -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: checkParentPV1.PV1, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: fullEncounterId %} + {% assign accSegmentPositionIndex = accSegmentPositionIndex | plus: 1 -%} + {% endfor %} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/BAR_P02.liquid b/data/Templates/Hl7v2/BAR_P02.liquid new file mode 100644 index 000000000..482487ac5 --- /dev/null +++ b/data/Templates/Hl7v2/BAR_P02.liquid @@ -0,0 +1,280 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|EVN' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign pidSegmentLists = hl7v2Data | get_segment_lists: 'PID' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: pidSegmentLists.PID[0], type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'BAR_P02', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% for pidSegment in pidSegmentLists.PID -%} + + {% evaluate patientId using 'ID/Patient' PID: pidSegment, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PD1' -%} + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign mrgSegment = mrgSegmentLists.MRG[0] %} + {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PV1' -%} + {% assign pv1Segment = pv1SegmentLists.PV1[0] %} + {% assign db1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'DB1' -%} + + {% include 'Resource/Patient' PID: pidSegment, PD1: pd1Segment, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} + + {% if pidSegment.18 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId -%} + {% include 'Resource/Account' PID: pidSegment, ID: accountId, Root_Template: 'BAR_P02' -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: pidSegment.18.4 -%} + {% include 'Resource/Organization', PID: pidSegment.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if pidSegment.2 -%} + {% if pidSegment.2.4.1 != "" and pidSegment.2.4.1 != null and pidSegment.2.4.2 != "" and pidSegment.2.4.2 != null and pidSegment.2.4.3 != "" and pidSegment.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: pidSegment.2.4 -%} + {% include 'Resource/Organization', PID: pidSegment.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if pidSegment.4 -%} + {% if pidSegment.4.4.1 != "" and pidSegment.4.4.1 != null and pidSegment.4.4.2 != "" and pidSegment.4.4.2 != null and pidSegment.4.4.3 != "" and pidSegment.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: pidSegment.4.4 -%} + {% include 'Resource/Organization', PID: pidSegment.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if pidSegment.21 -%} + {% if pidSegment.21.4.1 != "" and pidSegment.21.4.1 != null and pidSegment.21.4.2 != "" and pidSegment.21.4.2 != null and pidSegment.21.4.3 != "" and pidSegment.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: pidSegment.21.4 -%} + {% include 'Resource/Organization', PID: pidSegment.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: pidSegment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: pidSegment -%} + {% endif -%} + {% endunless -%} + + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: pd1Segment.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'BAR_P02' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'BAR_P02', PV1: pv1Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment -%} + {% endif -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: patientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + {% endfor %} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/BAR_P12.liquid b/data/Templates/Hl7v2/BAR_P12.liquid new file mode 100644 index 000000000..5756d5ac7 --- /dev/null +++ b/data/Templates/Hl7v2/BAR_P12.liquid @@ -0,0 +1,573 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|EVN|PID|PD1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign pv1SegmentLists = hl7v2Data | get_segment_lists: 'PV1' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign obxSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} + + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'BAR_P12', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1-%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% for pv1Segment in pv1SegmentLists.PV1 -%} + + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PV1: pv1Segment -%} + + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PV2' -%} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11 -%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} + {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Resource/Encounter' Root_Template: 'BAR_P12', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} + {% endfor -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% endfor -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + + {%- comment -%} FINANCIAL_PROCEDURE- PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsPR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsPR1.PRT %} + + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PR1' -%} + + {% if checkParentPR1.PR1.Value == pr1Segment.Value %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Procedure/Performer_Actor' REF: fullOrganization_ID_PRT_8, ID: procedureId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {% unless pr1Segment.23 -%} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Procedure/Location' REF: FullLocation_ID_PRT_9, ID: procedureId -%} + {% endunless %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullDeviceId, ID: procedureId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + {% endfor %} + {%- comment -%} FINANCIAL_PROCEDURE - PRT relatated coding end {%- endcomment -%} + + {% if prtSegmentListsPR1 == empty %} + {% assign rolSegmentPositionIndex_PR1 = 0 %} + {% assign rolSegmentLists_PR1 = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + {% for rolSegment_PR1 in rolSegmentLists_PR1.ROL %} + {% unless rolSegment_PR1.2.Value == "DE" or rolSegment_PR1.2.Value == "UN" %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment_PR1.3, XCN: rolSegment_PR1.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment_PR1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment_PR1.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for rol_4 in rolSegment_PR1.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + {% if rolSegment_PR1.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment_PR1.13-%} + {% endif -%} + {% if rolSegment_PR1.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment_PR1.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment_PR1 , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + {% endunless -%} + {% assign rolSegmentPositionIndex_PR1 = rolSegmentPositionIndex_PR1 | plus: 1 %} + {% endfor %} + {% endif %} + {% endfor -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Encounter_ID: fullEncounterId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ServiceRequest_Encounter_ID : fullEncounterId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% endif -%} + {% endfor -%} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/CodeSystem/CodeSystem.json b/data/Templates/Hl7v2/CodeSystem/CodeSystem.json index 5dd28bd40..8337fdd7e 100644 --- a/data/Templates/Hl7v2/CodeSystem/CodeSystem.json +++ b/data/Templates/Hl7v2/CodeSystem/CodeSystem.json @@ -516,8 +516,8 @@ }, "OO": { "code": "OPTR", - "display": "Opt out all registries(HIPAA)", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-AccessRestrictionValue" + "display": "Opt Out All Registries(HIPAA)", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label" }, "ALL": { "code": "R", @@ -1214,167 +1214,167 @@ "AD": { "code": "AD", "display": "Admitting Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "AI": { "code": "AI", "display": "Assistant/Alternate Interpreter", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "AP": { "code": "AP", "display": "Administering Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "ARI": { "code": "ARI", "display": "Assistant Result Interpreter", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "AT": { "code": "AT", "display": "Attending Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "AUT": { "code": "AUT", "display": "Admitting Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "CP": { "code": "CP", "display": "Consulting Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "DP": { "code": "DP", "display": "Dispensing Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "EP": { "code": "EP", "display": "Entering Provider (probably not the same as transcriptionist)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "EQUIP": { "code": "EQUIP", "display": "Equipment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "FHCP": { "code": "FHCP", "display": "Family Health Care Professional", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "MDIR": { "code": "MDIR", "display": "Medical Director", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "OP": { "code": "OP", "display": "Ordering Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PB": { "code": "PB", "display": "Packed by", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PH": { "code": "PH", "display": "Pharmacist (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PI": { "code": "PI", "display": "Primary Interpreter", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PO": { "code": "PO", "display": "Performing Organization", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "POMD": { "code": "POMD", "display": "Performing Organization Medical Director", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PP": { "code": "PP", "display": "Primary Care Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PRI": { "code": "PRI", "display": "Principal Result Interpreter", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RCT": { "code": "RCT", "display": "Results Copies To", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RO": { "code": "RO", "display": "Responsible Observer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RP": { "code": "RP", "display": "Referring Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RT": { "code": "RT", "display": "Referred to Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "SB": { "code": "SB", "display": "Send by", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "SC": { "code": "SC", "display": "Specimen Collector", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "TN": { "code": "TN", "display": "Technician", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "TR": { "code": "TR", "display": "Transcriptionist", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "VP": { "code": "VP", "display": "Verifying Provider", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "VPS": { "code": "VPS", "display": "Verifying Pharmaceutical Supplier (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "VTS": { "code": "VTS", "display": "Verifying Treatment Supplier (not sure how to dissect Pharmacist/Treatment Supplier's Verifier ID)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "WAY": { "code": "WAY", "display": "Waypoint", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" }, "WAYR": { "code": "WAYR", "display": "Waypoint Recipient", - "system": "http://terminology.hl7.org/CodeSystem/v2-0912" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } }, "CodeSystem/ReadmissionIndicator": { @@ -2498,19 +2498,19 @@ }, "CodeSystem/AllergyIntoleranceTypeCode": { "AD": { - "code" : "adverse-reaction", - "display" : "Adverse Reaction (Not otherwise classified)", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + "code" : "AD", + "display" : "Adverse Reaction (Not Otherwise Classified)", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0436" }, "CT": { - "code" : "contraindication", + "code" : "CT", "display" : "Contraindication", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0436" }, "SE": { - "code" : "side-effect", + "code" : "SE", "display" : "Side Effect", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/v2-0436" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0436" } }, "CodeSystem/Role": { @@ -3343,9 +3343,9 @@ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, "N": { - "code" : "NAP", - "display" : "not applicable", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" + "code" : "N", + "display" : "Not applicable", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0004" }, "P": { "code": "PRENC", @@ -3353,14 +3353,14 @@ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, "R": { - "code" : "REPAT", - "display" : "recurring patient", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" + "code" : "R", + "display" : "Recurring patient", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0004" }, "U": { - "code" : "UNK", - "display" : "unkown", - "system" : "http://examplecodes.org/CodeSystem/additional-EncounterClassCodes" + "code" : "U", + "display" : "Unkown", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0004" } }, "CodeSystem/LivingWill": { @@ -5352,22 +5352,22 @@ "C" : { "code" : "C", "display" : "Clinic", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0305" }, "D" : { "code" : "D", "display" : "Department", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0305" }, "H" : { "code" : "H", "display" : "Home", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0305" }, "N" : { "code" : "N", "display" : "Nursing Unit", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0305" }, "O" : { "code" : "PROFF", @@ -5377,7 +5377,7 @@ "P" : { "code" : "P", "display" : "Phone", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0305" }, "S" : { "code" : "SNF", @@ -5449,24 +5449,24 @@ }, "CodeSystem/ProviderRole_PractitionerRole": { "CP" : { - "code" : "consulting-provider", + "code" : "CP", "display" : "Consulting Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443" }, "PP" : { - "code" : "primarycare-provider", + "code" : "PP", "display" : "Primary Care Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RP" : { - "code" : "referring-provider", + "code" : "RP", "display" : "Referring Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443" }, "RT" : { - "code" : "referredto-provider", + "code" : "RT", "display" : "Referred To Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-PractitionerRole" + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443" } }, "CodeSystem/AppointmentType": { diff --git a/data/Templates/Hl7v2/DFT_P03.liquid b/data/Templates/Hl7v2/DFT_P03.liquid new file mode 100644 index 000000000..fb5bfb99e --- /dev/null +++ b/data/Templates/Hl7v2/DFT_P03.liquid @@ -0,0 +1,1624 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PD1|PV1|PV2|MSH|UAC|EVN|ACC|PDA' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} +{% assign rolSegmentLists = hl7v2Data | get_segment_lists: 'ROL' -%} +{% assign db1SegmentLists = hl7v2Data | get_segment_lists: 'DB1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign drgSegmentLists = hl7v2Data | get_segment_lists: 'DRG' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} +{% assign ft1SegmentLists = hl7v2Data | get_segment_lists: 'FT1' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% assign isPRTSegmentPresent = false %} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentPV1.PV1 %} + {% unless checkParentFT1.FT1 %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + {% assign isPRTSegmentPresent = true %} + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + + {%- comment -%} PATIENT-ROL related coding starts {%- endcomment -%} + {% assign rolSegmentPositionIndex = 0 %} + {% assign rolSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentPV1.PV1 %} + {% unless checkParentFT1.FT1 %} + {% unless isPRTSegmentPresent %} + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} PATIENT-ROL related coding ends {%- endcomment -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A01' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + {% assign isPRTSegmentPresent = false %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentFT1.FT1 %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + + {%- comment -%} VISIT-ROL related coding starts {%- endcomment -%} + {% assign rolSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentFT1.FT1 %} + {% unless isPRTSegmentPresent %} + + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless %} + + {% endfor %} + {%- comment -%} VISIT-ROL related coding ends {%- endcomment -%} + {% endif -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + {% assign ft1SegmentPositionIndex = 0 -%} + {% assign obxSegmentPositionIndex = 0 -%} + {% assign ft1_orc = '' -%} + + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% assign ft1_orc = ft1_orc | append: checkParent.2.Value -%} + + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: fullPatientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: fullPatientId -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + {% include 'Reference/ServiceRequest/Encounter' REF: firstFullencounterId, ID: serviceRequestId -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment %} + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + {% endif %} + + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% if obrSegment %} + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: diagnosticId -%} + {% endif %} + + + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + + {% endif -%} + + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + {% if ft1Segment.6.Value == 'CG' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'ORC', {{ft1SegmentPositionIndex}}, 'FT1' -%} + {% unless checkParentFT1.FT1 -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% if fullServiceRequestId -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + {% endif -%} + {% endunless -%} + {% endif -%} + {% endfor -%} + {% assign ft1SegmentPositionIndex = ft1SegmentPositionIndex | plus: 1 -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: obx_diagnosticReportID -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% if obrSegment %} + {% include 'Reference/DiagnosticReport/Result' REF: fullObservationId, ID: diagnosticId -%} + {% endif %} + + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + {% if ft1Segment.6.Value == 'CG' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex}}, 'FT1' -%} + {% unless checkParentFT1.FT1 -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% if fullDiagnosticReportId -%} + {% include 'Reference/ChargeItem/Service' REF: fullDiagnosticReportId, ID: chargeitem_id -%} + {% endif %} + {% if fullObservationId -%} + {% include 'Reference/ChargeItem/Service' REF: fullObservationId, ID: chargeitem_id -%} + {% endif %} + {% endunless -%} + {% endif -%} + {% endfor -%} + {% assign obxSegmentPositionIndex = obxSegmentPositionIndex | plus: 1 -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + {% assign pr1SegmentLists = hl7v2Data | get_related_segment_list: ft1Segment, 'PR1' -%} + + {% assign chargeitem_id = null -%} + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% assign ft1_nteSegmentLists = hl7v2Data | get_related_segment_list: ft1Segment, 'NTE' -%} + {% for nteSegment1 in ft1_nteSegmentLists.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ChargeItem' NTE: nteSegment1, ID: chargeitem_id -%} + {% endfor -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1_orc == empty -%} + {% else -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: ft1_orc, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: ft1_orc, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + + {%- comment -%} FT1 - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: ft1Segment, 'PRT' -%} + {% assign isPRTSegmentPresent = false %} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PR1' -%} + + {% unless checkParentPR1.PR1 == pr1SegmentLists.PR1[0] %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ChargeItem/Performer_Actor' REF: fullPractitionerRoleId, ID: chargeitem_id -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: fullOrganization_ID_PRT_8, ID: chargeitem_id -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: chargeitem_id -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ChargeItem/Performer_Actor' REF: fullDeviceId, ID: chargeitem_id -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endfor %} + + {%- comment -%} FT1 - PRT related coding start {%- endcomment -%} + + {%- comment -%} FINANCIAL_PROCEDURE-ROL related coding starts {%- endcomment -%} + + {% assign rolSegmentLists = hl7v2Data | get_related_segment_list: ft1Segment, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + + {% assign checkParentPR1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PR1' -%} + + {% unless checkParentPR1.PR1 == pr1SegmentLists.PR1[0] %} + {% unless isPRTSegmentPresent %} + + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/ChargeItem/Performer_Actor' REF: fullPractitionerRoleId, ID: chargeitem_id -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + + {% endunless %} + {% endfor %} + {%- comment -%} FINANCIAL_PROCEDURE-ROL related coding ends {%- endcomment -%} + + {% endif -%} + + {% assign orcSegmentLists = hl7v2Data | get_related_segment_list: ft1Segment, 'ORC' -%} + + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + + {% if chargeitem_id -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% endif -%} + + + {% if fullDiagnosticReportId -%} + {% include 'Reference/ChargeItem/Service' REF: fullDiagnosticReportId, ID: chargeitem_id -%} + {% endif %} + {% if fullObservationId -%} + {% include 'Reference/ChargeItem/Service' REF: fullObservationId, ID: chargeitem_id -%} + {% endif %} + {% endfor -%} + + {% endfor -%} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% assign fullProcedureId = procedureId | prepend: 'Procedure/' %} + {% include 'Reference/ChargeItem/Service' REF: fullProcedureId, ID: chargeitem_id -%} + + {%- comment -%} PR1 - PRT related coding start {%- endcomment -%} + {% assign isPRTSegmentPresent = false %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pr1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentIN1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentIN1.IN1 %} + {% if checkParentFT1.FT1.Value == ft1Segment.Value %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Procedure/Performer_Actor' REF: fullOrganization_ID_PRT_8, ID: procedureId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {% unless pr1Segment.23 %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Procedure/Location' REF: FullLocation_ID_PRT_9, ID: procedureId -%} + {% endunless %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullDeviceId, ID: procedureId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + {% endunless %} + {% endfor %} + + {%- comment -%} PR1 - PRT related coding start {%- endcomment -%} + + {%- comment -%} FINANCIAL_PROCEDURE PR1 -ROL related coding starts {%- endcomment -%} + + {% assign rolSegmentLists = hl7v2Data | get_related_segment_list: pr1Segment, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + {% assign checkParentIN1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + {% assign checkParentFT1 = hl7v2Data | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'FT1' -%} + + {% unless checkParentIN1.IN1 %} + {% if checkParentFT1.FT1.Value == ft1Segment.Value %} + {% unless isPRTSegmentPresent %} + + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endif -%} + {% endunless %} + {% endfor %} + {%- comment -%} FINANCIAL_PROCEDURE-ROL related coding ends {%- endcomment -%} + {% endfor -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% assign fullConditionId = conditionId | prepend: 'Condition/' %} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullConditionId, ID: chargeitem_id -%} + {% include 'Reference/Condition/Encounter' REF: firstFullencounterId, ID: conditionId -%} + {% endfor -%} + + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + {% endfor -%} + + {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DFT_P11.liquid b/data/Templates/Hl7v2/DFT_P11.liquid new file mode 100644 index 000000000..7926639b6 --- /dev/null +++ b/data/Templates/Hl7v2/DFT_P11.liquid @@ -0,0 +1,1957 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH' -%} +{% assign splitDataBySegmentsResult = hl7v2Data | split_data_by_segments: 'FT1' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} +{% assign mainListIndexPosition = 0 %} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + + "id":"{{ bundleID }}", + "entry": [ + {% for segmentsSubList in splitDataBySegmentsResult %} + {% if mainListIndexPosition == 0 %} + {%- comment -%} + coding starts for segments prior to financial group + {%- endcomment -%} + + {% assign firstSegments = segmentsSubList | get_first_segments: 'MSH|UAC|EVN|PID|PD1|PV1|PV2|ACC' -%} + {% assign sftSegmentLists = segmentsSubList | get_segment_lists: 'SFT' -%} + {% assign db1SegmentLists = segmentsSubList | get_segment_lists: 'DB1' -%} + {% assign orcSegmentLists = segmentsSubList | get_segment_lists: 'ORC' -%} + {% assign dg1SegmentLists = segmentsSubList | get_segment_lists: 'DG1' -%} + {% assign drgSegmentLists = segmentsSubList | get_segment_lists: 'DRG' -%} + {% assign gt1SegmentLists = segmentsSubList | get_segment_lists: 'GT1' -%} + {% assign in1SegmentLists = segmentsSubList | get_segment_lists: 'IN1' -%} + {% assign in2SegmentLists = segmentsSubList | get_segment_lists: 'IN2' -%} + {% assign in3SegmentLists = segmentsSubList | get_segment_lists: 'IN3' -%} + {% assign group1 = segmentsSubList %} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'ADT_A01', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.EVN -%} + {% evaluate provenanceId using 'ID/Provenance' EVN: firstSegments.EVN, baseId: patientId -%} + {% include 'Resource/Provenance' EVN: firstSegments.EVN, EVNTEXT: firstSegments.MSH.9, REF_BUNDLE: bundleID, ID: provenanceId -%} + {% if firstSegments.EVN.5 -%} + {% if firstSegments.EVN.5.9.1 != "" and firstSegments.EVN.5.9.1 != null and firstSegments.EVN.5.9.2 != "" and firstSegments.EVN.5.9.2 != null and firstSegments.EVN.5.9.3 != "" and firstSegments.EVN.5.9.3 != null -%} + {% evaluate Organization_ID_EVN_5_9 using 'ID/Organization' HDORG: firstSegments.EVN.5.9 -%} + {% include 'Resource/Organization', EVN: firstSegments.EVN.5.9, ID: Organization_ID_EVN_5_9 -%} + {% endif -%} + {% evaluate practitionerId_EVN_5 using 'ID/Practitioner' XCN: firstSegments.EVN.5 -%} + {% include 'Resource/Practitioner' EVN: firstSegments.EVN.5, ID: practitionerId_EVN_5 -%} + {% if firstSegments.EVN.7 -%} + {% evaluate locationId_EVN_7 using 'ID/Location' HD: firstSegments.EVN.7 -%} + {% include 'Resource/Location' EVN: firstSegments.EVN.7, ID: locationId_EVN_7 -%} + {% endif -%} + {% endif -%} + {% endif -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentPositionIndex = 0 %} + {% assign prtSegmentLists = segmentsSubList | get_related_segment_list: firstSegments.PID, 'PRT' -%} + {% assign isPRTSegmentPresent = false %} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentPV1 = segmentsSubList | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentIN1 = segmentsSubList | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentPV1.PV1 %} + {% unless checkParentIN1.IN1 %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + + {%- comment -%} PATIENT-ROL related coding starts {%- endcomment -%} + {% assign rolSegmentPositionIndex = 0 %} + {% assign rolSegmentLists = segmentsSubList | get_related_segment_list: firstSegments.PID, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + {% assign checkParentPV1 = segmentsSubList | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentIN1 = segmentsSubList | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentPV1.PV1 %} + {% unless checkParentIN1.IN1 %} + {% unless isPRTSegmentPresent %} + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} PATIENT-ROL related coding ends {%- endcomment -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% assign prtSegmentLists = segmentsSubList | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + {% assign rolSegmentLists = segmentsSubList | get_related_segment_list: firstSegments.PV1, 'ROL' -%} + + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'ADT_A01' -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'ADT_A01', PV1: firstSegments.PV1, PV2: firstSegments.PV2, PDA: firstSegments.PDA, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + {% assign isPRTSegmentPresent = false %} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentIN1 = segmentsSubList | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentIN1.IN1 %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + + {%- comment -%} VISIT-ROL related coding starts {%- endcomment -%} + + {% for rolSegment in rolSegmentLists.ROL %} + {% assign checkParentIN1 = segmentsSubList | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentIN1.IN1 %} + {% unless isPRTSegmentPresent %} + + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endunless %} + + {% endfor %} + {%- comment -%} VISIT-ROL related coding ends {%- endcomment -%} + + {% endif -%} + + {% for db1Segment in db1SegmentLists.DB1 -%} + {% if db1Segment.2.1.Value == "PT" %} + {% for db in db1Segment.3.Repeats -%} + {% if db.4.1 != "" and db.4.1 != null and db.4.2 != "" and db.4.2 != null and db.4.3 != "" and db.4.3 != null -%} + {% evaluate Organization_ID_DB1_3 using 'ID/Organization' HDORG: db.4 -%} + {% include 'Resource/Organization', DB1: db.4, ID: Organization_ID_DB1_3 -%} + {% endif -%} + {% endfor %} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, DB1: db1Segment -%} + {% endif -%} + {% include 'Resource/Patient' DB1: db1Segment, ID: patientId -%} + {% endfor %} + + {% assign ft1_orc = '' -%} + + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign tq1SegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obxSegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% assign ft1_orc = ft1_orc | append: checkParent.2.Value -%} + + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: fullPatientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: fullPatientId -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + {% include 'Reference/ServiceRequest/Encounter' REF: firstFullencounterId, ID: serviceRequestId -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment %} + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + {% endif %} + + {% assign nteSegmentLists1 = segmentsSubList | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment %} + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: diagnosticId -%} + {% endif %} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: obx_diagnosticReportID -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + + {% if obrSegment %} + {% include 'Reference/DiagnosticReport/Result' REF: fullObservationId, ID: diagnosticId -%} + {% endif -%} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = segmentsSubList | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% assign fullConditionId = conditionId | prepend: 'Condition/' %} + {% include 'Reference/Condition/Encounter' REF: firstFullencounterId, ID: conditionId -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + {% endfor -%} + + {% assign prtSegmentListsIN1 = segmentsSubList | get_related_segment_list: in1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsIN1.PRT %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} + + {% assign rolSegmentListsIN1 = segmentsSubList | get_related_segment_list: in1Segment, 'ROL' -%} + + {% for rolSegment in rolSegmentListsIN1.ROL %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endfor %} + {% endfor -%} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId, REF: fullPractitioner_ID_ACC_7 -%} + {% include 'Reference/Observation/Encounter' ID: observationId, REF: firstFullencounterId -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + + {%- comment -%} + coding ens for segments prior to financial group + {%- endcomment -%} + {% endif %} + + {% unless mainListIndexPosition == 0 %} + {%- comment -%} + coding starts for financial group related segments + {%- endcomment -%} + + {% assign ft1Segment = segmentsSubList | get_first_segments: 'FT1' -%} + {% assign pr1FinancialSegmentLists = segmentsSubList | get_segment_lists: 'PR1' -%} + {% assign orcFinancialSegmentLists = segmentsSubList | get_segment_lists: 'ORC' -%} + {% assign dg1FinancialSegmentLists = segmentsSubList | get_segment_lists: 'DG1' -%} + {% assign drgFinancialSegmentLists = segmentsSubList | get_segment_lists: 'DRG' -%} + {% assign gt1FinancialSegmentLists = segmentsSubList | get_segment_lists: 'GT1' -%} + {% assign in1FinancialSegmentLists = segmentsSubList | get_segment_lists: 'IN1' -%} + + {% assign ft1_orc = ft1_orc | append: orcFinancialSegmentLists.ORC[0].2.Value -%} + + {% if ft1Segment.FT1.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment.FT1, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment.FT1, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if ft1Segment.FT1.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.FT1.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment.FT1, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.FT1.20 -%} + {% if ft1Segment.FT1.20.9.1 != "" and ft1Segment.FT1.20.9.1 != null and ft1Segment.FT1.20.9.2 != "" and ft1Segment.FT1.20.9.2 != null and ft1Segment.FT1.20.9.3 != "" and ft1Segment.FT1.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.FT1.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.FT1.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.FT1.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.FT1.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.FT1.24 -%} + {% if ft1Segment.FT1.24.9.1 != "" and ft1Segment.FT1.24.9.1 != null and ft1Segment.FT1.24.9.2 != "" and ft1Segment.FT1.24.9.2 != null and ft1Segment.FT1.24.9.3 != "" and ft1Segment.FT1.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.FT1.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.FT1.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.FT1.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.FT1.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1_orc == empty -%} + {% else -%} + {% if ft1Segment.FT1.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.FT1.25, ORC_FT1: ft1_orc, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment.FT1, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.FT1.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.FT1.29, ORC_FT1: ft1_orc, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment.FT1, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.FT1.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.FT1.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment.FT1, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.FT1.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.FT1.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment.FT1, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.FT1.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment.FT1 -%} + {% include 'Resource/Device' FT1: ft1Segment.FT1, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% endif -%} + + {% for pr1Segment in pr1FinancialSegmentLists.PR1 -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% assign fullProcedureId = procedureId | prepend: 'Procedure/' %} + {% include 'Reference/ChargeItem/Service' REF: fullProcedureId, ID: chargeitem_id -%} + + {%- comment -%} FINANCIAL_PROCEDURE- PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsPR1 = segmentsSubList | get_related_segment_list: pr1Segment, 'PRT' -%} + + {% assign isPRTSegmentPresent = false %} + {% for prtSegment in prtSegmentListsPR1.PRT %} + + {% assign checkParentIN1PRT = segmentsSubList | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentIN1PRT.IN1 %} + {% assign isPRTSegmentPresent = true %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Procedure/Performer_Actor' REF: fullOrganization_ID_PRT_8, ID: procedureId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {% unless pr1Segment.23 -%} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Procedure/Location' REF: FullLocation_ID_PRT_9, ID: procedureId -%} + {% endunless %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Procedure/Performer_Actor' REF: fullDeviceId, ID: procedureId -%} + {% endif %} + {% endunless %} + {% endunless %} + + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endunless %} + + + {% endfor %} + + {%- comment -%} FINANCIAL_PROCEDURE - PRT relatated coding end {%- endcomment -%} + + {%- comment -%} FINANCIAL_PROCEDURE-ROL related coding starts {%- endcomment -%} + {% assign rolSegmentLists = segmentsSubList | get_related_segment_list: pr1Segment, 'ROL' -%} + + {% for rolSegment in rolSegmentLists.ROL %} + + {% assign checkParentIN1PRT = segmentsSubList | get_parent_segment: 'ROL', {{rolSegmentPositionIndex}}, 'IN1' -%} + + {% unless checkParentIN1PRT.IN1 %} + {% unless isPRTSegmentPresent %} + + {% unless rolSegment.2.Value == "DE" or rolSegment.2.Value == "UN" %} + + {% evaluate practitionerRoleId using 'ID/PractitionerRole' ROL: rolSegment.3, XCN: rolSegment.4.Repeats[0] -%} + {% include 'Resource/PractitionerRole' ROL: rolSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + + {% include 'Reference/Procedure/Performer_Actor' REF: fullPractitionerRoleId, ID: procedureId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: rolSegment.4.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + + {% for rol_4 in rolSegment.4.Repeats %} + {% if rol_4.9.1 != "" and rol_4.9.1 != null and rol_4.9.2 != "" and rol_4.9.2 != null and rol_4.9.3 != "" and rol_4.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: rol_4.9 -%} + {% include 'Resource/Organization' OBX: rol_4.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' ROL: rol_4, ID: practitionerId-%} + {% endfor %} + + {% if rolSegment.13 -%} + {% include 'Resource/PLLocation' PL: rolSegment.13-%} + {% endif -%} + + {% if rolSegment.14 %} + {% evaluate organization_ID_ROL_14 using 'ID/Organization' XON: rolSegment.14.Repeats[0] -%} + {% assign full_organizationId = organization_ID_ROL_14 | prepend: 'Organization/' %} + {% include 'Resource/Organization' ROL: rolSegment , ID: organization_ID_ROL_14 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId, ID: practitionerRoleId %} + {% endif %} + + {% endunless -%} + + {% endunless %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + + {% endunless %} + {% endfor %} + {%- comment -%} FINANCIAL_PROCEDURE-ROL related coding ends {%- endcomment -%} + + {% endfor -%} + + {% unless orcFinancialSegmentLists.ORC %} + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign tq1SegmentLists = group1 | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = group1 | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obxSegmentLists = group1 | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH: firstSegments.MSH, baseId: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + + {% for obxSegment in obxSegmentLists.OBX %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% include 'Reference/ChargeItem/Service' REF: fullDiagnosticReportId, ID: chargeitem_id -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% include 'Reference/ChargeItem/Service' REF: fullObservationId, ID: chargeitem_id -%} + {% endif -%} + {% endfor %} + {% endfor -%} + {% endunless %} + + + {% for orcSegment in orcFinancialSegmentLists.ORC -%} + + {% assign tq1SegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obxSegmentLists = segmentsSubList | get_related_segment_list: orcSegment, 'OBX' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: fullPatientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + {% include 'Reference/ServiceRequest/Encounter' REF: firstFullencounterId, ID: serviceRequestId -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: fullPatientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% if obrSegment %} + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + {% endif %} + + {% assign nteSegmentLists1 = segmentsSubList | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% if obrSegment %} + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: diagnosticId -%} + {% endif %} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + + {% endif -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% include 'Reference/ChargeItem/Service' REF: fullDiagnosticReportId, ID: chargeitem_id -%} + {% include 'Reference/DiagnosticReport/Encounter' REF: firstFullencounterId, ID: obx_diagnosticReportID -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% include 'Reference/ChargeItem/Service' REF: fullObservationId, ID: chargeitem_id -%} + + {% if obrSegment %} + {% include 'Reference/DiagnosticReport/Result' REF: fullObservationId, ID: diagnosticId -%} + {% endif %} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = segmentsSubList | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% unless obxSegmentLists.OBX %} + {% assign obxSegmentLists = group1 | get_segment_lists: 'OBX' -%} + {% for obxSegment in obxSegmentLists.OBX %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% assign fullDiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% include 'Reference/ChargeItem/Service' REF: fullDiagnosticReportId, ID: chargeitem_id -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: fullPatientId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% include 'Reference/ChargeItem/Service' REF: fullObservationId, ID: chargeitem_id -%} + {% endif -%} + {% endfor %} + {% endunless %} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% unless dg1FinancialSegmentLists.DG1 %} + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% assign fullConditionId = conditionId | prepend: 'Condition/' %} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullConditionId, ID: chargeitem_id -%} + {% endfor -%} + {% endunless %} + + {% for dg1Segment in dg1FinancialSegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% assign fullConditionId = conditionId | prepend: 'Condition/' %} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullConditionId, ID: chargeitem_id -%} + {% include 'Reference/Condition/Encounter' REF: firstFullencounterId, ID: conditionId -%} + {% endfor -%} + + {% if firstSegments.PID.18 -%} + {% unless gt1FinancialSegmentLists.GT1[0].2 %} + {% unless in1FinancialSegmentLists.IN1[0].2 %} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% assign firstFullAccountID = accountId | prepend: 'Account/' %} + {% include 'Reference/ChargeItem/Account' REF: firstFullAccountID , ID: chargeitem_id %} + {% endunless %} + {% endunless %} + {% endif %} + + + {% if gt1FinancialSegmentLists.GT1[0].2 %} + {% evaluate accountId using 'ID/Account' PID: firstSegments.PID.18, GT1: gt1FinancialSegmentLists.GT1[0].2, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, REF_PATIENT: fullPatientId, ID: accountId -%} + {% assign fullAccountID = accountId | prepend: 'Account/' %} + {% include 'Reference/ChargeItem/Account' REF: fullAccountID , ID: chargeitem_id %} + {% elsif in1FinancialSegmentLists.IN1[0].2 %} + {% evaluate accountId using 'ID/Account' PID: firstSegments.PID.18, IN1: in1FinancialSegmentLists.IN1[0].2, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% assign fullAccountID = accountId | prepend: 'Account/' %} + {% include 'Reference/ChargeItem/Account' REF: fullAccountID , ID: chargeitem_id %} + {% include 'Reference/Account/Subject' REF: fullPatientId , ID: accountId %} + {% endif %} + + + {% for gt1SegmentLists in gt1FinancialSegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + + {% endfor -%} + + {% for in1Segment in in1FinancialSegmentLists.IN1 -%} + {% assign in2FinancialSegmentLists = segmentsSubList | get_related_segment_list: in1Segment, 'IN2' -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2FinancialSegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + + {% endfor -%} + + {% assign prtSegmentListsIN1 = segmentsSubList | get_related_segment_list: in1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsIN1.PRT %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} + + {% assign rolSegmentListsIN1 = segmentsSubList | get_related_segment_list: in1Segment, 'ROL' -%} + + {% for rolSegment in rolSegmentListsIN1.ROL %} + {% assign rolSegmentPositionIndex = rolSegmentPositionIndex | plus: 1 %} + {% endfor %} + {% endfor -%} + + + + {%- comment -%} + coding ends for financial group related segments + {%- endcomment -%} + {% endunless %} + {% assign mainListIndexPosition = 1 %} + {% endfor %} + + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid b/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid index b4da42bcf..16be07425 100644 --- a/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid +++ b/data/Templates/Hl7v2/DataType/_CWEIdentifier.liquid @@ -2,19 +2,19 @@ { "value": "{{CWE.1}}", {% if CWE.3 %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.3}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE.3}}", {% endif %} }, { "value": "{{CWE.4}}", {% if CWE.6 %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.6}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE.6}}", {% endif %} }, { "value": "{{CWE.10}}", {% if CWE.12 %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE.12}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE.12}}", {% endif %} }, {% endif -%} @@ -22,19 +22,19 @@ { "value": "{{CWE_InternalValue.1.Value}}", {% if CWE_InternalValue.3.Value %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE_InternalValue.3.Value}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE_InternalValue.3.Value}}", {% endif %} }, { "value": "{{CWE_InternalValue.4.Value}}", {% if CWE_InternalValue.6.Value %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE_InternalValue.6.Value}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE_InternalValue.6.Value}}", {% endif %} }, { "value": "{{CWE_InternalValue.10.Value}}", {% if CWE_InternalValue.12.Value %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{CWE_InternalValue.12.VAlue}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{CWE_InternalValue.12.VAlue}}", {% endif %} }, {% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid b/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid index c96cdb8da..49c365ccf 100644 --- a/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid +++ b/data/Templates/Hl7v2/DataType/_EIIdentifier.liquid @@ -7,7 +7,7 @@ "value":"{{ EI.1.Value }}", {% unless EI.3.Value and EI.4.Value -%} {% if EI.2 %} - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-{{EI.2.Value | replace: ' ', '-'}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{EI.2.Value | replace: ' ', '-'}}", {% endif %} {% endunless -%} {% if EI.4.Value -%} @@ -18,7 +18,7 @@ {% elsif EI.4.Value == "UUID" or EI.4.Value == "GUID" -%} "system": "urn:uuid:{{ EI.3.Value }}", {% else -%} - "system": "http://example.com/v2-to-fhir-converter/universal-entity-identifier-{{EI.4.Value | replace: ' ', '-' }}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{EI.4.Value | replace: ' ', '-' }}", {% endif -%} "type":{ "coding": [ diff --git a/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid b/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid index ee9fcf75f..e69f50725 100644 --- a/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid +++ b/data/Templates/Hl7v2/DataType/_EIIdentifier_InternalValues.liquid @@ -7,7 +7,7 @@ "value":"{{ EI.1 }}", {% unless EI.3 and EI.4 -%} {% if EI.2 %} - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-{{EI.2 | replace: ' ', '-'}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{EI.2 | replace: ' ', '-'}}", {% endif %} {% endunless -%} {% if EI.4 -%} @@ -18,7 +18,7 @@ {% elsif EI.4 == "UUID" or EI.4 == "GUID" -%} "system": "urn:uuid:{{ EI.3 }}", {% else -%} - "system": "http://example.com/v2-to-fhir-converter/universal-entity-identifier-{{EI.4 | replace: ' ', '-' }}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{EI.4 | replace: ' ', '-' }}", {% endif -%} "type":{ "coding": [ diff --git a/data/Templates/Hl7v2/DataType/_HDLocation.liquid b/data/Templates/Hl7v2/DataType/_HDLocation.liquid index a5a48e1bd..972028d59 100644 --- a/data/Templates/Hl7v2/DataType/_HDLocation.liquid +++ b/data/Templates/Hl7v2/DataType/_HDLocation.liquid @@ -15,7 +15,7 @@ {% if HD.3.Value == "ISO" or HD.3.Value == "CLIA" or HD.3.Value == "CLIP" or HD.3.Value == "UUID" or HD.3.Value == "GUID"-%} "system": "urn:ietf:rfc:3986", {% else %} - "system": "http://example.com/v2-to-fhir-converter/location-universal-system-{{HD.3.Value}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.3.Value}}", {% endif -%} }, ], diff --git a/data/Templates/Hl7v2/DataType/_HDOrganization.liquid b/data/Templates/Hl7v2/DataType/_HDOrganization.liquid index 011e725b2..b282e6897 100644 --- a/data/Templates/Hl7v2/DataType/_HDOrganization.liquid +++ b/data/Templates/Hl7v2/DataType/_HDOrganization.liquid @@ -3,7 +3,7 @@ [ { "value":"{{ HD.1.Value }}", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-{{HD.1.Value | replace: ' ', '-' }}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.1.Value | replace: ' ', '-' }}", }, {% if HD.2.Value and HD.3.Value -%} { @@ -18,7 +18,7 @@ {% if HD.3.Value == "ISO" or HD.3.Value == "UUID" or HD.3.Value == "CLIA" or HD.3.Value == "CLIP" or HD.3.Value == "GUID" or HD.3.Value == "URI" -%} "system": "urn:ietf:rfc:3986", {% else -%} - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-{{HD.3.Value | replace: ' ', '-' }}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.3.Value | replace: ' ', '-' }}", {% endif -%} "type":{ diff --git a/data/Templates/Hl7v2/DataType/_HDOrganization_InternalValue.liquid b/data/Templates/Hl7v2/DataType/_HDOrganization_InternalValue.liquid index 0643d9eb8..da5742386 100644 --- a/data/Templates/Hl7v2/DataType/_HDOrganization_InternalValue.liquid +++ b/data/Templates/Hl7v2/DataType/_HDOrganization_InternalValue.liquid @@ -3,7 +3,7 @@ [ { "value":"{{ HD.1 }}", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-{{HD.1 | replace: ' ', '-' }}" + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.1 | replace: ' ', '-' }}" }, {% if HD.2 and HD.3 -%} { @@ -18,7 +18,7 @@ {% if HD.3 == "ISO" or HD.3 == "UUID" or HD.3 == "CLIA" or HD.3 == "CLIP" or HD.3 == "GUID" or HD.3 == "URI" -%} "system": "urn:ietf:rfc:3986", {% else -%} - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-{{HD.3 | replace: ' ', '-' }}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.3 | replace: ' ', '-' }}", {% endif -%} "type":{ diff --git a/data/Templates/Hl7v2/DataType/_HDUri.liquid b/data/Templates/Hl7v2/DataType/_HDUri.liquid index 6dd6c70ea..5edd2c58a 100644 --- a/data/Templates/Hl7v2/DataType/_HDUri.liquid +++ b/data/Templates/Hl7v2/DataType/_HDUri.liquid @@ -1,7 +1,7 @@ {% if HD -%} {% if HD.1 and HD.2 == null or HD.2 == "" and HD.3 == null or HD.3 == "" -%} - "system":"http://example.com/v2-to-fhir-converter/assigning-authority-local-system-{{HD.1 | replace: ' ', '-' }}", + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{HD.1 | replace: ' ', '-' }}", {% elsif HD.3 == "ISO" or HD.3 == "CLIA" or HD.3 == "CLIP" -%} "system":"urn:oid:{{HD.2}}", @@ -10,7 +10,7 @@ "system":"urn:uuid:{{HD.2}}", {% else -%} - "system":"http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-{{HD.3 | replace: ' ', '-' }}", + "system":"http://example.com/v2-to-fhir-converter/Identifier/{{HD.3 | replace: ' ', '-' }}", {% endif -%} {% endif -%} diff --git a/data/Templates/Hl7v2/DataType/_PL_HDLocation.liquid b/data/Templates/Hl7v2/DataType/_PL_HDLocation.liquid index 39b85a92c..509a25bad 100644 --- a/data/Templates/Hl7v2/DataType/_PL_HDLocation.liquid +++ b/data/Templates/Hl7v2/DataType/_PL_HDLocation.liquid @@ -15,7 +15,7 @@ {% if HD.3 == "ISO" or HD.3 == "CLIA" or HD.3 == "CLIP" or HD.3 == "UUID" or HD.3 == "GUID"-%} "system": "urn:ietf:rfc:3986", {% else %} - "system": "http://example.com/v2-to-fhir-converter/location-universal-system-{{HD.3}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{HD.3}}", {% endif -%} }, ], diff --git a/data/Templates/Hl7v2/DataType/_STCoding.liquid b/data/Templates/Hl7v2/DataType/_STCoding.liquid index 7ccbebb2f..fed696ba2 100644 --- a/data/Templates/Hl7v2/DataType/_STCoding.liquid +++ b/data/Templates/Hl7v2/DataType/_STCoding.liquid @@ -1,6 +1,5 @@ {% if ST -%} { "display":"{{ ST.1.Value }}", - "system": "http://example.com/v2-to-fhirconverter/security-label", } {% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/DataType/_XONOrganization.liquid b/data/Templates/Hl7v2/DataType/_XONOrganization.liquid index de4f5b8ac..41362f8bc 100644 --- a/data/Templates/Hl7v2/DataType/_XONOrganization.liquid +++ b/data/Templates/Hl7v2/DataType/_XONOrganization.liquid @@ -1,5 +1,8 @@ {% if XON -%} "name":"{{ XON.1.Value }}", + {% if Org_Name %} + "name": "{{ Org_Name.Value }}", + {% endif %} "identifier": [ { @@ -22,30 +25,4 @@ }, }, ], -{% endif -%} -{% if XON_PRT -%} - "identifier": - [ - {% for PRT_8 in XON_PRT.Repeats %} - { - {% if PRT_8.10 -%} - "value":"{{ PRT_8.10.Value }}", - {% else -%} - "value":"{{ PRT_8.3.Value }}", - {% endif -%} - "type": - { - "coding": - [ - { - {% if PRT_8.7 -%} - "code":"{{ PRT_8.7.Value }}", - "system":"http://terminology.hl7.org/CodeSystem/v2-0203", - {% endif -%} - }, - ], - }, - }, - {% endfor %} - ], -{% endif -%} +{% endif -%} \ No newline at end of file diff --git a/data/Templates/Hl7v2/ID/_Account.liquid b/data/Templates/Hl7v2/ID/_Account.liquid index a013bb190..d83c3fb07 100644 --- a/data/Templates/Hl7v2/ID/_Account.liquid +++ b/data/Templates/Hl7v2/ID/_Account.liquid @@ -11,6 +11,8 @@ {{GT1_Account.2.Value}} {% elsif GT1_Account -%} {{GT1_Account.3.Value}} + {% elsif BLG -%} + {{BLG.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Account', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_Encounter.liquid b/data/Templates/Hl7v2/ID/_Encounter.liquid index bca63e7dc..c6e44bf91 100644 --- a/data/Templates/Hl7v2/ID/_Encounter.liquid +++ b/data/Templates/Hl7v2/ID/_Encounter.liquid @@ -1,8 +1,12 @@ {% capture identifiers -%} {% if PV1.19.1 and PV1.19.4 -%} {{PV1.19.1.Value}},{{PV1.19.4.Value}} + {% elsif PV1_50.50.1 and PV1_50.50.4 -%} + {{PV1_50.50.1.Value}},{{PV1_50.50.4.Value}} {% elsif PV1 -%} {{PV1.Value}} + {% elsif PV1_50 -%} + {{PV1_50.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'Encounter', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_MedicationDispense.liquid b/data/Templates/Hl7v2/ID/_MedicationDispense.liquid index a0ddd6580..827d094b0 100644 --- a/data/Templates/Hl7v2/ID/_MedicationDispense.liquid +++ b/data/Templates/Hl7v2/ID/_MedicationDispense.liquid @@ -3,8 +3,10 @@ {{RXD.7.Value}},{{RXD.2.Value}},{{RXD.3.Value}} {% elsif RXD -%} {{RXD.Value}} - {% elsif FT1 -%} - {{FT1.29.1.Value}},{{FT1.29.3.Value}},{{FT1.42.Value}} + {% elsif FT1 and ORC_FT1 -%} + {{FT1.Value}},{{ORC_FT1.Value}} + {% elsif FT1 %} + {{FT1.Value}} {% endif -%} {% endcapture -%} {{ identifiers | generate_id_input: 'MedicationDispense', false, baseId | generate_uuid }} diff --git a/data/Templates/Hl7v2/ID/_PractitionerRole.liquid b/data/Templates/Hl7v2/ID/_PractitionerRole.liquid index 608be4cae..e596d5c38 100644 --- a/data/Templates/Hl7v2/ID/_PractitionerRole.liquid +++ b/data/Templates/Hl7v2/ID/_PractitionerRole.liquid @@ -3,6 +3,14 @@ {{PRD.1.1.Value}},{{PRD.7.Repeats[0].1.Value}},{{PRD.7.Repeats[0].2.1}},{{PRD.7.Repeats[0].2.3}} {% elsif NDL -%} {{NDL.1.Value}},{{NDL.4.Value}},{{NDL.5.Value}},{{NDL.6.Value}},{{NDL.7.Value}},{{NDL.8.Value}},{{NDL.9.Value}},{{NDL.10.Value}},{{NDL.11.Value}} + {% elsif XCN.1 and XCN.9 and ROL -%} + {{ROL.Value}},{{XCN.1.Value}},{{XCN.9.Value}} + {% elsif ROL and XCN -%} + {{ROL.Value}},{{XCN.Value}} + {% elsif XCN.1 and XCN.9 and PRT -%} + {{PRT.Value}},{{XCN.1.Value}},{{XCN.9.Value}} + {% elsif PRT and XCN -%} + {{PRT.Value}},{{XCN.Value}} {% elsif XCN.1 and XCN.9 -%} {{XCN.1.Value}},{{XCN.9.Value}} {% elsif XCN -%} diff --git a/data/Templates/Hl7v2/ID/_Procedure.liquid b/data/Templates/Hl7v2/ID/_Procedure.liquid index 3ca80f7f3..097cd883a 100644 --- a/data/Templates/Hl7v2/ID/_Procedure.liquid +++ b/data/Templates/Hl7v2/ID/_Procedure.liquid @@ -9,6 +9,8 @@ {{PID_3.Value}},{{PDA_death.4.Value}},{{PDA_death.5.1.Value}} {% elsif PID_3 and PDA_autopsy.7 and PDA_autopsy.8.1 %} {{PID_3.Value}},{{PDA_autopsy.7.Value}},{{PDA_autopsy.8.1.Value}} + {% elsif FT1 and ORC_FT1 -%} + {{FT1.Value}},{{ORC_FT1.Value}} {% elsif FT1 %} {{FT1.Value}} {% endif -%} diff --git a/data/Templates/Hl7v2/OMG_O19.liquid b/data/Templates/Hl7v2/OMG_O19.liquid new file mode 100644 index 000000000..c2bda97da --- /dev/null +++ b/data/Templates/Hl7v2/OMG_O19.liquid @@ -0,0 +1,2525 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'MSH|UAC|PID|PD1|PV1|PV2' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign nteSegmentLists = hl7v2Data | get_segment_lists: 'NTE' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign arvSegmentLists = hl7v2Data | get_segment_lists: 'ARV' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign obxAllSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} +{% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} + +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'OMG_O19', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + + {% if firstSegments.PD1.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} + {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if firstSegments.PD1.4 -%} + {% if firstSegments.PD1.4.9.1 != "" and firstSegments.PD1.4.9.1 != null and firstSegments.PD1.4.9.2 != "" and firstSegments.PD1.4.9.2 != null and firstSegments.PD1.4.9.3 != "" and firstSegments.PD1.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: firstSegments.PD1.4.9 -%} + {% include 'Resource/Organization', PD1_4: firstSegments.PD1.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: firstSegments.PD1.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% include 'Resource/Encounter' Root_Template: 'OMG_O19', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} + {% for arvSegment1 in arvSegmentLists1.ARV %} + {% if arvSegment1 %} + {% include 'Resource/Patient' ARV: arvSegment1, ID: patientId %} + {% endif %} + {% endfor %} + + {% assign al1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'AL1' -%} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + {% assign in2SegmentLists = hl7v2Data | get_related_segment_list: in1Segment, 'IN2' -%} + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' %} + {% if accountId %} + {% include 'Reference/Account/Coverage_Coverage' ID: accountId, REF: fullCoverageId -%} + {% endif %} + + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + + {% endfor -%} + + {% evaluate firstPatientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign firstFullPatientId = firstPatientId | prepend: 'Patient/' -%} + {% evaluate firstEncounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: firstPatientId -%} + {% assign firstFullencounterId = firstEncounterId | prepend: 'Encounter/' %} + + {% for orcSegment in orcSegmentLists.ORC -%} + + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + {% assign dg1SegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'DG1' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + {% assign spmSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'SPM' -%} + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: firstPatientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: firstFullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: firstPatientId -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: firstPatientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: firstFullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + + {% include 'Reference/ServiceRequest/Encounter' REF: firstFullencounterId, ID: serviceRequestId -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParent, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: firstPatientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: firstFullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent, ID: diagnosticId, DiagnosticReport_Subject_ID: firstFullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + + {% endif -%} + + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: firstPatientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: firstFullPatientId, baseId: firstPatientId, ID: conditionId, Condition_Encounter_ID: firstFullencounterId -%} + {% assign fullConditionId = conditionId | prepend: 'Condition/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} + + {% assign fullDiagnosticId = diagnosticId | prepend: 'DiagnosticReport/' %} + {% include 'Reference/Condition/Stage_Assessment' ID: conditionId, REF: fullDiagnosticId -%} + + {% if firstEncounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: firstEncounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: firstPatientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: firstFullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + + {% endfor -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: firstFullPatientId -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: firstFullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' %} + {% include 'Reference/DiagnosticReport/Result' REF: fullObservationId, ID: diagnosticId -%} + + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% for spmSegment in spmSegmentLists.SPM -%} + {% if spmSegment %} + {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: firstPatientId -%} + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% assign sac_spmSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'SAC' -%} + {% if sac_spmSegmentLists == empty %} + {% include 'Resource/Specimen' SPM: spmSegment, ID: specimenId_spm, Specimen_Subject_ID: firstFullPatientId -%} + {% else %} + {% for sacSegment in sac_spmSegmentLists.SAC -%} + {% if sacSegment %} + {% include 'Resource/Specimen' SPM: spmSegment, SAC: sacSegment, ID: specimenId_spm, Specimen_Subject_ID: firstFullPatientId -%} + {% if sacSegment.43 and spmSegment.15 == null %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: sacSegment.43 -%} + {% endif %} + + {% assign obxSegmentPositionIndex_sac = 0 -%} + {% assign checkParentSAC = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_sac}}, 'SAC' -%} + {% assign obxSegmentPositionIndex_sac = obxSegmentPositionIndex_sac | plus: 1 -%} + {% assign sac_obxSegmentLists = hl7v2Data | get_related_segment_list: sacSegment, 'OBX' -%} + + {% for spm_obxSegment in sac_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: firstFullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSAC %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: firstFullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSAC %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + {% endfor -%} + {% endif %} + {% endfor -%} + {% endif %} + {% if spmSegment.15 %} + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} + {% endif %} + {% endif %} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/Specimen/Request' ID: specimenId_spm, REF: fullServiceRequestId -%} + {% if spmSegment.3 %} + {% for spmSegment_3 in spmSegment.3.Repeats %} + {% evaluate spm_specimenId_3 using 'ID/Specimen' SPM: spmSegment_3 -%} + {% include 'Resource/Specimen' SPM_parent: spmSegment_3, ID: spm_specimenId_3 -%} + {% assign fullSpecimenId_spm3 = spm_specimenId_3 | prepend: 'Specimen/' -%} + {% include 'Reference/Specimen/Parent' ID: specimenId_spm, REF: fullSpecimenId_spm3 -%} + {% endfor %} + {% endif %} + {% if spmSegment.30 -%} + {% if spmSegment.30.4.1 != "" and spmSegment.30.4.1 != null and spmSegment.30.4.2 != "" and spmSegment.30.4.2 != null and spmSegment.30.4.3 != "" and spmSegment.30.4.3 != null -%} + {% evaluate Organization_ID_SPM_30_4 using 'ID/Organization' HDORG: spmSegment.30.4 -%} + {% include 'Resource/Organization' SPM: spmSegment.30.4, ID: Organization_ID_SPM_30_4 -%} + {% endif -%} + {% endif -%} + {% if spmSegment.31 -%} + {% for spm_31 in spmSegment.31.Repeats %} + {% if spm_31.4.1 != "" and spm_31.4.1 != null and spm_31.4.2 != "" and spm_31.4.2 != null and spm_31.4.3 != "" and spm_31.4.3 != null -%} + {% evaluate Organization_ID_SPM_31_4 using 'ID/Organization' HDORG: spm_31.4 -%} + {% include 'Resource/Organization' SPM: spm_31.4, ID: Organization_ID_SPM_31_4 -%} + {% endif -%} + {% endfor %} + {% endif -%} + + {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPM: spmSegment -%} + + {% assign obxSegmentPositionIndex_spm = 0 -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} + + {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} + {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} + + {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: firstFullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} + {% if spm_obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: firstPatientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: firstFullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + {% endfor -%} + {% endfor -%} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% assign blg_orcSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'BLG' -%} + {% assign blgSegment = blg_orcSegmentLists.BLG[0] %} + {% assign full_accountId_BLG = null %} + + {% if ft1SegmentLists.FT1 %} + {% if blgSegment.3 %} + {% evaluate accountId_BLG using 'ID/Account' BLG: blgSegment.3 -%} + {% assign full_accountId_BLG = accountId_BLG | prepend: 'Account/' %} + + {% include 'Resource/Account' BLG: blgSegment, ID: AccountId_BLG -%} + {% if blgSegment.3.4.1 != "" and blgSegment.3.4.1 != null and blgSegment.3.4.2 != "" and blgSegment.3.4.2 != null and blgSegment.3.4.3 != "" and blgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_blg_CX_3 using 'ID/Organization' HDORG: blgSegment.3.4 -%} + {% include 'Resource/Organization', PID: blgSegment.3, ID: Organization_ID_blg_CX_3 -%} + {% endif -%} + {% endif %} + {% endif %} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% if full_accountId_BLG %} + {% include 'Reference/ChargeItem/Account' REF: full_accountId_BLG , ID: chargeitem_id -%} + {% endif %} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} + + {% endfor -%} + + {% assign pv1SegmentLists = hl7v2Data | get_segment_lists: 'PV1' -%} + + {% assign priorcheckParentORC = hl7v2Data | get_parent_segment: 'PV1', 1, 'ORC' -%} + {% assign priorcheckParentOBR = hl7v2Data | get_parent_segment: 'PV1', 1, 'OBR' -%} + {% evaluate serviceRequest1 using 'ID/ServiceRequest' ORC: priorcheckParentORC.ORC, OBR_OML_ORM: priorcheckParentOBR.OBR, OML_ORM_MSH:firstSegments.MSH, baseId: firstPatientId -%} + + {% assign temp = 0 %} + {% for pv1Segment in pv1SegmentLists.PV1 -%} + {% unless temp == 0 %} + + {% assign pidSegmentParent = hl7v2Data | get_parent_segment: 'PV1', 1, 'PID' -%} + + {% assign pidSegment = pidSegmentParent.PID %} + + {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PD1' -%} + {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PV2' -%} + + + {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + + + {% evaluate patientId_prior using 'ID/Patient' PID: pidSegment, type: 'First' -%} + {% assign fullPatientId = patientId_prior | prepend: 'Patient/' -%} + + {% include 'Resource/Patient' PID: pidSegment, PD1: pd1Segment, ID: patientId_prior -%} + {% include 'Extensions/Patient/PatientExtension' ID: patientId_prior, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} + + {% unless patientId_prior == patientId -%} + {% include 'Reference/Patient/Link_Other' ID: patientId, REF: fullPatientId -%} + {% endunless%} + + {% assign accountId = null %} + {% if pidSegment.18 -%} + {% evaluate accountId using 'ID/Account' CX: pidSegment.18, baseId: patientId_prior -%} + {% include 'Resource/Account' PID: pidSegment, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if pidSegment.18.4.1 != "" and pidSegment.18.4.1 != null and pidSegment.18.4.2 != "" and pidSegment.18.4.2 != null and pidSegment.18.4.3 != "" and pidSegment.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: pidSegment.18.4 -%} + {% include 'Resource/Organization', PID: pidSegment.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% if pidSegment.2 -%} + {% if pidSegment.2.4.1 != "" and pidSegment.2.4.1 != null and pidSegment.2.4.2 != "" and pidSegment.2.4.2 != null and pidSegment.2.4.3 != "" and pidSegment.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: pidSegment.2.4 -%} + {% include 'Resource/Organization', PID: pidSegment.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in pidSegment.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if pidSegment.4 -%} + {% if pidSegment.4.4.1 != "" and pidSegment.4.4.1 != null and pidSegment.4.4.2 != "" and pidSegment.4.4.2 != null and pidSegment.4.4.3 != "" and pidSegment.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: pidSegment.4.4 -%} + {% include 'Resource/Organization', PID: pidSegment.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if pidSegment.21 -%} + {% if pidSegment.21.4.1 != "" and pidSegment.21.4.1 != null and pidSegment.21.4.2 != "" and pidSegment.21.4.2 != null and pidSegment.21.4.3 != "" and pidSegment.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: pidSegment.21.4 -%} + {% include 'Resource/Organization', PID: pidSegment.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: pidSegment, baseId: patientId_prior -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: pidSegment -%} + {% endif -%} + {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId_prior -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId_prior -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + + {% if pd1Segment.3 -%} + {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} + {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} + {% endif -%} + + {% if pd1Segment.4 -%} + {% if pd1Segment.4.9.1 != "" and pd1Segment.4.9.1 != null and pd1Segment.4.9.2 != "" and pd1Segment.4.9.2 != null and pd1Segment.4.9.3 != "" and pd1Segment.4.9.3 != null -%} + {% evaluate Organization_ID_PD1_4_9 using 'ID/Organization' HDORG: pd1Segment.4.9 -%} + {% include 'Resource/Organization', PD1_4: pd1Segment.4.9, ID: Organization_ID_PD1_4_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_PD1_4 using 'ID/Practitioner' XCN: firstSegments.PD1.4 -%} + {% include 'Resource/Practitioner' PD1: pd1Segment.4, ID: Practitioner_ID_PD1_4 -%} + {% endif -%} + + {% if pv1Segment -%} + {% if pv1Segment.5 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} + + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} + + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} + + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} + + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} + + {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId_prior -%} + {% include 'Resource/Encounter' Root_Template: 'OMG_O19', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId, conditionId: null -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: firstSegments.PV2, -%} + {% endif -%} + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: pidSegment, 'ARV' -%} + {% for arvSegment2 in arvSegmentLists2.ARV %} + {% if arvSegment2 %} + {% include 'Resource/Patient' ARV: arvSegment2, ID: patientId_prior %} + {% endif %} + {% endfor %} + + {% assign al1SegmentLists_prior = hl7v2Data | get_related_segment_list: pv1Segment, 'AL1' -%} + {% for al1Segment_prior in al1SegmentLists_prior.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment_prior, baseId: patientId_prior -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment_prior, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% assign orcSegmentLists_prior = hl7v2Data | get_related_segment_list: pv1Segment, 'ORC' -%} + + {% for orcSegment in orcSegmentLists_prior.ORC -%} + {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} + {% assign obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBR' -%} + {% assign obrSegment = obrSegmentLists.OBR[0] %} + {% assign checkParent = orcSegment %} + + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + + + + {% evaluate parentServiceRequestId_orc using 'ID/ServiceRequest' ORC: checkParent.31, baseId: patientId -%} + {% if obrSegment.29.Value == null %} + {% if checkParent.8 and checkParent.31 %} + {% include 'Resource/ServiceRequest' OBR: obrSegment, ORC: checkParent, ID: parentServiceRequestId_orc, ServiceRequest_Subject_ID: fullPatientId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' ORC: checkParent, OBR_OML_ORM: obrSegment, OML_ORM_MSH:firstSegments.MSH, baseId: patientId -%} + + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "OMG" -%} + {% assign fullencounterId = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/ServiceRequest/Encounter' REF: fullencounterId, ID: serviceRequestId -%} + + {% assign fullServiceRequest = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullServiceRequest, ID: serviceRequest1 -%} + + {% assign organizationId_ORC_21 = null %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% endif %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParent, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% else %} + {% if checkParent.12 %} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: checkParent.12.Repeats[0] -%} + {% if checkParent.12.Repeats[0].9.1 != "" and checkParent.12.Repeats[0].9.1 != null and checkParent.12.Repeats[0].9.2 != "" and checkParent.12.Repeats[0].9.2 != null and checkParent.12.Repeats[0].9.3 != "" and checkParent.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: checkParent.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_SEG_12: checkParent.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% include 'Resource/Practitioner' ORC_SEG: checkParent, ORCXCN_12: checkParent.12.Repeats[0], ORC_SEG_24: checkParent.24, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: checkParent.12.Repeats[0]-%} + {% include 'Resource/PractitionerRole' ORC_pracrole: checkParent, requestor_practitioner2: practitionerId_ORC_12, requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + {% assign fullPractitionerRoleId_ORC_12 = practitionerRoleId_ORC_12 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_12, ID: serviceRequestId -%} + {% else %} + {% if checkParent.21 %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: checkParent.21.Repeats[0] -%} + {% if checkParent.12.Repeats[0] == null or checkParent.12.Repeats[0] == "" -%} + {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} + {% endif %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullPractitionerRoleId_ORC_21, ID: serviceRequestId -%} + {% endif %} + {% endif -%} + {% endif %} + + + + {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% include 'Reference/ServiceRequest/Specimen' REF: fullSpecimenId_spm, ID: serviceRequestId -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "OMG" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticId %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticId %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticId %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, parentSegment: checkParent, ID: diagnosticId, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticId, REF: fullServiceRequestId -%} + + {% include 'Reference/DiagnosticReport/Specimen' ID: diagnosticId, REF: fullSpecimenId_spm -%} + + + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + + {% endif -%} + + + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: obx_diagnosticReportID, DiagnosticReport_Subject_ID: fullPatientId -%} + {% include 'Reference/DiagnosticReport/Specimen' ID: obx_diagnosticReportID, REF: fullSpecimenId_spm -%} + {% assign fulldiagnosticReportId = obx_diagnosticReportID | prepend: 'DiagnosticReport/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fulldiagnosticReportId, ID: serviceRequest1 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + {% include 'Reference/Observation/Specimen' ID: observationId, REF: fullSpecimenId_spm -%} + {% assign fullObservationId = observationId | prepend: 'Observation/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullObservationId, ID: serviceRequest1 -%} + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} + {% endfor -%} + + {% unless tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' ID: serviceRequestId, OBR_tq1: obrSegmentLists.OBR[0], ORC_tq1: orcSegment -%} + {% endunless -%} + {% for tq1Segment in tq1SegmentLists.TQ1 -%} + {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegmentLists.OBR[0] -%} + {% endfor -%} + + {% endfor -%} + + {% endunless %} + {% assign temp = 1 %} + {% endfor -%} + + {% for obxSegmentAll in obxAllSegmentLists.OBX -%} + + {% assign observationId = null -%} + {% assign obx_diagnosticReportID1 = null -%} + + {% assign prtSegmentListsAll = hl7v2Data | get_related_segment_list: obxSegmentAll, 'PRT' -%} + + {% if obxSegmentAll.2.Value == 'ED' or obxSegmentAll.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegmentAll -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegmentAll, baseId: patientId -%} + {% endif -%} + + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentListsAll.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} + + {% endfor -%} + + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/OML_O21.liquid b/data/Templates/Hl7v2/OML_O21.liquid index ce6cd2d50..cf0e18897 100644 --- a/data/Templates/Hl7v2/OML_O21.liquid +++ b/data/Templates/Hl7v2/OML_O21.liquid @@ -7,6 +7,7 @@ {% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} {% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} {% assign orcSegmentLists = hl7v2Data | get_segment_lists: 'ORC' -%} +{% assign obxAllSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -165,6 +166,106 @@ {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} {% endif -%} {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if firstSegments.PD1.3 -%} {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: firstSegments.PD1.3 -%} {% include 'Resource/Organization' PD1: firstSegments.PD1, ID: Organization_ID_PD1_3 -%} @@ -301,6 +402,104 @@ {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} {% endif -%} + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + {% for nk1Segment in nk1SegmentLists.NK1 -%} {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} {% if nk1Segment.13 -%} @@ -497,6 +696,223 @@ {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} {% endif %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParent, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} @@ -943,6 +1359,125 @@ {% endfor %} {%- endcomment -%} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% assign blg_orcSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'BLG' -%} + {% assign blgSegment = blg_orcSegmentLists.BLG[0] %} + {% assign full_accountId_BLG = null %} + + {% if ft1SegmentLists.FT1 %} + {% if blgSegment.3 %} + {% evaluate accountId_BLG using 'ID/Account' BLG: blgSegment.3 -%} + {% assign full_accountId_BLG = accountId_BLG | prepend: 'Account/' %} + + {% include 'Resource/Account' BLG: blgSegment, ID: AccountId_BLG -%} + {% if blgSegment.3.4.1 != "" and blgSegment.3.4.1 != null and blgSegment.3.4.2 != "" and blgSegment.3.4.2 != null and blgSegment.3.4.3 != "" and blgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_blg_CX_3 using 'ID/Organization' HDORG: blgSegment.3.4 -%} + {% include 'Resource/Organization', PID: blgSegment.3, ID: Organization_ID_blg_CX_3 -%} + {% endif -%} + {% endif %} + {% endif %} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + + {% if full_accountId_BLG %} + {% include 'Reference/ChargeItem/Account' REF: full_accountId_BLG , ID: chargeitem_id -%} + {% endif %} + + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if supplyRequestID -%} + {% assign fullSupplyRequestId = supplyRequestID | prepend: 'SupplyRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullSupplyRequestId, ID: chargeitem_id -%} + {% endif -%} + + {% if medicationRequestId -%} + {% assign fullMedicationRequest = medicationRequestId | prepend: 'MedicationRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullMedicationRequest, ID: chargeitem_id -%} + {% endif -%} + + {% if NutritionOrder %} + {% assign fullNutritionOrder = NutritionOrder | prepend: 'NutritionOrder/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullNutritionOrder, ID: chargeitem_id -%} + {% endif %} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} + {% endfor -%} {% assign pv1SegmentLists = hl7v2Data | get_segment_lists: 'PV1' -%} @@ -1017,6 +1552,106 @@ {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: pidSegment -%} {% endif -%} {% endunless -%} + + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId_prior -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId_prior -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if pd1Segment.3 -%} {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} @@ -1153,6 +1788,104 @@ {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: firstSegments.PV2, -%} {% endif -%} + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: pidSegment, 'ARV' -%} {% for arvSegment2 in arvSegmentLists2.ARV %} {% if arvSegment2 %} @@ -1204,6 +1937,225 @@ {% include 'Resource/Organization' ORC_SEG: checkParent, ORC_SEG_22: checkParent.22, ORC_SEG_23: checkParent.23, ID: organizationId_ORC_21 -%} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParent.21.Repeats[0]-%} {% endif %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParent, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + + + {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} @@ -1396,5 +2348,133 @@ {% endunless %} {% assign temp = 1 %} {% endfor -%} + + {% for obxSegmentAll in obxAllSegmentLists.OBX -%} + + {% assign observationId = null -%} + {% assign obx_diagnosticReportID1 = null -%} + + {% assign prtSegmentListsAll = hl7v2Data | get_related_segment_list: obxSegmentAll, 'PRT' -%} + + {% if obxSegmentAll.2.Value == 'ED' or obxSegmentAll.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegmentAll -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegmentAll, baseId: patientId -%} + {% endif -%} + + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentListsAll.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} + + {% endfor -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ORM_O01.liquid b/data/Templates/Hl7v2/ORM_O01.liquid index 8cf5ceb2d..7ca63fdcb 100644 --- a/data/Templates/Hl7v2/ORM_O01.liquid +++ b/data/Templates/Hl7v2/ORM_O01.liquid @@ -299,6 +299,10 @@ {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + {% assign fullCoverageId = coverageId | prepend: 'Coverage/' -%} + + {% include 'Reference/Account/Coverage_Coverage' REF: fullCoverageId, ID: accountId -%} + {% for in1_49 in in1Segment.49.Repeats -%} {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} @@ -452,7 +456,10 @@ {% evaluate specimenId_obr using 'ID/Specimen' OBR: obrSegment -%} {% assign fullSpecimenId_obr = specimenId_obr | prepend: 'Specimen/' -%} {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} - {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "ORM" -%} + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, parentSegment: checkParent, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_ID_OBR_29: parentServiceRequestId, ServiceRequest_ID_ORC_8: parentServiceRequestId_orc, ID: serviceRequestId, type_msg: "ORM" -%} + + {% assign fullencounterID = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ServiceRequest/Encounter' REF: fullencounterID, ID: serviceRequestId -%} {% assign organizationId_ORC_21 = null %} {% if checkParent.21 %} @@ -541,8 +548,12 @@ {% endif %} {% endfor -%} + {% assign NutritionOrder = null %} {% assign orcSegmentPositionIndex = 0 -%} {% for odsSegment in odsSegmentLists.ODS -%} + + {% assign nteSegmentLists_ODS = hl7v2Data | get_related_segment_list: odsSegment, 'NTE' -%} + {% assign checkParentORCOFODS = hl7v2Data | get_parent_segment: 'ODS', {{orcSegmentPositionIndex}}, 'ORC' -%} {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} {% if checkParentORCOFODS.ORC.Value == orcSegment.Value %} @@ -588,11 +599,24 @@ {% include 'Resource/NutritionOrder' ODS: odsSegment, ORC: orcSegment, ID: NutritionOrder, NutritionOrder_Patient_ID: fullPatientId, NutritionOrder_Encounter_ID: fullEncounterId, NutritionOrder_AllergyIntolerance_ID: fullallergyIntoleranceId -%} + {% for nteSegment1 in nteSegmentLists_ODS.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/NutritionOrder' NTE: nteSegment1, ID: NutritionOrder -%} + {% endfor -%} + {%- comment -%} {%- endcomment -%} {% endif %} {% endfor -%} + {% assign supplyRequestID = null %} {% assign orcSegmentPositionIndex = 0 -%} {% for rqdSegment in rqdSegmentLists.RQD -%} {% assign checkParentORCOFRQD = hl7v2Data | get_parent_segment: 'RQD', {{orcSegmentPositionIndex}}, 'ORC' -%} @@ -655,9 +679,13 @@ {% endif %} {% endfor -%} + {% assign medicationRequestId = null %} {% assign orcSegment_7_firstRep = orcSegment.7.Repeats[0] %} {% assign orcSegmentPositionIndex = 0 -%} {% for rxoSegment in rxoSegmentLists.RXO -%} + + {% assign nteSegmentLists_RXO = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + {% assign checkParentORCOFRXO = hl7v2Data | get_parent_segment: 'RXO', {{orcSegmentPositionIndex}}, 'ORC' -%} {% assign orcSegmentPositionIndex = orcSegmentPositionIndex | plus: 1 -%} {% if checkParentORCOFRXO.ORC.Value == orcSegment.Value %} @@ -763,6 +791,18 @@ {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + {% for nteSegment1 in nteSegmentLists_RXO.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment1, ID: medicationRequestId -%} + {% endfor -%} + {% endfor -%} @@ -785,10 +825,18 @@ {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} {% assign fullConditionId = conditionId | prepend: 'Condition/' -%} - {% if serviceRequestId != null-%} + {% if serviceRequestId -%} {% include 'Reference/ServiceRequest/ReasonReference' REF: fullConditionId, ID: serviceRequestId -%} {% endif -%} + {% if supplyRequestID -%} + {% include 'Reference/SupplyRequest/ReasonReference' REF: fullConditionId, ID: supplyRequestID -%} + {% endif -%} + + {% if medicationRequestId -%} + {% include 'Reference/MedicationRequest/ReasonReference' REF: fullConditionId, ID: medicationRequestId -%} + {% endif -%} + {% if encounterId -%} {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} {% endif %} @@ -897,6 +945,145 @@ {% endfor -%} {% endif -%} {% endfor -%} + + {% unless supplyRequestID or NutritionOrder -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'CTI' -%} + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% if serviceRequestId %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% elsif medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' ID: medicationRequestId, REF: fullResearchStudyID -%} + {% endif %} + + {% endfor %} + {% endunless -%} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% assign blg_orcSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'BLG' -%} + {% assign blgSegment = blg_orcSegmentLists.BLG[0] %} + {% assign full_accountId_BLG = null %} + {% if blgSegment.3 %} + {% evaluate accountId_BLG using 'ID/Account' BLG: blgSegment.3 -%} + {% assign full_accountId_BLG = accountId_BLG | prepend: 'Account/' %} + {% if serviceRequestId %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: full_accountId_BLG -%} + {% elsif medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' ID: medicationRequestId, REF: full_accountId_BLG -%} + {% endif %} + {% include 'Resource/Account' BLG: blgSegment, ID: AccountId_BLG -%} + {% if blgSegment.3.4.1 != "" and blgSegment.3.4.1 != null and blgSegment.3.4.2 != "" and blgSegment.3.4.2 != null and blgSegment.3.4.3 != "" and blgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_blg_CX_3 using 'ID/Organization' HDORG: blgSegment.3.4 -%} + {% include 'Resource/Organization', PID: blgSegment.3, ID: Organization_ID_blg_CX_3 -%} + {% endif -%} + {% endif %} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% if full_accountId_BLG %} + {% include 'Reference/ChargeItem/Account' REF: full_accountId_BLG , ID: chargeitem_id -%} + {% endif %} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if serviceRequestId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + {% endif -%} + + {% if supplyRequestID -%} + {% assign fullSupplyRequestId = supplyRequestID | prepend: 'SupplyRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullSupplyRequestId, ID: chargeitem_id -%} + {% endif -%} + + {% if medicationRequestId -%} + {% assign fullMedicationRequest = medicationRequestId | prepend: 'MedicationRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullMedicationRequest, ID: chargeitem_id -%} + {% endif -%} + + {% if NutritionOrder %} + {% assign fullNutritionOrder = NutritionOrder | prepend: 'NutritionOrder/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullNutritionOrder, ID: chargeitem_id -%} + {% endif %} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} + {% endfor -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/ORU_R01.liquid b/data/Templates/Hl7v2/ORU_R01.liquid index 52318ba16..bdb323f9d 100644 --- a/data/Templates/Hl7v2/ORU_R01.liquid +++ b/data/Templates/Hl7v2/ORU_R01.liquid @@ -68,7 +68,7 @@ {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} - + {% assign prtSegmentPositionIndex = 0 %} {% for pidSegment in pidSegmentLists.PID -%} {% evaluate patientId using 'ID/Patient' PID: pidSegment, type: 'First' -%} @@ -76,6 +76,7 @@ {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PD1' -%} {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PRT' -%} {% assign nk1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'NK1' -%} {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: pidSegment, 'PV1' -%} {% assign pv1Segment = pv1SegmentLists.PV1[0] %} @@ -87,6 +88,115 @@ {% include 'Resource/Patient' PID: pidSegment, PD1: pd1Segment, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: pidSegment, PD1: pd1Segment, PV1: pv1Segment -%} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentORC = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + + {% if checkParentOBX.OBX.Value == null and checkParentPV1.PV1.Value == null and checkParentORC.ORC.Value == null and checkParentOBR.OBR.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + {% endfor %} + + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% for ctdSegment in ctdSegmentLists.CTD -%} {% include 'Resource/Patient' CTD: ctdSegment, ID: patientId -%} {% endfor -%} @@ -186,6 +296,9 @@ {% endfor %} {% for obxSegment in obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + {% assign observationId = null %} + {% assign obx_diagnosticReportID1 = null %} {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -258,130 +371,356 @@ {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId -%} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} {% endif %} - {% endfor -%} + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentORC = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + + {% if checkParentPV1.PV1.Value == null and checkParentORC.ORC.Value == null and checkParentOBR.OBR.Value == null%} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif -%} + + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} + {% endfor -%} + {% if pv1Segment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + {% if pv1Segment.5 -%} - {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} - {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} - {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} {% endif -%} - {% endif -%} - {% if pv1Segment.19 -%} - {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} - {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} - {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% if pv1Segment.19 -%} + {% if pv1Segment.19.4.1 != "" and pv1Segment.19.4.1 != null and pv1Segment.19.4.2 != "" and pv1Segment.19.4.2 != null and pv1Segment.19.4.3 != "" and pv1Segment.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: pv1Segment.19.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} {% endif -%} - {% endif -%} - {% if pv1Segment.7 -%} - {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} - {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} - {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% if pv1Segment.7 -%} + {% if pv1Segment.7.9.1 != "" and pv1Segment.7.9.1 != null and pv1Segment.7.9.2 != "" and pv1Segment.7.9.2 != null and pv1Segment.7.9.3 != "" and pv1Segment.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: pv1Segment.7.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} {% endif -%} - {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: pv1Segment.7 -%} - {% include 'Resource/Practitioner' PV1: pv1Segment.7, ID: practitionerId_PV1_7 -%} - {% endif -%} - {% if pv1Segment.8 -%} - {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} - {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} - {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% if pv1Segment.8 -%} + {% if pv1Segment.8.9.1 != "" and pv1Segment.8.9.1 != null and pv1Segment.8.9.2 != "" and pv1Segment.8.9.2 != null and pv1Segment.8.9.3 != "" and pv1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: pv1Segment.8.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} {% endif -%} - {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: pv1Segment.8 -%} - {% include 'Resource/Practitioner' PV1: pv1Segment.8, ID: practitionerId_PV1_8 -%} - {% endif -%} - {% if pv1Segment.9 -%} - {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} - {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} - {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} - {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} - {% endif -%} + {% if pv1Segment.9 -%} + {% if pv1Segment.9.9.1 != "" and pv1Segment.9.9.1 != null and pv1Segment.9.9.2 != "" and pv1Segment.9.9.2 != null and pv1Segment.9.9.3 != "" and pv1Segment.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: pv1Segment.9.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: pv1Segment.9 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.9, ID: practitionerId_PV1_9 -%} + {% endif -%} - {% if pv1Segment.17 -%} - {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} - {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} - {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} - {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} - {% endif -%} + {% if pv1Segment.17 -%} + {% if pv1Segment.17.9.1 != "" and pv1Segment.17.9.1 != null and pv1Segment.17.9.2 != "" and pv1Segment.17.9.2 != null and pv1Segment.17.9.3 != "" and pv1Segment.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: pv1Segment.17.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: pv1Segment.17 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.17, ID: practitionerId_PV1_17 -%} + {% endif -%} - {% if pv1Segment.50 -%} - {% for p in pv1Segment.50.Repeats -%} - {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} - {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} - {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} - {% endif -%} - {% endfor -%} - {% endif -%} + {% if pv1Segment.50 -%} + {% for p in pv1Segment.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} - {% if pv1Segment.52 -%} - {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} - {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} - {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} - {% endif -%} - {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} - {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} - {% endif -%} + {% if pv1Segment.52 -%} + {% if pv1Segment.52.9.1 != "" and pv1Segment.52.9.1 != null and pv1Segment.52.9.2 != "" and pv1Segment.52.9.2 != null and pv1Segment.52.9.3 != "" and pv1Segment.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: pv1Segment.52.9 -%} + {% include 'Resource/Organization', PV1: pv1Segment.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: pv1Segment.52 -%} + {% include 'Resource/Practitioner' PV1: pv1Segment.52, ID: practitionerId_PV1_52 -%} + {% endif -%} - {% if pv2Segment.13 -%} - {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} - {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} - {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} - {% endif -%} - {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} - {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} - {% endif -%} + {% if pv2Segment.13 -%} + {% if pv2Segment.13.9.1 != "" and pv2Segment.13.9.1 != null and pv2Segment.13.9.2 != "" and pv2Segment.13.9.2 != null and pv2Segment.13.9.3 != "" and pv2Segment.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: pv2Segment.13.9 -%} + {% include 'Resource/Organization', PV2: pv2Segment.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: pv2Segment.13 -%} + {% include 'Resource/Practitioner' PV1: pv2Segment.13, ID: practitionerId_PV2_13 -%} + {% endif -%} - {% if pv1Segment.3 -%} - {% include 'Resource/PLLocation' PL: pv1Segment.3-%} - {% endif -%} + {% if pv1Segment.3 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.3-%} + {% endif -%} - {% if pv1Segment.6 -%} - {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} - {% endif -%} + {% if pv1Segment.6 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.6 -%} + {% endif -%} - {% if pv1Segment.11 -%} - {% include 'Resource/PLLocation' PL: pv1Segment.11-%} - {% endif -%} + {% if pv1Segment.11 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.11-%} + {% endif -%} - {% if pv1Segment.37 -%} - {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} - {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} - {% endif -%} + {% if pv1Segment.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: pv1Segment.37 -%} + {% include 'Resource/Location' PV1: pv1Segment.37, ID: location_ID_PV1_37-%} + {% endif -%} - {% if pv1Segment.42 -%} - {% include 'Resource/PLLocation' PL: pv1Segment.42-%} - {% endif -%} - - {% if pv1Segment.43 -%} - {% include 'Resource/PLLocation' PL: pv1Segment.43-%} - {% endif -%} + {% if pv1Segment.42 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.42-%} + {% endif -%} + + {% if pv1Segment.43 -%} + {% include 'Resource/PLLocation' PL: pv1Segment.43-%} + {% endif -%} - {% if pv2Segment.1 -%} - {% include 'Resource/PLLocation' PL: pv2Segment.1-%} - {% endif -%} + {% if pv2Segment.1 -%} + {% include 'Resource/PLLocation' PL: pv2Segment.1-%} + {% endif -%} + + {% if pv1Segment.54 -%} + {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} + {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} + {% endif -%} - {% if pv1Segment.54 -%} - {% if pv1Segment.54.4.1 != "" and pv1Segment.54.4.1 != null and pv1Segment.54.4.2 != "" and pv1Segment.54.4.2 != null and pv1Segment.54.4.3 != "" and pv1Segment.54.4.3 != null -%} - {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: pv1Segment.54.4 -%} - {% include 'Resource/Organization', PV1: pv1Segment.54.4, ID: Organization_ID_PV1_54_4 -%} - {% endif -%} - {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: pv1Segment.54 -%} - {% include 'Resource/EpisodeOfCare' PV1: pv1Segment, PV2: pv2Segment, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId -%} - {% endif -%} {% evaluate encounterId using 'ID/Encounter' PV1: pv1Segment, baseId: patientId -%} {% assign fullEncounterId = encounterId | prepend: 'Encounter/' -%} {% include 'Resource/Encounter' Root_Template: 'ORU_R01', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} - {% endif -%} + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentORC = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + {% unless checkParentORC.ORC %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + {% endif -%} + {% endfor -%} {% assign txaSegmentPositionIndex = 0 -%} @@ -439,7 +778,10 @@ {% assign obxSegmentPositionIndex_spm = 0 -%} {% for obrSegment in obrSegmentLists.OBR -%} {% assign checkParent = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'ORC' -%} - {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParent.ORC, 'PRT' -%} + {% assign checkParentTXA = hl7v2Data | get_parent_segment: 'OBR', {{obrSegmentPositionIndex_orc}}, 'TXA' -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'CTI' -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} {% assign spmSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'SPM' -%} @@ -523,8 +865,8 @@ {% evaluate diagnosticId using 'ID/DiagnosticReport' OBR: obrSegment -%} {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} - {% for nteSegment1 in nteSegmentLists1.NTE -%} - {% if nteSegment1.5 -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} @@ -588,8 +930,361 @@ {% include 'Reference/Specimen/Collection_Collector' REF: full_practitionerId_obr_10, ID: specimenId_obr -%} {% endif -%} + {% assign ORDER_DOCUMENT_PRT = null %} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex_orc}}, 'OBX' -%} + {% assign checkParentPRT = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex_orc}}, 'PRT' -%} + {% assign prtSegmentListsOBX = hl7v2Data | get_related_segment_list: checkParentOBX.OBX, 'PRT' -%} + + {% if checkParentPRT.PRT == prtSegmentListsOBX.PRT[0] %} + {% assign ORDER_DOCUMENT_PRT = checkParentPRT.PRT %} + {% endif -%} + + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + {% unless checkParentOBR.OBR %} + {% unless ORDER_DOCUMENT_PRT == prtSegment %} {%- comment -%} condition to check that current PRT is not a part of ORDER_DOCUMENT group {%- endcomment -%} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + + + {% endfor %} + + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + + {%- comment -%} ORDER_DOCUMENT - PRT related coding start {%- endcomment -%} + + {% if ORDER_DOCUMENT_PRT %} + {% unless ORDER_DOCUMENT_PRT.2.Value == "DE" or ORDER_DOCUMENT_PRT.2.Value == "UN" %} + + {% if ORDER_DOCUMENT_PRT.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: ORDER_DOCUMENT_PRT.4, XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: ORDER_DOCUMENT_PRT , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullPractitionerRoleId, ID: documentreferenceID -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in ORDER_DOCUMENT_PRT.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: ORDER_DOCUMENT_PRT.9.Repeats[0]-%} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: ORDER_DOCUMENT_PRT.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/DocumentReference/Author' REF: fullOrganization_ID_PRT_8, ID: documentreferenceID -%} + {% for prt_8 in ORDER_DOCUMENT_PRT.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: ORDER_DOCUMENT_PRT.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] %} + {% for prt_9 in ORDER_DOCUMENT_PRT.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.10 %} + {% evaluate deviceId using 'ID/Device' EI: ORDER_DOCUMENT_PRT.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: ORDER_DOCUMENT_PRT, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullDeviceId, ID: documentreferenceID -%} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {%- comment -%} ORDER_DOCUMENT - PRT related coding end {%- endcomment -%} + + {%- comment -%} Observation Request - PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsOBR = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsOBR.PRT %} + + {% assign checkParentOBXPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentSPMPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + {% assign obxListSize = obxSegmentLists | size %} + {% assign sizeOBX = obxListSize | minus: 1 %} + {% assign spmListSize = spmSegmentLists | size %} + {% assign sizeSPM = spmListSize | minus: 1 %} + + {% unless checkParentOBXPRT.OBX == obxSegmentLists.OBX[sizeOBX] %} + + {% unless checkParentSPMPRT.SPM == spmSegmentLists.SPM[sizeSPM] %} + + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + + + {% endfor %} + + {%- comment -%} Observation Request - PRT relatated coding end {%- endcomment -%} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_obr}}, 'OBR' -%} - {% assign obxSegmentPositionIndex_obr = obxSegmentPositionIndex_obr | plus: 1 -%} + + {% assign observationId = null %} + {%- assign obx_diagnosticReportID2 = null -%} + {% for obxSegment in obxSegmentLists.OBX -%} {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} @@ -683,6 +1378,128 @@ {% assign fullObservationId = observationId | prepend: 'Observation/' -%} {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} {% endif -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {%- comment -%} OBSERVATION - PRT related coding start {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign prtSegmentSPM = hl7v2Data | get_related_segment_list: prtSegment, 'SPM' -%} + {% assign OBXSegmentSPM = hl7v2Data | get_related_segment_list: obxSegment, 'SPM' -%} + + {% if prtSegmentSPM.SPM[0] == OBXSegmentSPM.SPM[0] %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif -%} + + {% endfor %} + + {%- comment -%} OBSERVATION - PRT related coding end {%- endcomment -%} {% endfor -%} {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'TQ1' -%} @@ -692,7 +1509,115 @@ {% for tq1Segment in tq1SegmentLists.TQ1 -%} {% include 'Resource/ServiceRequest' TQ1: tq1Segment, ID: serviceRequestId, OBR_timeday: obrSegment -%} {% endfor -%} - + + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' ID: serviceRequestId, REF: fullResearchStudyID -%} + {% endfor %} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'FT1' -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if serviceRequestId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullServiceRequestId, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if checkParent.ORC.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: checkParent.ORC.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: checkParent.ORC.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% unless checkParent.ORC.2 -%} + {% if obrSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: obrSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: obrSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endunless -%} + + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} + {% for spmSegment in spmSegmentLists.SPM -%} {% evaluate specimenId_spm using 'ID/Specimen' SPM: spmSegment, baseId: patientId -%} {% include 'Resource/Specimen' SPM: spmSegment, ID: specimenId_spm -%} @@ -722,89 +1647,214 @@ {% include 'Extensions/Specimen/SpecimenExtension' ID: specimenId_spm, SPL_HANDLING: spmSegment.15 -%} {% assign fullSpecimenId_spm = specimenId_spm | prepend: 'Specimen/' -%} + {% assign spm_obx_diagnosticReportID = null %} + {% assign observationId = null %} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_spm}}, 'SPM' -%} {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} - {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} - {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} - {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} - {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} - {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} - {% endif -%} - {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} - {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} - {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% endfor %} - {% if spm_obxSegment.23 or spm_obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} - {% endif %} - {% if spm_obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if spm_obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} {% if spm_obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} - {% endif -%} - {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} - {% if checkParentSPM %} - {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} - {% endif %} - {% else %} - {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} - {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} - {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} - {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} {% endif -%} - {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} - {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} - {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} - {% endfor %} - {% if spm_obxSegment.18 -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} - {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} - {% endif -%} - {% if spm_obxSegment.23 or spm_obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} - {% endif %} - {% if spm_obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if spm_obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% evaluate spm_obx_diagnosticReportID using 'ID/DiagnosticReport' OBX: spm_obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: spm_obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: spm_obx_diagnosticReportID -%} + {% if checkParentSPM %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_Specimen_ID: fullSpecimenId_spm, ID: spm_obx_diagnosticReportID %} + {% endif %} + {% else %} + {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} + {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} + {% evaluate Organization_ID_spm_obx_16 using 'ID/Organization' HDORG: spm_obx_16.9 -%} + {% include 'Resource/Organization' OBX: spm_obx_16.9, ID: Organization_ID_spm_obx_16 -%} + {% endif -%} + {% evaluate practitionerId_spm_obx_16 using 'ID/Practitioner' XCN: spm_obx_16 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN1: spm_obx_16, ID: practitionerId_spm_obx_16 -%} + {% evaluate practitionerRoleId_spm_obx_16 using 'ID/PractitionerRole' XCN: spm_obx_16 -%} + {% assign full_practitionerId_spm_obx_16 = practitionerId_spm_obx_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_spm_obx_16, ID: practitionerRoleId_spm_obx_16 -%} + {% endfor %} + {% if spm_obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: spm_obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: spm_obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if spm_obxSegment.23 or spm_obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: spm_obxSegment.25 -%} + {% endif %} {% if spm_obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: spm_obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: spm_obxSegment, OBXXCN2: spm_obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: spm_obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} - {% endif -%} - {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} - {% if checkParentSPM %} - {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} - {% endif %} - {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} - {% endif %} - {% endfor -%} + {% if spm_obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: spm_obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: spm_obxSegment.23, OBX_24: spm_obxSegment.24, ID: organizationId_OBX_23 -%} + {% if spm_obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: spm_obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: spm_obxSegment, Observation_Subject_ID: fullPatientId, SPM_Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId -%} + {% if checkParentSPM %} + {% include 'Resource/Observation' Observation_Specimen_ID: fullSpecimenId_spm, ID: observationId %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} + {% endif %} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: spm_obxSegment, 'PRT' -%} + + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding start {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + + {% if checkParentOBR.OBR.Value == obrSegment.Value and checkParentOBX.OBX.Value == spm_obxSegment.Value %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + {% endfor %} + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding start {%- endcomment -%} + {% endfor -%} + {% assign obxSegmentPositionIndex_obr = obxSegmentPositionIndex_obr | plus: 1 -%} + {% assign obrSegmentPositionIndex_orc = obrSegmentPositionIndex_orc | plus: 1 -%} {% endfor -%} {% endfor -%} ] diff --git a/data/Templates/Hl7v2/OUL_R22.liquid b/data/Templates/Hl7v2/OUL_R22.liquid index 0401b5b5a..87a5eec93 100644 --- a/data/Templates/Hl7v2/OUL_R22.liquid +++ b/data/Templates/Hl7v2/OUL_R22.liquid @@ -71,6 +71,8 @@ {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + {% assign prtSegmentPositionIndex = 0 %} + {% if firstSegments.PID %} {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} @@ -78,6 +80,7 @@ {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PD1' -%} {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} {% assign arvSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} {% assign obx_pidSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV1' -%} @@ -85,6 +88,115 @@ {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV2' -%} {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + + {% if checkParentOBX.OBX.Value == null and checkParentPV1.PV1.Value == null and checkParentSPM.SPM.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + + {% endfor %} + + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if firstSegments.PID.18 -%} {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} @@ -142,6 +254,10 @@ {% endfor %} {% for obxSegment in obx_pidSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + {% assign observationId = null %} + {% assign obx_diagnosticReportID1 = null %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -214,8 +330,130 @@ {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} {% endif -%} + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + + {% if checkParentPV1.PV1.Value == null and checkParentSPM.SPM.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif -%} + + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} {% endfor -%} + {% if pv1Segment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + {% if pv1Segment.5 -%} {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} @@ -318,6 +556,110 @@ {% include 'Resource/Encounter' Root_Template: 'OUL_R22', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + {% unless checkParentSPM.SPM %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} {% endif -%} {% endif %} @@ -415,6 +757,10 @@ {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: spm_obxSegment, 'PRT' -%} + {% assign observationId = null %} + {% assign spm_obx_diagnosticReportID = null %} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} @@ -494,6 +840,125 @@ {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} {% endif %} {% endfor -%} + + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% if spm_obxSegmentLists.OBX[0] %} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + + {% unless checkParentOBR.OBR == obr_spmSegmentLists.OBR[0] %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {% endif %} + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding ends {%- endcomment -%} {% assign obrSegmentPositionIndex = 0 -%} {% for obrSegment in obr_spmSegmentLists.OBR -%} @@ -627,6 +1092,252 @@ {% endif %} {% endif %} + {%- comment -%} ORDER OBR - PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsOBR = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsOBR.PRT %} + + {% assign checkParentORCPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + {% assign checkParentOBXPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentOBXTXA = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% unless checkParentORCPRT.ORC == checkParentORC %} + + {% unless checkParentOBXPRT.OBX == obx_obrSegmentLists.OBX[0] %} + {% unless checkParentOBXPRT.OBX == checkParentOBXTXA.OBX %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + + + {% endfor %} + + {%- comment -%} ORDER OBR - PRT relatated coding end {%- endcomment -%} + + {%- comment -%} COMMON_ORDER ORC- PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsORC = hl7v2Data | get_related_segment_list: checkParentORC, 'PRT' -%} + + + {% for prtSegment in prtSegmentListsORC.PRT %} + + {% assign checkParentOBXPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentOBXTXA = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% unless checkParentOBXPRT.OBX == obx_obrSegmentLists.OBX[0] %} + + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + + {% endfor %} + + {%- comment -%} COMMON_ORDER ORC - PRT relatated coding end {%- endcomment -%} + {% if txaSegment -%} {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} @@ -675,6 +1386,116 @@ {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} {% endif -%} + + {%- comment -%} ORDER_DOCUMENT - PRT related coding start {%- endcomment -%} + + {% assign ORDER_DOCUMENT_PRT = null %} + {% assign checkParentPRT = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'PRT' -%} + {% assign prtSegmentListsOBX = hl7v2Data | get_related_segment_list: checkParentOBX.OBX, 'PRT' -%} + + {% if checkParentPRT.PRT == prtSegmentListsOBX.PRT[0] %} + {% assign ORDER_DOCUMENT_PRT = checkParentPRT.PRT %} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT %} + {% unless ORDER_DOCUMENT_PRT.2.Value == "DE" or ORDER_DOCUMENT_PRT.2.Value == "UN" %} + + {% if ORDER_DOCUMENT_PRT.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: ORDER_DOCUMENT_PRT.4, XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: ORDER_DOCUMENT_PRT , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullPractitionerRoleId, ID: documentreferenceID -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in ORDER_DOCUMENT_PRT.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: ORDER_DOCUMENT_PRT.9.Repeats[0]-%} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: ORDER_DOCUMENT_PRT.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/DocumentReference/Author' REF: fullOrganization_ID_PRT_8, ID: documentreferenceID -%} + {% for prt_8 in ORDER_DOCUMENT_PRT.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: ORDER_DOCUMENT_PRT.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] %} + {% for prt_9 in ORDER_DOCUMENT_PRT.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.10 %} + {% evaluate deviceId using 'ID/Device' EI: ORDER_DOCUMENT_PRT.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: ORDER_DOCUMENT_PRT, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullDeviceId, ID: documentreferenceID -%} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {%- comment -%} ORDER_DOCUMENT - PRT related coding end {%- endcomment -%} + {% endif -%} {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} @@ -705,6 +1526,9 @@ {% endif -%} {% for obxSegment in obx_obrSegmentLists.OBX -%} + {% assign obx_diagnosticReportID2 = null %} + {% assign observationId = null %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -797,6 +1621,128 @@ {% assign fullObservationId = observationId | prepend: 'Observation/' -%} {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} {% endif -%} + + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {%- comment -%} RESULT- OBX - Observation/result - PRT related coding start {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + + {% if checkParentOBR.OBR.Value == obrSegment.Value and checkParentOBX.OBX.Value == obxSegment.Value %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + {% endfor %} + {%- comment -%} RESULT- OBX - Observation/result - PRT related coding start {%- endcomment -%} {% endfor -%} {% for ctiSegment in cti_obrSegmentLists.CTI %} diff --git a/data/Templates/Hl7v2/OUL_R23.liquid b/data/Templates/Hl7v2/OUL_R23.liquid index ea7ceef0b..b188efb72 100644 --- a/data/Templates/Hl7v2/OUL_R23.liquid +++ b/data/Templates/Hl7v2/OUL_R23.liquid @@ -70,6 +70,8 @@ {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + + {% assign prtSegmentPositionIndex = 0 %} {% if firstSegments.PID %} @@ -78,6 +80,7 @@ {% assign pd1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PD1' -%} {% assign pd1Segment = pd1SegmentLists.PD1[0] %} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} {% assign arvSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} {% assign obx_pidSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} {% assign pv1SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV1' -%} @@ -85,6 +88,115 @@ {% assign pv2SegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PV2' -%} {% assign pv2Segment = pv2SegmentLists.PV2[0] %} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + + {% if checkParentOBX.OBX.Value == null and checkParentPV1.PV1.Value == null and checkParentSPM.SPM.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + + {% endfor %} + + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if firstSegments.PID.18 -%} {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} @@ -142,6 +254,10 @@ {% endfor %} {% for obxSegment in obx_pidSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + {% assign observationId = null %} + {% assign obx_diagnosticReportID1 = null %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -214,8 +330,130 @@ {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, Observation_ServiceRequest_ID : serviceRequestId, ID: observationId -%} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} {% endif -%} + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentPV1 = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'PV1' -%} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + + {% if checkParentPV1.PV1.Value == null and checkParentSPM.SPM.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif -%} + + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} {% endfor -%} + {% if pv1Segment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + {% if pv1Segment.5 -%} {% if pv1Segment.5.4.1 != "" and pv1Segment.5.4.1 != null and pv1Segment.5.4.2 != "" and pv1Segment.5.4.2 != null and pv1Segment.5.4.3 != "" and pv1Segment.5.4.3 != null -%} {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: pv1Segment.5.4 -%} @@ -318,6 +556,110 @@ {% include 'Resource/Encounter' Root_Template: 'OUL_R23', PV1: pv1Segment, PV2: pv2Segment, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} + + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentSPM = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SPM' -%} + {% unless checkParentSPM.SPM %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} {% endif -%} {% endif %} @@ -364,6 +706,10 @@ {% assign obxSegmentPositionIndex_spm = obxSegmentPositionIndex_spm | plus: 1 -%} {% assign spm_obxSegmentLists = hl7v2Data | get_related_segment_list: spmSegment, 'OBX' -%} {% for spm_obxSegment in spm_obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: spm_obxSegment, 'PRT' -%} + {% assign observationId = null %} + {% assign spm_obx_diagnosticReportID = null %} + {% if spm_obxSegment.2.Value == 'ED' or spm_obxSegment.2.Value == 'RP' %} {% for spm_obx_16 in spm_obxSegment.16.Repeats -%} {% if spm_obx_16.9.1 != "" and spm_obx_16.9.1 != null and spm_obx_16.9.2 != "" and spm_obx_16.9.2 != null and spm_obx_16.9.3 != "" and spm_obx_16.9.3 != null -%} @@ -442,6 +788,123 @@ {% endif %} {% include 'Extensions/Observation/ObservationExtension' OBX: spm_obxSegment, ID: observationId %} {% endif %} + + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentSAC = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'SAC' -%} + + {% unless checkParentSAC.SAC == sac_spmSegmentLists.SAC[0] %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif spm_obx_diagnosticReportID %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: spm_obx_diagnosticReportID -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + + + {% endfor %} + {%- comment -%} SPECIMEN_OBSERVATION - PRT related coding ends {%- endcomment -%} {% endfor -%} {% if spmSegment.3 %} @@ -625,6 +1088,253 @@ {% endif %} {% endif %} + {%- comment -%} ORDER OBR - PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsOBR = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentListsOBR.PRT %} + + {% assign checkParentORCPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + {% assign checkParentOBXPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentOBXTXA = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} + + {% unless checkParentORCPRT.ORC == checkParentORC %} + + {% unless checkParentOBXPRT.OBX == obx_obrSegmentLists.OBX[0] %} + {% unless checkParentOBXPRT.OBX == checkParentOBXTXA.OBX %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endunless %} + + {% endfor %} + + {%- comment -%} ORDER OBR - PRT relatated coding end {%- endcomment -%} + + {%- comment -%} COMMON_ORDER ORC- PRT relatated coding start {%- endcomment -%} + + {% assign prtSegmentListsORC = hl7v2Data | get_related_segment_list: checkParentORC, 'PRT' -%} + + + {% for prtSegment in prtSegmentListsORC.PRT %} + + {% assign checkParentOBXPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + {% assign checkParentTXAPRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'TXA' -%} + {% assign checkParentTQ1PRT = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'TQ1' -%} + + {% unless checkParentOBXPRT.OBX.Value == obx_obrSegmentLists.OBX[0].Value %} + {% if checkParentTXAPRT.TXA.Value == null and checkParentTQ1PRT.TQ1.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + {% endunless %} + + + + {% endfor %} + + {%- comment -%} COMMON_ORDER ORC - PRT relatated coding end {%- endcomment -%} + {% if txaSegment -%} {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'OBX' -%} @@ -673,6 +1383,115 @@ {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} {% endif -%} + + {%- comment -%} ORDER_DOCUMENT - PRT related coding start {%- endcomment -%} + + {% assign ORDER_DOCUMENT_PRT = null %} + {% assign checkParentPRT = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'PRT' -%} + {% assign prtSegmentListsOBX = hl7v2Data | get_related_segment_list: checkParentOBX.OBX, 'PRT' -%} + + {% if checkParentPRT.PRT == prtSegmentListsOBX.PRT[0] %} + {% assign ORDER_DOCUMENT_PRT = checkParentPRT.PRT %} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT %} + {% unless ORDER_DOCUMENT_PRT.2.Value == "DE" or ORDER_DOCUMENT_PRT.2.Value == "UN" %} + + {% if ORDER_DOCUMENT_PRT.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: ORDER_DOCUMENT_PRT.4, XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: ORDER_DOCUMENT_PRT , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullPractitionerRoleId, ID: documentreferenceID -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in ORDER_DOCUMENT_PRT.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: ORDER_DOCUMENT_PRT.9.Repeats[0]-%} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: ORDER_DOCUMENT_PRT.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/DocumentReference/Author' REF: fullOrganization_ID_PRT_8, ID: documentreferenceID -%} + {% for prt_8 in ORDER_DOCUMENT_PRT.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: ORDER_DOCUMENT_PRT.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] %} + {% for prt_9 in ORDER_DOCUMENT_PRT.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.10 %} + {% evaluate deviceId using 'ID/Device' EI: ORDER_DOCUMENT_PRT.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: ORDER_DOCUMENT_PRT, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullDeviceId, ID: documentreferenceID -%} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {%- comment -%} ORDER_DOCUMENT - PRT related coding end {%- endcomment -%} {% endif -%} {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} @@ -703,6 +1522,9 @@ {% endif -%} {% for obxSegment in obx_obrSegmentLists.OBX -%} + {% assign obx_diagnosticReportID2 = null %} + {% assign observationId = null %} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -795,6 +1617,127 @@ {% assign fullObservationId = observationId | prepend: 'Observation/' -%} {% include 'Reference/DiagnosticReport/Result' ID: diagnosticId, REF: fullObservationId -%} {% endif -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {%- comment -%} RESULT- OBX - Observation/result - PRT related coding start {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBR' -%} + {% assign checkParentOBX = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'OBX' -%} + + {% if checkParentOBR.OBR.Value == obrSegment.Value and checkParentOBX.OBX.Value == obxSegment.Value %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif %} + + {% endfor %} + {%- comment -%} RESULT- OBX - Observation/result - PRT related coding start {%- endcomment -%} {% endfor -%} {% for ctiSegment in cti_obrSegmentLists.CTI %} diff --git a/data/Templates/Hl7v2/OUL_R24.liquid b/data/Templates/Hl7v2/OUL_R24.liquid index e89c2afe7..967be1db4 100644 --- a/data/Templates/Hl7v2/OUL_R24.liquid +++ b/data/Templates/Hl7v2/OUL_R24.liquid @@ -2,6 +2,7 @@ {% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} {% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} {% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} +{% assign obxAllSegmentLists = hl7v2Data | get_segment_lists: 'OBX' -%} {% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} @@ -127,6 +128,105 @@ {% endif -%} {% endunless -%} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if pd1Segment.3 -%} {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} @@ -355,6 +455,104 @@ {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment, -%} {% endif -%} + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + {% endif %} {% for nk1Segment in nk1SegmentLists.NK1 -%} @@ -427,6 +625,222 @@ {% include 'Resource/Organization' ORC_SEG: checkParentORC, ORC_SEG_22: checkParentORC.22, ORC_SEG_23: checkParentORC.23, ID: organizationId_ORC_21 -%} {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: checkParentORC.21.Repeats[0]-%} {% endif %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: checkParentORC, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBR - PRT related coding start {%- endcomment -%} {% if obrSegment.16 -%} {% if obrSegment.16.Repeats[0] %} @@ -576,6 +990,116 @@ {% evaluate practitionerRoleId_TXA10 using 'ID/PractitionerRole' XCN: txa_10 -%} {% include 'Resource/PractitionerRole' practitionerId_TXA: practitionerId_TXA_10, ID: practitionerRoleId_TXA10 -%} {% endif -%} + + {%- comment -%} ORDER_DOCUMENT - PRT related coding start {%- endcomment -%} + + {% assign ORDER_DOCUMENT_PRT = null %} + {% assign checkParentPRT = hl7v2Data | get_parent_segment: 'TXA', {{obrSegmentPositionIndex}}, 'PRT' -%} + {% assign prtSegmentListsOBX = hl7v2Data | get_related_segment_list: checkParentOBX.OBX, 'PRT' -%} + + {% if checkParentPRT.PRT == prtSegmentListsOBX.PRT[0] %} + {% assign ORDER_DOCUMENT_PRT = checkParentPRT.PRT %} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT %} + {% unless ORDER_DOCUMENT_PRT.2.Value == "DE" or ORDER_DOCUMENT_PRT.2.Value == "UN" %} + + {% if ORDER_DOCUMENT_PRT.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: ORDER_DOCUMENT_PRT.4, XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: ORDER_DOCUMENT_PRT , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullPractitionerRoleId, ID: documentreferenceID -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: ORDER_DOCUMENT_PRT.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in ORDER_DOCUMENT_PRT.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: ORDER_DOCUMENT_PRT.9.Repeats[0]-%} + {% endif -%} + + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: ORDER_DOCUMENT_PRT.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: ORDER_DOCUMENT_PRT.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/DocumentReference/Author' REF: fullOrganization_ID_PRT_8, ID: documentreferenceID -%} + {% for prt_8 in ORDER_DOCUMENT_PRT.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: ORDER_DOCUMENT_PRT.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.8.Repeats[0] %} + {% if ORDER_DOCUMENT_PRT.9.Repeats[0] %} + {% for prt_9 in ORDER_DOCUMENT_PRT.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless ORDER_DOCUMENT_PRT.5 %} + {% if ORDER_DOCUMENT_PRT.10 %} + {% evaluate deviceId using 'ID/Device' EI: ORDER_DOCUMENT_PRT.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: ORDER_DOCUMENT_PRT, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullDeviceId, ID: documentreferenceID -%} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endif %} + {%- comment -%} ORDER_DOCUMENT - PRT related coding end {%- endcomment -%} + {% endif -%} {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} @@ -899,5 +1423,133 @@ {% assign obrSegmentPositionIndex = obrSegmentPositionIndex | plus: 1 -%} {% endfor -%} + + {% for obxSegmentAll in obxAllSegmentLists.OBX -%} + + {% assign observationId = null -%} + {% assign obx_diagnosticReportID1 = null -%} + + {% assign prtSegmentListsAll = hl7v2Data | get_related_segment_list: obxSegmentAll, 'PRT' -%} + + {% if obxSegmentAll.2.Value == 'ED' or obxSegmentAll.2.Value == 'RP' %} + {% evaluate obx_diagnosticReportID1 using 'ID/DiagnosticReport' OBX: obxSegmentAll -%} + {% else %} + {% evaluate observationId using 'ID/Observation' OBX: obxSegmentAll, baseId: patientId -%} + {% endif -%} + + + {%- comment -%} PATIENT_OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentListsAll.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT_OBSERVATION - PRT related coding ends {%- endcomment -%} + + {% endfor -%} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/RDE_O11.liquid b/data/Templates/Hl7v2/RDE_O11.liquid index 14190a3c6..754eaff86 100644 --- a/data/Templates/Hl7v2/RDE_O11.liquid +++ b/data/Templates/Hl7v2/RDE_O11.liquid @@ -72,9 +72,106 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign prtSegmentPositionIndex = 0 %} + {% assign prtSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + {% for prtSegment_PID in prtSegmentLists_PID.PRT %} + + {% unless prtSegment_PID.2.Value == "DE" or prtSegment_PID.2.Value == "UN" %} + + {% if prtSegment_PID.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_PID.4, XCN: prtSegment_PID.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_PID.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_PID.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_PID.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_PID.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_PID.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PID.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_PID.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PID.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment_PID.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_PID.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.8.Repeats[0] %} + {% if prtSegment_PID.9.Repeats[0] %} + {% for prt_9 in prtSegment_PID.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_PID.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_PID, Device_Patient_ID: fullPatientId, ID: deviceId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} + {% if firstSegments.PID.18 -%} {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} @@ -189,6 +286,8 @@ {% endif -%} {% if firstSegments.PV1 -%} + {% assign prtSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + {% if firstSegments.PV1.5 -%} {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} @@ -308,6 +407,93 @@ {% include 'Resource/Encounter' Root_Template: 'RDE_O11', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_PV1 in prtSegmentLists_PV1.PRT %} + {% unless prtSegment_PV1.2.Value == "DE" or prtSegment_PV1.2.Value == "UN" %} + {% if prtSegment_PV1.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_PV1.4, XCN: prtSegment_PV1.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_PV1.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_PV1.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_PV1.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_PV1.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_PV1.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PV1.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_PV1.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_PV1.5 %} + {% if prtSegment_PV1.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PV1.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + {% for prt_8 in prtSegment_PV1.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_PV1.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_PV1.5 %} + {% if prtSegment_PV1.9.Repeats[0] %} + {% for prt_9 in prtSegment_PV1.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% if Location_ID_PRT_9 %} + {% if prtSegment_PV1.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% unless prtSegment_PV1.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} {% endif -%} {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} @@ -326,7 +512,7 @@ {% for al1Segment in al1SegmentLists.AL1 -%} {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} - {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterid -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId, AllergyIntolerance_Encounter_ID: fullEncounterid -%} {% endfor -%} {% for in1Segment in in1SegmentLists.IN1 -%} @@ -439,14 +625,14 @@ {% endif -%} {% endfor -%} {% endfor -%} - + {% if accountId %} {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} {% endif %} {% for orcSegment in orcSegmentLists.ORC %} - + {% assign prtSegmentLists_ORC = hl7v2Data | get_related_segment_list: orcSegment, 'PRT' -%} {% assign rxoSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXO' -%} {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} {% assign rxoSegment = rxoSegmentLists.RXO[0] %} @@ -456,15 +642,131 @@ {% assign rxcSegment = rxcSegmentLists.RXC[0] %} {% assign rxeSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXE' -%} {% assign rxeSegment = rxeSegmentLists.RXE[0] %} + {% assign blgSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'BLG' -%} + {% assign blgSegment = blgSegmentLists.BLG[0] %} {% assign rxo_nteSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + {% if rxoSegmentLists == empty %} + {% assign rxoFollowingORC = false %} + {% else %} + {% assign rxoFollowingORC = true %} + {% endif -%} + {% if rxoSegment -%} + + {% assign prtSegmentLists_RXO = hl7v2Data | get_related_segment_list: rxoSegment, 'PRT' -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_RXO in prtSegmentLists_RXO.PRT %} + {% unless prtSegment_RXO.2.Value == "DE" or prtSegment_RXO.2.Value == "UN" %} + {% if prtSegment_RXO.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_RXO.4, XCN: prtSegment_RXO.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_RXO , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_RXO.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_RXO.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_RXO.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_RXO.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_RXO.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXO.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_RXO.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXO.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% endif %} + {% for prt_8 in prtSegment_RXO.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_RXO.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.9.Repeats[0] %} + {% for prt_9 in prtSegment_RXO.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_RXO.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% unless prtSegment_RXO.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_RXO.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_RXO, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% endif %} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} {% assign full_organizationId_ORC_21 = null -%} {% if orcSegment.21.Repeats[0] %} @@ -511,309 +813,768 @@ {% endif %} {% if orcSegment.10 or orcSegment.19 %} - {% if orcSegment.10 %} - {% if orcSegment.10.Repeats[0] -%} - {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} {% endif -%} - {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} - {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} - {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} - {% endif -%} - {% elsif orcSegment.19 %} - {% if orcSegment.19.Repeats[0] %} - {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} - {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} - {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% endif -%} - {% endif %} + {% endif %} - {% if rxoSegment.32 -%} - {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} - {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} - {% endif -%} + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} - {% assign medicationId = null -%} - {% if rxoSegment.1 or rxoSegment.6 -%} - {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} - {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} - {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} - {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} - {% endif -%} - - {% if rxcSegment %} - {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} - {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} - {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} - {% if medicationId %} - {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + + {% if rxcSegment %} + {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} + {% if medicationId %} + {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} {% endif %} - {% endif %} - {% endif -%} + {% endif -%} - {% for rxrSegment in rxrSegmentLists.RXR -%} - {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} - {% endfor -%} + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} + {% endfor -%} - {% for nteSegment in rxo_nteSegmentLists.NTE -%} - {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} - {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} - {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} - {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} - {% endfor -%} + {% for nteSegment in rxo_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} + {% endfor -%} - {% for tq1 in tq1SegmentLists.TQ1 %} - {% unless tq1.Value == tq1Segment.Value %} - {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} - {% endunless -%} - {% endfor -%} + {% for tq1 in tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} + {% endunless -%} + {% endfor -%} - {% if rxeSegment -%} - - {% assign medicationId_RXE = null -%} - {% if rxeSegment.2 -%} - {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} - {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} - {% endif -%} + {% if rxeSegment -%} + {% assign prtSegmentLists_RXE = hl7v2Data | get_related_segment_list: rxeSegment, 'PRT' -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CTI' -%} + {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} + + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_ORC in prtSegmentLists_ORC.PRT %} + + {% unless prtSegment_ORC.2.Value == "DE" or prtSegment_ORC.2.Value == "UN" %} + {% if prtSegment_ORC.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_ORC.4, XCN: prtSegment_ORC.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_ORC , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_ORC.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_ORC.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_ORC.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_ORC.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_ORC.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_ORC.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_ORC.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_ORC.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% endif %} + {% for prt_8 in prtSegment_ORC.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_ORC.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.9.Repeats[0] %} + {% for prt_9 in prtSegment_ORC.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_ORC.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment_ORC.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_ORC.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_ORC, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endif %} + {% endunless %} + + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} - {% if rxeSegment.40 -%} - {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} - {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} - {% endif -%} + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} - {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} - {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} - {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} - {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} - {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} - - {% assign full_organizationId_ORC_21 = null -%} - {% if orcSegment.21.Repeats[0] %} - {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} - {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} - {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} - {% endif -%} - {% unless orcSegment.12 -%} - {% if rxeSegment.13.Repeats[0] -%} - {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} - {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} - {% endif -%} - {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} - {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} - {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} - {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} - {% if orcSegment.21.Repeats[0] %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} - {% endif -%} + {% assign medicationId_RXE = null -%} + {% if rxeSegment.2 -%} + {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} + {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} {% endif -%} - {% endunless -%} - {% if orcSegment.12.Repeats[0] -%} - {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% if rxeSegment.40 -%} + {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} + {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} + {% endif -%} + + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} {% endif -%} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} - {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} - {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} - {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} - - {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} - {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% endif %} + {% unless orcSegment.12 -%} + {% if rxeSegment.13.Repeats[0] -%} + {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} + {% endif -%} + {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} + {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} + {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} + {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} + {% endif -%} + {% endif -%} + {% endunless -%} - {% if orcSegment.10 or orcSegment.19 %} - {% if orcSegment.10 %} - {% if orcSegment.10.Repeats[0] -%} - {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} {% endif -%} - {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} - {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} - {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} - {% endif -%} - {% elsif orcSegment.19 %} - {% if orcSegment.19.Repeats[0] %} - {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} - {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} - {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} {% endif -%} - {% endif -%} - - {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} - {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} + {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} + {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} - {% if rxe_rxcSegment %} - {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} - {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} - {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} - {% if medicationId_RXE %} - {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% if rxe_rxcSegment %} + {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} + {% if medicationId_RXE %} + {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} {% endif %} - {% endif %} - {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} - {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} - {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} + {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} + {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} + {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} - {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} - {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} - {% endfor -%} + {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} + {% endfor -%} - {% for tq1 in rxe_tq1SegmentLists.TQ1 %} - {% unless tq1.Value == tq1Segment.Value %} - {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} - {% endunless -%} - {% endfor -%} + {% for tq1 in rxe_tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} + {% endunless -%} + {% endfor -%} - {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} - - {% for nteSegment in rxe_nteSegmentLists.NTE -%} - {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} - {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} - {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} - {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} - {% endfor -%} + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_RXE in prtSegmentLists_RXE.PRT %} + + {% unless prtSegment_RXE.2.Value == "DE" or prtSegment_RXE.2.Value == "UN" %} + {% if prtSegment_RXE.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_RXE.4, XCN: prtSegment_RXE.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_RXE , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_RXE.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_RXE.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_RXE.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_RXE.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_RXE.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXE.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_RXE.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXE.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% endif %} + {% for prt_8 in prtSegment_RXE.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_RXE.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.9.Repeats[0] %} + {% for prt_9 in prtSegment_RXE.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_RXE.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment_RXE.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_RXE.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_RXE, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endif %} + {% endunless %} + + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} - {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} - {% for cdoSegment in cdoSegmentLists.CDO -%} - {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} - {% endfor -%} + {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} + + {% for nteSegment in rxe_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} + {% endfor -%} - {% endif -%} + {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} + {% for cdoSegment in cdoSegmentLists.CDO -%} + {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} + {% endfor -%} - {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} - - {% for obxSegment in obxSegmentLists.OBX -%} - {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} - {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' ID: medicationRequestId_RXE, REF: fullResearchStudyID -%} {% endfor %} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + + {% endif -%} + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} - {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} - {% else %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} - {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + + {%- comment -%} OBSERVATION - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} - {% if obxSegment.18 -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} - {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} - {% endif -%} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + + {%- comment -%} OBSERVATION - PRT related coding end {%- endcomment -%} + + {% endfor -%} + + {% assign full_accountId_BLG = null %} + {% if blgSegment.3 %} + {% evaluate accountId_BLG using 'ID/Account' BLG: blgSegment.3 -%} + {% assign full_accountId_BLG = accountId_BLG | prepend: 'Account/' %} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: full_accountId_BLG, ID: medicationRequestId_RXE %} {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Resource/Account' BLG: blgSegment, ID: accountId_BLG -%} + {% if blgSegment.3.4.1 != "" and blgSegment.3.4.1 != null and blgSegment.3.4.2 != "" and blgSegment.3.4.2 != null and blgSegment.3.4.3 != "" and blgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_blg_CX_3 using 'ID/Organization' HDORG: blgSegment.3.4 -%} + {% include 'Resource/Organization', PID: blgSegment.3, ID: Organization_ID_blg_CX_3 -%} {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} - {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif %} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if full_accountId_BLG %} + {% include 'Reference/ChargeItem/Account' REF: full_accountId_BLG, ID: chargeitem_id -%} + {% endif %} + + {% if medicationRequestId_RXE -%} + {% assign fullmedicationRequestId_RXE = medicationRequestId_RXE | prepend: 'MedicationRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullmedicationRequestId_RXE, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} {% endif -%} {% endif -%} - {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} - {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} - - {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} - - {% for nteSegment2 in nteSegmentLists2.NTE -%} - {% if nteSegment2.5 -%} - {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} - {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} - {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} - {% endif -%} - {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} - {% endfor -%} - - {% endif -%} - {% endfor -%} + {% endfor %} {% endfor %} ] diff --git a/data/Templates/Hl7v2/RDE_O25.liquid b/data/Templates/Hl7v2/RDE_O25.liquid index e228d7203..3a65e9912 100644 --- a/data/Templates/Hl7v2/RDE_O25.liquid +++ b/data/Templates/Hl7v2/RDE_O25.liquid @@ -72,9 +72,106 @@ {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} {% endfor -%} + {% assign prtSegmentPositionIndex = 0 %} + {% assign prtSegmentLists_PID = hl7v2Data | get_related_segment_list: firstSegments.PID, 'PRT' -%} {% include 'Resource/Patient' PID: firstSegments.PID, PD1: firstSegments.PD1, ID: patientId -%} {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PD1: firstSegments.PD1, PV1: firstSegments.PV1 -%} + {% for prtSegment_PID in prtSegmentLists_PID.PRT %} + + {% unless prtSegment_PID.2.Value == "DE" or prtSegment_PID.2.Value == "UN" %} + + {% if prtSegment_PID.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_PID.4, XCN: prtSegment_PID.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_PID , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_PID.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_PID.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_PID.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_PID.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_PID.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PID.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_PID.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PID.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment_PID.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_PID.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.8.Repeats[0] %} + {% if prtSegment_PID.9.Repeats[0] %} + {% for prt_9 in prtSegment_PID.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment_PID.5 %} + {% if prtSegment_PID.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_PID.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_PID, Device_Patient_ID: fullPatientId, ID: deviceId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} + {% if firstSegments.PID.18 -%} {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} @@ -189,6 +286,8 @@ {% endif -%} {% if firstSegments.PV1 -%} + {% assign prtSegmentLists_PV1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'PRT' -%} + {% if firstSegments.PV1.5 -%} {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} @@ -308,6 +407,93 @@ {% include 'Resource/Encounter' Root_Template: 'RDE_O25', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_PV1 in prtSegmentLists_PV1.PRT %} + {% unless prtSegment_PV1.2.Value == "DE" or prtSegment_PV1.2.Value == "UN" %} + {% if prtSegment_PV1.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_PV1.4, XCN: prtSegment_PV1.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_PV1 , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_PV1.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_PV1.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_PV1.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_PV1.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_PV1.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PV1.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_PV1.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_PV1.5 %} + {% if prtSegment_PV1.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_PV1.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + {% for prt_8 in prtSegment_PV1.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_PV1.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_PV1.5 %} + {% if prtSegment_PV1.9.Repeats[0] %} + {% for prt_9 in prtSegment_PV1.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + {% if Location_ID_PRT_9 %} + {% if prtSegment_PV1.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% unless prtSegment_PV1.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endfor %} {% endif -%} {% assign arvSegmentLists1 = hl7v2Data | get_related_segment_list: firstSegments.PID, 'ARV' -%} @@ -446,7 +632,7 @@ {% endif %} {% for orcSegment in orcSegmentLists.ORC %} - + {% assign prtSegmentLists_ORC = hl7v2Data | get_related_segment_list: orcSegment, 'PRT' -%} {% assign rxoSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXO' -%} {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} {% assign rxoSegment = rxoSegmentLists.RXO[0] %} @@ -456,15 +642,131 @@ {% assign rxcSegment = rxcSegmentLists.RXC[0] %} {% assign rxeSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXE' -%} {% assign rxeSegment = rxeSegmentLists.RXE[0] %} + {% assign blgSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'BLG' -%} + {% assign blgSegment = blgSegmentLists.BLG[0] %} {% assign rxo_nteSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'NTE' -%} + {% if rxoSegmentLists == empty %} + {% assign rxoFollowingORC = false %} + {% else %} + {% assign rxoFollowingORC = true %} + {% endif -%} + {% if rxoSegment -%} + + {% assign prtSegmentLists_RXO = hl7v2Data | get_related_segment_list: rxoSegment, 'PRT' -%} + {% evaluate medicationRequestId using 'ID/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, intent_value: 'original-order', baseId: patientId -%} {% include 'Resource/MedicationRequest' ORC: orcSegment, RXO: rxoSegment, ID: medicationRequestId %} {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId, REF: fullPatientId -%} {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId, REF: fullEncounterid -%} + + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_RXO in prtSegmentLists_RXO.PRT %} + {% unless prtSegment_RXO.2.Value == "DE" or prtSegment_RXO.2.Value == "UN" %} + {% if prtSegment_RXO.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_RXO.4, XCN: prtSegment_RXO.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_RXO , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_RXO.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_RXO.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_RXO.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_RXO.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_RXO.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXO.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_RXO.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXO.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% endif %} + {% for prt_8 in prtSegment_RXO.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_RXO.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.9.Repeats[0] %} + {% for prt_9 in prtSegment_RXO.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_RXO.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% unless prtSegment_RXO.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_RXO.5 %} + {% if prtSegment_RXO.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_RXO.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_RXO, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% endif %} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} {% assign full_organizationId_ORC_21 = null -%} {% if orcSegment.21.Repeats[0] %} @@ -511,313 +813,772 @@ {% endif %} {% if orcSegment.10 or orcSegment.19 %} - {% if orcSegment.10 %} - {% if orcSegment.10.Repeats[0] -%} - {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} {% endif -%} - {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} - {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} - {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} - {% endif -%} - {% elsif orcSegment.19 %} - {% if orcSegment.19.Repeats[0] %} - {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} - {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} - {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% endif -%} - {% endif %} + {% endif %} - {% if rxoSegment.32 -%} - {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} - {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} - {% endif -%} + {% if rxoSegment.32 -%} + {% evaluate Organization_ID_RXO_32 using 'ID/Organization' CWE: rxoSegment.32 -%} + {% include 'Resource/Organization' RXO: rxoSegment, ID: Organization_ID_RXO_32 -%} + {% endif -%} - {% assign medicationId = null -%} - {% if rxoSegment.1 or rxoSegment.6 -%} - {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} - {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} - {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} - {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} - {% endif -%} - - {% if rxcSegment %} - {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} - {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} - {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} - {% if medicationId %} - {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% assign medicationId = null -%} + {% if rxoSegment.1 or rxoSegment.6 -%} + {% evaluate medicationId using 'ID/Medication' RXO: rxoSegment -%} + {% include 'Resource/Medication' RXO: rxoSegment, ID: medicationId %} + {% assign fullMedicationId = medicationId | prepend: 'Medication/' %} + {% include 'Reference/MedicationRequest/MedicationReference' ID: medicationRequestId, REF: fullMedicationId -%} + {% endif -%} + + {% if rxcSegment %} + {% evaluate medicationId_rxc using 'ID/Medication' RXC: rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxcSegment, ID: medicationId_rxc %} + {% if medicationId %} + {% include 'Resource/Medication' RXO_RXC: rxcSegment, ID: medicationId, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} {% endif %} - {% endif %} - {% endif -%} + {% endif -%} - {% for rxrSegment in rxrSegmentLists.RXR -%} - {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} - {% endfor -%} + {% for rxrSegment in rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXO_RXR: rxoSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId %} + {% endfor -%} - {% for nteSegment in rxo_nteSegmentLists.NTE -%} - {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} - {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} - {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} - {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} - {% endfor -%} + {% for nteSegment in rxo_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId %} + {% endfor -%} - {% for tq1 in tq1SegmentLists.TQ1 %} - {% unless tq1.Value == tq1Segment.Value %} - {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} - {% endunless -%} - {% endfor -%} + {% for tq1 in tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId %} + {% endunless -%} + {% endfor -%} - {% if rxeSegment -%} - - {% assign medicationId_RXE = null -%} - {% if rxeSegment.2 -%} - {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} - {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} - {% endif -%} + {% if rxeSegment -%} + {% assign prtSegmentLists_RXE = hl7v2Data | get_related_segment_list: rxeSegment, 'PRT' -%} + {% assign cti_obrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CTI' -%} + {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} + + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_ORC in prtSegmentLists_ORC.PRT %} + + {% unless prtSegment_ORC.2.Value == "DE" or prtSegment_ORC.2.Value == "UN" %} + {% if prtSegment_ORC.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_ORC.4, XCN: prtSegment_ORC.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_ORC , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_ORC.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_ORC.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_ORC.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_ORC.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_ORC.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_ORC.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_ORC.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_ORC.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% endif %} + {% for prt_8 in prtSegment_ORC.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_ORC.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.9.Repeats[0] %} + {% for prt_9 in prtSegment_ORC.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_ORC.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment_ORC.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_ORC.5 %} + {% if prtSegment_ORC.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_ORC.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_ORC, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if rxoFollowingORC and medicationRequestId %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% elsif rxoFollowingORC == false and medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endif %} + {% endunless %} + + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} - {% if rxeSegment.40 -%} - {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} - {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} - {% endif -%} + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} - {% evaluate medicationRequestId_RXE using 'ID/MedicationRequest' RXE: rxeSegment, intent_value: 'filler-order', baseId: patientId -%} - {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} - {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} - {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} - {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} - - {% assign full_organizationId_ORC_21 = null -%} - {% if orcSegment.21.Repeats[0] %} - {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} - {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} - {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} - {% endif -%} - {% unless orcSegment.12 -%} - {% if rxeSegment.13.Repeats[0] -%} - {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} - {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} - {% endif -%} - {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} - {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} - {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} - {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} - {% if orcSegment.21.Repeats[0] %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} - {% endif -%} + {% assign medicationId_RXE = null -%} + {% if rxeSegment.2 -%} + {% evaluate medicationId_RXE using 'ID/Medication' RXE: rxeSegment -%} + {% include 'Resource/Medication' RXE: rxeSegment, ID: medicationId_RXE %} {% endif -%} - {% endunless -%} - {% if orcSegment.12.Repeats[0] -%} - {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% if rxeSegment.40 -%} + {% evaluate Id_Organization_ID_RXE_40 using 'ID/Organization' CWE: rxeSegment.40 -%} + {% include 'Resource/Organization' RXE: rxeSegment, ID: Id_Organization_ID_RXE_40 -%} + {% endif -%} + + {% include 'Resource/MedicationRequest' ORC: orcSegment, RXE: rxeSegment, medication_ref: medicationId_RXE, medicationrequest_ref: medicationRequestId,Organization_ID_RXE_40: Id_Organization_ID_RXE_40, ID: medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/Subject' ID: medicationRequestId_RXE, REF: fullPatientId -%} + {% assign fullEncounterid = encounterId | prepend: 'Encounter/' %} + {% include 'Reference/MedicationRequest/Encounter' ID: medicationRequestId_RXE, REF: fullEncounterid -%} + + {% assign full_organizationId_ORC_21 = null -%} + {% if orcSegment.21.Repeats[0] %} + {% evaluate organizationId_ORC_21 using 'ID/Organization' XON: orcSegment.21.Repeats[0] -%} + {% assign full_organizationId_ORC_21 = organizationId_ORC_21 | prepend: 'Organization/' -%} + {% include 'Resource/Organization' ORC_SEG: orcSegment, ORC_SEG_22: orcSegment.22, ORC_SEG_23: orcSegment.23, ID: organizationId_ORC_21 -%} {% endif -%} - {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} - {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} - {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} - {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} - - {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} - {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} - {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} - {% endif %} + {% unless orcSegment.12 -%} + {% if rxeSegment.13.Repeats[0] -%} + {% if rxeSegment.13.Repeats[0].9.1 != "" and rxeSegment.13.Repeats[0].9.1 != null and rxeSegment.13.Repeats[0].9.2 != "" and rxeSegment.13.Repeats[0].9.2 != null and rxeSegment.13.Repeats[0].9.3 != "" and rxeSegment.13.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_RXE_13 using 'ID/Organization' HDORG: rxeSegment.13.Repeats[0].9 -%} + {% include 'Resource/Organization' RXO_14: rxeSegment.13.Repeats[0].9, ID: Organization_ID_RXE_13 -%} + {% endif -%} + {% evaluate practitionerId_RXE_13 using 'ID/Practitioner' XCN: rxeSegment.13.Repeats[0] -%} + {% include 'Resource/Practitioner' RXE: rxeSegment.13.Repeats[0], ID: practitionerId_RXE_13 -%} + {% evaluate practitionerRoleId_RXE_13 using 'ID/PractitionerRole' XCN: rxeSegment.13.Repeats[0] -%} + {% assign full_practitionerId_RXE_13 = practitionerId_RXE_13 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' RXE: rxeSegment.13.Repeats[0], ID: practitionerRoleId_RXE_13 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_RXE_13, ID: practitionerRoleId_RXE_13 -%} + {% if orcSegment.21.Repeats[0] %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_RXE_13 -%} + {% endif -%} + {% endif -%} + {% endunless -%} - {% if orcSegment.10 or orcSegment.19 %} - {% if orcSegment.10 %} - {% if orcSegment.10.Repeats[0] -%} - {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% if orcSegment.12.Repeats[0] -%} + {% if orcSegment.12.Repeats[0].9.1 != "" and orcSegment.12.Repeats[0].9.1 != null and orcSegment.12.Repeats[0].9.2 != "" and orcSegment.12.Repeats[0].9.2 != null and orcSegment.12.Repeats[0].9.3 != "" and orcSegment.12.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_12 using 'ID/Organization' HDORG: orcSegment.12.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_12: orcSegment.12.Repeats[0].9, ID: Organization_ID_ORC_12 -%} + {% endif -%} + {% evaluate practitionerId_ORC_12 using 'ID/Practitioner' XCN: orcSegment.12.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_med_prac: orcSegment, ID: practitionerId_ORC_12 -%} + {% evaluate practitionerRoleId_ORC_12 using 'ID/PractitionerRole' XCN: orcSegment.12.Repeats[0] -%} + {% assign full_practitionerId_ORC_12 = practitionerId_ORC_12 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_12: orcSegment.12.Repeats[0], ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_12, ID: practitionerRoleId_ORC_12 -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_OrganizationId_ORC_21, ID: practitionerRoleId_ORC_12 -%} + + {% elsif orcSegment.21.Repeats[0] and rxeSegment.13.Repeats[0] == null or rxeSegment.13.Repeats[0] == "" %} + {% evaluate practitionerRoleId_ORC_21 using 'ID/PractitionerRole' XCN: orcSegment.21.Repeats[0]-%} + {% include 'Resource/PractitionerRole' requestor_organization: organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% assign fullPractitionerRoleId_ORC_21 = practitionerRoleId_ORC_21 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_ORC_21, ID: practitionerRoleId_ORC_21 -%} + {% endif %} + + {% if orcSegment.10 or orcSegment.19 %} + {% if orcSegment.10 %} + {% if orcSegment.10.Repeats[0] -%} + {% if orcSegment.10.Repeats[0].9.1 != "" and orcSegment.10.Repeats[0].9.1 != null and orcSegment.10.Repeats[0].9.2 != "" and orcSegment.10.Repeats[0].9.2 != null and orcSegment.10.Repeats[0].9.3 != "" and orcSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_10 using 'ID/Organization' HDORG: orcSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_10: orcSegment.10.Repeats[0].9, ID: Organization_ID_ORC_10 -%} + {% endif -%} + {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} + {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} + {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} {% endif -%} - {% evaluate practitionerId_ORC_10 using 'ID/Practitioner' XCN: orcSegment.10.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_10: orcSegment.10, ID: practitionerId_ORC_10 -%} - {% evaluate practitionerRoleId_ORC_10 using 'ID/PractitionerRole' XCN: orcSegment.10.Repeats[0] -%} - {% assign full_practitionerId_ORC_10 = practitionerId_ORC_10 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_10: orcSegment.10.Repeats[0], ID: practitionerRoleId_ORC_10 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_10, ID: practitionerRoleId_ORC_10 -%} - {% endif -%} - {% elsif orcSegment.19 %} - {% if orcSegment.19.Repeats[0] %} - {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} - {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} - {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% elsif orcSegment.19 %} + {% if orcSegment.19.Repeats[0] %} + {% if orcSegment.19.Repeats[0].9.1 != "" and orcSegment.19.Repeats[0].9.1 != null and orcSegment.19.Repeats[0].9.2 != "" and orcSegment.19.Repeats[0].9.2 != null and orcSegment.19.Repeats[0].9.3 != "" and orcSegment.19.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_ORC_19 using 'ID/Organization' HDORG: orcSegment.19.Repeats[0].9 -%} + {% include 'Resource/Organization' ORC_19: orcSegment.19.Repeats[0].9, ID: Organization_ID_ORC_19 -%} + {% endif -%} + {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} + {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} + {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} + {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} - {% evaluate practitionerId_ORC_19 using 'ID/Practitioner' XCN: orcSegment.19.Repeats[0] -%} - {% include 'Resource/Practitioner' ORC_19: orcSegment.19, ID: practitionerId_ORC_19 -%} - {% evaluate practitionerRoleId_ORC_19 using 'ID/PractitionerRole' XCN: orcSegment.19.Repeats[0] -%} - {% assign full_practitionerId_ORC_19 = practitionerId_ORC_19 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' ORC_19: orcSegment.19.Repeats[0], ID: practitionerRoleId_ORC_19 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_ORC_19, ID: practitionerRoleId_ORC_19 -%} {% endif -%} {% endif -%} - {% endif -%} - {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} - {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} + {% assign rxe_rxcSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXC' -%} + {% assign rxe_rxcSegment = rxe_rxcSegmentLists.RXC[0] %} - {% if rxe_rxcSegment %} - {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} - {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} - {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} - {% if medicationId_RXE %} - {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% if rxe_rxcSegment %} + {% evaluate medicationId_rxc_rxe using 'ID/Medication' RXC: rxe_rxcSegment -%} + {% assign fullMedicationId_rxc = medicationId_rxc_rxe | prepend: 'Medication/' %} + {% include 'Resource/Medication' RXC: rxe_rxcSegment, ID: medicationId_rxc_rxe %} + {% if medicationId_RXE %} + {% include 'Resource/Medication' RXO_RXC: rxe_rxcSegment, ID: medicationId_RXE, ingredient_ItemReferenceID: fullMedicationId_rxc %} + {% endif %} {% endif %} - {% endif %} - {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} - {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} - {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} + {% assign rxe_tq1SegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'TQ1' -%} + {% assign rxe_rxrSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'RXR' -%} + {% assign tq1Segment = rxe_tq1SegmentLists.TQ1[0] %} - {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} - {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} - {% endfor -%} + {% for rxrSegment in rxe_rxrSegmentLists.RXR -%} + {% include 'Resource/MedicationRequest' RXE_RXR: rxeSegment, TQ1_RXR: tq1Segment, RXR: rxrSegment, ID: medicationRequestId_RXE %} + {% endfor -%} - {% for tq1 in rxe_tq1SegmentLists.TQ1 %} - {% unless tq1.Value == tq1Segment.Value %} - {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} - {% endunless -%} - {% endfor -%} + {% for tq1 in rxe_tq1SegmentLists.TQ1 %} + {% unless tq1.Value == tq1Segment.Value %} + {% include 'Resource/MedicationRequest' TQ1_RXR: tq1, ID: medicationRequestId_RXE %} + {% endunless -%} + {% endfor -%} - {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} - - {% for nteSegment in rxe_nteSegmentLists.NTE -%} - {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} - {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} - {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} - {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} - {% endfor -%} + {% assign prtSegmentPositionIndex = 0 %} + {% for prtSegment_RXE in prtSegmentLists_RXE.PRT %} + + {% unless prtSegment_RXE.2.Value == "DE" or prtSegment_RXE.2.Value == "UN" %} + {% if prtSegment_RXE.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_RXE.4, XCN: prtSegment_RXE.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_RXE , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_RXE.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_RXE.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_RXE.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_RXE.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_RXE.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXE.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_RXE.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_RXE.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% endif %} + {% for prt_8 in prtSegment_RXE.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_RXE.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.9.Repeats[0] %} + {% for prt_9 in prtSegment_RXE.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment_RXE.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment_RXE.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + {% endunless %} + + {% unless prtSegment_RXE.5 %} + {% if prtSegment_RXE.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_RXE.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_RXE, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endif %} + {% endunless %} + + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} - {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} - {% for cdoSegment in cdoSegmentLists.CDO -%} - {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} - {% endfor -%} + {% assign rxe_nteSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'NTE' -%} + + {% for nteSegment in rxe_nteSegmentLists.NTE -%} + {% evaluate practitionerId_NTE_5 using 'ID/Practitioner' XCN: nteSegment.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment.5, ID: practitionerId_NTE_5 -%} + {% if nteSegment.5.9.1 != "" and nteSegment.5.9.1 != null and nteSegment.5.9.2 != "" and nteSegment.5.9.2 != null and nteSegment.5.9.3 != "" and nteSegment.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_5 using 'ID/Organization' HDORG: nteSegment.5.9 -%} + {% include 'Resource/Organization' ORC_19: nteSegment.5.9, ID: Organization_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} + {% endfor -%} - {% endif -%} + {% assign cdoSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'CDO' -%} + {% for cdoSegment in cdoSegmentLists.CDO -%} + {% include 'Resource/MedicationRequest' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationRequestId_RXE %} + {% endfor -%} - {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} - - {% for obxSegment in obxSegmentLists.OBX -%} - {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} - {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% for ctiSegment in cti_obrSegmentLists.CTI %} + {% evaluate researchStudyID using 'ID/ResearchStudy' EI: ctiSegment.1 -%} + {% include 'Resource/ResearchStudy' CTI: ctiSegment, ID: researchStudyID -%} + {% assign fullResearchStudyID = researchStudyID | prepend: 'ResearchStudy/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' ID: medicationRequestId_RXE, REF: fullResearchStudyID -%} {% endfor %} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + + {% endif -%} + + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} + + {% for obxSegment in obxSegmentLists.OBX -%} + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} - {% endif -%} - {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} - {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} - {% else %} - {% for obx_16 in obxSegment.16.Repeats -%} - {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} - {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} - {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} - {% endif -%} - {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} - {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} - {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} - {% endfor %} - {% if obxSegment.18 -%} - {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} - {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} - {% endif -%} - {% if obxSegment.23 or obxSegment.25 %} - {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} - {% endif %} - {% if obxSegment.25 -%} - {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} - {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} - {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} - {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} - {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} - {% endif -%} - {% if obxSegment.23 -%} - {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} - {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate obx_diagnosticReportID2 using 'ID/DiagnosticReport' OBX: obxSegment -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE , ID: obx_diagnosticReportID2 -%} + {% else %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} {% if obxSegment.25 -%} - {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} - {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} + {% endfor -%} + {% endif -%} - {% evaluate observationId using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} - {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, DiagnosticReport_MedicationRequest_ID: medicationRequestId_RXE, ID: observationId -%} - {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} - - {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} - - {% for nteSegment2 in nteSegmentLists2.NTE -%} - {% if nteSegment2.5 -%} - {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} - {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} - {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} - {% endif -%} - {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} - {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} - {% endif -%} - {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId -%} - {% endfor -%} + + {%- comment -%} OBSERVATION - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + {% for prtSegment in prtSegmentLists.PRT %} - {% endif -%} - {% endfor -%} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + + {% endfor %} + + {%- comment -%} OBSERVATION - PRT related coding end {%- endcomment -%} + + {% endfor -%} {% evaluate TaskId using 'ID/Task' RXE: rxeSegment, intent_value: 'filler-order', intent_new_value: 'refill-authorization-request' baseId: patientId -%} {% assign medicationRequest_task = medicationRequestId_RXE | prepend: 'MedicationRequest/' %} {% include 'Resource/Task' RDE: "RDE_O25" , ID: TaskId, Task_Focus_ID: medicationRequest_task, Task_Encounter_ID: fullEncounterid, Task_For_ID: fullPatientId -%} + {% assign full_accountId_BLG = null %} + {% if blgSegment.3 %} + {% evaluate accountId_BLG using 'ID/Account' BLG: blgSegment.3 -%} + {% assign full_accountId_BLG = accountId_BLG | prepend: 'Account/' %} + {% if medicationRequestId_RXE %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: full_accountId_BLG, ID: medicationRequestId_RXE %} + {% endif %} + {% include 'Resource/Account' BLG: blgSegment, ID: accountId_BLG -%} + {% if blgSegment.3.4.1 != "" and blgSegment.3.4.1 != null and blgSegment.3.4.2 != "" and blgSegment.3.4.2 != null and blgSegment.3.4.3 != "" and blgSegment.3.4.3 != null -%} + {% evaluate Organization_ID_blg_CX_3 using 'ID/Organization' HDORG: blgSegment.3.4 -%} + {% include 'Resource/Organization', PID: blgSegment.3, ID: Organization_ID_blg_CX_3 -%} + {% endif -%} + {% endif %} + + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if full_accountId_BLG %} + {% include 'Reference/ChargeItem/Account' REF: full_accountId_BLG, ID: chargeitem_id -%} + {% endif %} + + {% if medicationRequestId_RXE -%} + {% assign fullmedicationRequestId_RXE = medicationRequestId_RXE | prepend: 'MedicationRequest/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullmedicationRequestId_RXE, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} {% endfor %} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/RDS_O13.liquid b/data/Templates/Hl7v2/RDS_O13.liquid index 3c8fb33c4..23eaea1bb 100644 --- a/data/Templates/Hl7v2/RDS_O13.liquid +++ b/data/Templates/Hl7v2/RDS_O13.liquid @@ -126,6 +126,105 @@ {% endif -%} {% endunless -%} + {%- comment -%} PATIENT-PRT related coding starts {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pd1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Patient/GeneralPractitioner' REF: fullPractitionerRoleId, ID: patientId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Resource/Patient' Patient_ManagingOrganization_ID: fullOrganization_ID_PRT_8, ID: patientId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, Device_Patient_ID: fullPatientId, ID: deviceId -%} + + {% endif %} + {% endunless %} + {% endunless %} + + {% endfor %} + {%- comment -%} PATIENT-PRT related coding ends {%- endcomment -%} + {% if pd1Segment.3 -%} {% evaluate Organization_ID_PD1_3 using 'ID/Organization' XON: pd1Segment.3 -%} {% include 'Resource/Organization' PD1: pd1Segment, ID: Organization_ID_PD1_3 -%} @@ -268,6 +367,104 @@ {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: pv1Segment, PV2: pv2Segment -%} {% endif -%} + {%- comment -%} VISIT - PRT related coding start {%- endcomment -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: pv1Segment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/Encounter/Participant_Individual' REF: fullPractitionerRoleId, ID: encounterId -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/Encounter/ServiceProvider' REF: fullOrganization_ID_PRT_8, ID: encounterId -%} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/Encounter/Location_Location' REF: FullLocation_ID_PRT_9, ID: encounterId -%} + {% endunless %} + {% endif %} + {% endfor %} + {% endif -%} + + {% endunless %} + {% endunless %} + {% endfor %} + {%- comment -%} VISIT - PRT related coding end {%- endcomment -%} + {% assign arvSegmentLists2 = hl7v2Data | get_related_segment_list: pv1Segment, 'ARV' -%} {% for arvSegment2 in arvSegmentLists2.ARV %} {% if arvSegment2 %} @@ -430,6 +627,222 @@ {% endfor -%} {% endunless -%} + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding end {%- endcomment -%} + + {%- comment -%} RXO - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: rxoSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} RXO - PRT related coding start {%- endcomment -%} + {% endif -%} {% if rxeSegment -%} @@ -563,6 +976,225 @@ {% include 'Resource/MedicationRequest' NTE: nteSegment, nte_practitioner: practitionerId_NTE_5, ID: medicationRequestId_RXE %} {% endfor -%} + {% unless rxoSegment -%} + + {%- comment -%} ORC - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding end {%- endcomment -%} + {% endunless %} + + {%- comment -%} RXE - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: rxeSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationRequestId_RXE -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationRequestId_RXE -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationRequestId_RXE -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/MedicationRequest/SupportingInformation' REF: fullDeviceId, ID: medicationRequestId_RXE -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} ORC - PRT related coding end {%- endcomment -%} + {% endif -%} {% for rxdSegment in rxdSegmentLists.RXD -%} @@ -622,6 +1254,114 @@ {% for cdoSegment in cdoSegmentLists.CDO -%} {% include 'Resource/MedicationDispense' RXE_CDO:rxeSegment, CDO: cdoSegment, ID: medicationDispenseId, ORC: orcSegment %} {% endfor -%} + + {%- comment -%} RXD - PRT related coding start {%- endcomment -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: rxdSegment, 'PRT' -%} + + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/MedicationDispense/SupportingInformation' REF: fullPractitionerRoleId, ID: medicationDispenseId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/MedicationDispense/SupportingInformation' REF: fullOrganization_ID_PRT_8, ID: medicationDispenseId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/MedicationDispense/SupportingInformation' REF: FullLocation_ID_PRT_9, ID: medicationDispenseId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/MedicationDispense/SupportingInformation' REF: fullDeviceId, ID: medicationDispenseId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% endfor %} + + {%- comment -%} RXD - PRT related coding end {%- endcomment -%} {% endfor -%} @@ -713,10 +1453,208 @@ {% endfor -%} {% endif -%} + + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {%- comment -%} OBSERVATION - PRT related coding starts {%- endcomment -%} + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID2 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID2 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% endfor %} + {%- comment -%} OBSERVATION - PRT related coding ends {%- endcomment -%} + {% endfor -%} - {% endfor %} + {% assign ft1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'FT1' -%} + + {% for ft1Segment in ft1SegmentLists.FT1 -%} + + {% if ft1Segment.6.Value == 'CG' -%} + {% evaluate chargeitem_id using 'ID/ChargeItem' FT1: ft1Segment, baseId: patientId -%} + {% include 'Resource/ChargeItem' FT1: ft1Segment, ID: chargeitem_id %} + {% include 'Reference/ChargeItem/Subject' REF: fullPatientId, ID: chargeitem_id -%} + {% assign fullAccountId = accountId | prepend: 'Account/' -%} + {% include 'Reference/ChargeItem/Account' REF: fullAccountId, ID: chargeitem_id -%} + {% assign firstFullencounterId = encounterId | prepend: 'Encounter/' -%} + {% include 'Reference/ChargeItem/Context' REF: firstFullencounterId, ID: chargeitem_id -%} + + {% if medicationDispenseId -%} + {% assign fullMedicationDispenseId = medicationDispenseId | prepend: 'MedicationDispense/' -%} + {% include 'Reference/ChargeItem/SupportingInformation' REF: fullMedicationDispenseId, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.13 -%} + {% evaluate Organization_ID_FT1 using 'ID/Organization' CWE: ft1Segment.13 -%} + {% include 'Resource/Organization' FT1: ft1Segment, ID: Organization_ID_FT1 -%} + {% assign full_organizationId_FT1 = Organization_ID_FT1 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/CostCenter' REF: full_organizationId_FT1, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.20 -%} + {% if ft1Segment.20.9.1 != "" and ft1Segment.20.9.1 != null and ft1Segment.20.9.2 != "" and ft1Segment.20.9.2 != null and ft1Segment.20.9.3 != "" and ft1Segment.20.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.20.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.20.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.20 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.20, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Performer_Actor' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.24 -%} + {% if ft1Segment.24.9.1 != "" and ft1Segment.24.9.1 != null and ft1Segment.24.9.2 != "" and ft1Segment.24.9.2 != null and ft1Segment.24.9.3 != "" and ft1Segment.24.9.3 != null -%} + {% evaluate Organization_ID_FT1_20_9 using 'ID/Organization' HDORG: ft1Segment.24.9 -%} + {% include 'Resource/Organization', FT1_20: ft1Segment.24.9, ID: Organization_ID_FT1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_FT1_20 using 'ID/Practitioner' XCN: ft1Segment.24 -%} + {% include 'Resource/Practitioner' FT1: ft1Segment.24, ID: Practitioner_ID_FT1_20 -%} + {% assign full_Practitioner_ID_FT1_20 = Practitioner_ID_FT1_20 | prepend: 'Practitioner/' %} + {% include 'Reference/ChargeItem/Enterer' REF: full_Practitioner_ID_FT1_20, ID: chargeitem_id -%} + {% endif -%} + + {% if orcSegment.2 -%} + {% if ft1Segment.25 -%} + {% evaluate Procedure_ID_FT1_25 using 'ID/Procedure' FT1: ft1Segment.25, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/Procedure' FT1: ft1Segment, ID: Procedure_ID_FT1_25, Procedure_Subject_ID: fullPatientId -%} + {% include 'Resource/ChargeItem' procedure_ft1_25: Procedure_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% if orcSegment.2 -%} + {% if ft1Segment.29 -%} + {% evaluate Medication_Dispense_ID_FT1_25 using 'ID/MedicationDispense' FT1: ft1Segment.29, ORC_FT1: orcSegment.2, baseId: patientId -%} + {% include 'Resource/MedicationDispense' FT1: ft1Segment, ID: Medication_Dispense_ID_FT1_25, subjectRefrence: patientId -%} + {% include 'Resource/ChargeItem' medicationdispense_ft1_29: Medication_Dispense_ID_FT1_25, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + + {% if ft1Segment.32 -%} + {% evaluate Organization_ID_FT1_32 using 'ID/Organization' XON: ft1Segment.32 -%} + {% include 'Resource/Organization' FT1_32: ft1Segment, ID: Organization_ID_FT1_32 -%} + {% assign full_Practitioner_ID_FT1_32 = Organization_ID_FT1_32 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/PerformingOrganization' REF: full_Practitioner_ID_FT1_32, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.33 -%} + {% evaluate Organization_ID_FT1_33 using 'ID/Organization' XON: ft1Segment.33 -%} + {% include 'Resource/Organization' FT1_33: ft1Segment, ID: Organization_ID_FT1_33 -%} + {% assign full_Practitioner_ID_FT1_33 = Organization_ID_FT1_33 | prepend: 'Organization/' %} + {% include 'Reference/ChargeItem/RequestingOrganization' REF: full_Practitioner_ID_FT1_33, ID: chargeitem_id -%} + {% endif -%} + + {% if ft1Segment.34 -%} + {% evaluate deviceId_FT1_34 using 'ID/Device' FT1: ft1Segment -%} + {% include 'Resource/Device' FT1: ft1Segment, ID: deviceId_FT1_34, Device_Patient_ID:fullPatientId -%} + {% assign full_Device_ID_FT1 = deviceId_FT1_34 | prepend: 'Device/' %} + {% include 'Reference/ChargeItem/ProductReference' REF: full_Device_ID_FT1, ID: chargeitem_id -%} + {% endif -%} + {% endif -%} + {% endfor %} + {% endfor %} ] } \ No newline at end of file diff --git a/data/Templates/Hl7v2/REF_I12.liquid b/data/Templates/Hl7v2/REF_I12.liquid new file mode 100644 index 000000000..6569edb90 --- /dev/null +++ b/data/Templates/Hl7v2/REF_I12.liquid @@ -0,0 +1,971 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PV1|PV2|MSH|UAC|ACC|RF1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} +{% assign prdSegmentLists = hl7v2Data | get_segment_lists: 'PRD' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign drgSegmentLists = hl7v2Data | get_segment_lists: 'DRG' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} +{% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'REF_I12', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.RF1.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: firstSegments.RF1.19 -%} + {% include 'Resource/Organization' RF1: firstSegments.RF1.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if firstSegments.RF1.20 -%} + {% if firstSegments.RF1.20.9.1 != "" and firstSegments.RF1.20.9.1 != null and firstSegments.RF1.20.9.2 != "" and firstSegments.RF1.20.9.2 != null and firstSegments.RF1.20.9.3 != "" and firstSegments.RF1.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: firstSegments.RF1.20.9 -%} + {% include 'Resource/Organization', RF1_20: firstSegments.RF1.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: firstSegments.RF1.20 -%} + {% include 'Resource/Practitioner' RF1: firstSegments.RF1.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId_RF1 using 'ID/ServiceRequest' RF1: firstSegments.RF1, baseId: patientId -%} + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% if firstSegments.RF1 %} + {% include 'Resource/ServiceRequest' RF1: firstSegments.RF1, ID: serviceRequestId_RF1, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "REF-I12", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endif %} + + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% evaluate Organization_ID_aut_2_3 using 'ID/Organization' AUT: autSegment -%} + {% assign full_Organization_ID_aut_2_3 = Organization_ID_aut_2_3 | prepend: 'Organization/' %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_aut_2_3 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' org_AUT: full_Organization_ID_aut_2_3, AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% endif %} + {% endfor %} + + {% include 'Resource/Patient' PID: firstSegments.PID, pda_seg: checkPDASeg, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PV1: firstSegments.PV1 -%} + + {% for prdSegment in prdSegmentLists.PRD %} + {% if prdSegment.4 -%} + {% include 'Resource/PLLocation' PL: prdSegment.4-%} + {% endif -%} + {% evaluate Practitioner_ID_PRD using 'ID/Practitioner' PRD: prdSegment -%} + {% assign fullPractitionerID_PRD = Practitioner_ID_PRD | prepend: 'Practitioner/' -%} + {% include 'Resource/Practitioner' PRD: prdSegment, ID: Practitioner_ID_PRD -%} + {% evaluate Organization_ID_PRD using 'ID/Organization' XON: prdSegment.10 -%} + {% assign fullOrganizationID_PRD = Organization_ID_PRD | prepend: 'Organization/' -%} + {% include 'Resource/Organization' PRD: prdSegment, ID: Organization_ID_PRD -%} + {% evaluate PractitionerRole_ID_PRD using 'ID/PractitionerRole' PRD: prdSegment -%} + {% assign full_PractitionerRole_ID_PRD = PractitionerRole_ID_PRD | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' PRD: prdSegment, ID: PractitionerRole_ID_PRD -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: fullPractitionerID_PRD, ID: PractitionerRole_ID_PRD %} + {% include 'Reference/PractitionerRole/Organization' REF: fullOrganizationID_PRD, ID: PractitionerRole_ID_PRD %} + {% if serviceRequestId_RF1 %} + {% include 'Resource/ServiceRequest' PRD: prdSegment, REF_prac: full_PractitionerRole_ID_PRD, ID: serviceRequestId_RF1 %} + {% endif %} + {% endfor %} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + {% if accountId %} + {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} + {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId_ACC using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId_ACC, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId_ACC, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId_ACC, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% endfor -%} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% assign autSegmentLists_pr1 = hl7v2Data | get_related_segment_list: pr1Segment, 'AUT' -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% endfor -%} + + {% for autSegment_pr1 in autSegmentLists_pr1.AUT %} + {% if autSegment_pr1.6 %} + {% if autSegment_pr1.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment_pr1.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment_pr1.2 or autSegment_pr1.3 %} + {% if autSegment_pr1.3 %} + {% assign organization_name = autSegment_pr1.3.Value %} + {% elsif autSegment_pr1.2 %} + {% assign organization_name = autSegment_pr1.2.2.Value %} + {% endif %} + {% evaluate Organization_ID_aut_2_3 using 'ID/Organization' AUT: autSegment_pr1 -%} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_aut_2_3 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment_pr1.6 -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% include 'Resource/ClaimResponse' AUT: autSegment_pr1, org_IN1: full_Organization_ID_in1_4, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% endif %} + {% endfor %} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, REF_MSH:firstSegments.MSH, baseId: patientId -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_Encounter_ID: full_encounterID, ServiceRequest_ID_OBR_29: parentServiceRequestId, ID: serviceRequestId, type_msg: "REF" -%} + {% if serviceRequestId and documentreferenceID %} + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + {% endif %} + + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% endif -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "REF" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% evaluate diagnosticReportID_OBR using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticReportID_OBR %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticReportID_OBR %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticReportID_OBR %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, ID: diagnosticReportID_OBR, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticReportID_OBR, REF: fullServiceRequestId -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% endif -%} + + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_obr}}, 'OBR' -%} + {% assign obxSegmentPositionIndex_obr = obxSegmentPositionIndex_obr | plus: 1 -%} + {% for obxSegment in obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% evaluate diagnosticReportId_OBX using 'ID/DiagnosticReport' OBX: obxSegment -%} + + {% assign ED_RP_flag = true %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: diagnosticReportId_OBX -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: diagnosticReportId_OBX %} + {% endif %} + {% else %} + {% assign ED_RP_flag = false %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId_OBX using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId_OBX -%} + + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId_OBX %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId_OBX %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId_OBX -%} + {% endfor -%} + {% assign fullObservationId = observationId_OBX | prepend: 'Observation/' -%} + {% include 'Reference/DiagnosticReport/Result' ID: diagnosticReportID_OBR, REF: fullObservationId -%} + {% endif -%} + {% for prtSegment in prtSegmentLists.PRT %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId_OBX %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId_OBX -%} + {% elsif diagnosticReportId_OBX %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: diagnosticReportId_OBX -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId_OBX %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId_OBX -%} + {% elsif diagnosticReportId_OBX %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: diagnosticReportId_OBX -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId_OBX %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId_OBX -%} + {% endif %} + {% endunless %} + {% endif %} + + {% endunless %} + + {% endfor %} + {% endfor -%} + {% endfor -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'REF_I12' -%} + {% endif -%} + + {% include 'Resource/Encounter' Root_Template: 'REF_I12', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign nteSegmentLists_RF1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'NTE' -%} + {% for nteSegment_RF1 in nteSegmentLists_RF1.NTE -%} + {% if nteSegment_RF1.5 -%} + {% if nteSegment_RF1.5.9.1 != "" and nteSegment_RF1.5.9.1 != null and nteSegment_RF1.5.9.2 != "" and nteSegment_RF1.5.9.2 != null and nteSegment_RF1.5.9.3 != "" and nteSegment_RF1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_RF1_5_9 using 'ID/Organization' HDORG: nteSegment_RF1.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment_RF1.5.9, ID: Organization_ID_NTE_RF1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment_RF1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment_RF1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment_RF1, ID: serviceRequestId_RF1 -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/REF_I14.liquid b/data/Templates/Hl7v2/REF_I14.liquid new file mode 100644 index 000000000..b84fce342 --- /dev/null +++ b/data/Templates/Hl7v2/REF_I14.liquid @@ -0,0 +1,968 @@ +{% assign firstSegments = hl7v2Data | get_first_segments: 'PID|PV1|PV2|MSH|UAC|ACC|RF1' -%} +{% assign sftSegmentLists = hl7v2Data | get_segment_lists: 'SFT' -%} +{% assign autSegmentLists = hl7v2Data | get_segment_lists: 'AUT' -%} +{% assign prdSegmentLists = hl7v2Data | get_segment_lists: 'PRD' -%} +{% assign nk1SegmentLists = hl7v2Data | get_segment_lists: 'NK1' -%} +{% assign al1SegmentLists = hl7v2Data | get_segment_lists: 'AL1' -%} +{% assign dg1SegmentLists = hl7v2Data | get_segment_lists: 'DG1' -%} +{% assign drgSegmentLists = hl7v2Data | get_segment_lists: 'DRG' -%} +{% assign pr1SegmentLists = hl7v2Data | get_segment_lists: 'PR1' -%} +{% assign gt1SegmentLists = hl7v2Data | get_segment_lists: 'GT1' -%} +{% assign in1SegmentLists = hl7v2Data | get_segment_lists: 'IN1' -%} +{% assign in2SegmentLists = hl7v2Data | get_segment_lists: 'IN2' -%} +{% assign in3SegmentLists = hl7v2Data | get_segment_lists: 'IN3' -%} +{% assign obrSegmentLists = hl7v2Data | get_segment_lists: 'OBR' -%} +{% evaluate bundleID using 'ID/Bundle' Data: firstSegments.MSH.10 -%} + +{ + "resourceType": "Bundle", + "type": "batch", + {% if firstSegments.MSH.7 -%} + "timestamp":"{{ firstSegments.MSH.7.Value | format_as_date_time }}", + {% endif -%} + "identifier": + { + "value":"{{ firstSegments.MSH.10.Value }}", + }, + "id":"{{ bundleID }}", + "entry": [ + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + {% evaluate messageHeaderId using 'ID/MessageHeader' MSH: firstSegments.MSH -%} + + {% if firstSegments.MSH -%} + + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, ID: messageHeaderId -%} + {% evaluate provenanceId using 'ID/Provenance' MSH: firstSegments.MSH, baseId: patientId -%} + {% include 'Resource/Provenance' Root_Template: 'REF_I14', MSH: firstSegments.MSH, REF_BUNDLE: bundleID, ID: provenanceId -%} + + {% if firstSegments.MSH.4 -%} + {% if firstSegments.MSH.4.1 != "" and firstSegments.MSH.4.1 != null or firstSegments.MSH.4.2 != "" and firstSegments.MSH.4.2 != null or firstSegments.MSH.4.3 != "" and firstSegments.MSH.4.3 != null -%} + {% evaluate organization_ID_MSH_4 using 'ID/Organization' HD: firstSegments.MSH.4 -%} + {% include 'Resource/Organization' MSHHD1: firstSegments.MSH.4, MSH: firstSegments.MSH, ID: organization_ID_MSH_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.6 %} + {% if firstSegments.MSH.6.1 != "" and firstSegments.MSH.6.1 != null or firstSegments.MSH.6.2 != "" and firstSegments.MSH.6.2 != null or firstSegments.MSH.6.3 != "" and firstSegments.MSH.6.3 != null -%} + {% evaluate organization_Id_MSH_6 using 'ID/Organization' HD: firstSegments.MSH.6 -%} + {% include 'Resource/Organization' MSHHD2: firstSegments.MSH.6, MSH: firstSegments.MSH, ID: organization_Id_MSH_6 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.22 %} + {% if firstSegments.MSH.22.1 != "" and firstSegments.MSH.22.1 != null -%} + {% evaluate organization_Id_MSH_22 using 'ID/Organization' XON: firstSegments.MSH.22 -%} + {% include 'Resource/Organization' MSHXON1: firstSegments.MSH.22, ID: organization_Id_MSH_22 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.MSH.23 %} + {% if firstSegments.MSH.23.1 != "" and firstSegments.MSH.23.1 != null -%} + {% evaluate organization_Id_MSH_23 using 'ID/Organization' XON: firstSegments.MSH.23 -%} + {% include 'Resource/Organization' MSHXON2: firstSegments.MSH.23, ID: organization_Id_MSH_23 -%} + {% endif -%} + {% endif -%} + {% if firstSegments.MSH.3 and firstSegments.MSH.24 %} + {% evaluate device_Id_MSH_3 using 'ID/Device' HD: firstSegments.MSH.3 -%} + {% include 'Resource/Device' MSH: firstSegments.MSH, ID: device_Id_MSH_3 -%} + {% endif -%} + + {% endif -%} + + {% for sftSegment in sftSegmentLists.SFT -%} + {% evaluate deviceId_SFT using 'ID/Device' SFT: sftSegment -%} + {% include 'Resource/Device' SFT:sftSegment, ID: deviceId_SFT -%} + {% include 'Resource/MessageHeader' MSH: firstSegments.MSH, SFT:sftSegment, ID: messageHeaderID -%} + {% endfor -%} + + {% if firstSegments.RF1.19 -%} + {% evaluate Organization_ID_RF1_19 using 'ID/Organization' XON: firstSegments.RF1.19 -%} + {% include 'Resource/Organization' RF1: firstSegments.RF1.19, ID: Organization_ID_RF1_19 -%} + {% endif -%} + {% if firstSegments.RF1.20 -%} + {% if firstSegments.RF1.20.9.1 != "" and firstSegments.RF1.20.9.1 != null and firstSegments.RF1.20.9.2 != "" and firstSegments.RF1.20.9.2 != null and firstSegments.RF1.20.9.3 != "" and firstSegments.RF1.20.9.3 != null -%} + {% evaluate Organization_ID_RF1_20_9 using 'ID/Organization' HDORG: firstSegments.RF1.20.9 -%} + {% include 'Resource/Organization', RF1_20: firstSegments.RF1.20.9, ID: Organization_ID_RF1_20_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_RF1_20 using 'ID/Practitioner' XCN: firstSegments.RF1.20 -%} + {% include 'Resource/Practitioner' RF1: firstSegments.RF1.20, ID: Practitioner_ID_RF1_20 -%} + {% endif -%} + {% evaluate serviceRequestId_RF1 using 'ID/ServiceRequest' RF1: firstSegments.RF1, baseId: patientId -%} + {% evaluate encounterId using 'ID/Encounter' PV1: firstSegments.PV1, baseId: patientId -%} + {% assign full_encounterID = encounterId | prepend: 'Encounter/' %} + {% if firstSegments.RF1 %} + {% include 'Resource/ServiceRequest' RF1: firstSegments.RF1, ID: serviceRequestId_RF1, ServiceRequest_Subject_ID: fullPatientId, msg_trigger: "REF-I14", ServiceRequest_Encounter_ID: full_encounterID -%} + {% endif %} + + {% for autSegment in autSegmentLists.AUT %} + {% if autSegment.6 %} + {% if autSegment.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment.2 or autSegment.3 %} + {% if autSegment.3 %} + {% assign organization_name = autSegment.3.Value %} + {% elsif autSegment.2 %} + {% assign organization_name = autSegment.2.2.Value %} + {% endif %} + {% evaluate Organization_ID_aut_2_3 using 'ID/Organization' AUT: autSegment -%} + {% assign full_Organization_ID_aut_2_3 = Organization_ID_aut_2_3 | prepend: 'Organization/' %} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_aut_2_3 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment.6 -%} + {% include 'Resource/ClaimResponse' org_AUT: full_Organization_ID_aut_2_3, AUT: autSegment, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% endif %} + {% endfor %} + + {% include 'Resource/Patient' PID: firstSegments.PID, pda_seg: checkPDASeg, ID: patientId -%} + {% include 'Extensions/Patient/PatientExtension' ID: PatientId, PID: firstSegments.PID, PV1: firstSegments.PV1 -%} + + {% for prdSegment in prdSegmentLists.PRD %} + {% if prdSegment.4 -%} + {% include 'Resource/PLLocation' PL: prdSegment.4-%} + {% endif -%} + {% evaluate Practitioner_ID_PRD using 'ID/Practitioner' PRD: prdSegment -%} + {% assign fullPractitionerID_PRD = Practitioner_ID_PRD | prepend: 'Practitioner/' -%} + {% include 'Resource/Practitioner' PRD: prdSegment, ID: Practitioner_ID_PRD -%} + {% evaluate Organization_ID_PRD using 'ID/Organization' XON: prdSegment.10 -%} + {% assign fullOrganizationID_PRD = Organization_ID_PRD | prepend: 'Organization/' -%} + {% include 'Resource/Organization' PRD: prdSegment, ID: Organization_ID_PRD -%} + {% evaluate PractitionerRole_ID_PRD using 'ID/PractitionerRole' PRD: prdSegment -%} + {% assign full_PractitionerRole_ID_PRD = PractitionerRole_ID_PRD | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' PRD: prdSegment, ID: PractitionerRole_ID_PRD -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: fullPractitionerID_PRD, ID: PractitionerRole_ID_PRD %} + {% include 'Reference/PractitionerRole/Organization' REF: fullOrganizationID_PRD, ID: PractitionerRole_ID_PRD %} + {% if serviceRequestId_RF1 %} + {% include 'Resource/ServiceRequest' PRD: prdSegment, REF_prac: full_PractitionerRole_ID_PRD, ID: serviceRequestId_RF1 %} + {% endif %} + {% endfor %} + + {% if firstSegments.PID.18 -%} + {% evaluate accountId using 'ID/Account' CX: firstSegments.PID.18, baseId: patientId -%} + {% include 'Resource/Account' PID: firstSegments.PID, ID: accountId -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% if firstSegments.PID.18.4.1 != "" and firstSegments.PID.18.4.1 != null and firstSegments.PID.18.4.2 != "" and firstSegments.PID.18.4.2 != null and firstSegments.PID.18.4.3 != "" and firstSegments.PID.18.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_18 using 'ID/Organization' HDORG: firstSegments.PID.18.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.18, ID: Organization_ID_pid_CX_18 -%} + {% endif -%} + {% endif -%} + + {% unless firstSegments.PID.18 %} + {% evaluate accountId using 'ID/Account' GT1_Account: gt1SegmentLists.GT1[0], baseId: patientId -%} + {% endunless -%} + + {% for gt1SegmentLists in gt1SegmentLists.GT1 -%} + {% unless gt1SegmentLists.21 %} + {% if gt1SegmentLists.11.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID: firstSegments.PID, GT1: gt1SegmentLists, ID: patientId, NK1_PER: nk1SegmentLists.NK1[0], pda_seg: checkPDASeg -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% if gt1SegmentLists.29.4.1 != "" and gt1SegmentLists.29.4.1 != null and gt1SegmentLists.29.4.2 != "" and gt1SegmentLists.29.4.2 != null and gt1SegmentLists.29.4.3 != "" and gt1SegmentLists.29.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_29 using 'ID/Organization' HDORG: gt1SegmentLists.29.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.29, ID: Organization_ID_gt1_CX_29 -%} + {% endif -%} + {% if gt1SegmentLists.51 -%} + {% evaluate Organization_ID_gt1_XON_51 using 'ID/Organization' XON: gt1SegmentLists.51 -%} + {% include 'Resource/Organization', GT1_51: gt1SegmentLists, ID: Organization_ID_gt1_XON_51 -%} + {% assign Organization_GT1_51 = Organization_ID_gt1_XON_51 | prepend: 'Organization/' -%} + {% endif -%} + {% else -%} + {% evaluate gt1relatedPersonId using 'ID/RelatedPerson' GT1: gt1SegmentLists, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: gt1relatedPersonId, GT1: gt1SegmentLists -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% if gt1SegmentLists.19.4.1 != "" and gt1SegmentLists.19.4.1 != null and gt1SegmentLists.19.4.2 != "" and gt1SegmentLists.19.4.2 != null and gt1SegmentLists.19.4.3 != "" and gt1SegmentLists.19.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_19 using 'ID/Organization' HDORG: gt1SegmentLists.19.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.19, ID: Organization_ID_gt1_CX_19 -%} + {% endif -%} + {% endif -%} + {% endunless -%} + {% if gt1SegmentLists.21 -%} + {% evaluate Organization_ID_gt1_XON_21 using 'ID/Organization' XON: gt1SegmentLists.21 -%} + {% include 'Resource/Organization', GT1: gt1SegmentLists, ID: Organization_ID_gt1_XON_21 -%} + {% if gt1SegmentLists.2.4.1 != "" and gt1SegmentLists.2.4.1 != null and gt1SegmentLists.2.4.2 != "" and gt1SegmentLists.2.4.2 != null and gt1SegmentLists.2.4.3 != "" and gt1SegmentLists.2.4.3 != null -%} + {% evaluate Organization_ID_gt1_CX_2 using 'ID/Organization' HDORG: gt1SegmentLists.2.4 -%} + {% include 'Resource/Organization', PID: gt1SegmentLists.2, ID: Organization_ID_gt1_CX_2 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/Account' GT1: gt1SegmentLists, ID: accountId, REF_PATIENT: fullPatientId, REF_RELATED_PERSON: gt1relatedPersonId, REF_ORG: Organization_ID_gt1_XON_21 -%} + {% include 'Reference/Account/Subject' ID: accountId, REF: fullPatientId -%} + {% endfor -%} + + {% if firstSegments.PID.2 -%} + {% if firstSegments.PID.2.4.1 != "" and firstSegments.PID.2.4.1 != null and firstSegments.PID.2.4.2 != "" and firstSegments.PID.2.4.2 != null and firstSegments.PID.2.4.3 != "" and firstSegments.PID.2.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_2 using 'ID/Organization' HDORG: firstSegments.PID.2.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.2, ID: Organization_ID_pid_CX_2 -%} + {% endif -%} + {% endif -%} + {% for pid3 in firstSegments.PID.3.Repeats -%} + {% if pid3.4.1 != "" and pid3.4.1 != null and pid3.4.2 != "" and pid3.4.2 != null and pid3.4.3 != "" and pid3.4.3 != null -%} + {% evaluate Organization_ID_pid_CX using 'ID/Organization' HDORG: pid3.4 -%} + {% include 'Resource/Organization', PID: pid3, ID: Organization_ID_pid_CX -%} + {% endif -%} + {% endfor -%} + {% if firstSegments.PID.4 -%} + {% if firstSegments.PID.4.4.1 != "" and firstSegments.PID.4.4.1 != null and firstSegments.PID.4.4.2 != "" and firstSegments.PID.4.4.2 != null and firstSegments.PID.4.4.3 != "" and firstSegments.PID.4.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_4 using 'ID/Organization' HDORG: firstSegments.PID.4.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.4, ID: Organization_ID_pid_CX_4 -%} + {% endif -%} + {% endif -%} + + {% unless nk1SegmentLists.NK1 -%} + {% if firstSegments.PID.21 -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% evaluate pidrelatedPersonId using 'ID/RelatedPerson' PID: firstSegments.PID, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: pidrelatedPersonId, PID: firstSegments.PID -%} + {% endif -%} + {% endunless -%} + + + {% for nk1Segment in nk1SegmentLists.NK1 -%} + {% evaluate relatedPersonId using 'ID/RelatedPerson' NK1: nk1Segment, baseId: patientId -%} + {% if nk1Segment.13 -%} + {% evaluate organizationId_NK1_13 using 'ID/Organization' XON: nk1Segment.13 -%} + {% include 'Resource/Organization' NK1: nk1Segment, ID: organizationId_NK1_13 -%} + {% assign Organization_NK1_13 = organizationId_NK1_13 | prepend: 'Organization/' -%} + {% include 'Reference/Patient/Contact_Organization' REF:Organization_NK1_13 , ID: patientId -%} + {% endif -%} + {% unless nk1Segment.3.1.Value == "EMR" or nk1Segment.3.1.Value == "CGV" or nk1Segment.7.1.Value == "E" or nk1Segment.7.1.Value =="F" or nk1Segment.7.1.Value == "I" or nk1Segment.7.1.Value =="S" -%} + {% include 'Resource/Patient' NK1: nk1Segment, ID: patientId -%} + {% include 'Resource/RelatedPerson' NK1: nk1Segment, RelatedPerson_Patient_ID: fullPatientId, ID: relatedPersonId, PID: firstSegments.PID -%} + {% include 'Extensions/RelatedPerson/RelatedPerson' ID: relatedPersonId, NK1: nk1Segment -%} + {% if nk1Segment.12.4.1 != "" and nk1Segment.12.4.1 != null and nk1Segment.12.4.2 != "" and nk1Segment.12.4.2 != null and nk1Segment.12.4.3 != "" and nk1Segment.12.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_12 using 'ID/Organization' HDORG: nk1Segment.12.4 -%} + {% include 'Resource/Organization', NK1_12: nk1Segment.12, ID: Organization_ID_nk_CX_12 -%} + {% endif -%} + {% endunless -%} + {% if firstSegments.PID.21 -%} + {% include 'Resource/RelatedPerson' ID: relatedPersonId, PID: firstSegments.PID, RelatedPerson_Patient_ID: fullPatientId -%} + {% if firstSegments.PID.21.4.1 != "" and firstSegments.PID.21.4.1 != null and firstSegments.PID.21.4.2 != "" and firstSegments.PID.21.4.2 != null and firstSegments.PID.21.4.3 != "" and firstSegments.PID.21.4.3 != null -%} + {% evaluate Organization_ID_pid_CX_21 using 'ID/Organization' HDORG: firstSegments.PID.21.4 -%} + {% include 'Resource/Organization', PID: firstSegments.PID.21, ID: Organization_ID_pid_CX_21 -%} + {% endif -%} + {% endif -%} + + {% for nk33 in nk1Segment.33.Repeats -%} + {% if nk33.4.1 != "" and nk33.4.1 != null and nk33.4.2 != "" and nk33.4.2 != null and nk33.4.3 != "" and nk33.4.3 != null -%} + {% evaluate Organization_ID_nk_CX_33 using 'ID/Organization' HDORG: nk33.4 -%} + {% include 'Resource/Organization', NK1_33: nk33, ID: Organization_ID_nk_CX_33 -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + + {% for in1Segment in in1SegmentLists.IN1 -%} + + {% evaluate coverageId using 'ID/Coverage' CX: in1Segment -%} + {% include 'Resource/Coverage' IN1: in1Segment, ID: coverageId -%} + {% include 'Reference/Coverage/Beneficiary' ID: coverageId, REF: fullPatientId -%} + + {% for in1_49 in in1Segment.49.Repeats -%} + {% if in1_49.4.1 != "" and in1_49.4.1 != null and in1_49.4.2 != "" and in1_49.4.2 != null and in1_49.4.3 != "" and in1_49.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_49 using 'ID/Organization' HDORG: in1_49.4 -%} + {% include 'Resource/Organization', IN1_49: in1_49, ID: Organization_ID_in1_CX_49 -%} + {% endif -%} + {% endfor -%} + + {% for in1_3 in in1Segment.3.Repeats -%} + {% if in1_3.4.1 != "" and in1_3.4.1 != null and in1_3.4.2 != "" and in1_3.4.2 != null and in1_3.4.3 != "" and in1_3.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_3 using 'ID/Organization' HDORG: in1_3.4 -%} + {% include 'Resource/Organization', IN1_3: in1_3, ID: Organization_ID_in1_CX_3 -%} + {% endif -%} + {% endfor -%} + + {% for in1_10 in in1Segment.10.Repeats -%} + {% if in1_10.4.1 != "" and in1_10.4.1 != null and in1_10.4.2 != "" and in1_10.4.2 != null and in1_10.4.3 != "" and in1_10.4.3 != null -%} + {% evaluate Organization_ID_in1_CX_10 using 'ID/Organization' HDORG: in1_10.4 -%} + {% include 'Resource/Organization', IN1_10: in1_10, ID: Organization_ID_in1_CX_10 -%} + {% endif -%} + {% endfor -%} + + {% if in1Segment.4 -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' XON: in1Segment.4 -%} + {% else -%} + {% evaluate Organization_ID_in1_4 using 'ID/Organization' CX: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_4 -%} + {% include 'Resource/Organization', IN1: in1Segment, ID: Organization_ID_in1_4 -%} + {% assign org_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/Payor' ID: coverageId, REF: org_in1_4 -%} + {% endif -%} + + {% if in1Segment.11 -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' XON: in1Segment.11 -%} + {% else -%} + {% evaluate Organization_ID_in1_11 using 'ID/Organization' CX_IN1: in1Segment -%} + {% endif -%} + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN1_11: in1Segment, ID: Organization_ID_in1_11 -%} + {% assign org_in1_11 = Organization_ID_in1_11 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in1_11 -%} + {% endif -%} + + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' PID_IN1: firstSegments.PID, IN1: in1Segment, ID: patientId -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: fullPatientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% evaluate in1relatedPersonId using 'ID/RelatedPerson' IN1: in1Segment, baseId: patientId -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN1: in1Segment -%} + {% assign rel_in1_17 = in1relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/Subscriber' ID: coverageId, REF: rel_in1_17 -%} + {% endunless -%} + + {% for in2Segment in in2SegmentLists.IN2 -%} + {% if in1Segment.17.1.Value == "SEL" -%} + {% include 'Resource/Patient' IN2: in2Segment, ID: patientId -%} + {% endif -%} + {% unless in1Segment.17.1.Value == "SEL" or in1Segment.17.Value == "" -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in1relatedPersonId, IN2: in2Segment -%} + {% endunless -%} + + {% unless in1Segment.10 and in1Segment.11 -%} + {% if in2Segment.3 -%} + {% evaluate in2relatedPersonId using 'ID/RelatedPerson' IN2: in2Segment, baseId: patientId -%} + {% if in2Segment.3.9.1 != "" and in2Segment.3.9.1 != null and in2Segment.3.9.2 != "" and in2Segment.3.9.2 != null and in2Segment.3.9.3 != "" and in2Segment.3.9.3 != null -%} + {% evaluate Organization_ID_IN2_3_9 using 'ID/Organization' HDORG: in2Segment.3.9 -%} + {% include 'Resource/Organization', IN2_3: in2Segment.3.9, ID: Organization_ID_IN2_3_9 -%} + {% endif -%} + {% include 'Resource/RelatedPerson' RelatedPerson_Patient_ID: fullPatientId, ID: in2relatedPersonId, IN2_3: in2Segment -%} + {% assign relatedperson_3 = in2relatedPersonId | prepend: 'RelatedPerson/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: relatedperson_3 -%} + {% endif -%} + {% endunless -%} + + {% if in1Segment.10 == null and in1Segment.11 == null and in2Segment.3 == null -%} + {% if in2Segment.70 -%} + {% evaluate organization_Id_IN2_70 using 'ID/Organization' XON: in2Segment.70 -%} + {% include 'Resource/Organization' IN2_70: in2Segment, ID: organization_Id_IN2_70 -%} + {% assign org_in2_70 = organization_Id_IN2_70 | prepend: 'Organization/' -%} + {% include 'Reference/Coverage/PolicyHolder' ID: coverageId, REF: org_in2_70 -%} + {% endif -%} + {% endif -%} + + {% if Organization_ID_in1_11 -%} + {% include 'Resource/Organization', IN2_49: in2Segment, ID: Organization_ID_in1_11 -%} + {% endif -%} + {% include 'Resource/Coverage' IN2: in2Segment, ID: coverageId -%} + {% include 'Resource/Patient' IN2_6: in2Segment, ID: patientId -%} + + {% for in2_1 in in2Segment.1.Repeats -%} + {% if in2_1.4.1 != "" and in2_1.4.1 != null and in2_1.4.2 != "" and in2_1.4.2 != null and in2_1.4.3 != "" and in2_1.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_1 using 'ID/Organization' HDORG: in2_1.4 -%} + {% include 'Resource/Organization', IN2_1: in2_1, ID: Organization_ID_in2_CX_1 -%} + {% endif -%} + {% endfor -%} + {% if in2Segment.61 -%} + {% if in2Segment.61.4.1 != "" and in2Segment.61.4.1 != null and in2Segment.61.4.2 != "" and in2Segment.61.4.2 != null and in2Segment.61.4.3 != "" and in2Segment.61.4.3 != null -%} + {% evaluate Organization_ID_in2_CX_61 using 'ID/Organization' HDORG: in2Segment.61.4 -%} + {% include 'Resource/Organization', IN2_61: in2Segment.61, ID: Organization_ID_in2_CX_61 -%} + {% endif -%} + {% endif -%} + {% endfor -%} + {% endfor -%} + {% if accountId %} + {% assign full_coverageId = coverageId | prepend: 'Coverage/' %} + {% include 'Reference/Account/Coverage_Coverage' REF: full_coverageId, ID: accountId %} + {% endif %} + + {% if firstSegments.ACC -%} + {% if firstSegments.ACC.7 -%} + {% if firstSegments.ACC.7.9.1 != "" and firstSegments.ACC.7.9.1 != null and firstSegments.ACC.7.9.2 != "" and firstSegments.ACC.7.9.2 != null and firstSegments.ACC.7.9.3 != "" and firstSegments.ACC.7.9.3 != null -%} + {% evaluate Organization_ID_ACC_7_9 using 'ID/Organization' HDORG: firstSegments.ACC.7.9 -%} + {% include 'Resource/Organization', ACC: firstSegments.ACC.7.9, ID: Organization_ID_ACC_7_9 -%} + {% endif -%} + {% evaluate Practitioner_ID_ACC_7 using 'ID/Practitioner' XCN: firstSegments.ACC.7 -%} + {% include 'Resource/Practitioner' ACC: firstSegments.ACC.7, ID: Practitioner_ID_ACC_7 -%} + {% endif -%} + + {% if firstSegments.ACC.3 or firstSegments.ACC.11 %} + {% evaluate locationId_ACC using 'ID/Location' ACC: firstSegments.ACC -%} + {% include 'Resource/Location' ACC: firstSegments.ACC, ID: locationId_ACC -%} + {% endif %} + + {% evaluate observationId_ACC using 'ID/Observation' ACC: firstSegments.ACC, baseId: patientId -%} + {% include 'Resource/Observation' ACC: firstSegments.ACC, ID: observationId_ACC, Observation_Subject_ID: fullPatientId -%} + {% assign fullPractitioner_ID_ACC_7 = Practitioner_ID_ACC_7 | prepend: 'Practitioner/' -%} + {% include 'Reference/Observation/Performer' ID: observationId_ACC, REF: fullPractitioner_ID_ACC_7 -%} + {% if locationId_ACC %} + {% include 'Extensions/Observation/ObservationExtension' ID: observationId_ACC, locationId: locationId_ACC -%} + {% endif -%} + {% endif -%} + + {% for dg1Segment in dg1SegmentLists.DG1 -%} + {% if dg1Segment.16.Repeats[0] %} + {% if dg1Segment.16.Repeats[0].9.1 != "" and dg1Segment.16.Repeats[0].9.1 != null and dg1Segment.16.Repeats[0].9.2 != "" and dg1Segment.16.Repeats[0].9.2 != null and dg1Segment.16.Repeats[0].9.3 != "" and dg1Segment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_DG1_16 using 'ID/Organization' HDORG: dg1Segment.16.Repeats[0].9 -%} + {% include 'Resource/Organization', DG1: dg1Segment.16.Repeats[0].9, ID: Organization_ID_DG1_16 -%} + {% endif -%} + {% evaluate practitionerId_DG1_16 using 'ID/Practitioner' XCN: dg1Segment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' DG1: dg1Segment, ID: practitionerId_DG1_16 -%} + {% endif -%} + + {% evaluate conditionId using 'ID/Condition' DG1: dg1Segment, baseId: patientId -%} + {% include 'Resource/Condition' DG1: dg1Segment, Condition_Subject_ID: fullPatientId, baseId: patientId, ID: conditionId -%} + + {% if encounterId -%} + {% include 'Resource/Encounter' DG1: dg1Segment, conditionId: conditionId, ID: encounterId -%} + {% endif %} + {% if EpisodeOfCare_ID %} + {% include 'Resource/EpisodeOfCare' DG1: dg1Segment, conditionId: conditionId, ID: EpisodeOfCare_ID -%} + {% endif %} + {% if dg1Segment.22 -%} + {% evaluate conditionId_DG1_22 using 'ID/Condition' DG1: dg1Segment.22, baseId: patientId -%} + {% include 'Resource/Condition' DG1_22: dg1Segment.22, Condition_Subject_ID_DG1_22: fullPatientId, ID: conditionId_DG1_22 -%} + {% endif -%} + {% include 'Extensions/Condition/ConditionExtension' DG1: dg1Segment, ID_DG1_22:conditionId_DG1_22, ID: conditionId %} + {% endfor -%} + + {% for al1Segment in al1SegmentLists.AL1 -%} + {% evaluate allergyIntoleranceId using 'ID/AllergyIntolerance' AL1: al1Segment, baseId: patientId -%} + {% include 'Resource/AllergyIntolerance' AL1: al1Segment, ID: allergyIntoleranceId, AllergyIntolerance_Patient_ID: fullPatientId -%} + {% endfor -%} + + {% for pr1Segment in pr1SegmentLists.PR1 -%} + {% assign autSegmentLists_pr1 = hl7v2Data | get_related_segment_list: pr1Segment, 'AUT' -%} + {% if pr1Segment.8 -%} + {% if pr1Segment.8.9.1 != "" and pr1Segment.8.9.1 != null and pr1Segment.8.9.2 != "" and pr1Segment.8.9.2 != null and pr1Segment.8.9.3 != "" and pr1Segment.8.9.3 != null -%} + {% evaluate Organization_ID_PR1_8 using 'ID/Organization' HDORG: pr1Segment.8.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.8.9, ID: Organization_ID_PR1_8 -%} + {% endif -%} + {% evaluate practitionerId_PR1_8 using 'ID/Practitioner' XCN: pr1Segment.8 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.8, ID: practitionerId_PR1_8 -%} + {% endif -%} + + {% if pr1Segment.11 -%} + {% if pr1Segment.11.9.1 != "" and pr1Segment.11.9.1 != null and pr1Segment.11.9.2 != "" and pr1Segment.11.9.2 != null and pr1Segment.11.9.3 != "" and pr1Segment.11.9.3 != null -%} + {% evaluate Organization_ID_PR1_11 using 'ID/Organization' HDORG: pr1Segment.11.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.11.9, ID: Organization_ID_PR1_11 -%} + {% endif -%} + {% evaluate practitionerId_PR1_11 using 'ID/Practitioner' XCN: pr1Segment.11 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.11, ID: practitionerId_PR1_11 -%} + {% endif -%} + + {% if pr1Segment.12 -%} + {% if pr1Segment.12.9.1 != "" and pr1Segment.12.9.1 != null and pr1Segment.12.9.2 != "" and pr1Segment.12.9.2 != null and pr1Segment.12.9.3 != "" and pr1Segment.12.9.3 != null -%} + {% evaluate Organization_ID_PR1_12 using 'ID/Organization' HDORG: pr1Segment.12.9 -%} + {% include 'Resource/Organization', PR1: pr1Segment.12.9, ID: Organization_ID_PR1_12 -%} + {% endif -%} + {% evaluate practitionerId_PR1_12 using 'ID/Practitioner' XCN: pr1Segment.12 -%} + {% include 'Resource/Practitioner' PR1: pr1Segment.12, ID: practitionerId_PR1_12 -%} + {% endif -%} + + {% if pr1Segment.23 -%} + {% include 'Resource/PLLocation' PL: pr1Segment.23-%} + {% endif %} + + {% if pr1Segment.25 -%} + {% evaluate Procedure_ID_PR1_25 using 'ID/Procedure' PR1: pr1Segment.25, baseId: fullPatientId -%} + {% include 'Resource/Procedure' PR1_25: pr1Segment.25, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: Procedure_ID_PR1_25 -%} + {% endif -%} + + {% evaluate procedureId using 'ID/Procedure' PR1: pr1Segment, baseId: patientId -%} + {% include 'Resource/Procedure' PR1: pr1Segment, PV1: firstSegments.PV1, Procedure_Subject_ID: fullPatientId, ID: procedureId -%} + {% endfor -%} + + {% for autSegment_pr1 in autSegmentLists_pr1.AUT %} + {% if autSegment_pr1.6 %} + {% if autSegment_pr1.29.Value != 'D' %} + {% assign status_error = false %} + {% endif %} + {% if firstSegments.PV1.2.Value != 'I' and firstSegments.PV1.2.Value != 'O' %} + {% unless autSegment_pr1.21 %} + {% assign default_type = true %} + {% endunless %} + {% endif %} + {% if autSegment_pr1.2 or autSegment_pr1.3 %} + {% if autSegment_pr1.3 %} + {% assign organization_name = autSegment_pr1.3.Value %} + {% elsif autSegment_pr1.2 %} + {% assign organization_name = autSegment_pr1.2.2.Value %} + {% endif %} + {% evaluate Organization_ID_aut_2_3 using 'ID/Organization' AUT: autSegment_pr1 -%} + {% include 'Resource/Organization' aut_org_name: organization_name, ID: Organization_ID_aut_2_3 %} + {% endif %} + {% evaluate claimResponse_ID_AUT_6 using 'ID/ClaimResponse' AUT_6: autSegment_pr1.6 -%} + {% assign full_Organization_ID_in1_4 = Organization_ID_in1_4 | prepend: 'Organization/' %} + {% include 'Resource/ClaimResponse' AUT: autSegment_pr1, org_IN1: full_Organization_ID_in1_4, status_flag: status_error, type1: default_type, ID: claimResponse_ID_AUT_6 %} + {% include 'Reference/ClaimResponse/Patient' ID: claimResponse_ID_AUT_6, REF: fullPatientId -%} + {% assign check_PV1 = hl7v2Data | has_segments: 'PV1' -%} + {% if check_PV1 %} + {% if firstSegments.PV1.2 %} + {% include 'Resource/ClaimResponse' AUT_PV1_2: firstSegments.PV1.2, ID: claimResponse_ID_AUT_6 %} + {% endif %} + {% endif %} + {% endif %} + {% endfor %} + + {% for obrSegment in obrSegmentLists.OBR -%} + {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: obrSegment, 'OBX' -%} + + {% evaluate patientId using 'ID/Patient' PID: firstSegments.PID, type: 'First' -%} + {% assign fullPatientId = patientId | prepend: 'Patient/' -%} + + {% evaluate serviceRequestId using 'ID/ServiceRequest' OBR: obrSegment, REF_MSH:firstSegments.MSH, baseId: patientId -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + + {% include 'Resource/ServiceRequest' OBR_child: obrSegment, ServiceRequest_Subject_ID: fullPatientId, ServiceRequest_Encounter_ID: full_encounterID, ServiceRequest_ID_OBR_29: parentServiceRequestId, ID: serviceRequestId, type_msg: "REF" -%} + {% if serviceRequestId and documentreferenceID %} + {% assign fullDocumentreferenceID = documentreferenceID | prepend: 'DocumentReference/' -%} + {% include 'Reference/ServiceRequest/ReasonReference' ID: serviceRequestId, REF: fullDocumentreferenceID -%} + {% endif %} + + {% if obrSegment.16 -%} + {% if obrSegment.16.Repeats[0] %} + {% if obrSegment.16.Repeats[0].9.1 != "" and obrSegment.16.Repeats[0].9.1 != null and obrSegment.16.Repeats[0].9.2 != "" and obrSegment.16.Repeats[0].9.2 != null and obrSegment.16.Repeats[0].9.3 != "" and obrSegment.16.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR16 using 'ID/Organization' HDORG: obrSegment.16.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_16: obrSegment.16.Repeats[0].9, ID: Organization_ID_OBR16 -%} + {% endif -%} + {% endif -%} + {% evaluate practitionerId_OBR_16 using 'ID/Practitioner' XCN: obrSegment.16.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_16: obrSegment.16.Repeats[0], ID: practitionerId_OBR_16 -%} + {% evaluate practitionerRoleId_OBR_16 using 'ID/PractitionerRole' XCN: obrSegment.16.Repeats[0]-%} + {% include 'Resource/PractitionerRole' OBR_serv: obrSegment, requestor_practitioner1: practitionerId_OBR_16, ID: practitionerRoleId_OBR_16 -%} + {% assign fullpractitionerRoleId_OBR_16 = practitionerRoleId_OBR_16 | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/Requester' REF: fullpractitionerRoleId_OBR_16, ID: serviceRequestId -%} + {% endif -%} + + {% if obrSegment.29 %} + {% if obrSegment.50 -%} + {% evaluate parentServiceRequestId using 'ID/ServiceRequest' OBR_29: obrSegment.29, baseId: patientId -%} + {% include 'Resource/ServiceRequest' OBR_parent: obrSegment, ServiceRequest_Subject_ID: fullPatientId, ID: parentServiceRequestId, type_msg: "REF" -%} + {% endif %} + {% endif %} + + {% assign fullParentServiceRequestId = parentServiceRequestId | prepend: 'ServiceRequest/' -%} + + {% evaluate diagnosticReportID_OBR using 'ID/DiagnosticReport' OBR: obrSegment -%} + + {% assign nteSegmentLists1 = hl7v2Data | get_related_segment_list: obrSegment, 'NTE' -%} + {% for nteSegment1 in nteSegmentLists1.NTE -%} + {% if nteSegment1.5 -%} + {% if nteSegment1.5.9.1 != "" and nteSegment1.5.9.1 != null and nteSegment1.5.9.2 != "" and nteSegment1.5.9.2 != null and nteSegment1.5.9.3 != "" and nteSegment1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE1_5_9 using 'ID/Organization' HDORG: nteSegment1.5.9 -%} + {% include 'Resource/Organization' OBR_NTE: nteSegment1.5.9, ID: Organization_ID_NTE1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment1, ID: serviceRequestId -%} + {% endfor -%} + + {% if obrSegment.32 -%} + {% evaluate practitionerId_obrSegment_32 using 'ID/Practitioner' CNN: obrSegment.32.1 -%} + {% evaluate practitionerRoleId_obrSegment_32 using 'ID/PractitionerRole' NDL: obrSegment.32 -%} + {% assign full_practitionerId_obrSegment_32 = practitionerId_obrSegment_32 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obrSegment_32 = practitionerRoleId_obrSegment_32 | prepend: 'PractitionerRole/' %} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_32: obrSegment.32, ID: practitionerId_obrSegment_32 -%} + {% include 'Resource/PractitionerRole' OBR_32: obrSegment.32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'DataType/NDLLocation' NDL: obrSegment.32 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obrSegment_32, ID: practitionerRoleId_obrSegment_32 -%} + {% include 'Reference/DiagnosticReport/ResultsInterpreter' REF: full_practitionerRoleId_obrSegment_32, ID: diagnosticReportID_OBR %} + {% endif -%} + {% for obr_34 in obrSegment.34.Repeats -%} + {% evaluate practitionerId_obr_34 using 'ID/Practitioner' CNN: obr_34.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_34_1: obr_34.1, ID: practitionerId_obr_34 -%} + {% evaluate practitionerRoleId_obr_34 using 'ID/PractitionerRole' NDL: obr_34 -%} + {% assign full_practitionerId_obr_34 = practitionerId_obr_34 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_34 = practitionerRoleId_obrSegment_34 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_34: OBR_34, ID: practitionerRoleId_obr_34 -%} + {% include 'DataType/NDLLocation' NDL: obr_34 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_34, ID: practitionerRoleId_obr_34 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_34, ID: diagnosticReportID_OBR %} + {% endfor %} + {% for obr_35 in obrSegment.35.Repeats -%} + {% evaluate practitionerId_obr_35 using 'ID/Practitioner' CNN: obr_35.1 -%} + {% include 'Resource/Practitioner' OBR: obrSegment, CNN_OBR_35_1: obr_35.1, ID: practitionerId_obr_35 -%} + {% evaluate practitionerRoleId_obr_35 using 'ID/PractitionerRole' NDL: obr_35 -%} + {% assign full_practitionerId_obr_35 = practitionerId_obr_35 | prepend: 'Practitioner/' %} + {% assign full_practitionerRoleId_obr_35 = practitionerRoleId_obrSegment_35 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR_35: OBR_35, ID: practitionerRoleId_obr_35 -%} + {% include 'DataType/NDLLocation' NDL: obr_35 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_obr_35, ID: practitionerRoleId_obr_35 -%} + {% include 'Reference/DiagnosticReport/Performer' REF: full_practitionerRoleId_obr_35, ID: diagnosticReportID_OBR %} + {% endfor %} + + {% include 'Resource/DiagnosticReport' OBR: obrSegment, ID: diagnosticReportID_OBR, DiagnosticReport_Subject_ID: fullPatientId -%} + {% assign fullServiceRequestId = serviceRequestId | prepend: 'ServiceRequest/' -%} + {% include 'Reference/DiagnosticReport/BasedOn' ID: diagnosticReportID_OBR, REF: fullServiceRequestId -%} + + {% if obrSegment.10 %} + {% if obrSegment.10.Repeats[0].9.1 != "" and obrSegment.10.Repeats[0].9.1 != null and obrSegment.10.Repeats[0].9.2 != "" and obrSegment.10.Repeats[0].9.2 != null and obrSegment.10.Repeats[0].9.3 != "" and obrSegment.10.Repeats[0].9.3 != null -%} + {% evaluate Organization_ID_OBR10 using 'ID/Organization' HDORG: obrSegment.10.Repeats[0].9 -%} + {% include 'Resource/Organization' OBR_SEG_10: obrSegment.10.Repeats[0].9, ID: Organization_ID_OBR10 -%} + {% endif -%} + {% evaluate practitionerId_OBR_10 using 'ID/Practitioner' XCN: obrSegment.10.Repeats[0] -%} + {% include 'Resource/Practitioner' OBR_SEG: obrSegment, OBRXCN_10: obrSegment.10.Repeats[0], ID: practitionerId_OBR_10 -%} + {% evaluate practitionerRoleId_OBR_10 using 'ID/PractitionerRole' XCN: obrSegment.10.Repeats[0] -%} + {% assign full_practitionerId_obr_10 = practitionerRoleId_OBR_10 | prepend: 'PractitionerRole/' %} + {% include 'Resource/PractitionerRole' OBR: obrSegment, collection_collector_practitioner: practitionerId_obr_10, ID: practitionerRoleId_OBR_10 -%} + {% endif -%} + + {% assign checkParentOBR = hl7v2Data | get_parent_segment: 'OBX', {{obxSegmentPositionIndex_obr}}, 'OBR' -%} + {% assign obxSegmentPositionIndex_obr = obxSegmentPositionIndex_obr | plus: 1 -%} + {% for obxSegment in obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} + + {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} + {% evaluate diagnosticReportId_OBX using 'ID/DiagnosticReport' OBX: obxSegment -%} + + {% assign ED_RP_flag = true %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% include 'Resource/DiagnosticReport' OBX: obxSegment, DiagnosticReport_Subject_ID: fullPatientId, ID: diagnosticReportId_OBX -%} + {% if serviceRequestId %} + {% include 'Resource/DiagnosticReport' DiagnosticReport_ServiceRequest_ID: serviceRequestId, ID: diagnosticReportId_OBX %} + {% endif %} + {% else %} + {% assign ED_RP_flag = false %} + {% for obx_16 in obxSegment.16.Repeats -%} + {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} + {% evaluate Organization_ID_OBX_16 using 'ID/Organization' HDORG: obx_16.9 -%} + {% include 'Resource/Organization' OBX: obx_16.9, ID: Organization_ID_OBX_16 -%} + {% endif -%} + {% evaluate practitionerId_OBX_16 using 'ID/Practitioner' XCN: obx_16 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN1: obx_16, ID: practitionerId_OBX_16 -%} + {% evaluate practitionerRoleId_OBX_16 using 'ID/PractitionerRole' XCN: obx_16 -%} + {% assign full_practitionerId_OBX_16 = practitionerId_OBX_16 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN1: obx_16, ID: practitionerRoleId_OBX_16 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_16, ID: practitionerRoleId_OBX_16 -%} + {% endfor %} + {% if obxSegment.18 -%} + {% evaluate deviceId_OBX_18 using 'ID/Device' EI: obxSegment.18.Repeats[0] -%} + {% include 'Resource/Device' EI_OBX18: obxSegment.18, ID: deviceId_OBX_18 -%} + {% endif -%} + {% if obxSegment.23 or obxSegment.25 %} + {% evaluate practitionerRoleId_OBX_25 using 'ID/PractitionerRole' XCN: obxSegment.25 -%} + {% endif %} + {% if obxSegment.25 -%} + {% evaluate practitionerId_OBX_25 using 'ID/Practitioner' XCN: obxSegment.25 -%} + {% include 'Resource/Practitioner' OBX: obxSegment, OBXXCN2: obxSegment.25, ID: practitionerId_OBX_25 -%} + {% assign full_practitionerId_OBX_25 = practitionerId_OBX_25 | prepend: 'Practitioner/' %} + {% include 'Resource/PractitionerRole' OBXXCN2: obxSegment.25, ID: practitionerRoleId_OBX_25 -%} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId_OBX_25, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% if obxSegment.23 -%} + {% evaluate organizationId_OBX_23 using 'ID/Organization' XON: obxSegment.23 -%} + {% include 'Resource/Organization' OBX_23: obxSegment.23, OBX_24: obxSegment.24, ID: organizationId_OBX_23 -%} + {% if obxSegment.25 -%} + {% assign full_organizationId_OBX_23 = organizationId_OBX_23 | prepend: 'Organization/' %} + {% include 'Reference/PractitionerRole/Organization' REF: full_organizationId_OBX_23, ID: practitionerRoleId_OBX_25 -%} + {% endif -%} + {% endif -%} + {% evaluate observationId_OBX using 'ID/Observation' OBX: obxSegment, baseId: patientId -%} + {% include 'Resource/Observation' OBX: obxSegment, Observation_Subject_ID: fullPatientId, ID: observationId_OBX -%} + + {% if serviceRequestId %} + {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId_OBX %} + {% endif %} + {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId_OBX %} + + {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% for nteSegment2 in nteSegmentLists2.NTE -%} + {% if nteSegment2.5 -%} + {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} + {% evaluate Organization_ID_NTE2_5_9 using 'ID/Organization' HDORG: nteSegment2.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment2.5.9, ID: Organization_ID_NTE2_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment2.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment2.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/Observation' NTE: nteSegment2, ID: observationId_OBX -%} + {% endfor -%} + {% assign fullObservationId = observationId_OBX | prepend: 'Observation/' -%} + {% include 'Reference/DiagnosticReport/Result' ID: diagnosticReportID_OBR, REF: fullObservationId -%} + {% endif -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId_OBX %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId_OBX -%} + {% elsif diagnosticReportId_OBX %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: diagnosticReportId_OBX -%} + {% endif %} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId_OBX %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId_OBX -%} + {% elsif diagnosticReportId_OBX %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: diagnosticReportId_OBX -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId_OBX %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId_OBX -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% endfor %} + {% endfor -%} + {% endfor -%} + + {% if firstSegments.PV1 -%} + {% if firstSegments.PV1.5 -%} + {% if firstSegments.PV1.5.4.1 != "" and firstSegments.PV1.5.4.1 != null and firstSegments.PV1.5.4.2 != "" and firstSegments.PV1.5.4.2 != null and firstSegments.PV1.5.4.3 != "" and firstSegments.PV1.5.4.3 != null -%} + {% evaluate Organization_ID_PV1_5_4 using 'ID/Organization' HDORG: firstSegments.PV1.5.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.5.4, ID: Organization_ID_PV1_5_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.19 -%} + {% if firstSegments.PV1.19.4.1 != "" and firstSegments.PV1.19.4.1 != null and firstSegments.PV1.19.4.2 != "" and firstSegments.PV1.19.4.2 != null and firstSegments.PV1.19.4.3 != "" and firstSegments.PV1.19.4.3 != null -%} + {% evaluate Organization_ID_PV1_19_4 using 'ID/Organization' HDORG: firstSegments.PV1.19.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.19.4, ID: Organization_ID_PV1_19_4 -%} + {% endif -%} + {% endif -%} + + {% if firstSegments.PV1.7 -%} + {% if firstSegments.PV1.7.9.1 != "" and firstSegments.PV1.7.9.1 != null and firstSegments.PV1.7.9.2 != "" and firstSegments.PV1.7.9.2 != null and firstSegments.PV1.7.9.3 != "" and firstSegments.PV1.7.9.3 != null -%} + {% evaluate Organization_ID_PV1_7_9 using 'ID/Organization' HDORG: firstSegments.PV1.7.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.7.9, ID: Organization_ID_PV1_7_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_7 using 'ID/Practitioner' XCN: firstSegments.PV1.7 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.7, ID: practitionerId_PV1_7 -%} + {% endif -%} + + {% if firstSegments.PV1.8 -%} + {% if firstSegments.PV1.8.9.1 != "" and firstSegments.PV1.8.9.1 != null and firstSegments.PV1.8.9.2 != "" and firstSegments.PV1.8.9.2 != null and firstSegments.PV1.8.9.3 != "" and firstSegments.PV1.8.9.3 != null -%} + {% evaluate Organization_ID_PV1_8_9 using 'ID/Organization' HDORG: firstSegments.PV1.8.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.8.9, ID: Organization_ID_PV1_8_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_8 using 'ID/Practitioner' XCN: firstSegments.PV1.8 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.8, ID: practitionerId_PV1_8 -%} + {% endif -%} + + {% if firstSegments.PV1.9 -%} + {% if firstSegments.PV1.9.9.1 != "" and firstSegments.PV1.9.9.1 != null and firstSegments.PV1.9.9.2 != "" and firstSegments.PV1.9.9.2 != null and firstSegments.PV1.9.9.3 != "" and firstSegments.PV1.9.9.3 != null -%} + {% evaluate Organization_ID_PV1_9_9 using 'ID/Organization' HDORG: firstSegments.PV1.9.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.9.9, ID: Organization_ID_PV1_9_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_9 using 'ID/Practitioner' XCN: firstSegments.PV1.9 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.9, ID: practitionerId_PV1_9 -%} + {% endif -%} + + {% if firstSegments.PV1.17 -%} + {% if firstSegments.PV1.17.9.1 != "" and firstSegments.PV1.17.9.1 != null and firstSegments.PV1.17.9.2 != "" and firstSegments.PV1.17.9.2 != null and firstSegments.PV1.17.9.3 != "" and firstSegments.PV1.17.9.3 != null -%} + {% evaluate Organization_ID_PV1_17_9 using 'ID/Organization' HDORG: firstSegments.PV1.17.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.17.9, ID: Organization_ID_PV1_17_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_17 using 'ID/Practitioner' XCN: firstSegments.PV1.17 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.17, ID: practitionerId_PV1_17 -%} + {% endif -%} + + {% if firstSegments.PV1.50 -%} + {% for p in firstSegments.PV1.50.Repeats -%} + {% if p.4.1 != "" and p.4.1 != null and p.4.2 != "" and p.4.2 != null and p.4.3 != "" and p.4.3 != null -%} + {% evaluate Organization_ID_PV1_50_4 using 'ID/Organization' HDORG: p.4 -%} + {% include 'Resource/Organization', PV1: p.4, ID: Organization_ID_PV1_50_4 -%} + {% endif -%} + {% endfor -%} + {% endif -%} + + {% if firstSegments.PV1.52 -%} + {% if firstSegments.PV1.52.9.1 != "" and firstSegments.PV1.52.9.1 != null and firstSegments.PV1.52.9.2 != "" and firstSegments.PV1.52.9.2 != null and firstSegments.PV1.52.9.3 != "" and firstSegments.PV1.52.9.3 != null -%} + {% evaluate Organization_ID_PV1_52_9 using 'ID/Organization' HDORG: firstSegments.PV1.52.9 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.52.9, ID: Organization_ID_PV1_52_9 -%} + {% endif -%} + {% evaluate practitionerId_PV1_52 using 'ID/Practitioner' XCN: firstSegments.PV1.52 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV1.52, ID: practitionerId_PV1_52 -%} + {% endif -%} + + {% if firstSegments.PV2.13 -%} + {% if firstSegments.PV2.13.9.1 != "" and firstSegments.PV2.13.9.1 != null and firstSegments.PV2.13.9.2 != "" and firstSegments.PV2.13.9.2 != null and firstSegments.PV2.13.9.3 != "" and firstSegments.PV2.13.9.3 != null -%} + {% evaluate Organization_ID_PV2_13_9 using 'ID/Organization' HDORG: firstSegments.PV2.13.9 -%} + {% include 'Resource/Organization', PV2: firstSegments.PV2.13.9, ID: Organization_ID_PV2_13_9 -%} + {% endif -%} + {% evaluate practitionerId_PV2_13 using 'ID/Practitioner' XCN: firstSegments.PV2.13 -%} + {% include 'Resource/Practitioner' PV1: firstSegments.PV2.13, ID: practitionerId_PV2_13 -%} + {% endif -%} + + {% if firstSegments.PV1.3 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.3-%} + {% endif -%} + + {% if firstSegments.PV1.6 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.6 -%} + {% endif -%} + + {% if firstSegments.PV1.11 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.11-%} + {% endif -%} + + {% if firstSegments.PV1.37 -%} + {% evaluate location_ID_PV1_37 using 'ID/Location' DLD: firstSegments.PV1.37 -%} + {% include 'Resource/Location' PV1: firstSegments.PV1.37, ID: location_ID_PV1_37-%} + {% endif -%} + + {% if firstSegments.PV1.42 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.42-%} + {% endif -%} + + {% if firstSegments.PV1.43 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV1.43-%} + {% endif -%} + + {% if firstSegments.PV2.1 -%} + {% include 'Resource/PLLocation' PL: firstSegments.PV2.1-%} + {% endif -%} + + {% if firstSegments.PV1.54 -%} + {% if firstSegments.PV1.54.4.1 != "" and firstSegments.PV1.54.4.1 != null and firstSegments.PV1.54.4.2 != "" and firstSegments.PV1.54.4.2 != null and firstSegments.PV1.54.4.3 != "" and firstSegments.PV1.54.4.3 != null -%} + {% evaluate Organization_ID_PV1_54_4 using 'ID/Organization' HDORG: firstSegments.PV1.54.4 -%} + {% include 'Resource/Organization', PV1: firstSegments.PV1.54.4, ID: Organization_ID_PV1_54_4 -%} + {% endif -%} + {% evaluate EpisodeOfCare_ID using 'ID/EpisodeOfCare' PV1: firstSegments.PV1.54 -%} + {% include 'Resource/EpisodeOfCare' PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: EpisodeOfCare_ID, patientRefrenceID: fullPatientId, Root_Template: 'REF_I14' -%} + {% endif -%} + + {% include 'Resource/Encounter' Root_Template: 'REF_I14', PV1: firstSegments.PV1, PV2: firstSegments.PV2, ID: encounterId, AccountId:accountId -%} + {% include 'Reference/Encounter/Subject' ID: encounterId, REF: fullPatientId -%} + {% include 'Extensions/Encounter/EncounterExtension' ID: encounterId, PV1: firstSegments.PV1, PV2: firstSegments.PV2, -%} + {% endif -%} + + {% assign nteSegmentLists_RF1 = hl7v2Data | get_related_segment_list: firstSegments.PV1, 'NTE' -%} + {% for nteSegment_RF1 in nteSegmentLists_RF1.NTE -%} + {% if nteSegment_RF1.5 -%} + {% if nteSegment_RF1.5.9.1 != "" and nteSegment_RF1.5.9.1 != null and nteSegment_RF1.5.9.2 != "" and nteSegment_RF1.5.9.2 != null and nteSegment_RF1.5.9.3 != "" and nteSegment_RF1.5.9.3 != null -%} + {% evaluate Organization_ID_NTE_RF1_5_9 using 'ID/Organization' HDORG: nteSegment_RF1.5.9 -%} + {% include 'Resource/Organization' OBX_NTE: nteSegment_RF1.5.9, ID: Organization_ID_NTE_RF1_5_9 -%} + {% endif -%} + {% evaluate practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: nteSegment_RF1.5 -%} + {% include 'Resource/Practitioner' NTE: nteSegment_RF1.5, ID: practitioner_ID_NTE_5 -%} + {% endif -%} + {% include 'Resource/ServiceRequest' NTE: nteSegment_RF1, ID: serviceRequestId_RF1 -%} + {% endfor -%} + ] +} \ No newline at end of file diff --git a/data/Templates/Hl7v2/Resource/_Account.liquid b/data/Templates/Hl7v2/Resource/_Account.liquid index 997d71295..9e45caeb0 100644 --- a/data/Templates/Hl7v2/Resource/_Account.liquid +++ b/data/Templates/Hl7v2/Resource/_Account.liquid @@ -8,9 +8,17 @@ { {% include 'DataType/CX' CX: PID.18 -%} }, + {% if BLG.3 -%} + { + {% include 'DataType/CX' CX: BLG.3 -%} + }, + {% endif %} ], "status": "active", - + {% if BLG -%} + "status": "active", + {% endif %} + {% if Root_Template == "BAR_P02" %} "status": "entered-in-error", {% endif %} diff --git a/data/Templates/Hl7v2/Resource/_ChargeItem.liquid b/data/Templates/Hl7v2/Resource/_ChargeItem.liquid index 03ddd4708..0c93bc615 100644 --- a/data/Templates/Hl7v2/Resource/_ChargeItem.liquid +++ b/data/Templates/Hl7v2/Resource/_ChargeItem.liquid @@ -15,7 +15,7 @@ "type": { "coding": [ { - "system" : "http://example.com/v2-to-fhir-converter/identifier-type-code", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", "code" : "TID", "display" : "ChargeItem Transaction ID", } diff --git a/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid b/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid index 36a434e49..472685c02 100644 --- a/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid +++ b/data/Templates/Hl7v2/Resource/_ClaimResponse.liquid @@ -64,9 +64,9 @@ "category": { "coding": [ { - "code": "requestedNumberOfTreatments", + "code": "RNT", "display": "Requested Number of Treatments", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-Adjudication", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication", }, ], }, @@ -80,9 +80,9 @@ "category": { "coding": [ { - "code": "authorizedNumberOfTreatments", + "code": "ANT", "display": "Authorized Number of Treatments", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-Adjudication", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication", }, ], }, diff --git a/data/Templates/Hl7v2/Resource/_Coverage.liquid b/data/Templates/Hl7v2/Resource/_Coverage.liquid index eaad20c04..e7cf18e00 100644 --- a/data/Templates/Hl7v2/Resource/_Coverage.liquid +++ b/data/Templates/Hl7v2/Resource/_Coverage.liquid @@ -107,7 +107,7 @@ }, ], }, - "system":"http://www.examplehealthplan.com/fhir/policyidentifier", + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id", }, {% endif -%} {% if IN2.6 -%} @@ -141,7 +141,7 @@ }, ], }, - "system":"http://example.com/v2-to-fhir-converter/identifier-medicaid", + "system":"http://example.com/v2-to-fhir-converter/sid/us-medicaid", }, {% endif -%} {% for in2_61 in IN2.61.Repeats -%} diff --git a/data/Templates/Hl7v2/Resource/_DocumentReference.liquid b/data/Templates/Hl7v2/Resource/_DocumentReference.liquid index e5a756c16..3e2c784d4 100644 --- a/data/Templates/Hl7v2/Resource/_DocumentReference.liquid +++ b/data/Templates/Hl7v2/Resource/_DocumentReference.liquid @@ -73,9 +73,9 @@ "type" : { "coding": [ { - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", "code" : "DOCI", - "display" : "Document unique identifier" + "display" : "Document Unique Identifier" } ], "text" : "Document unique file name", diff --git a/data/Templates/Hl7v2/Resource/_Encounter.liquid b/data/Templates/Hl7v2/Resource/_Encounter.liquid index bf928da82..6dea2592a 100644 --- a/data/Templates/Hl7v2/Resource/_Encounter.liquid +++ b/data/Templates/Hl7v2/Resource/_Encounter.liquid @@ -664,8 +664,8 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", {% elsif ARV.2.1.Value == 'D' %} "code" : "DELETELABEL", - "display" : "delete security label", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "display" : "Delete Security Label", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", {% endif %} }, {% endif %} @@ -680,8 +680,8 @@ Practitioner_ID_PV1_52: A resource Id, used to fill "participant.individual.refe {% if ARV.5 %} {% for arv_5 in ARV.5.Repeats %} { - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code" : "SpecialAccessRestrictionInstructions", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code" : "special-access-restriction-instructions", "display" : "{{arv_5.Value}}", }, {% endfor %} diff --git a/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid b/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid index 7c937c07d..a61af36b6 100644 --- a/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid +++ b/data/Templates/Hl7v2/Resource/_MedicationDispense.liquid @@ -30,7 +30,7 @@ "type" : { "coding" : [ { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", "code": "PRN", "display": "Prescription Number" } @@ -52,7 +52,7 @@ "type" : { "coding" : [ { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", "code": "PRN", "display": "Prescription Number" } diff --git a/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid b/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid index 4de69c6d8..10d5f9fbf 100644 --- a/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid +++ b/data/Templates/Hl7v2/Resource/_MedicationRequest.liquid @@ -1,3 +1,4 @@ +{% evaluate nte_practitioner using 'ID/Practitioner' XCN: NTE.5 -%} { "fullUrl":"urn:uuid:{{ ID }}", "resource":{ @@ -62,7 +63,7 @@ [ { "code":"PRN", - "system":"http://example.com/v2-to-fhir-converter/identifier-type-code", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", "display": "Prescription Number" } ], diff --git a/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid b/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid index 7503964f5..776a9235a 100644 --- a/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid +++ b/data/Templates/Hl7v2/Resource/_NutritionOrder.liquid @@ -1,3 +1,4 @@ +{% evaluate Practitioner_ID_NTE_5 using 'ID/Practitioner' XCN: NTE.5 -%} { "fullUrl":"urn:uuid:{{ ID }}", "resource":{ @@ -126,6 +127,18 @@ "text" : "{{ orc7.8.Value }}" }, {% endfor -%} + {% if NTE %} + { + "text": "{{NTE.3.Value}}", + "time": "{{ NTE.6.Value | format_as_date_time }}", + {% if Practitioner_ID_NTE_5 %} + "authorReference": + { + "reference":"Practitioner/{{ Practitioner_ID_NTE_5 }}", + } + {% endif %} + }, + {% endif %} ], "patient": { diff --git a/data/Templates/Hl7v2/Resource/_Observation.liquid b/data/Templates/Hl7v2/Resource/_Observation.liquid index 0dd6cf430..418a05717 100644 --- a/data/Templates/Hl7v2/Resource/_Observation.liquid +++ b/data/Templates/Hl7v2/Resource/_Observation.liquid @@ -59,9 +59,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper {% if ACC %} "coding": [ { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system" : "http://loinc.org", + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code", }, ], {% endif %} @@ -69,9 +69,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "coding": [ { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code", } ], {% endif %} @@ -79,9 +79,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "coding": [ { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code", } ], {% endif %} @@ -89,9 +89,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "coding": [ { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy", + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code", } ], {% endif %} @@ -103,9 +103,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "code" : { "coding": [ { - "code": "JRII", - "display": "Job related Injury Indicator", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators", + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator", }, ], }, @@ -119,9 +119,9 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "code" : { "coding": [ { - "code": "7878000", - "display": "Accidental Death Indicator", - "system" : "http://snomed.info/sct", + "code": "ADI", + "display": "Accident Death Indicator", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator", }, ], }, @@ -136,8 +136,8 @@ Observation_Specimen_ID: A resource Id, used to fill "specimen.reference" proper "coding": [ { "code": "PNI", - "display": "Police Notification Indicator", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators", + "display": "Police Notified Indicator", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator", }, ], }, diff --git a/data/Templates/Hl7v2/Resource/_Organization.liquid b/data/Templates/Hl7v2/Resource/_Organization.liquid index f66cf8d18..99c94d765 100644 --- a/data/Templates/Hl7v2/Resource/_Organization.liquid +++ b/data/Templates/Hl7v2/Resource/_Organization.liquid @@ -143,7 +143,10 @@ {% include 'DataType/HDOrganization_InternalValue' HD: NK1_33.4 -%} {% endif -%} - {% include 'DataType/XONOrganization' XON: ROL.14 -%} + {% if ROL.14 %} + {% include 'DataType/XONOrganization' XON: ROL.14 -%} + {% endif %} + {% if PD1.3 -%} {% include 'DataType/XONOrganization' XON: PD1.3.Repeats[0] -%} {% endif -%} @@ -159,15 +162,11 @@ {% if NK1.13 -%} {% include 'DataType/XONOrganization' XON: NK1.13.Repeats[0] -%} {% endif -%} - {% assign PRT_8_first_rep = PRT.8.Repeats[0] %} - {% include 'DataType/XONOrganization' XON: PRT_8_first_rep -%} - {% for PRT_8 in PRT.8.Repeats %} - {% if PRT_8 != PRT_8_first_rep %} - {% include 'DataType/XONOrganization' XON_PRT: PRT.8 -%} - {% endif %} - {% endfor %} - + {% if PRT %} + {% include 'DataType/XONOrganization' XON: PRT, Org_Name: Org_Name -%} + {% endif %} + {% if RF1 -%} {% include 'DataType/XONOrganization' XON: RF1 -%} {% endif -%} @@ -376,12 +375,14 @@ ], }, ], + {%- comment -%} "type": [ { {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/OrganizationUnitType', CWE: PRT.7 -%} }, ], + {%- endcomment -%} "telecom": [ diff --git a/data/Templates/Hl7v2/Resource/_Patient.liquid b/data/Templates/Hl7v2/Resource/_Patient.liquid index 6bf3c7183..97ed80d9b 100644 --- a/data/Templates/Hl7v2/Resource/_Patient.liquid +++ b/data/Templates/Hl7v2/Resource/_Patient.liquid @@ -155,7 +155,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati ], }, {% if IN2_6.8 -%} - "system":"http://example.com/v2-to-fhir-converter/identifier-medicaid", + "system":"http://example.com/v2-to-fhir-converter/sid/us-medicaid", {% endif -%} }, {% endif -%} @@ -174,7 +174,7 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati ], }, {% if IN2_6.10 -%} - "system":"http://example.com/v2-to-fhir-converter/identifier-military", + "system":"http://example.com/v2-to-fhir-converter/sid/us-military", {% endif -%} }, {% endif -%} @@ -212,8 +212,8 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", {% elsif ARV.2.1.Value == 'D' %} "code" : "DELETELABEL", - "display" : "delete security label", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", + "display" : "Delete Security Label", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", {% endif %} }, {% endif %} @@ -228,8 +228,8 @@ Patient_ManagingOrganization_ID: A resource Id, used to fill "managingOrganizati {% if ARV.5 %} {% for arv_5 in ARV.5.Repeats %} { - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code" : "SpecialAccessRestrictionInstructions", + "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code" : "special-access-restriction-instructions", "display" : "{{arv_5.Value}}", }, {% endfor %} diff --git a/data/Templates/Hl7v2/Resource/_Practitioner.liquid b/data/Templates/Hl7v2/Resource/_Practitioner.liquid index c1738fa31..b5dddc09b 100644 --- a/data/Templates/Hl7v2/Resource/_Practitioner.liquid +++ b/data/Templates/Hl7v2/Resource/_Practitioner.liquid @@ -47,9 +47,10 @@ { {% include 'DataType/XAD' XAD: ROL.11 -%} }, - { + {%- comment -%}{ {% include 'DataType/XAD' XAD: PRT.14.Repeats[0] -%} }, + {%- endcomment -%} {% if ORC_24 %} {% for orc24 in ORC_24.Repeats %} { @@ -100,6 +101,9 @@ }, {% endfor -%} ], + {% if PRT %} + {% include 'DataType/XCNPractitioner' XCN: PRT -%} + {% endif %} {% if OBXXCN1 %} {% include 'DataType/XCNPractitioner' XCN: OBXXCN1 -%} {% endif %} @@ -163,6 +167,7 @@ {% include 'DataType/XCNPractitioner' XCN: NTE -%} {% include 'DataType/XCNPractitioner' XCN: RF1 -%} {% include 'DataType/XCNPractitioner' XCN: IAM -%} + {% include 'DataType/XCNPractitioner' XCN: ROL -%} {% include 'DataType/XCNPractitioner' XCN: AIP -%} {% include 'DataType/XCNPractitioner' XCN: SCH_12.12.Repeats[0] -%} {% include 'DataType/XCNPractitioner' XCN: SCH_16.16.Repeats[0] -%} diff --git a/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid b/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid index 497297714..518e1b89f 100644 --- a/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid +++ b/data/Templates/Hl7v2/Resource/_PractitionerRole.liquid @@ -21,7 +21,9 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro { "coding": [ { - "code": "TECH", + "code": "TN", + "display": "Technician", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", }, ], } @@ -33,7 +35,9 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro { "coding": [ { - "code": "TRANS", + "code": "TR", + "display": "Transcriptionist", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", }, ], } @@ -60,55 +64,69 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro } ], {% endif %} + {% if ROL.3 %} + "code": [ + { + "coding": [ + {% include 'DataType/CWECodeableConceptRepeatable' mapping: 'CodeSystem/PractitionerRole_Participation', CWE: ROL.3 -%}, + ], + } + ], + {% endif %} "identifier": [ + {%- comment -%} { {% include 'DataType/EIIdentifier' EI: ROL.1 -%} }, + { {% include 'DataType/PLN' PLN: PRT.24 -%} }, + {%- endcomment -%} ], "code": [{ "coding" : [ {% if RXO or ORC_12 %} { - "code" : "ordering-provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "code" : "OP", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", "display" : "Ordering Provider", }, {% endif %} {% if RQD_ORC_12 %} { - "code" : "ordering-provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "code" : "OP", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", "display" : "Ordering Provider", }, {% endif %} {% if ORC_10 %} { - "code" : "entered-by", - "display" : "Entered by", - "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + "code" : "EP", + "display" : "Entering Provider", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if ORC_19 %} { - "code" : "action-by", - "display" : "Action by", - "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + "code" : "IP", + "display" : "Initiating Provider", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if OBXXCN1 %} { - "code" : "ResponsibleObserver", - "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + "code" : "RO", + "display" : "Responsible Observer", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if OBXXCN2 %} { - "code" : "LabMedicalDirector", - "system" : "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole", + "code" : "MDIR", + "display": "Medical Director", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if SCH_12.12 %} @@ -127,66 +145,105 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% endif %} {% if SCH_20.20 %} { - "code" : "enterer", - "display" : "Enterer", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + "code" : "EP", + "display" : "Entering Provider", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if ORC_pracrole.12 -%} { - "code" : "ordering-provider", + "code" : "OP", "display" : "Ordering Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if OBR_serv.16 %} { - "code" : "ordering-provider", + "code" : "OP", "display" : "Ordering Provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", }, {% endif %} {% if RXE -%} { - "code" : "ordering-provider", - "system" : "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", + "code" : "OP", + "system" : "http://terminology.hl7.org/CodeSystem/v2-0443", "display" : "Ordering Provider", }, {% endif %} ], }, - { - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Role', CWE: ROL.3 -%} - {% include 'DataType/CWECodeableConcept' mapping: 'CodeSystem/Participation', CWE: ROL.4 -%} - } ], - + {%- comment -%} {% include 'DataType/XCNPractitionerRole' XCN: ROL.4 -%} + {%- endcomment -%} "period": { + + {%- comment -%} "start":"{{ ROL.5.Value | format_as_date_time }}", + "end":"{{ ROL.6.Value | format_as_date_time }}", "start":"{{ PRT.11.Value | format_as_date_time }}", + "end":"{{ PRT.12.Value | format_as_date_time }}", + {%- endcomment -%} "start":"{{ PRD.8.Value | format_as_date_time }}", "end":"{{ PRD.9.Repeats[0].Value | format_as_date_time }}", - "end":"{{ ROL.6.Value | format_as_date_time }}", - "end":"{{ PRT.12.Value | format_as_date_time }}", + + }, "telecom": [ - { - {% include 'DataType/XTN' XTN: ROL.12 -%} - }, + {% for rol_12 in ROL.12.Repeats %} + { + {% include 'DataType/XTN' XTN: rol_12 -%} + }, + {% endfor %} + {%- comment -%} { {% include 'DataType/XTN' XTN: PRT.15.Repeats[0] -%} }, + {%- endcomment -%} ], "location": [ - { - {% if ROL.13 and Location_ID_ROL_13 -%} - "reference":"Location/{{ Location_ID_ROL_13 }}", + {% if ROL.13 -%} + + {% if ROL.13.5 or ROL.13.9 -%} + {% if ROL.13.5 and ROL.13.9 -%} + {% assign PL_Value_Except_PL5_PL9 = ROL.13.Value | remove: ROL.13.5.Value | remove: ROL.13.9.Value %} + {% endif -%} + {% if ROL.13.5 and ROL.13.9 == null or ROL.13.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ROL.13.Value | remove: ROL.13.5.Value %} + {% endif -%} + {% if ROL.13.9 and ROL.13.5 == null or ROL.13.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= ROL.13.Value | remove: ROL.13.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = ROL.13.Value %} {% endif -%} - }, + + {% if ROL.13.1 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.1, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif ROL.13.2 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.2, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif ROL.13.3 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.3, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif ROL.13.4 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.4, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif ROL.13.7 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.7, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif ROL.13.8 -%} + {% evaluate Location_ID_ROL_13 using 'ID/Location' PL_Field_Value: ROL.13.8, PL: ROL.13, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif %} + + {% if Location_ID_ROL_13 %} + { + "reference":"Location/{{ Location_ID_ROL_13 }}", + }, + {% endif %} + + {% endif %} + {% if SCH_12.15 -%} {% if SCH_12.15.5 or SCH_12.15.9 -%} @@ -336,34 +393,34 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% endif -%} {% endif -%} - {% if PRT.9 %} + {% if PRT.9.Repeats[0] %} { - {% if PRT.9.5 or PRT.9.9 -%} - {% if PRT.9.5 and PRT.9.9 -%} - {% assign PL_Value_Except_PL5_PL9 = PRT.9.Value | remove: PRT.9.5.Value | remove: PRT.9.9.Value %} + {% if PRT.9.Repeats[0].5 or PRT.9.Repeats[0].9 -%} + {% if PRT.9.Repeats[0].5 and PRT.9.Repeats[0].9 -%} + {% assign PL_Value_Except_PL5_PL9 = PRT.9.Repeats[0].Value | remove: PRT.9.Repeats[0].5.Value | remove: PRT.9.Repeats[0].9.Value %} {% endif -%} - {% if PRT.9.5 and PRT.9.9 == null or PRT.9.9 == "" -%} - {% assign PL_Value_Except_PL5_PL9= PRT.9.Value | remove: PRT.9.5.Value %} + {% if PRT.9.Repeats[0].5 and PRT.9.Repeats[0].9 == null or PRT.9.Repeats[0].9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRT.9.Repeats[0].Value | remove: PRT.9.Repeats[0].5.Value %} {% endif -%} - {% if PRT.9.9 and PRT.9.5 == null or PRT.9.5 == "" -%} - {% assign PL_Value_Except_PL5_PL9= PRT.9.Value | remove: PRT.9.9.Value %} + {% if PRT.9.Repeats[0].9 and PRT.9.Repeats[0].5 == null or PRT.9.Repeats[0].5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= PRT.9.Repeats[0].Value | remove: PRT.9.Repeats[0].9.Value %} {% endif -%} {% else -%} - {% assign PL_Value_Except_PL5_PL9 = PRT.9.Value %} + {% assign PL_Value_Except_PL5_PL9 = PRT.9.Repeats[0].Value %} {% endif -%} - {% if PRT.9.1 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.1, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} - {% elseif PRT.9.2 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.2, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} - {% elseif PRT.9.3 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.3, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} - {% elseif PRT.9.4 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.4, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} - {% elseif PRT.9.7 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.7, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} - {% elseif PRT.9.8 -%} - {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.8, PL: PRT.9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% if PRT.9.Repeats[0].1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].1, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.Repeats[0].2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].2, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.Repeats[0].3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].3, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.Repeats[0].4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].4, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.Repeats[0].7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].7, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif PRT.9.Repeats[0].8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: PRT.9.Repeats[0].8, PL: PRT.9.Repeats[0], PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} {% endif -%} {% if Location_ID_PRT_9 -%} @@ -408,18 +465,19 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro }, {% endif %} ], - {% include 'DataType/XCNPractitionerRole' XCN: ROL.4 -%} "organization": { - {% if PRT.8 and Organization_ID_PRT_8 -%} + {% if PRT.8.Repeats[0] and Organization_ID_PRT_8 -%} "reference":"Organization/{{ Organization_ID_PRT_8 }}", {% endif -%} {% if requestor_organization %} "reference":"Organization/{{requestor_organization}}", {% endif -%} }, + {%- comment -%} {% include 'DataType/XCNPractitionerRole' XCN: PRT.5.Repeats[0] -%} + {%- endcomment -%} "specialty": [ {% if PRT.5 %} @@ -427,6 +485,11 @@ Organization_ID_ORC_21: A resource Id, used to fill "organization.reference" pro {% include 'DataType/CWECodeableConcept' CWE: PRT.6 -%} }, {% endif %} + {% for rol_9 in ROL.9.Repeats %} + { + {% include 'DataType/CWECodeableConcept' CWE: rol_9 -%} + }, + {% endfor %} ], "practitioner" : { diff --git a/data/Templates/Hl7v2/Resource/_Procedure.liquid b/data/Templates/Hl7v2/Resource/_Procedure.liquid index 51e25aa98..77fe24bba 100644 --- a/data/Templates/Hl7v2/Resource/_Procedure.liquid +++ b/data/Templates/Hl7v2/Resource/_Procedure.liquid @@ -32,9 +32,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "coding": [ { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy", + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code", } ], {% endif %} @@ -42,9 +42,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "coding": [ { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy", + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code", } ], {% endif %} @@ -153,9 +153,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "function" : { "coding":[ { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy", + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist", }, ], "text": "Anesthesiologist", @@ -170,9 +170,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "function" : { "coding":[ { - "code":"surgeon-dummy", - "system":"http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy", + "code":"surgeon", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon", }, ], "text": "Surgeon", @@ -187,9 +187,9 @@ Procedure_Asserter_ID: A resource Id, used to fill "asserter.reference" property "function":{ "coding":[ { - "code":"procedure-practitioner-dummy", - "system":"http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy", + "code":"procedure-practitioner", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner", }, ], "text": "Procedure Practitioner", diff --git a/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid b/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid index 9afe86e18..d10e010a7 100644 --- a/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid +++ b/data/Templates/Hl7v2/Resource/_ServiceRequest.liquid @@ -217,7 +217,7 @@ ServiceRequest_Encounter_ID: A resource Id, used to fill "encounter.reference" p { "coding": [ { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", "code": "patient-referral-request", "display": "Patient Referral Request" } diff --git a/data/Templates/Hl7v2/Resource/_Specimen.liquid b/data/Templates/Hl7v2/Resource/_Specimen.liquid index 71d0cd710..0356981f1 100644 --- a/data/Templates/Hl7v2/Resource/_Specimen.liquid +++ b/data/Templates/Hl7v2/Resource/_Specimen.liquid @@ -91,7 +91,8 @@ Specimen_Subject_ID: A resource Id, used to fill "subject.reference" property. { {% if SPM.32 -%} "code": "SHIP", - "system":"http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType", + "display": "Shipment ID", + "system":"http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", {% endif -%} }, ], diff --git a/data/Templates/Hl7v2/Resource/_Substance.liquid b/data/Templates/Hl7v2/Resource/_Substance.liquid index 15eb2a659..6100034dc 100644 --- a/data/Templates/Hl7v2/Resource/_Substance.liquid +++ b/data/Templates/Hl7v2/Resource/_Substance.liquid @@ -24,7 +24,7 @@ { "value": "{{INV.4.1.Value}}", {% if INV.4.3 %} - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/{{INV.4.3.Value}}", + "system": "http://example.com/v2-to-fhir-converter/Identifier/{{INV.4.3.Value}}", {% endif %} }, diff --git a/data/Templates/Hl7v2/Resource/_Task.liquid b/data/Templates/Hl7v2/Resource/_Task.liquid index 84cd8e14d..6d974152c 100644 --- a/data/Templates/Hl7v2/Resource/_Task.liquid +++ b/data/Templates/Hl7v2/Resource/_Task.liquid @@ -51,9 +51,9 @@ Task_ReasonReference_ID: A resource Id, used to fill "reasonReference.reference" "coding": [ { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", + "system": "http://example.com/v2-to-fhir-converter/additional-task-code", "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" + "display": "Pharmacy/Treatment Refill Authorization Request" }, ], "text": "Pharmacy/treatment refill authorization request", diff --git a/data/Templates/Hl7v2/VXU_V04.liquid b/data/Templates/Hl7v2/VXU_V04.liquid index 2e1872c89..e31f23ebf 100644 --- a/data/Templates/Hl7v2/VXU_V04.liquid +++ b/data/Templates/Hl7v2/VXU_V04.liquid @@ -462,6 +462,7 @@ {% assign obxSegmentLists = hl7v2Data | get_related_segment_list: firstSegments.PID, 'OBX' -%} {% for obxSegment in obxSegmentLists.OBX -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} {% if obxSegment.2.Value == 'ED' or obxSegment.2.Value == 'RP' %} {% for obx_16 in obxSegment.16.Repeats -%} {% if obx_16.9.1 != "" and obx_16.9.1 != null and obx_16.9.2 != "" and obx_16.9.2 != null and obx_16.9.3 != "" and obx_16.9.3 != null -%} @@ -539,6 +540,120 @@ {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} {% endif %} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} + + {% for prtSegment in prtSegmentLists.PRT %} + {% assign checkParentORC = hl7v2Data | get_parent_segment: 'PRT', {{prtSegmentPositionIndex}}, 'ORC' -%} + + {% if checkParentORC.ORC.Value == null %} + + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullPractitionerRoleId, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullPractitionerRoleId, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% if observationId %} + {% include 'Reference/Observation/Performer' REF: fullOrganization_ID_PRT_8, ID: observationId -%} + {% elsif obx_diagnosticReportID1 %} + {% include 'Reference/DiagnosticReport/Performer' REF: fullOrganization_ID_PRT_8, ID: obx_diagnosticReportID1 -%} + {% endif %} + + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% if observationId %} + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/Observation/Device' REF: fullDeviceId , ID: observationId -%} + {% endif %} + {% endunless %} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endif -%} + {% endfor %} {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} {% for nteSegment2 in nteSegmentLists2.NTE -%} {% if nteSegment2.5 -%} @@ -558,6 +673,7 @@ {% assign tq1SegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'TQ1' -%} {% assign rxaSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXA' -%} {% assign rxrSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'RXR' -%} + {% assign prtSegmentLists = hl7v2Data | get_related_segment_list: orcSegment, 'PRT' -%} {% assign obxSegmentListsrxa = hl7v2Data | get_related_segment_list: orcSegment, 'OBX' -%} {% if orcSegment.12 -%} @@ -618,6 +734,114 @@ {% endif %} {% endif -%} + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + + {% for prtSegment in prtSegmentLists.PRT %} + {% unless ORDER_DOCUMENT_PRT == prtSegment %} {%- comment -%} condition to check that current PRT is not a part of ORDER_DOCUMENT group {%- endcomment -%} + {% unless prtSegment.2.Value == "DE" or prtSegment.2.Value == "UN" %} + + {% if prtSegment.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment.4, XCN: prtSegment.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullPractitionerRoleId, ID: serviceRequestId -%} + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + {% endif %} + + {% unless prtSegment.5 %} + {% if prtSegment.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullOrganization_ID_PRT_8, ID: serviceRequestId -%} + {% for prt_8 in prtSegment.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment.5 %} + + {% if prtSegment.9.Repeats[0] %} + {% for prt_9 in prtSegment.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% if prtSegment.8.Repeats[0] %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + + {% unless prtSegment.8.Repeats[0] %} + {%- assign FullLocation_ID_PRT_9 = Location_ID_PRT_9 | prepend: 'Location/' -%} + {% include 'Reference/ServiceRequest/LocationReference' REF: FullLocation_ID_PRT_9, ID: serviceRequestId -%} + {% endunless %} + {% endif %} + + {% endfor %} + {% endif -%} + + {% endunless %} + + {% unless prtSegment.5 %} + {% if prtSegment.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/ServiceRequest/SupportingInfo' REF: fullDeviceId, ID: serviceRequestId -%} + {% endif %} + {% endunless %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endfor %} + + {%- comment -%} COMMON_ORDER - PRT related coding start {%- endcomment -%} + {% unless tq1SegmentLists.TQ1 -%} {% include 'Resource/ServiceRequest' ID: serviceRequestId, ORC_tq1: orcSegment -%} {% endunless -%} @@ -659,6 +883,7 @@ {% for obxSegment in obxSegmentListsrxa.OBX -%} {% assign nteSegmentLists2 = hl7v2Data | get_related_segment_list: obxSegment, 'NTE' -%} + {% assign prtSegmentLists_OBX = hl7v2Data | get_related_segment_list: obxSegment, 'PRT' -%} {% if obxSegment.3.1.Value == "64994-7" or obxSegment.3.1.Value == "64994-7" or obxSegment.3.1.Value == "64994-7" -%} {% include 'Resource/Immunization' OBX_PE: obxSegment, ID: immunizationId -%} @@ -765,7 +990,7 @@ {% include 'Resource/Observation' Observation_ServiceRequest_ID: serviceRequestId, ID: observationId %} {% endif %} {% include 'Extensions/Observation/ObservationExtension' OBX: obxSegment, ID: observationId %} - + {% for nteSegment2 in nteSegmentLists2.NTE -%} {% if nteSegment2.5 -%} {% if nteSegment2.5.9.1 != "" and nteSegment2.5.9.1 != null and nteSegment2.5.9.2 != "" and nteSegment2.5.9.2 != null and nteSegment2.5.9.3 != "" and nteSegment2.5.9.3 != null -%} @@ -779,6 +1004,107 @@ {% endfor -%} {% endif -%} {% endif -%} + + {%- comment -%} OBSERVATION - PRT related coding start {%- endcomment -%} + + {% for prtSegment_OBX in prtSegmentLists_OBX.PRT %} + {% unless prtSegment_OBX.2.Value == "DE" or prtSegment_OBX.2.Value == "UN" %} + + {% if prtSegment_OBX.5 %} + {% evaluate practitionerRoleId using 'ID/PractitionerRole' PRT: prtSegment_OBX.4, XCN: prtSegment_OBX.5.Repeats[0] -%} + {% include 'Resource/PractitionerRole' PRT: prtSegment_OBX , ID: practitionerRoleId -%} + {%- assign fullPractitionerRoleId = practitionerRoleId | prepend: 'PractitionerRole/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullPractitionerRoleId, ID: documentreferenceID -%} + + {% evaluate practitionerId using 'ID/Practitioner' XCN: prtSegment_OBX.5.Repeats[0] -%} + {% assign full_practitionerId = practitionerId | prepend: 'Practitioner/' %} + {% include 'Reference/PractitionerRole/Practitioner' REF: full_practitionerId, ID: practitionerRoleId -%} + {% for prt_5 in prtSegment_OBX.5.Repeats %} + {% if prt_5.9.1 != "" and prt_5.9.1 != null and prt_5.9.2 != "" and prt_5.9.2 != null and prt_5.9.3 != "" and prt_5.9.3 != null -%} + {% evaluate Organization_ID using 'ID/Organization' HDORG: prt_5.9 -%} + {% include 'Resource/Organization' OBX: prt_5.9, ID: Organization_ID -%} + {% endif -%} + {% include 'Resource/Practitioner' PRT: prt_5, ID: practitionerId-%} + {% endfor %} + + {% if prtSegment_OBX.9.Repeats[0] -%} + {% include 'Resource/PLLocation' PL: prtSegment_OBX.9.Repeats[0]-%} + {% endif -%} + + {% if prtSegment_OBX.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_OBX.8.Repeats[0] -%} + {% include 'Resource/Organization' PRT: prtSegment_OBX.8.Repeats[0], ID: Organization_ID_PRT_8 -%} + {% endif %} + + {% endif %} + + {% unless prtSegment_OBX.5 %} + {% if prtSegment_OBX.8.Repeats[0] %} + {% evaluate Organization_ID_PRT_8 using 'ID/Organization' XON: prtSegment_OBX.8.Repeats[0] -%} + {% assign fullOrganization_ID_PRT_8 = Organization_ID_PRT_8 | prepend: 'Organization/' %} + {% include 'Reference/DocumentReference/Author' REF: fullOrganization_ID_PRT_8, ID: documentreferenceID -%} + {% for prt_8 in prtSegment_OBX.8.Repeats %} + {% include 'Resource/Organization' PRT: prt_8, Org_Name: prtSegment_OBX.8.Repeats[0].1, ID: Organization_ID_PRT_8 -%} + {% endfor %} + {% endif %} + {% endunless %} + + {% unless prtSegment_OBX.5 %} + {% if prtSegment_OBX.8.Repeats[0] %} + {% if prtSegment_OBX.9.Repeats[0] %} + {% for prt_9 in prtSegment_OBX.9.Repeats %} + {% include 'Resource/PLLocation' PL: prt_9 -%} + + {% if prt_9.5 or prt_9.9 -%} + {% if prt_9.5 and prt_9.9 -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value | remove: prt_9.5.Value | remove: prt_9.9.Value %} + {% endif -%} + {% if prt_9.5 and prt_9.9 == null or prt_9.9 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.5.Value %} + {% endif -%} + {% if prt_9.9 and prt_9.5 == null or prt_9.5 == "" -%} + {% assign PL_Value_Except_PL5_PL9= prt_9.Value | remove: prt_9.9.Value %} + {% endif -%} + {% else -%} + {% assign PL_Value_Except_PL5_PL9 = prt_9.Value %} + {% endif -%} + + {% if prt_9.1 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.1, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.2 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.2, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.3 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.3, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.4 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.4, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.7 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.7, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% elseif prt_9.8 -%} + {% evaluate Location_ID_PRT_9 using 'ID/Location' PL_Field_Value: prt_9.8, PL: prt_9, PL_Value_Except_PL5_PL9: PL_Value_Except_PL5_PL9 -%} + {% endif -%} + + {% if Location_ID_PRT_9 %} + {% include 'Reference/Location/ManagingOrganization' REF: fullOrganization_ID_PRT_8, ID: Location_ID_PRT_9 -%} + {% endif %} + {% endfor %} + {% endif -%} + {% endif -%} + {% endunless %} + + {% unless prtSegment_OBX.5 %} + {% if prtSegment_OBX.10 %} + {% evaluate deviceId using 'ID/Device' EI: prtSegment_OBX.10.Repeats[0] -%} + {% include 'Resource/Device' PRT: prtSegment_OBX, ID: deviceId -%} + {%- assign fullDeviceId = deviceId | prepend: 'Device/' -%} + {% include 'Reference/DocumentReference/Author' REF: fullDeviceId, ID: documentreferenceID -%} + {% endif %} + {% endunless %} + {% assign prtSegmentPositionIndex = prtSegmentPositionIndex | plus: 1 %} + {% endunless %} + {% endfor %} + + {%- comment -%} OBSERVATION - PRT related coding end {%- endcomment -%} + {% endfor -%} {% endfor -%} ] diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 1c3f32021..c96841c1a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -70,6 +70,8 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ADT_A40", @"ADT-A40-02.hl7", @"ADT-A40-02-expected.json" }, new[] { @"ADT_A41", @"ADT-A41-01.hl7", @"ADT-A41-01-expected.json" }, new[] { @"ADT_A41", @"ADT-A41-02.hl7", @"ADT-A41-02-expected.json" }, + new[] { @"ADT_A45", @"ADT-A45-01.hl7", @"ADT-A45-01-expected.json" }, + new[] { @"ADT_A45", @"ADT-A45-02.hl7", @"ADT-A45-02-expected.json" }, new[] { @"ADT_A47", @"ADT-A47-01.hl7", @"ADT-A47-01-expected.json" }, new[] { @"ADT_A47", @"ADT-A47-02.hl7", @"ADT-A47-02-expected.json" }, new[] { @"ADT_A60", @"ADT-A60-01.hl7", @"ADT-A60-01-expected.json" }, @@ -97,6 +99,7 @@ public static IEnumerable GetDataForHl7v2() new[] { @"ORM_O01", @"ORM-O01-03.hl7", @"ORM-O01-03-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-04.hl7", @"ORM-O01-04-expected.json" }, new[] { @"ORM_O01", @"ORM-O01-05.hl7", @"ORM-O01-05-expected.json" }, + new[] { @"ORM_O01", @"ORM-O01-06.hl7", @"ORM-O01-06-expected.json" }, new[] { @"MDM_T01", @"MDM-T01-01.hl7", @"MDM-T01-01-expected.json" }, new[] { @"MDM_T01", @"MDM-T01-02.hl7", @"MDM-T01-02-expected.json" }, @@ -134,6 +137,26 @@ public static IEnumerable GetDataForHl7v2() new[] { @"VXU_V04", @"VXU-V04-01.hl7", @"VXU-V04-01-expected.json" }, new[] { @"VXU_V04", @"VXU-V04-02.hl7", @"VXU-V04-02-expected.json" }, + new[] { @"BAR_P01", @"BAR-P01-01.hl7", @"BAR-P01-01-expected.json" }, + new[] { @"BAR_P01", @"BAR-P01-02.hl7", @"BAR-P01-02-expected.json" }, + new[] { @"BAR_P02", @"BAR-P02-01.hl7", @"BAR-P02-01-expected.json" }, + new[] { @"BAR_P02", @"BAR-P02-02.hl7", @"BAR-P02-02-expected.json" }, + new[] { @"BAR_P12", @"BAR-P12-01.hl7", @"BAR-P12-01-expected.json" }, + new[] { @"BAR_P12", @"BAR-P12-02.hl7", @"BAR-P12-02-expected.json" }, + + new[] { @"DFT_P03", @"DFT-P03-01.hl7", @"DFT-P03-01-expected.json" }, + new[] { @"DFT_P03", @"DFT-P03-02.hl7", @"DFT-P03-02-expected.json" }, + new[] { @"DFT_P11", @"DFT-P11-01.hl7", @"DFT-P11-01-expected.json" }, + new[] { @"DFT_P11", @"DFT-P11-02.hl7", @"DFT-P11-02-expected.json" }, + + new[] { @"OMG_O19", @"OMG-O19-01.hl7", @"OMG-O19-01-expected.json" }, + new[] { @"OMG_O19", @"OMG-O19-02.hl7", @"OMG-O19-02-expected.json" }, + + new[] { @"REF_I12", @"REF-I12-01.hl7", @"REF-I12-01-expected.json" }, + new[] { @"REF_I12", @"REF-I12-02.hl7", @"REF-I12-02-expected.json" }, + new[] { @"REF_I14", @"REF-I14-01.hl7", @"REF-I14-01-expected.json" }, + new[] { @"REF_I14", @"REF-I14-02.hl7", @"REF-I14-02-expected.json" }, + new[] { @"ADT_A01", @"ADT01-23.hl7", @"ADT01-23-expected.json" }, new[] { @"ADT_A01", @"ADT01-28.hl7", @"ADT01-28-expected.json" }, new[] { @"ADT_A04", @"ADT04-23.hl7", @"ADT04-23-expected.json" }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs index 16289a027..6c6e5d3b5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/RuleBasedTests.cs @@ -93,6 +93,8 @@ public static IEnumerable GetHL7V2Cases() new object[] { "ADT_A40", "ADT-A40-02.hl7" }, new object[] { "ADT_A41", "ADT-A41-01.hl7" }, new object[] { "ADT_A41", "ADT-A41-02.hl7" }, + new object[] { "ADT_A45", "ADT-A45-01.hl7" }, + new object[] { "ADT_A45", "ADT-A45-02.hl7" }, new object[] { "ADT_A47", "ADT-A47-01.hl7" }, new object[] { "ADT_A47", "ADT-A47-02.hl7" }, new object[] { "ADT_A60", "ADT-A60-01.hl7" }, @@ -153,6 +155,26 @@ public static IEnumerable GetHL7V2Cases() new object[] { "VXU_V04", "VXU-V04-01.hl7" }, new object[] { "VXU_V04", "VXU-V04-02.hl7" }, + new object[] { "OMG_O19", "OMG-O19-01.hl7" }, + new object[] { "OMG_O19", "OMG-O19-02.hl7" }, + + new object[] { "REF_I12", "REF-I12-01.hl7" }, + new object[] { "REF_I12", "REF-I12-02.hl7" }, + new object[] { "REF_I14", "REF-I14-01.hl7" }, + new object[] { "REF_I14", "REF-I14-02.hl7" }, + + new object[] { "DFT_P03", "DFT-P03-01.hl7" }, + new object[] { "DFT_P03", "DFT-P03-02.hl7" }, + new object[] { "DFT_P11", "DFT-P11-01.hl7" }, + new object[] { "DFT_P11", "DFT-P11-02.hl7" }, + + new object[] { "BAR_P01", "BAR-P01-01.hl7" }, + new object[] { "BAR_P01", "BAR-P01-02.hl7" }, + new object[] { "BAR_P02", "BAR-P02-01.hl7" }, + new object[] { "BAR_P02", "BAR-P02-02.hl7" }, + new object[] { "BAR_P12", "BAR-P12-01.hl7" }, + new object[] { "BAR_P12", "BAR-P12-02.hl7" }, + new object[] { "ADT_A01", "ADT01-23.hl7" }, new object[] { "ADT_A01", "ADT01-28.hl7" }, new object[] { "VXU_V04", "VXU.hl7" }, @@ -232,10 +254,15 @@ public async Task CheckOnePatient(string templateName, string samplePath, DataTy { var result = await ConvertData(templateName, samplePath, dataType); var patients = result.SelectTokens("$.entry[?(@.resource.resourceType == 'Patient')].resource.id"); - if (templateName == "ADT_A40" || templateName == "ADT_A41") + + if (ResourceFilter.NonPatientTemplates.All(func => func(templateName))) { Assert.Equal(0, patients?.Count()); } + else if (ResourceFilter.MultiplePatientTemplates.All(func => func(templateName))) + { + Assert.Equal(2, patients?.Count()); + } else { Assert.Equal(1, patients?.Count()); @@ -501,7 +528,7 @@ internal static class ResourceFilter "resourceType", "type", "fullUrl", "id", "method", "url", "reference", "system", "code", "display", "gender", "use", "preferred", "status", "mode", "div", "valueString", "valueCode", "text", "endpoint", "value", "category", "type", "criticality", "priority", "severity", "description", - "intent", "docStatus", "contentType", "authorString", "unit", + "intent", "docStatus", "contentType", "authorString", "unit", "outcome", }; private static readonly HashSet _explicitValues = new HashSet @@ -511,6 +538,16 @@ internal static class ResourceFilter "source", }; + private static readonly List _noPatientTemplate = new List + { + "ADT_A40", "ADT_A41", "ADT_A45", "ADT_A47", + }; + + private static readonly List _multiplePatientTemplate = new List + { + "BAR_P02", + }; + public static readonly List> NonCompareProperties = new List> { // Exlude all the properties whose value is written in mapping tables explicitly or peculiar to FHIR @@ -526,6 +563,18 @@ internal static class ResourceFilter (string input) => DateTime.TryParse(input, out _), (string input) => bool.TryParse(input, out _), }; + + public static readonly List> NonPatientTemplates = new List> + { + // Templates that don't contain patient resource + _noPatientTemplate.Contains, + }; + + public static readonly List> MultiplePatientTemplates = new List> + { + // Templates that contain multiple patient resources + _multiplePatientTemplate.Contains, + }; } } } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json index af8800c39..06f70c7e6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json @@ -1,5308 +1,5643 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A01^ADT_A01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:16.985Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A01^ADT_A01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A01^ADT_A01" + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:33:19.401Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A01^ADT_A01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + }, + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + }, + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "name": { + "family": "EHS GENERIC EMPLOYER" + }, + "address": { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + }, + "telecom": [ + { + "value": "082719000", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "E", + "display": "Employer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2009-10-10", + "end": "2010-10-10" + }, + "organization": { + "reference": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" + } + }, + { + "name": { + "family": "Rebecca", + "given": [ + "Jonas" + ] + }, + "relationship": [ + { + "coding": [ + { + "code": "N", + "display": "Next of Kin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + }, + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ] + }, + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:bd86cad3-e39e-b49e-52c2-7a5267973ddd", + "resource": { + "resourceType": "Organization", + "id": "bd86cad3-e39e-b49e-52c2-7a5267973ddd", + "name": "GEOrg" }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - }, - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - }, - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "text": "TextInEnglish" }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "text": "retired" + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "name": { - "family": "EHS GENERIC EMPLOYER" }, - "address": { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - }, - "telecom": [ - { - "value": "082719000", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "E", - "display": "Employer", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2009-10-10", - "end": "2010-10-10" - }, - "organization": { - "reference": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - }, - { - "name": { - "family": "Rebecca", - "given": [ - "Jonas" - ] - }, - "relationship": [ - { - "coding": [ - { - "code": "N", - "display": "Next of Kin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ] - }, - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:bd86cad3-e39e-b49e-52c2-7a5267973ddd", - "resource": { - "resourceType": "Organization", - "id": "bd86cad3-e39e-b49e-52c2-7a5267973ddd", - "name": "GEOrg" - }, - "request": { - "method": "PUT", - "url": "Organization/bd86cad3-e39e-b49e-52c2-7a5267973ddd" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A01^ADT_A01" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - "rank": 1 - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - } - ], - "activity": { - "text": "ADT^A01^ADT_A01" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "text": "Biopsy of colon, which was part of colonoscopy" }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } - ], - "text": "Procedure Practitioner" + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] }, - "telecom": [ - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } - ] + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ] }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" - } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "text": "Stroke" }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ] }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "valueMoney": { - "value": 150, - "currency": "USD" + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" - }, - { - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] - } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" - } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" - } - ], - "text": "Patient has a spinal fracture" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ] }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } + ] }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } + ] }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ] }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ] }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ] }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" } - ] }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" } - ] }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } - }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" } - ] }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" } - ] }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" - } - } - ] + } + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json index 869102ce2..57ea403e6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json @@ -1,2025 +1,2024 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A01^ADT_A01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:28.517Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A01^ADT_A01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A01^ADT_A01" - } - ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:34:45.022Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A01^ADT_A01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A01^ADT_A01" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - } - ], - "activity": { - "text": "ADT^A01^ADT_A01" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - } - ] + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json index efff81bc1..ca686d252 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json @@ -97,7 +97,7 @@ "identifier": [ { "value": "1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/1" } ] }, @@ -123,7 +123,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/1" }, { "value": "123121234", @@ -273,7 +273,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" } ], "status": "active", @@ -314,7 +314,7 @@ "identifier": [ { "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", "type": { "coding": [ { @@ -522,7 +522,7 @@ "identifier": [ { "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", "type": { "coding": [ { @@ -715,7 +715,7 @@ } ] }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" } ], "subscriberId": "8291 ", @@ -944,7 +944,7 @@ } ] }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" } ], "subscriberId": "8291 ", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json index 09d016f0c..8f58e17d0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json @@ -42,8 +42,7 @@ "meta": { "security": [ { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" + "display": "SECURITY" } ], "tag": [ @@ -119,7 +118,7 @@ "identifier": [ { "value": "GOOD HEALTH HOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GOOD-HEALTH-HOSPITAL" + "system": "http://example.com/v2-to-fhir-converter/Identifier/GOOD-HEALTH-HOSPITAL" } ] }, @@ -145,7 +144,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" }, { "value": "123456789", @@ -158,7 +157,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" }, { "value": "444333333", @@ -292,7 +291,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" } ], "status": "active", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json index 1974b0133..17426c648 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json @@ -1,3393 +1,3527 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A02^ADT_A02" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:34.094Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A02^ADT_A02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:47:19.004Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A02^ADT_A02" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A02^ADT_A02" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" } - } ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A02^ADT_A02" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A02^ADT_A02" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + } + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" + } + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" + } + }, + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" + } + }, + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } + }, + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json index 5c4576b39..7fb9ed8be 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A02^ADT_A02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A02^ADT_A02" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:01.728Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:47:53.468Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A02^ADT_A02" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A02^ADT_A02" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A02^ADT_A02" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A02^ADT_A02" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json index 779bd1009..c97627b76 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json @@ -1,5271 +1,5606 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A03^ADT_A03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A03", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A03^ADT_A03" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:47.878Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:49:00.189Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A03^ADT_A03" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A03^ADT_A03" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" } - } ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "resource": { + "resourceType": "Account", + "id": "78295402-9b84-4829-b945-502ab3402de5", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Account/78295402-9b84-4829-b945-502ab3402de5" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "suffix": [ - "III", - "MD" + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "prefix": [ - "Dr." + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", - "resource": { - "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A03^ADT_A03" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A03^ADT_A03" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } ], - "text": "Anesthesiologist" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "suffix": [ - "II", - "MD" + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } ], - "prefix": [ - "DR" + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" }, - { - "value": "88888888", - "system": "phone" + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "line": [ - "ST-2" - ] + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "444444", - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "url": "text", - "valueString": "White" - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } ], - "suffix": [ - "III", - "MD" + "note": [ + { + "text": "Check for metastatic disease" + } ], - "prefix": [ - "Dr." + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } ], - "use": "usual", - "period": { - "start": "1925-10-12" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json index 5fb50dede..af473e756 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json @@ -1,2026 +1,2025 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A03", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A03^ADT_A03" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:55.226Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A03^ADT_A03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A03^ADT_A03" - } - ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:57:53.044Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A03^ADT_A03" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", - "resource": { - "resourceType": "Account", - "id": "78295402-9b84-4829-b945-502ab3402de5", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] + }, + { + "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5", + "resource": { + "resourceType": "Account", + "id": "78295402-9b84-4829-b945-502ab3402de5", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + "request": { + "method": "PUT", + "url": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A03^ADT_A03" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" }, - "account": [ - { - "reference": "Account/78295402-9b84-4829-b945-502ab3402de5" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - } - ], - "activity": { - "text": "ADT^A03^ADT_A03" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - } - ] + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json index 8f8d8e4bd..a71ddd216 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json @@ -1,5271 +1,5606 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A04^ADT_A04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A04^ADT_A04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:53.7Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:52:06.578Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A04^ADT_A04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A04^ADT_A04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" } - } ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "suffix": [ - "III", - "MD" + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "prefix": [ - "Dr." + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A04^ADT_A04" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A04^ADT_A04" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } ], - "text": "Anesthesiologist" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "suffix": [ - "II", - "MD" + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } ], - "prefix": [ - "DR" + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" }, - { - "value": "88888888", - "system": "phone" + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "line": [ - "ST-2" - ] + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "444444", - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "url": "text", - "valueString": "White" - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } ], - "suffix": [ - "III", - "MD" + "note": [ + { + "text": "Check for metastatic disease" + } ], - "prefix": [ - "Dr." + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } ], - "use": "usual", - "period": { - "start": "1925-10-12" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json index 296796e79..8f732076b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json @@ -1,2299 +1,2298 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A04^ADT_A04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A04^ADT_A04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:52.829Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T06:53:12.878Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A04^ADT_A04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A04^ADT_A04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A04^ADT_A04" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A04^ADT_A04" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json index fd75b7a46..db8ff271f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json @@ -113,7 +113,7 @@ "identifier": [ { "value": "NINTENDO", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NINTENDO" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NINTENDO" } ] }, @@ -130,7 +130,7 @@ "identifier": [ { "value": "TESTFACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TESTFACILITY" + "system": "http://example.com/v2-to-fhir-converter/Identifier/TESTFACILITY" } ] }, @@ -333,7 +333,7 @@ "identifier": [ { "value": "123456", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MSRM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MSRM", "type": { "coding": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json index 4e8ef7fe6..eca225357 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json @@ -97,7 +97,7 @@ "identifier": [ { "value": "RDX", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RDX" + "system": "http://example.com/v2-to-fhir-converter/Identifier/RDX" } ] }, diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json index 016ddb559..a1e401dda 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json @@ -97,7 +97,7 @@ "identifier": [ { "value": "RDX", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RDX" + "system": "http://example.com/v2-to-fhir-converter/Identifier/RDX" } ] }, @@ -114,15 +114,15 @@ "identifier": [ { "value": "0000000001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MR" + "system": "http://example.com/v2-to-fhir-converter/Identifier/MR" }, { "value": "e167267c-16c9-4fe3-96ae-9cff5703e90a", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-EHRID" + "system": "http://example.com/v2-to-fhir-converter/Identifier/EHRID" }, { "value": "a1d4ee8aba494ca", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST" }, { "value": "101-01-0001", @@ -302,7 +302,7 @@ "identifier": [ { "value": "4356789876", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPI" } ], "name": [ @@ -647,7 +647,7 @@ } ] }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" } ], "status": "active", diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json index c43d219a1..1891fc3ef 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json @@ -1,4926 +1,5261 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A05^ADT_A05" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A05^ADT_A05" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:43.793Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:12:53.172Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A05^ADT_A05" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A05^ADT_A05" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "12121212", - "system": "phone", - "use": "home" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } ], - "suffix": [ - "III", - "MD" + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "prefix": [ - "Dr." + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" }, - { - "value": "121111", - "use": "home", - "system": "phone" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "account": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A05^ADT_A05" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "telecom": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Pheob@nnnn.com", + "system": "email" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "specialty": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] } - ], - "text": "Participation" + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "121" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A05^ADT_A05" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "suffix": [ - "II", - "MD" + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "prefix": [ - "DR" + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } ], - "suffix": [ - "III", - "MD" + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } ], - "prefix": [ - "Dr." + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json index 55af99109..55ff7f0fa 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json @@ -1,2299 +1,2298 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A05^ADT_A05" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A05^ADT_A05" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:33.417Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:13:18.53Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A05^ADT_A05" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A05^ADT_A05" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A05^ADT_A05" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A05^ADT_A05" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json index 32f7f7248..03bf028fb 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-01-expected.json @@ -1,2803 +1,3319 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00006" + "value": "MSG00006" }, "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", "entry": [ - { - "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "resource": { - "resourceType": "MessageHeader", - "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A06^ADT_A06" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:08.49Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A06^ADT_A06" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:14:00.223Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T16:00:10+02:15", - "recorded": "2021-01-15T16:00:10+02:15", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A06^ADT_A06" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+02:15", - "end": "2020-01-15T16:00:10+02:15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } - ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email", - "use": "home" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" - } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - } - }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - } - }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - } - }, - { - "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", - "resource": { - "resourceType": "Location", - "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", - "partOf": { - "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } - }, - { - "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "resource": { - "resourceType": "Location", - "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "partOf": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" - } - }, - { - "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", - "resource": { - "resourceType": "Location", - "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - } - }, - { - "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", - "resource": { - "resourceType": "Location", - "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", - "partOf": { - "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - } - }, - { - "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", - "resource": { - "resourceType": "Location", - "id": "a636e63f-9983-a4ea-7e00-c414197696be", - "partOf": { - "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - }, - "name": "FLOOR0", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - } - }, - { - "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", - "resource": { - "resourceType": "Location", - "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", - "partOf": { - "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - } - }, - { - "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", - "resource": { - "resourceType": "Location", - "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", - "partOf": { - "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" - } - }, - { - "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", - "resource": { - "resourceType": "Location", - "id": "d27662df-7371-3a1d-d50e-942876e50bb8", - "partOf": { - "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" - }, - "name": "BED1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" - } - }, - { - "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", - "resource": { - "resourceType": "Location", - "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" - } - }, - { - "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", - "resource": { - "resourceType": "Location", - "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", - "partOf": { - "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" - } - }, - { - "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", - "resource": { - "resourceType": "Location", - "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", - "partOf": { - "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "ADT1" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "name": "Rhapsody", + "type": "manufacturer-name" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+02:15" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "meta": { - "security": [ - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" } - } - ] - } - ] - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", - "resource": { - "resourceType": "Practitioner", - "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", - "identifier": [ - { - "value": "2210" - } - ], - "name": [ - { - "family": "SURGEON", - "given": [ - "ROBERT", - "M" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "resource": { - "resourceType": "Procedure", - "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - }, - { - "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "resource": { - "resourceType": "Procedure", - "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2021-09-07T11:22:33+02:15", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" - } - }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ - { - "value": "5426387999", - "system": "phone" - } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "resource": { - "resourceType": "RelatedPerson", - "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] - }, - { - "family": "Smith", - "given": [ - "John", - "L" - ] - } - ], - "gender": "female", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" - } - }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - } - }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital" - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" - } - }, - { - "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "800f5a47-6496-6175-9370-2d3b09c28688", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", - "resource": { - "resourceType": "Condition", - "id": "aec42ae9-bf55-717a-0728-35b8eb475264", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - } - }, - { - "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", - "resource": { - "resourceType": "Condition", - "id": "e6047303-48ff-a905-b5a9-523635534b68", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "subscriber": { - "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - } - }, - { - "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "resource": { - "resourceType": "RelatedPerson", - "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } - }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", - "resource": { - "resourceType": "Observation", - "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "resource": { + "resourceType": "Location", + "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "partOf": { + "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + }, + { + "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", + "resource": { + "resourceType": "Location", + "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", + "partOf": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + } + }, + { + "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", + "resource": { + "resourceType": "Location", + "id": "d27662df-7371-3a1d-d50e-942876e50bb8", + "partOf": { + "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + }, + "name": "BED1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" + } + }, + { + "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "resource": { + "resourceType": "Location", + "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + } + }, + { + "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "resource": { + "resourceType": "Location", + "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "partOf": { + "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + } + }, + { + "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", + "resource": { + "resourceType": "Location", + "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", + "partOf": { + "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T14:37:33+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + } + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + } + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + } + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + } + }, + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json index ae253e1d3..34f0aaa6c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A06/ADT-A06-02-expected.json @@ -1,1027 +1,1026 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00006" + "value": "MSG00006" }, "id": "7725f2d6-7633-8f31-555d-2810b2be2fdb", "entry": [ - { - "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "resource": { - "resourceType": "MessageHeader", - "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "resource": { + "resourceType": "MessageHeader", + "id": "2f870e80-99a5-e0e9-6650-070e6a8ef0d2", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A06^ADT_A06" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A06^ADT_A06" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/2f870e80-99a5-e0e9-6650-070e6a8ef0d2" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:53.245Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:14:31.889Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A06.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A06^ADT_A06" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A06^ADT_A06" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T16:00:10+02:15", - "recorded": "2021-01-15T16:00:10+02:15", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A06^ADT_A06" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A06^ADT_A06" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/7725f2d6-7633-8f31-555d-2810b2be2fdb" + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+02:15", - "end": "2020-01-15T16:00:10+02:15" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" }, - { - "value": "123456789" + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" }, - { - "url": "text", - "valueString": "White" + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" - } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - } - }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - } - }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - } - }, - { - "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", - "resource": { - "resourceType": "Location", - "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", - "partOf": { - "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - }, - "name": "WAITINGROOM", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } - }, - { - "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "resource": { - "resourceType": "Location", - "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", - "partOf": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" } - ], - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" - } - }, - { - "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", - "resource": { - "resourceType": "Location", - "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", - "name": "FACILITY1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - } - }, - { - "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", - "resource": { - "resourceType": "Location", - "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", - "partOf": { - "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } }, - "request": { - "method": "PUT", - "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - } - }, - { - "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", - "resource": { - "resourceType": "Location", - "id": "a636e63f-9983-a4ea-7e00-c414197696be", - "partOf": { - "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" - }, - "name": "FLOOR0", - "mode": "instance", - "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } }, - "request": { - "method": "PUT", - "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" - } + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" } - ], - "participant": [ - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } }, - { - "reference": "Account/2818f64f-5f84-60fe-7f4e-df9e21936460" + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json index e435e9889..17ac4f8f7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-01-expected.json @@ -1,2616 +1,3132 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00007" + "value": "MSG00007" }, "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", "entry": [ - { - "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "resource": { - "resourceType": "MessageHeader", - "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A07", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A07^ADT_A07" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:14.608Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:15:08.428Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + } + }, + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" + } + }, + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } + }, + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + } + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "meta": { + "security": [ + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A07^ADT_A07" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - }, - { - "value": "DB1456" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T14:37:33+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + } + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + } + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + } + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } ] - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "resource": { + "resourceType": "RelatedPerson", + "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "email" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital" + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email", - "use": "home" + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" }, - { - "value": "5493275904", - "system": "phone" + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" }, - { - "value": "5492308914", - "system": "phone" - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", - "resource": { - "resourceType": "Location", - "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", - "name": "OPD", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } - }, - { - "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", - "resource": { - "resourceType": "Location", - "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", - "partOf": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - }, - "name": "0001", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - } - }, - { - "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", - "resource": { - "resourceType": "Location", - "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", - "partOf": { - "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - }, - "name": "01", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" - } - }, - { - "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", - "resource": { - "resourceType": "Location", - "id": "f3a48419-5674-2456-0237-ea79a6293066", - "name": "GOOD HEALTH HOSPITAL", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" - } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - } - }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - } - }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "005454" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", + "resource": { + "resourceType": "Condition", + "id": "aec42ae9-bf55-717a-0728-35b8eb475264", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+02:15" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - }, - { - "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "meta": { - "security": [ - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" + } } - } ] - } - ] - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T16:00:10+02:15", - "recorded": "2021-01-15T16:00:10+02:15", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", + "resource": { + "resourceType": "Condition", + "id": "e6047303-48ff-a905-b5a9-523635534b68", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A07^ADT_A07" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+02:15", - "end": "2020-01-15T16:00:10+02:15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", - "resource": { - "resourceType": "Practitioner", - "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", - "identifier": [ - { - "value": "2210" - } - ], - "name": [ - { - "family": "SURGEON", - "given": [ - "ROBERT", - "M" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "resource": { - "resourceType": "Procedure", - "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - }, - { - "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "resource": { - "resourceType": "Procedure", - "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2021-09-07T11:22:33+02:15", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } - ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } - ], - "text": "Surgeon" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" - } - }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ - { - "value": "5426387999", - "system": "phone" - } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "fullUrl": "urn:uuid:a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "resource": { - "resourceType": "RelatedPerson", - "id": "a00546c4-20d0-1f02-01be-ac602d6ccfa1", - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ] - } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" - }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "email" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] - }, - { - "family": "Smith", - "given": [ - "John", - "L" - ] - } - ], - "gender": "female", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/a00546c4-20d0-1f02-01be-ac602d6ccfa1" - } - }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - } - }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital" - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" - } - }, - { - "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "800f5a47-6496-6175-9370-2d3b09c28688", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:aec42ae9-bf55-717a-0728-35b8eb475264", - "resource": { - "resourceType": "Condition", - "id": "aec42ae9-bf55-717a-0728-35b8eb475264", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/aec42ae9-bf55-717a-0728-35b8eb475264" - } - }, - { - "fullUrl": "urn:uuid:e6047303-48ff-a905-b5a9-523635534b68", - "resource": { - "resourceType": "Condition", - "id": "e6047303-48ff-a905-b5a9-523635534b68", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "Condition/e6047303-48ff-a905-b5a9-523635534b68" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "subscriber": { - "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - } - }, - { - "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "resource": { - "resourceType": "RelatedPerson", - "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } - }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", - "resource": { - "resourceType": "Observation", - "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json index 9d35dcce3..278cccb60 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A07/ADT-A07-02-expected.json @@ -1,993 +1,992 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00007" + "value": "MSG00007" }, "id": "873317fc-55d2-ab3b-3bbc-a2b4e80847de", "entry": [ - { - "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "resource": { - "resourceType": "MessageHeader", - "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "resource": { + "resourceType": "MessageHeader", + "id": "5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A07", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A07^ADT_A07" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A07", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A07^ADT_A07" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/5e14e4ba-dfeb-6ea7-86b8-9cc37528bbab" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:09.254Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:15:35.045Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A07.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A07^ADT_A07" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A07^ADT_A07" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", + "resource": { + "resourceType": "Location", + "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", + "partOf": { + "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "resource": { + "resourceType": "Location", + "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", + "partOf": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + }, + "name": "ROOM2", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", - "resource": { - "resourceType": "Location", - "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", - "name": "OPD", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } - }, - { - "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", - "resource": { - "resourceType": "Location", - "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", - "partOf": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - }, - "name": "0001", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - } - }, - { - "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", - "resource": { - "resourceType": "Location", - "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", - "partOf": { - "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" - }, - "name": "01", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" - } - }, - { - "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", - "resource": { - "resourceType": "Location", - "id": "f3a48419-5674-2456-0237-ea79a6293066", - "name": "GOOD HEALTH HOSPITAL", - "mode": "instance", - "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" - } - }, - { - "fullUrl": "urn:uuid:e24d4c31-6af3-46fb-1887-a7ff3887f565", - "resource": { - "resourceType": "Location", - "id": "e24d4c31-6af3-46fb-1887-a7ff3887f565", - "partOf": { - "reference": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - }, - "name": "SPROOM", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } - }, - { - "fullUrl": "urn:uuid:0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "resource": { - "resourceType": "Location", - "id": "0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b", - "partOf": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - }, - "name": "ROOM2", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "resource": { + "resourceType": "Location", + "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", + "partOf": { + "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" + }, + "name": "BED-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" } - ], - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - } - }, - { - "fullUrl": "urn:uuid:dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "resource": { - "resourceType": "Location", - "id": "dedb52d9-ed65-f40e-627b-1c66a9fd4b08", - "partOf": { - "reference": "Location/0184e7e6-b0c3-f512-ae3d-9c3a0fa59e2b" - }, - "name": "BED-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/dedb52d9-ed65-f40e-627b-1c66a9fd4b08" - } - }, - { - "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "resource": { - "resourceType": "Location", - "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", - "name": "FACILITY-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - } - }, - { - "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", - "resource": { - "resourceType": "Location", - "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", - "partOf": { - "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - } - }, - { - "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "resource": { - "resourceType": "Location", - "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", - "partOf": { - "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "resource": { + "resourceType": "Location", + "id": "8d2c2e8a-26cf-1784-226e-a6a938d5a263", + "name": "FACILITY-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + } }, - "request": { - "method": "PUT", - "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" - } + { + "fullUrl": "urn:uuid:24814560-09cc-3f38-f5e9-9b6106970a8f", + "resource": { + "resourceType": "Location", + "id": "24814560-09cc-3f38-f5e9-9b6106970a8f", + "partOf": { + "reference": "Location/8d2c2e8a-26cf-1784-226e-a6a938d5a263" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" - } + "request": { + "method": "PUT", + "url": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "resource": { + "resourceType": "Location", + "id": "f174a0b5-a5ab-7323-0c10-2d7c76bcc824", + "partOf": { + "reference": "Location/24814560-09cc-3f38-f5e9-9b6106970a8f" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "SPROOM--ROOM2--2.16.840.1.113883.4.642.1.1108--ISO--BED-1--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/f174a0b5-a5ab-7323-0c10-2d7c76bcc824" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/e24d4c31-6af3-46fb-1887-a7ff3887f565" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + { + "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } }, - { - "reference": "Account/c3891656-5fe0-31ba-65c6-d43f69f9459f" + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "resource": { - "resourceType": "Provenance", - "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", - "occurredDateTime": "2021-01-15T16:00:10+02:15", - "recorded": "2021-01-15T16:00:10+02:15", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A07^ADT_A07" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A07^ADT_A07" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/873317fc-55d2-ab3b-3bbc-a2b4e80847de" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+02:15", - "end": "2020-01-15T16:00:10+02:15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json index 6e559ca27..129c34e68 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json @@ -1,5271 +1,5606 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A08", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A08^ADT_A08" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A08", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A08^ADT_A08" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:50.496Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:16:05.267Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A08^ADT_A08" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A08^ADT_A08" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" } - } ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ], - "text": "Inportant Person" - } + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "suffix": [ - "III", - "MD" + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } ], - "prefix": [ - "Dr." + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "value": "021212", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" + }, + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + }, + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A08^ADT_A08" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A08^ADT_A08" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } ], - "text": "Anesthesiologist" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "suffix": [ - "II", - "MD" + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } ], - "prefix": [ - "DR" + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" }, - { - "value": "88888888", - "system": "phone" + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "line": [ - "ST-2" - ] + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "444444", - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "url": "text", - "valueString": "White" - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } ], - "suffix": [ - "III", - "MD" + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } ], - "prefix": [ - "Dr." + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } ], - "use": "usual", - "period": { - "start": "1925-10-12" + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" - }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" - } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" + } }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json index 535ff45ab..a509d09fb 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A08", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A08^ADT_A08" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A08", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A08^ADT_A08" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:32.31Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:16:29.643Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A08^ADT_A08" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A08^ADT_A08" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A08^ADT_A08" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A08^ADT_A08" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json index 2cff82af7..6b2059582 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-01-expected.json @@ -1,1533 +1,1533 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00009" + "value": "MSG00009" }, "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", "entry": [ - { - "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "resource": { - "resourceType": "MessageHeader", - "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A09^ADT_A09" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:26.677Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:17:02.638Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A09^ADT_A09" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" }, - { - "value": "123456789" + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" }, - { - "value": "DB1456" + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" }, - { - "url": "text", - "valueString": "White" + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" - } - }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" - } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - } - }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - } - }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - } - }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" - } - }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - } - }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - } - }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - } - }, - { - "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", - "resource": { - "resourceType": "Location", - "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", - "name": "RM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" } - ], - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } - }, - { - "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "resource": { - "resourceType": "Location", - "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "name": "F1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - } - }, - { - "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "resource": { - "resourceType": "Location", - "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "partOf": { - "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - }, - "name": "B1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - } - }, - { - "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", - "resource": { - "resourceType": "Location", - "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", - "partOf": { - "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - }, - "name": "F10", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + } }, - "request": { - "method": "PUT", - "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:bffeceee-c43b-5971-a8f9-662a4a9ea710", - "resource": { - "resourceType": "Provenance", - "id": "bffeceee-c43b-5971-a8f9-662a4a9ea710", - "occurredDateTime": "2021-01-15T16:00:10+01:10", - "recorded": "2021-01-15T16:00:10+01:10", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + }, + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" } - ], - "activity": { - "text": "ADT^A09^ADT_A09" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + }, + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/bffeceee-c43b-5971-a8f9-662a4a9ea710" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T20:20:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:bffeceee-c43b-5971-a8f9-662a4a9ea710", + "resource": { + "resourceType": "Provenance", + "id": "bffeceee-c43b-5971-a8f9-662a4a9ea710", + "occurredDateTime": "2021-01-15T20:20:10+05:30", + "recorded": "2021-01-15T20:20:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+01:10", - "end": "2020-01-15T16:00:10+01:10" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/bffeceee-c43b-5971-a8f9-662a4a9ea710" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T20:20:10+05:30", + "end": "2020-01-15T20:20:10+05:30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - } - }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - }, - { - "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", - "resource": { - "resourceType": "Organization", - "id": "a5f89225-9b37-737d-9b70-c9cf83668801", - "name": "Good Health Hospital" }, - "request": { - "method": "PUT", - "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" - } - }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json index 947bb5b00..0c55b6f13 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A09/ADT-A09-02-expected.json @@ -1,1146 +1,1145 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", - "identifier": { - "value": "MSG00009" - }, - "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", - "entry": [ - { - "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "resource": { - "resourceType": "MessageHeader", - "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00009" + }, + "id": "24b9dc64-92d3-2f87-ff56-c6ca7f8fa571", + "entry": [ + { + "fullUrl": "urn:uuid:65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "resource": { + "resourceType": "MessageHeader", + "id": "65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A09^ADT_A09" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:17:53.819Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A09^ADT_A09" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "eventCoding": { - "code": "A09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A09^ADT_A09" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/65e8e4a5-80e5-cae2-935e-ff1f3df7c0ba" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:15.617Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A09.

" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A09^ADT_A09" + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" } - ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - } - ], - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } - ] + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" - }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] - }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } + }, + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - }, - { - "url": "text", - "valueString": "White" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + }, + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" + }, + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" - } - }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + }, + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" - } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - } - }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - } - }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - } - }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" - } - }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - } - }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - } - }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A09^ADT_A09" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - } - ], - "activity": { - "text": "ADT^A09^ADT_A09" }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/24b9dc64-92d3-2f87-ff56-c6ca7f8fa571" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ] } - }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - } - ] + ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json index be6eb5c42..72194c293 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-01-expected.json @@ -1,1533 +1,1533 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00010" + "value": "MSG00010" }, "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", "entry": [ - { - "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", - "resource": { - "resourceType": "MessageHeader", - "id": "0c531094-65ce-ba15-e55f-48ae245198aa", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A10^ADT_A10" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:54.705Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:18:27.991Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A10^ADT_A10" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854", - "note": [ - { - "text": "RAP234 Text" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" }, - { - "value": "123456789" + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "DB1456" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" }, - { - "value": "DB1456" + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - { - "url": "text", - "valueString": "White" + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "resource": { - "resourceType": "Practitioner", - "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "REFSRC", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" - } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - } - }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" - } - }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - } - }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - } - }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" - } - }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - } - }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - } - }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - } - }, - { - "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", - "resource": { - "resourceType": "Location", - "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", - "name": "RM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" } - ], - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } - }, - { - "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "resource": { - "resourceType": "Location", - "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", - "name": "F1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - } - }, - { - "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "resource": { - "resourceType": "Location", - "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", - "partOf": { - "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" - }, - "name": "B1", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - } - }, - { - "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", - "resource": { - "resourceType": "Location", - "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", - "partOf": { - "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" - }, - "name": "F10", - "mode": "instance", - "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } }, - "request": { - "method": "PUT", - "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } + }, + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } + }, + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" - } + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + } + }, + { + "fullUrl": "urn:uuid:133d7f97-7f18-598b-353d-d08dc649c1eb", + "resource": { + "resourceType": "Location", + "id": "133d7f97-7f18-598b-353d-d08dc649c1eb", + "name": "RM1", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + }, + "request": { + "method": "PUT", + "url": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "resource": { + "resourceType": "Location", + "id": "092b8e53-17db-2b11-dbb7-78cda48f6bc5", + "name": "F1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } + }, + { + "fullUrl": "urn:uuid:30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "resource": { + "resourceType": "Location", + "id": "30d7f79b-0b0f-0acc-2292-d84eb8c66813", + "partOf": { + "reference": "Location/092b8e53-17db-2b11-dbb7-78cda48f6bc5" + }, + "name": "B1", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" } - ], - "activity": { - "text": "ADT^A10^ADT_A10" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + }, + { + "fullUrl": "urn:uuid:d10aa972-edf2-8c56-5618-d650f51e4d6b", + "resource": { + "resourceType": "Location", + "id": "d10aa972-edf2-8c56-5618-d650f51e4d6b", + "partOf": { + "reference": "Location/30d7f79b-0b0f-0acc-2292-d84eb8c66813" + }, + "name": "F10", + "mode": "instance", + "description": "RM1--2.16.840.1.113883.4.642.1.1108--ISO--F1--B1--F10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d10aa972-edf2-8c56-5618-d650f51e4d6b" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/133d7f97-7f18-598b-353d-d08dc649c1eb" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - } - }, - { - "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", - "resource": { - "resourceType": "Practitioner", - "id": "c617f6ba-843a-e58a-f573-72f341e608d3", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "Research Park" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - } - }, - { - "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "resource": { - "resourceType": "PractitionerRole", - "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } - ], - "practitioner": { - "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" - }, - "organization": { - "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" - } - }, - { - "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", - "resource": { - "resourceType": "Organization", - "id": "a5f89225-9b37-737d-9b70-c9cf83668801", - "name": "Good Health Hospital" }, - "request": { - "method": "PUT", - "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" - } - }, - { - "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "resource": { - "resourceType": "Observation", - "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 44, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "performer": [ - { - "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - }, - "encounter": { - "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + { + "fullUrl": "urn:uuid:51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "resource": { + "resourceType": "Observation", + "id": "51083bfe-8942-8cc3-d9ac-f2b4cd18de54", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 44, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/51083bfe-8942-8cc3-d9ac-f2b4cd18de54" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json index fbea05070..7787f737a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A10/ADT-A10-02-expected.json @@ -1,1146 +1,1145 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-01-15T16:20:00+02:15", + "timestamp": "2021-01-15T19:35:00+05:30", "identifier": { - "value": "MSG00010" + "value": "MSG00010" }, "id": "083a6391-5d3c-1b9b-323c-749a51ec307a", "entry": [ - { - "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", - "resource": { - "resourceType": "MessageHeader", - "id": "0c531094-65ce-ba15-e55f-48ae245198aa", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:0c531094-65ce-ba15-e55f-48ae245198aa", + "resource": { + "resourceType": "MessageHeader", + "id": "0c531094-65ce-ba15-e55f-48ae245198aa", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A10^ADT_A10" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A10^ADT_A10" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/0c531094-65ce-ba15-e55f-48ae245198aa" - } - }, - { - "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "resource": { - "resourceType": "Provenance", - "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:51.762Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" - }, - "occurredDateTime": "2021-01-15T16:20:00+02:15", - "recorded": "2021-01-15T16:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:18:51.485Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A10.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A10^ADT_A10" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A10^ADT_A10" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - } - ], - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", - "resource": { - "resourceType": "Device", - "id": "de4a0e37-220f-608a-1333-2640637851e9", - "identifier": [ - { - "value": "ADT1" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" - } - }, - { - "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", - "resource": { - "resourceType": "Patient", - "id": "d5fe6802-a680-e762-8f43-9659340b00ac", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "GOOD HEALTH HOSPITAL", - "display": "GOOD HEALTH HOSPITAL" - } + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ADT1" }, - { - "value": "123456789" - }, - { - "value": "220917255", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DL", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III" - ] + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ] }, - { - "family": "SMITH", - "given": [ - "JOHN" - ] + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" } - ], - "birthDate": "1961-06-15", - "gender": "male", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "EN", - "display": "ENGLISH", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" - } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "meta": { - "lastUpdated": "2021-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "resource": { + "resourceType": "Location", + "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", + "partOf": { + "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" }, - { - "url": "text", - "valueString": "White" + "name": "GENROOM", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Davis" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1009", - "display": "Baptist", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", + "resource": { + "resourceType": "Location", + "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", + "partOf": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "ROOM-2", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + } + }, + { + "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", + "resource": { + "resourceType": "Location", + "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", + "partOf": { + "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" + }, + "name": "BED-24", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - { - "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", - "resource": { - "resourceType": "Account", - "id": "4d89d103-815b-6284-c821-c995368a2aeb", - "identifier": [ - { - "value": "PACCT110" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + { + "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "resource": { + "resourceType": "Location", + "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", + "name": "FACILITY-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "resource": { + "resourceType": "Location", + "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", + "partOf": { + "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" + }, + "name": "BUILDING-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", + "resource": { + "resourceType": "Location", + "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", + "partOf": { + "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" + }, + "name": "FLOOR-1", + "mode": "instance", + "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "resource": { - "resourceType": "Location", - "id": "ec4efd8d-9c6b-130d-f105-b93e51d61c87", - "partOf": { - "reference": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - }, - "name": "GENROOM", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } - }, - { - "fullUrl": "urn:uuid:78ac69f3-fe8e-b992-b7d9-0475de418307", - "resource": { - "resourceType": "Location", - "id": "78ac69f3-fe8e-b992-b7d9-0475de418307", - "partOf": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - }, - "name": "ROOM-2", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - } - }, - { - "fullUrl": "urn:uuid:d109a356-3f03-46fd-5b8e-e82ba58c212e", - "resource": { - "resourceType": "Location", - "id": "d109a356-3f03-46fd-5b8e-e82ba58c212e", - "partOf": { - "reference": "Location/78ac69f3-fe8e-b992-b7d9-0475de418307" - }, - "name": "BED-24", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d109a356-3f03-46fd-5b8e-e82ba58c212e" - } - }, - { - "fullUrl": "urn:uuid:fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "resource": { - "resourceType": "Location", - "id": "fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053", - "name": "FACILITY-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - } - }, - { - "fullUrl": "urn:uuid:dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "resource": { - "resourceType": "Location", - "id": "dea8b100-9d7f-df7f-d914-2b4d74e44a81", - "partOf": { - "reference": "Location/fbe3ab28-6c2c-62e1-5c20-0c79bfdb7053" - }, - "name": "BUILDING-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - } - }, - { - "fullUrl": "urn:uuid:7522983b-4d60-e6a0-7c39-b011f49d586f", - "resource": { - "resourceType": "Location", - "id": "7522983b-4d60-e6a0-7c39-b011f49d586f", - "partOf": { - "reference": "Location/dea8b100-9d7f-df7f-d914-2b4d74e44a81" - }, - "name": "FLOOR-1", - "mode": "instance", - "description": "GENROOM--ROOM-2--BED-24--FACILITY-1--BUILDING-1--FLOOR-1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7522983b-4d60-e6a0-7c39-b011f49d586f" - } - }, - { - "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", - "resource": { - "resourceType": "Location", - "id": "35adcab7-4732-0b72-7258-0f25e82119b3", - "partOf": { - "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - }, - "name": "OT", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } - }, - { - "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", - "resource": { - "resourceType": "Location", - "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", - "partOf": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - }, - "name": "ROOM1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" - } - }, - { - "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "resource": { - "resourceType": "Location", - "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", - "name": "FACILITY1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - } - }, - { - "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", - "resource": { - "resourceType": "Location", - "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", - "partOf": { - "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35adcab7-4732-0b72-7258-0f25e82119b3", + "resource": { + "resourceType": "Location", + "id": "35adcab7-4732-0b72-7258-0f25e82119b3", + "partOf": { + "reference": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + }, + "name": "OT", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } }, - "request": { - "method": "PUT", - "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - } - }, - { - "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", - "resource": { - "resourceType": "Location", - "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", - "partOf": { - "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" - }, - "name": "FLOOR10", - "mode": "instance", - "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:0b53b18d-b8e9-fa73-5cef-791516486b01", + "resource": { + "resourceType": "Location", + "id": "0b53b18d-b8e9-fa73-5cef-791516486b01", + "partOf": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + }, + "name": "ROOM1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0b53b18d-b8e9-fa73-5cef-791516486b01" + } }, - "request": { - "method": "PUT", - "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" - } - }, - { - "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", - "resource": { - "resourceType": "Location", - "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", - "partOf": { - "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - }, - "name": "OTWAITROOM", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "resource": { + "resourceType": "Location", + "id": "514c636a-eb10-42c0-24ff-f40b4f9bfcbf", + "name": "FACILITY1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + } }, - "request": { - "method": "PUT", - "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - } - }, - { - "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", - "resource": { - "resourceType": "Location", - "id": "f233f087-28b1-1577-4262-84951e6eaa99", - "partOf": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "name": "ROOM11", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:5b9159a5-2b24-709e-5666-503e5efc9c27", + "resource": { + "resourceType": "Location", + "id": "5b9159a5-2b24-709e-5666-503e5efc9c27", + "partOf": { + "reference": "Location/514c636a-eb10-42c0-24ff-f40b4f9bfcbf" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + } }, - "request": { - "method": "PUT", - "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" - } - }, - { - "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "resource": { - "resourceType": "Location", - "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", - "name": "FACI-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:8759124b-b400-2c7c-ed89-3c87d62dc39f", + "resource": { + "resourceType": "Location", + "id": "8759124b-b400-2c7c-ed89-3c87d62dc39f", + "partOf": { + "reference": "Location/5b9159a5-2b24-709e-5666-503e5efc9c27" + }, + "name": "FLOOR10", + "mode": "instance", + "description": "OT--ROOM1--FACILITY1--BUILDING1--FLOOR10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8759124b-b400-2c7c-ed89-3c87d62dc39f" + } }, - "request": { - "method": "PUT", - "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - } - }, - { - "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "resource": { - "resourceType": "Location", - "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", - "partOf": { - "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" - }, - "name": "BUILD-1", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:f609ba06-25b2-d148-fd8e-4435503b02bc", + "resource": { + "resourceType": "Location", + "id": "f609ba06-25b2-d148-fd8e-4435503b02bc", + "partOf": { + "reference": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" + }, + "name": "OTWAITROOM", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + } }, - "request": { - "method": "PUT", - "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - } - }, - { - "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", - "resource": { - "resourceType": "Location", - "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", - "partOf": { - "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" - }, - "name": "FL-10", - "mode": "instance", - "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:f233f087-28b1-1577-4262-84951e6eaa99", + "resource": { + "resourceType": "Location", + "id": "f233f087-28b1-1577-4262-84951e6eaa99", + "partOf": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "name": "ROOM11", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f233f087-28b1-1577-4262-84951e6eaa99" + } }, - "request": { - "method": "PUT", - "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" - } - }, - { - "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", - "resource": { - "resourceType": "Encounter", - "id": "19f93d0c-778a-6a5d-4816-504675827c1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" - } + { + "fullUrl": "urn:uuid:4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "resource": { + "resourceType": "Location", + "id": "4c8262e4-0887-f93a-9e5e-7b5a52c82dc0", + "name": "FACI-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" - } + "request": { + "method": "PUT", + "url": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + } + }, + { + "fullUrl": "urn:uuid:72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "resource": { + "resourceType": "Location", + "id": "72c6bc91-99c5-c49e-ba4a-f4911d2737c9", + "partOf": { + "reference": "Location/4c8262e4-0887-f93a-9e5e-7b5a52c82dc0" + }, + "name": "BUILD-1", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + } + }, + { + "fullUrl": "urn:uuid:0a09cc71-2d38-5c29-9d29-abe93044b29a", + "resource": { + "resourceType": "Location", + "id": "0a09cc71-2d38-5c29-9d29-abe93044b29a", + "partOf": { + "reference": "Location/72c6bc91-99c5-c49e-ba4a-f4911d2737c9" + }, + "name": "FL-10", + "mode": "instance", + "description": "OTWAITROOM--ROOM11--FACI-1--BUILD-1--FL-10", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/0a09cc71-2d38-5c29-9d29-abe93044b29a" } - ], - "participant": [ - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/ec4efd8d-9c6b-130d-f105-b93e51d61c87" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/35adcab7-4732-0b72-7258-0f25e82119b3" + } + }, { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "status": "planned", + "location": { + "reference": "Location/f609ba06-25b2-d148-fd8e-4435503b02bc" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+05:30" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" - } - ], - "subject": { - "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" - } - }, - { - "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", - "resource": { - "resourceType": "Provenance", - "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", - "occurredDateTime": "2021-01-15T16:00:10+05:30", - "recorded": "2021-01-15T16:00:10+05:30", - "reason": [ - { - "coding": [ - { - "code": "HOPERAT", - "display": "healthcare operations", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "activity": { - "text": "ADT^A10^ADT_A10" - }, - "location": { - "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" - }, - "target": [ - { - "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:8f94dc0e-59be-c7d0-c608-f7927f924621", + "resource": { + "resourceType": "Provenance", + "id": "8f94dc0e-59be-c7d0-c608-f7927f924621", + "occurredDateTime": "2021-01-15T16:00:10+05:30", + "recorded": "2021-01-15T16:00:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A10^ADT_A10" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/083a6391-5d3c-1b9b-323c-749a51ec307a" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/8f94dc0e-59be-c7d0-c608-f7927f924621" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:10+05:30", - "end": "2020-01-15T16:00:10+05:30" - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "resource": { - "resourceType": "Location", - "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10+05:30", + "end": "2020-01-15T16:00:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json index 45cdda96a..4b386d544 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json @@ -1,2980 +1,2982 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A11^ADT_A11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:09.544Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A11^ADT_A11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "eventCoding": { + "code": "A11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A11^ADT_A11" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:19:20.469Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "activity": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "display": "ADT^A11^ADT_A11" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A11^ADT_A11" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A11^ADT_A11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "Partial" - } + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json index 565f645fb..4cee7b531 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json @@ -1,2294 +1,2293 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A11^ADT_A11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A11^ADT_A11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:36.07Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:19:51.006Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A11^ADT_A11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A11^ADT_A11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A11^ADT_A11" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A11^ADT_A11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json index 45692e2d0..3998872ed 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json @@ -1,5270 +1,5605 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A13^ADT_A13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A13^ADT_A13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:59.46Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:20:38.385Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A13^ADT_A13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A13^ADT_A13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" } - } ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "suffix": [ - "III", - "MD" + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "prefix": [ - "Dr." + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "completed", - "location": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "completed", + "location": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + } + }, + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" + }, + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + }, + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A13^ADT_A13" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A13^ADT_A13" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } ], - "text": "Anesthesiologist" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "suffix": [ - "II", - "MD" + "telecom": [ + { + "value": "Pheob@nnnn.com", + "system": "email" + } ], - "prefix": [ - "DR" + "location": [ + { + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" }, - { - "value": "88888888", - "system": "phone" + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ + { + "value": "121" + } + ], + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" + }, + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" + } + }, + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] + }, + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "line": [ - "ST-2" - ] + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + }, + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "444444", - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "url": "text", - "valueString": "White" - } - ] + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } ], - "suffix": [ - "III", - "MD" + "note": [ + { + "text": "Check for metastatic disease" + } ], - "prefix": [ - "Dr." + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } ], - "use": "usual", - "period": { - "start": "1925-10-12" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", + "resource": { + "resourceType": "Location", + "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", + "name": "ICCU", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } + { + "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", + "resource": { + "resourceType": "Location", + "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", + "partOf": { + "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" + }, + "name": "Room1", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", + "resource": { + "resourceType": "Location", + "id": "011e045d-ef87-553d-6afa-ec337c8ea212", + "partOf": { + "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" + }, + "name": "Bed25", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "resource": { + "resourceType": "Location", + "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", + "name": "GHH", + "mode": "instance", + "description": "ICCU--Room1--Bed25--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", + "resource": { + "resourceType": "Practitioner", + "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DeathCert", + "given": [ + "Robin", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", + "resource": { + "resourceType": "Practitioner", + "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", + "identifier": [ + { + "value": "002324" + } + ], + "name": [ + { + "family": "Autopsy", + "given": [ + "John", + "K" + ] + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] - }, - { - "coding": [ - { - "code": "EXTERNAL" + }, + { + "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", + "resource": { + "resourceType": "Condition", + "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", + "code": { + "coding": [ + { + "code": "I21", + "display": "Acute myocardial infarction", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", + "resource": { + "resourceType": "Procedure", + "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", + "code": { + "coding": [ + { + "code": "death-certification", + "display": "Death Certification", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedDateTime": "2021-11-02T16:45:00+05:30", + "performer": [ + { + "function": { + "text": "Death Certified By" + }, + "actor": { + "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:39317a79-9416-0624-2c08-e0cf7eef0ba1", - "resource": { - "resourceType": "Location", - "id": "39317a79-9416-0624-2c08-e0cf7eef0ba1", - "name": "ICCU", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - } - }, - { - "fullUrl": "urn:uuid:6105ec2b-fcae-28af-4bdb-aca402c80f93", - "resource": { - "resourceType": "Location", - "id": "6105ec2b-fcae-28af-4bdb-aca402c80f93", - "partOf": { - "reference": "Location/39317a79-9416-0624-2c08-e0cf7eef0ba1" - }, - "name": "Room1", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - } - }, - { - "fullUrl": "urn:uuid:011e045d-ef87-553d-6afa-ec337c8ea212", - "resource": { - "resourceType": "Location", - "id": "011e045d-ef87-553d-6afa-ec337c8ea212", - "partOf": { - "reference": "Location/6105ec2b-fcae-28af-4bdb-aca402c80f93" - }, - "name": "Bed25", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/011e045d-ef87-553d-6afa-ec337c8ea212" - } - }, - { - "fullUrl": "urn:uuid:4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "resource": { - "resourceType": "Location", - "id": "4a608434-82a3-e50e-6afa-f7d6f0c738a7", - "name": "GHH", - "mode": "instance", - "description": "ICCU--Room1--Bed25--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/4a608434-82a3-e50e-6afa-f7d6f0c738a7" - } - }, - { - "fullUrl": "urn:uuid:d148eb94-aa2a-712e-b32d-602bf49e91b2", - "resource": { - "resourceType": "Practitioner", - "id": "d148eb94-aa2a-712e-b32d-602bf49e91b2", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DeathCert", - "given": [ - "Robin", - "B" - ] + { + "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", + "resource": { + "resourceType": "Procedure", + "id": "52a080c9-730f-b892-7e9c-a0335259b927", + "code": { + "coding": [ + { + "code": "autopsy-performed", + "display": "Autopsy Performed", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedure-code" + } + ] + }, + "status": "completed", + "performedPeriod": { + "start": "2021-11-02T14:45:00+05:30", + "end": "2021-11-02T15:45:00+05:30" + }, + "performer": [ + { + "function": { + "text": "Autopsy Performed By" + }, + "actor": { + "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } - }, - { - "fullUrl": "urn:uuid:5589c110-d7b3-fdab-cb92-32a466cb8e12", - "resource": { - "resourceType": "Practitioner", - "id": "5589c110-d7b3-fdab-cb92-32a466cb8e12", - "identifier": [ - { - "value": "002324" - } - ], - "name": [ - { - "family": "Autopsy", - "given": [ - "John", - "K" - ] + { + "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "resource": { + "resourceType": "Observation", + "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", + "status": "final", + "code": { + "coding": [ + { + "code": "death-certificate", + "display": "Death Certificate", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } - }, - { - "fullUrl": "urn:uuid:b62bfa4a-c55c-5207-0542-62006ca66b3f", - "resource": { - "resourceType": "Condition", - "id": "b62bfa4a-c55c-5207-0542-62006ca66b3f", - "code": { - "coding": [ - { - "code": "I21", - "display": "Acute myocardial infarction", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/b62bfa4a-c55c-5207-0542-62006ca66b3f" - } - }, - { - "fullUrl": "urn:uuid:6fb50710-b922-603a-1ad2-56cd531acc7c", - "resource": { - "resourceType": "Procedure", - "id": "6fb50710-b922-603a-1ad2-56cd531acc7c", - "code": { - "coding": [ - { - "code": "death-certification-dummy", - "display": "Death Certification dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedDateTime": "2021-11-02T12:30:00+01:15", - "performer": [ - { - "function": { - "text": "Death Certified By" - }, - "actor": { - "reference": "Practitioner/d148eb94-aa2a-712e-b32d-602bf49e91b2" - } + { + "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "resource": { + "resourceType": "Observation", + "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", + "status": "final", + "code": { + "coding": [ + { + "code": "autopsy", + "display": "Autopsy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/6fb50710-b922-603a-1ad2-56cd531acc7c" - } - }, - { - "fullUrl": "urn:uuid:52a080c9-730f-b892-7e9c-a0335259b927", - "resource": { - "resourceType": "Procedure", - "id": "52a080c9-730f-b892-7e9c-a0335259b927", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/procedureCodes-dummy" - } - ] - }, - "status": "completed", - "performedPeriod": { - "start": "2021-11-02T10:30:00+01:15", - "end": "2021-11-02T11:30:00+01:15" - }, - "performer": [ - { - "function": { - "text": "Autopsy Performed By" - }, - "actor": { - "reference": "Practitioner/5589c110-d7b3-fdab-cb92-32a466cb8e12" - } + { + "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", + "resource": { + "resourceType": "Observation", + "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", + "status": "final", + "code": { + "coding": [ + { + "code": "coroner", + "display": "Coroner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/52a080c9-730f-b892-7e9c-a0335259b927" - } - }, - { - "fullUrl": "urn:uuid:6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "resource": { - "resourceType": "Observation", - "id": "6b890de2-7da4-c603-b6eb-671dbf53ae5a", - "status": "final", - "code": { - "coding": [ - { - "code": "death-certificate-dummy", - "display": "Death Certificate dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/6b890de2-7da4-c603-b6eb-671dbf53ae5a" - } - }, - { - "fullUrl": "urn:uuid:f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "resource": { - "resourceType": "Observation", - "id": "f1b91e8d-dfa1-110a-dfda-f1d011a66f69", - "status": "final", - "code": { - "coding": [ - { - "code": "autopsy-performed-dummy", - "display": "Autopsy Performed dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Observation/f1b91e8d-dfa1-110a-dfda-f1d011a66f69" - } - }, - { - "fullUrl": "urn:uuid:cfe1230d-f336-1807-3b4a-e892880bb6ed", - "resource": { - "resourceType": "Observation", - "id": "cfe1230d-f336-1807-3b4a-e892880bb6ed", - "status": "final", - "code": { - "coding": [ - { - "code": "coroner-dummy", - "display": "Coroner dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observationCodes-dummy" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Observation/cfe1230d-f336-1807-3b4a-e892880bb6ed" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json index 705131c81..cf3b904a4 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json @@ -1,2298 +1,2297 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A13^ADT_A13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A13^ADT_A13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:38.407Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:21:15.093Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A13^ADT_A13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A13^ADT_A13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A13^ADT_A13" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A13^ADT_A13" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json index e1bc5d990..ed119ab90 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json @@ -1,4926 +1,5261 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A14^ADT_A14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A14^ADT_A14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:02.128Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:22:12.658Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A14^ADT_A14" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A14^ADT_A14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "12121212", - "system": "phone", - "use": "home" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } ], - "suffix": [ - "III", - "MD" + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "prefix": [ - "Dr." + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "start": "2015-02-08T11:34:19+05:30", + "end": "2015-02-09T11:34:19+05:30" }, - { - "value": "121111", - "use": "home", - "system": "phone" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "account": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A14^ADT_A14" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "telecom": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Pheob@nnnn.com", + "system": "email" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "specialty": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] } - ], - "text": "Participation" + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "121" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+05:30", - "end": "2015-02-09T11:34:19+05:30" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A14^ADT_A14" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "suffix": [ - "II", - "MD" + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "prefix": [ - "DR" + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } ], - "suffix": [ - "III", - "MD" + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } ], - "prefix": [ - "Dr." + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json index 133769f14..b703615d0 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json @@ -1,2299 +1,2298 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A14^ADT_A14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A14^ADT_A14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:12.973Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:22:41.976Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A14^ADT_A14" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A14^ADT_A14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A14^ADT_A14" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A14^ADT_A14" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json index b72165582..6d2b0e6ed 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json @@ -1,3045 +1,3179 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A15^ADT_A15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:10.009Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A15^ADT_A15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:23:17.405Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A15^ADT_A15" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A15^ADT_A15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + ], + "activity": { + "text": "ADT^A15^ADT_A15" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + } + }, + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } } - } - ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A15^ADT_A15" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json index 8da1ecaf0..286a89b7f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A15^ADT_A15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A15^ADT_A15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:15.23Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:23:50.88Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A15^ADT_A15" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A15^ADT_A15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A15^ADT_A15" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A15^ADT_A15" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json index 5d5c0ac71..ac42f12e5 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json @@ -1,4926 +1,5261 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A16^ADT_A16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A16^ADT_A16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:39.85Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:25:11.513Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A16^ADT_A16" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A16^ADT_A16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "12121212", - "system": "phone", - "use": "home" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } ], - "suffix": [ - "III", - "MD" + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "prefix": [ - "Dr." + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-10T15:54:19+05:30" }, - { - "value": "121111", - "use": "home", - "system": "phone" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "account": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A16^ADT_A16" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "telecom": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Pheob@nnnn.com", + "system": "email" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "specialty": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] } - ], - "text": "Participation" + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "121" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-10T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A16^ADT_A16" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "suffix": [ - "II", - "MD" + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "prefix": [ - "DR" + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } ], - "suffix": [ - "III", - "MD" + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } ], - "prefix": [ - "Dr." + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json index 6d9460e1a..f19053a36 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json @@ -1,2299 +1,2298 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A16^ADT_A16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A16^ADT_A16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:58.228Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:25:38.479Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A16^ADT_A16" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A16^ADT_A16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-10T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-10T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A16^ADT_A16" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A16^ADT_A16" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json index 4d00de1f6..d4e9b86b7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json @@ -1,2984 +1,2986 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A25^ADT_A25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:19.042Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A25^ADT_A25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "eventCoding": { + "code": "A25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A25^ADT_A25" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:26:18.521Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "activity": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "display": "ADT^A25^ADT_A25" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A25^ADT_A25" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A25^ADT_A25" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "Partial" - } + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json index 9fc7b045b..87b85132a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json @@ -1,2298 +1,2297 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A25^ADT_A25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A25^ADT_A25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:30.386Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:26:46.193Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A25^ADT_A25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A25^ADT_A25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A25^ADT_A25" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A25^ADT_A25" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json index 5c67d38f7..a6cfaa164 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json @@ -1,2750 +1,2752 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A26^ADT_A26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A26^ADT_A26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:29.584Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:27:33.044Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A26^ADT_A26" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A26^ADT_A26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A26^ADT_A26" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A26^ADT_A26" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "text": "Partial" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json index 3f669db7d..b03b9902c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json @@ -1,1925 +1,1924 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A26^ADT_A26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A26^ADT_A26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:39.025Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:28:03.54Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A26^ADT_A26" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A26^ADT_A26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A26^ADT_A26" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A26^ADT_A26" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json index 38d31ac32..c8e796f26 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json @@ -1,2979 +1,2981 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A27", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A27^ADT_A27" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:34.094Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A27^ADT_A27" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "eventCoding": { + "code": "A27", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A27^ADT_A27" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:28:36.341Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "activity": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "display": "ADT^A27^ADT_A27" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A27^ADT_A27" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A27^ADT_A27" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "Partial" - } + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json index b1cfd9330..93d2c7558 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json @@ -1,2294 +1,2293 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A27", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A27^ADT_A27" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A27", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A27^ADT_A27" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:31.668Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:28:58.496Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A27^ADT_A27" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A27^ADT_A27" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "cancelled", - "location": [ - { - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "cancelled", + "location": [ + { + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A27^ADT_A27" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A27^ADT_A27" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json index 4a40acec0..f21301320 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json @@ -1,4926 +1,5261 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A28", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A28^ADT_A28" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A28", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A28^ADT_A28" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:07.449Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:29:39.56Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A28^ADT_A28" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A28^ADT_A28" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "12121212", - "system": "phone", - "use": "home" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } ], - "suffix": [ - "III", - "MD" + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "prefix": [ - "Dr." + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" }, - { - "value": "121111", - "use": "home", - "system": "phone" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "account": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A28^ADT_A28" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "telecom": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Pheob@nnnn.com", + "system": "email" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "specialty": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] } - ], - "text": "Participation" + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "121" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A28^ADT_A28" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "suffix": [ - "II", - "MD" + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "prefix": [ - "DR" + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } ], - "suffix": [ - "III", - "MD" + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } ], - "prefix": [ - "Dr." + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json index 100e5280a..cd4f6830c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A28", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A28^ADT_A28" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A28", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A28^ADT_A28" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:25.58Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:30:05.532Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A28^ADT_A28" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A28^ADT_A28" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A28^ADT_A28" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A28^ADT_A28" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json index e59742a2b..dcb5d7b42 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json @@ -1,2984 +1,2986 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A29", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A29^ADT_A29" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "DELETE", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:06.542Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A29^ADT_A29" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "eventCoding": { + "code": "A29", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A29^ADT_A29" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + }, + "request": { + "method": "DELETE", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:30:42.512Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "activity": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "display": "ADT^A29^ADT_A29" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } ], - "text": "Inportant Person" - } - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "DELETE", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "DELETE", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "DELETE", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "DELETE", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "DELETE", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "DELETE", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "DELETE", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "DELETE", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A29^ADT_A29" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "DELETE", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "DELETE", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "DELETE", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "DELETE", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "DELETE", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A29^ADT_A29" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "DELETE", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "DELETE", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "DELETE", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "DELETE", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "DELETE", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "DELETE", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "Partial" - } + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "DELETE", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "DELETE", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "DELETE", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json index f075a7b5c..913746f33 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A29", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A29^ADT_A29" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "DELETE", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A29", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A29^ADT_A29" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "DELETE", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:25.958Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:31:07.861Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A29^ADT_A29" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A29^ADT_A29" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "DELETE", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "DELETE", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "DELETE", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "DELETE", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "DELETE", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "DELETE", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "DELETE", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "DELETE", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "DELETE", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "DELETE", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "DELETE", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "DELETE", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "DELETE", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "DELETE", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "DELETE", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "DELETE", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "DELETE", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "DELETE", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "DELETE", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "DELETE", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "DELETE", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "DELETE", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "DELETE", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "DELETE", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "DELETE", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "DELETE", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "DELETE", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "DELETE", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "DELETE", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "DELETE", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "DELETE", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "DELETE", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "DELETE", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "DELETE", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "DELETE", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "DELETE", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A29^ADT_A29" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A29^ADT_A29" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "DELETE", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "DELETE", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "DELETE", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "DELETE", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "DELETE", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "DELETE", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "DELETE", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "DELETE", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json index ffcaffb1d..3ecd26257 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json @@ -1,4926 +1,5261 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A31", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A31^ADT_A31" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A31", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A31^ADT_A31" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:03.431Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:31:39.695Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A31^ADT_A31" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A31^ADT_A31" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "DB123", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "12121212", - "system": "phone", - "use": "home" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" - } - } - ] - } - ] - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" }, - { - "url": "text", - "valueString": "White+Asian" + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } ], - "text": "retired" - } + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } ], - "text": "Inportant Person" - } + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", - "valuePeriod": { - "start": "2021-08-30", - "end": "2021-09-30" - } + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } ], - "suffix": [ - "III", - "MD" + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } ], - "prefix": [ - "Dr." + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "individual": { + "reference": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" }, - { - "value": "121111", - "use": "home", - "system": "phone" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "account": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A31^ADT_A31" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + { + "fullUrl": "urn:uuid:9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "resource": { + "resourceType": "PractitionerRole", + "id": "9e4cb75e-9ce8-9e54-8753-35aa8553792b", + "code": [ + { + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "telecom": [ + { + "value": "fred@nnnn.com", + "system": "email" + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" + }, + "organization": { + "reference": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/9e4cb75e-9ce8-9e54-8753-35aa8553792b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ca009a9-f147-6543-1371-3e5cb0997cb6", + "resource": { + "resourceType": "Practitioner", + "id": "0ca009a9-f147-6543-1371-3e5cb0997cb6", + "identifier": [ + { + "value": "12377H87", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "John", + "A" + ], + "suffix": [ + "III", + "PHD", + "Al" + ], + "prefix": [ + "DR" + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/0ca009a9-f147-6543-1371-3e5cb0997cb6" } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:87ba6593-8c91-6188-d3e3-b6618cc27c54", + "resource": { + "resourceType": "Organization", + "id": "87ba6593-8c91-6188-d3e3-b6618cc27c54", + "name": "Good Health Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + "request": { + "method": "PUT", + "url": "Organization/87ba6593-8c91-6188-d3e3-b6618cc27c54" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "role": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" } - ] }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:41916d1a-2ff4-b491-96cb-5f6867b164fe", + "resource": { + "resourceType": "PractitionerRole", + "id": "41916d1a-2ff4-b491-96cb-5f6867b164fe", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "PP", + "display": "Primary Care Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "telecom": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Pheob@nnnn.com", + "system": "email" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "location": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "specialty": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "408443003", + "display": "General practice", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/SNOMED" + } + ] } - ], - "text": "Participation" + ], + "practitioner": { + "reference": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" + }, + "organization": { + "reference": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/41916d1a-2ff4-b491-96cb-5f6867b164fe" + } + }, + { + "fullUrl": "urn:uuid:f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "resource": { + "resourceType": "Practitioner", + "id": "f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "121" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "name": [ + { + "family": "Phoeb", + "given": [ + "Harold", + "H" + ] } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/f7ba41e0-e8cf-3b85-fe7c-7e69a2e1c49b" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:180bdf13-40ce-aa65-9610-b29334a02d27", + "resource": { + "resourceType": "Location", + "id": "180bdf13-40ce-aa65-9610-b29334a02d27", + "partOf": { + "reference": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" + }, + "name": "InternalMedicine", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A31^ADT_A31" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/180bdf13-40ce-aa65-9610-b29334a02d27" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + { + "fullUrl": "urn:uuid:fd2584ee-d5fe-42f7-8626-a054c158c046", + "resource": { + "resourceType": "Location", + "id": "fd2584ee-d5fe-42f7-8626-a054c158c046", + "name": "UniversityHospitals", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "resource": { + "resourceType": "Location", + "id": "eca283c2-0b89-9afb-9189-efa9e21f5c9f", + "partOf": { + "reference": "Location/fd2584ee-d5fe-42f7-8626-a054c158c046" + }, + "name": "Briones", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", - "resource": { - "resourceType": "Practitioner", - "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "ANES", - "given": [ - "MARK", - "B" - ] + { + "fullUrl": "urn:uuid:8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "resource": { + "resourceType": "Location", + "id": "8d1c1195-9db0-67e8-8ffa-722c8fc287e9", + "partOf": { + "reference": "Location/eca283c2-0b89-9afb-9189-efa9e21f5c9f" + }, + "name": "3", + "mode": "instance", + "description": "InternalMedicine--UniversityHospitals--C--Briones--3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d1c1195-9db0-67e8-8ffa-722c8fc287e9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - } - }, - { - "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "resource": { - "resourceType": "Practitioner", - "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", - "identifier": [ - { - "value": "121188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "resource": { + "resourceType": "Organization", + "id": "ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf", + "name": "L Multispeciality Hospital", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Patrick", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/ebf5e32a-5dbc-75ec-91c0-1dc5b21d9ecf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - } - }, - { - "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", - "resource": { - "resourceType": "Practitioner", - "id": "a8fc538f-624b-0cee-df30-6377fabae47c", - "identifier": [ - { - "value": "12345689", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Everyman2", - "given": [ - "Adam2", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - } - }, - { - "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "resource": { - "resourceType": "Location", - "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", - "name": "OT", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - } - }, - { - "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "resource": { - "resourceType": "Location", - "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", - "partOf": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "name": "201", - "mode": "instance", - "description": "OT--201", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" - } - }, - { - "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "resource": { - "resourceType": "Procedure", - "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", - "status": "unknown", - "identifier": [ - { - "value": "PR1001" + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - }, - { - "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "resource": { - "resourceType": "Procedure", - "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - } - ], - "text": "Biopsy of colon, which was part of colonoscopy" - }, - "status": "unknown", - "performedDateTime": "2005-01-25T11:40:00+01:00", - "category": { - "coding": [ - { - "code": "D", - "display": "Diagnostic Procedure", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" - } - ] - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" - }, - "function": { - "coding": [ - { - "code": "anesthesiologist-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Anesthesiologist dummy" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "text": "Anesthesiologist" - } - }, - { - "actor": { - "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" - }, - "function": { - "coding": [ - { - "code": "surgeon-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Surgeon dummy" - } + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "Surgeon" - } - }, - { - "actor": { - "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" - }, - "function": { - "coding": [ - { - "code": "procedure-practitioner-dummy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/functionalCodes-dummy", - "display": "Procedure Practitioner dummy" - } + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } ], - "text": "Procedure Practitioner" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "code": "799008", - "display": "Sigmoid colon ulcer", - "system": "http://snomed.info/sct" - } - ] - } - ], - "identifier": [ - { - "value": "PR1006" - } - ], - "location": { - "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" - }, - "partOf": [ - { - "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } ], - "suffix": [ - "II", - "MD" + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } ], - "prefix": [ - "DR" + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "resource": { - "resourceType": "Organization", - "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "onset": "2021-08-24" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "resource": { - "resourceType": "Condition", - "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", - "code": { - "coding": [ - { - "code": "422504002", - "display": "Ischemic stroke(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Stroke" - }, - "onsetDateTime": "2004-01-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } ], - "suffix": [ - "III", - "MD" + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } ], - "prefix": [ - "Dr." + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "resource": { - "resourceType": "Organization", - "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", - "name": "AuthProvider", - "identifier": [ - { - "value": "A", - "type": { - "coding": [ - { - "code": "LR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" - } - }, - { - "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "resource": { - "resourceType": "Practitioner", - "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", - "identifier": [ - { - "value": "114", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } - } - ], - "name": [ - { - "family": "Beverly", - "given": [ - "Crusher", - "An" - ], - "suffix": [ - "Mr", - "AHP", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - }, - { - "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", - "resource": { - "resourceType": "ServiceRequest", - "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "123-1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name" + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "123-2", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname" + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ], - "category": [ - { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/servicerequest-category-additionalcodes", - "code": "patient-referral-request", - "display": "Patient Referral Request" - } - ] + }, + { + "fullUrl": "urn:uuid:d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "resource": { + "resourceType": "Organization", + "id": "d74c47e9-e9cf-674d-42eb-892eec81ea1c", + "name": "AuthProvider", + "identifier": [ + { + "value": "A", + "type": { + "coding": [ + { + "code": "LR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "EXTERNAL" - } - ] + "request": { + "method": "PUT", + "url": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" } - ], - "authoredOn": "1990-05-01T12:01:00+05:15", - "performer": [ - { - "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "resource": { + "resourceType": "Practitioner", + "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb", + "identifier": [ + { + "value": "114", + "system": "http://example.com/v2-to-fhir-converter/Identifier/2.3", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Beverly", + "given": [ + "Crusher", + "An" + ], + "suffix": [ + "Mr", + "AHP", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" - } - ], - "note": [ - { - "text": "Check for metastatic disease" + "request": { + "method": "PUT", + "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" } - ], - "priority": "asap", - "reasonCode": [ - { - "coding": [ - { - "code": "R-1", - "display": "Reason", - "system": "http://www.ama-assn.org/go/cpt" + }, + { + "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f", + "resource": { + "resourceType": "ServiceRequest", + "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "123-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/name" + }, + { + "value": "123-2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Testname" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "EXTERNAL" + } + ] + } + ], + "authoredOn": "1990-05-01T12:16:00+05:30", + "performer": [ + { + "reference": "Organization/d74c47e9-e9cf-674d-42eb-892eec81ea1c" + }, + { + "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb" + } + ], + "note": [ + { + "text": "Check for metastatic disease" + } + ], + "priority": "asap", + "reasonCode": [ + { + "coding": [ + { + "code": "R-1", + "display": "Reason", + "system": "http://www.ama-assn.org/go/cpt" + } + ], + "text": "Patient has a spinal fracture" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "text": "Patient has a spinal fracture" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Goldbergn", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", - "resource": { - "resourceType": "Location", - "id": "1e053838-5797-87be-de94-00f1a32db2f8", - "name": "Route 50 intersection", - "address": { - "line": [ - "Route 50", - "Fairfax", - "VA" - ], - "postalCode": "20324" - } }, - "request": { - "method": "PUT", - "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - }, - { - "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", - "resource": { - "resourceType": "Observation", - "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", - "identifier": [ - { - "value": "5348" - } - ], - "status": "final", - "code": { - "coding": [ - { - "code": "11374-6", - "display": "Injury incident description Narrative", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "JRII", - "display": "Job related Injury Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } }, - { - "code": { - "coding": [ - { - "code": "7878000", - "display": "Accidental Death Indicator", - "system": "http://snomed.info/sct" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "N", - "display": "No", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } ] - } }, - { - "code": { - "coding": [ - { - "code": "PNI", - "display": "Police Notification Indicator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AccidentIndicators" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "Y", - "display": "Yes", - "system": "http://terminology.hl7.org/CodeSystem/v2-0136" - } - ] - } - } - ], - "valueString": "vehicle acident", - "effectiveDateTime": "2014-03-17", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "performer": [ - { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", - "valueReference": { - "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json index c9d4c9cc7..56f05b8af 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json @@ -1,2025 +1,2024 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A31", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A31^ADT_A31" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A31", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A31^ADT_A31" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:15.868Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:32:11.858Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A31^ADT_A31" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A31^ADT_A31" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:ac14f3be-177d-8a42-2ebc-13be1ada1ceb", - "resource": { - "resourceType": "Account", - "id": "ac14f3be-177d-8a42-2ebc-13be1ada1ceb", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:ac14f3be-177d-8a42-2ebc-13be1ada1ceb", + "resource": { + "resourceType": "Account", + "id": "ac14f3be-177d-8a42-2ebc-13be1ada1ceb", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:2.4", + "assigner": { + "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:2.4", - "assigner": { - "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" - } - }, - { - "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", - "resource": { - "resourceType": "Organization", - "id": "9d4c8327-8a28-8152-1898-8251baa707b7", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:2.4", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7", + "resource": { + "resourceType": "Organization", + "id": "9d4c8327-8a28-8152-1898-8251baa707b7", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:2.4", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", - "resource": { - "resourceType": "Practitioner", - "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:2.8", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342", + "resource": { + "resourceType": "Practitioner", + "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:2.8", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", - "resource": { - "resourceType": "Organization", - "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:r2.3", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764", + "resource": { + "resourceType": "Organization", + "id": "9f974d4f-47e8-21a6-e549-4de4599c3764", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:r2.3", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:r2.3", + "assigner": { + "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:r2.3", - "assigner": { - "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/ac14f3be-177d-8a42-2ebc-13be1ada1ceb" + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", - "resource": { - "resourceType": "Provenance", - "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" - } - } - ], - "activity": { - "text": "ADT^A31^ADT_A31" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "resource": { + "resourceType": "Provenance", + "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" + } + } + ], + "activity": { + "text": "ADT^A31^ADT_A31" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c" - } - }, - { - "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", - "resource": { - "resourceType": "Organization", - "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:W1.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee", + "resource": { + "resourceType": "Organization", + "id": "ef39f581-5e8f-3917-35a9-3443303d9eee", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:W1.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" - } - }, - { - "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", - "resource": { - "resourceType": "Practitioner", - "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:W1.2", - "assigner": { - "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992", + "resource": { + "resourceType": "Practitioner", + "id": "95aea53b-8d49-d57f-d16f-4d14b914f992", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:W1.2", + "assigner": { + "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json index 5f216dd42..2fe10c81c 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-01-expected.json @@ -1,253 +1,253 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-04-23T15:01:37+02:15", + "timestamp": "2019-04-23T18:16:37+05:30", "identifier": { - "value": "8919-40" + "value": "8919-40" }, "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", "entry": [ - { - "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", - "resource": { - "resourceType": "MessageHeader", - "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", - "source": { - "name": "Ntierprise", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" + }, + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" } - ] - } - }, - "destination": [ - { - "name": "Healthmatics EHR", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A40", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A40^ADT_A40" - }, - "sender": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" - } - }, - { - "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", - "resource": { - "resourceType": "Provenance", - "id": "17de3c50-3288-08bc-469e-be7ec466eac8", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:55.052Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" - }, - "occurredDateTime": "2019-04-23T15:01:37+02:15", - "recorded": "2019-04-23T15:01:37+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:32:41.716Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T18:16:37+05:30", + "recorded": "2019-04-23T18:16:37+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" + } + ] + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } ] - }, - "who": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A40^ADT_A40" - } - ] - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" - } - }, - { - "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", - "resource": { - "resourceType": "Organization", - "id": "109d1e78-889d-ebe3-b804-22cee315e8df", - "identifier": [ - { - "value": "Ntierprise Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - }, - { - "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "resource": { - "resourceType": "Organization", - "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "identifier": [ - { - "value": "Healthmatics Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } - }, - { - "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", - "resource": { - "resourceType": "Provenance", - "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", - "recorded": "2019-04-23T15:01:37+02:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } - } - ], - "activity": { - "text": "ADT^A40^ADT_A40" - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T18:16:37+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" - } - }, - { - "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "resource": { - "resourceType": "Practitioner", - "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "identifier": [ - { - "value": "13" - } - ], - "name": [ - { - "family": "Berry" + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } - }, - { - "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", - "resource": { - "resourceType": "Linkage", - "id": "5954c994-f412-af04-3361-90ef6d96f005", - "item": [ - { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "12345", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + } + ] }, - { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "56789", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" } - ] - }, - "request": { - "method": "PUT", - "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json index 2bb41c273..357e5a107 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A40/ADT-A40-02-expected.json @@ -1,291 +1,291 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-04-23T15:01:37+02:15", + "timestamp": "2019-04-23T18:16:37+05:30", "identifier": { - "value": "8919-40" + "value": "8919-40" }, "id": "b27fc313-56c8-37ac-91c9-fc7513b0ee2e", "entry": [ - { - "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", - "resource": { - "resourceType": "MessageHeader", - "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", - "source": { - "name": "Ntierprise", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:20b57098-4376-ae45-0cb1-348b9f57e03a", + "resource": { + "resourceType": "MessageHeader", + "id": "20b57098-4376-ae45-0cb1-348b9f57e03a", + "source": { + "name": "Ntierprise", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "Healthmatics EHR", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A40", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A40^ADT_A40" + }, + "sender": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" } - ] - } - }, - "destination": [ - { - "name": "Healthmatics EHR", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A40", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A40^ADT_A40" - }, - "sender": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/20b57098-4376-ae45-0cb1-348b9f57e03a" - } - }, - { - "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", - "resource": { - "resourceType": "Provenance", - "id": "17de3c50-3288-08bc-469e-be7ec466eac8", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:05.023Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" - }, - "occurredDateTime": "2019-04-23T15:01:37+02:15", - "recorded": "2019-04-23T15:01:37+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:17de3c50-3288-08bc-469e-be7ec466eac8", + "resource": { + "resourceType": "Provenance", + "id": "17de3c50-3288-08bc-469e-be7ec466eac8", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:33:05.922Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A40.

" + }, + "occurredDateTime": "2019-04-23T18:16:37+05:30", + "recorded": "2019-04-23T18:16:37+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A40^ADT_A40" + } + ] + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } ] - }, - "who": { - "reference": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A40^ADT_A40" - } - ] - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + }, + "request": { + "method": "PUT", + "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/17de3c50-3288-08bc-469e-be7ec466eac8" - } - }, - { - "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", - "resource": { - "resourceType": "Organization", - "id": "109d1e78-889d-ebe3-b804-22cee315e8df", - "identifier": [ - { - "value": "Ntierprise Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Ntierprise-Clinic" + { + "fullUrl": "urn:uuid:109d1e78-889d-ebe3-b804-22cee315e8df", + "resource": { + "resourceType": "Organization", + "id": "109d1e78-889d-ebe3-b804-22cee315e8df", + "identifier": [ + { + "value": "Ntierprise Clinic", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Ntierprise-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/109d1e78-889d-ebe3-b804-22cee315e8df" - } - }, - { - "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "resource": { - "resourceType": "Organization", - "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", - "identifier": [ - { - "value": "Healthmatics Clinic", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Healthmatics-Clinic" + { + "fullUrl": "urn:uuid:a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "resource": { + "resourceType": "Organization", + "id": "a5a353ac-11e0-2861-0313-0f8c392bf3c6", + "identifier": [ + { + "value": "Healthmatics Clinic", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Healthmatics-Clinic" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a5a353ac-11e0-2861-0313-0f8c392bf3c6" - } - }, - { - "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", - "resource": { - "resourceType": "Provenance", - "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", - "recorded": "2019-04-23T15:01:37+02:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } - } - ], - "activity": { - "text": "ADT^A40^ADT_A40" - }, - "target": [ - { - "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + { + "fullUrl": "urn:uuid:377cdef1-68f5-04d8-2aca-8cf70adde926", + "resource": { + "resourceType": "Provenance", + "id": "377cdef1-68f5-04d8-2aca-8cf70adde926", + "recorded": "2019-04-23T18:16:37+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" + } + } + ], + "activity": { + "text": "ADT^A40^ADT_A40" + }, + "target": [ + { + "reference": "Bundle/b27fc313-56c8-37ac-91c9-fc7513b0ee2e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/377cdef1-68f5-04d8-2aca-8cf70adde926" - } - }, - { - "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "resource": { - "resourceType": "Practitioner", - "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", - "identifier": [ - { - "value": "13" - } - ], - "name": [ - { - "family": "Berry" + { + "fullUrl": "urn:uuid:6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "resource": { + "resourceType": "Practitioner", + "id": "6eb92c1f-cdee-06fa-a24b-a9958e88dc68", + "identifier": [ + { + "value": "13" + } + ], + "name": [ + { + "family": "Berry" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6eb92c1f-cdee-06fa-a24b-a9958e88dc68" - } - }, - { - "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", - "resource": { - "resourceType": "Linkage", - "id": "5954c994-f412-af04-3361-90ef6d96f005", - "item": [ - { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "12345", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, - { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "56789", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } - }, - { - "type": "source", - "resource": { - "type": "Patient", - "identifier": { - "value": "145", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + { + "fullUrl": "urn:uuid:5954c994-f412-af04-3361-90ef6d96f005", + "resource": { + "resourceType": "Linkage", + "id": "5954c994-f412-af04-3361-90ef6d96f005", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "12345", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "56789", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + }, + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "145", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "569", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } + } + ] }, - { - "type": "historical", - "resource": { - "type": "Patient", - "identifier": { - "value": "569", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BCBS" - } - } + "request": { + "method": "PUT", + "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" } - ] - }, - "request": { - "method": "PUT", - "url": "Linkage/5954c994-f412-af04-3361-90ef6d96f005" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json index d1681158d..07c0c5a37 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-01-expected.json @@ -1,526 +1,525 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A41", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A41^ADT_A41" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:31.167Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:33:38.189Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A41^ADT_A41" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A41^ADT_A41" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:47ef213c-df51-8b48-5303-78ad9d9838b2", - "resource": { - "resourceType": "Linkage", - "id": "47ef213c-df51-8b48-5303-78ad9d9838b2", - "item": [ - { - "type": "source", - "resource": { - "type": "Account", - "identifier": { - "value": "4000776", - "type": { + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } } - } }, - { - "type": "historical", - "resource": { - "type": "Account", - "identifier": { - "value": "ACC1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - } - } + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Linkage/47ef213c-df51-8b48-5303-78ad9d9838b2" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:47ef213c-df51-8b48-5303-78ad9d9838b2", + "resource": { + "resourceType": "Linkage", + "id": "47ef213c-df51-8b48-5303-78ad9d9838b2", + "item": [ + { + "type": "source", + "resource": { + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + } + }, + { + "type": "historical", + "resource": { + "type": "Account", + "identifier": { + "value": "ACC1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + } + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Linkage/47ef213c-df51-8b48-5303-78ad9d9838b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json index 43c7ee207..b2b0c7384 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A41/ADT-A41-02-expected.json @@ -1,474 +1,473 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A41", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A41^ADT_A41" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A41", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A41^ADT_A41" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:20.026Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:34:02.952Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A41.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A41^ADT_A41" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A41^ADT_A41" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A41^ADT_A41" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A41^ADT_A41" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:c210dc77-8f38-85ac-0201-f6a3d88da448", - "resource": { - "resourceType": "Linkage", - "id": "c210dc77-8f38-85ac-0201-f6a3d88da448", - "item": [ - { - "type": "source", - "resource": { - "type": "Account", - "identifier": { - "value": "4000776", - "type": { + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } } - } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ] }, - "request": { - "method": "PUT", - "url": "Linkage/c210dc77-8f38-85ac-0201-f6a3d88da448" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c210dc77-8f38-85ac-0201-f6a3d88da448", + "resource": { + "resourceType": "Linkage", + "id": "c210dc77-8f38-85ac-0201-f6a3d88da448", + "item": [ + { + "type": "source", + "resource": { + "type": "Account", + "identifier": { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Linkage/c210dc77-8f38-85ac-0201-f6a3d88da448" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-01-expected.json new file mode 100644 index 000000000..e0fca0157 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-01-expected.json @@ -0,0 +1,798 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T19:35:00+05:30", + "identifier": { + "value": "MSG00045" + }, + "id": "2f2138a1-bd04-c948-33ff-229ea2b1da24", + "entry": [ + { + "fullUrl": "urn:uuid:1c679f21-46f2-a192-d95e-b6455ee18072", + "resource": { + "resourceType": "MessageHeader", + "id": "1c679f21-46f2-a192-d95e-b6455ee18072", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A45", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A45^ADT_A45" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/1c679f21-46f2-a192-d95e-b6455ee18072" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T11:07:37.516Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A45.

" + }, + "occurredDateTime": "2021-01-15T19:35:00+05:30", + "recorded": "2021-01-15T19:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A45^ADT_A45" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/2f2138a1-bd04-c948-33ff-229ea2b1da24" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A45^ADT_A45" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/2f2138a1-bd04-c948-33ff-229ea2b1da24" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "resource": { + "resourceType": "Location", + "id": "fe7489c5-7f77-c511-74ad-13c0242bf5d1", + "partOf": { + "reference": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + }, + { + "fullUrl": "urn:uuid:4000d832-f001-23ad-19ff-ecd90dde6fb0", + "resource": { + "resourceType": "Location", + "id": "4000d832-f001-23ad-19ff-ecd90dde6fb0", + "partOf": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + } + }, + { + "fullUrl": "urn:uuid:d27662df-7371-3a1d-d50e-942876e50bb8", + "resource": { + "resourceType": "Location", + "id": "d27662df-7371-3a1d-d50e-942876e50bb8", + "partOf": { + "reference": "Location/4000d832-f001-23ad-19ff-ecd90dde6fb0" + }, + "name": "BED1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27662df-7371-3a1d-d50e-942876e50bb8" + } + }, + { + "fullUrl": "urn:uuid:7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "resource": { + "resourceType": "Location", + "id": "7c6ba0e4-256f-ad38-dec4-abe91db717d4", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + } + }, + { + "fullUrl": "urn:uuid:04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "resource": { + "resourceType": "Location", + "id": "04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528", + "partOf": { + "reference": "Location/7c6ba0e4-256f-ad38-dec4-abe91db717d4" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + } + }, + { + "fullUrl": "urn:uuid:5689c61e-b130-c8c9-9152-47b1a67f9059", + "resource": { + "resourceType": "Location", + "id": "5689c61e-b130-c8c9-9152-47b1a67f9059", + "partOf": { + "reference": "Location/04a989c0-7b14-d5bd-cc7c-4a3ef3ab7528" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5689c61e-b130-c8c9-9152-47b1a67f9059" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/fe7489c5-7f77-c511-74ad-13c0242bf5d1" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-02-expected.json new file mode 100644 index 000000000..51b482f56 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A45/ADT-A45-02-expected.json @@ -0,0 +1,637 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-09-14T14:35:00+05:30", + "identifier": { + "value": "MSG00045" + }, + "id": "2f2138a1-bd04-c948-33ff-229ea2b1da24", + "entry": [ + { + "fullUrl": "urn:uuid:1c679f21-46f2-a192-d95e-b6455ee18072", + "resource": { + "resourceType": "MessageHeader", + "id": "1c679f21-46f2-a192-d95e-b6455ee18072", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A45", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A45^ADT_A45" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/1c679f21-46f2-a192-d95e-b6455ee18072" + } + }, + { + "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "resource": { + "resourceType": "Provenance", + "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T11:08:19.678Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A45.

" + }, + "occurredDateTime": "2021-09-14T14:35:00+05:30", + "recorded": "2021-09-14T14:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A45^ADT_A45" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + } + ], + "target": [ + { + "reference": "Bundle/2f2138a1-bd04-c948-33ff-229ea2b1da24" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:de4a0e37-220f-608a-1333-2640637851e9", + "resource": { + "resourceType": "Device", + "id": "de4a0e37-220f-608a-1333-2640637851e9", + "identifier": [ + { + "value": "ADT1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/de4a0e37-220f-608a-1333-2640637851e9" + } + }, + { + "fullUrl": "urn:uuid:f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "resource": { + "resourceType": "Provenance", + "id": "f63d3422-af5c-03f8-aa55-5f20d0d11aef", + "occurredDateTime": "2021-01-15T19:15:10+05:30", + "recorded": "2021-01-15T19:15:10+05:30", + "reason": [ + { + "coding": [ + { + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "activity": { + "text": "ADT^A45^ADT_A45" + }, + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + }, + "target": [ + { + "reference": "Bundle/2f2138a1-bd04-c948-33ff-229ea2b1da24" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/f63d3422-af5c-03f8-aa55-5f20d0d11aef" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:10+05:30", + "end": "2020-01-15T19:15:10+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:221b9db9-1de9-90d1-9fbf-9523a06e427c", + "resource": { + "resourceType": "Location", + "id": "221b9db9-1de9-90d1-9fbf-9523a06e427c", + "name": "OPD", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + }, + { + "fullUrl": "urn:uuid:680e3787-2fea-c526-fddc-fe7799c0dbf8", + "resource": { + "resourceType": "Location", + "id": "680e3787-2fea-c526-fddc-fe7799c0dbf8", + "partOf": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + }, + "name": "0001", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + } + }, + { + "fullUrl": "urn:uuid:75e3808c-5e3e-9ab9-7124-2fb485353fba", + "resource": { + "resourceType": "Location", + "id": "75e3808c-5e3e-9ab9-7124-2fb485353fba", + "partOf": { + "reference": "Location/680e3787-2fea-c526-fddc-fe7799c0dbf8" + }, + "name": "01", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/75e3808c-5e3e-9ab9-7124-2fb485353fba" + } + }, + { + "fullUrl": "urn:uuid:f3a48419-5674-2456-0237-ea79a6293066", + "resource": { + "resourceType": "Location", + "id": "f3a48419-5674-2456-0237-ea79a6293066", + "name": "GOOD HEALTH HOSPITAL", + "mode": "instance", + "description": "OPD--0001--01--GOOD HEALTH HOSPITAL", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3a48419-5674-2456-0237-ea79a6293066" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:44df213f-8747-2b7d-e015-7d5395856f00", + "resource": { + "resourceType": "Encounter", + "id": "44df213f-8747-2b7d-e015-7d5395856f00", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/221b9db9-1de9-90d1-9fbf-9523a06e427c" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + } + ], + "identifier": [ + { + "value": "5010", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-02-15T19:15:10+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/44df213f-8747-2b7d-e015-7d5395856f00" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json index d54915a37..448bfb612 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json @@ -1,1041 +1,460 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG000047" + }, + "id": "6fa20277-bf9c-905a-5d40-1cd7d031bf8c", + "entry": [ + { + "fullUrl": "urn:uuid:e0b792ce-ba9b-a321-f728-0f033ec397cd", + "resource": { + "resourceType": "MessageHeader", + "id": "e0b792ce-ba9b-a321-f728-0f033ec397cd", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A47", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A47^ADT_A47" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "meta": { - "security": [ + }, + "request": { + "method": "PUT", + "url": "MessageHeader/e0b792ce-ba9b-a321-f728-0f033ec397cd" + } + }, + { + "fullUrl": "urn:uuid:23c00b65-828b-feeb-5045-f059c5968e5e", + "resource": { + "resourceType": "Provenance", + "id": "23c00b65-828b-feeb-5045-f059c5968e5e", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:14:20.192Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } } ], - "tag": [ + "activity": { + "coding": [ + { + "display": "ADT^A47^ADT_A47" + } + ] + }, + "entity": [ { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/6fa20277-bf9c-905a-5d40-1cd7d031bf8c" } ] }, - "eventCoding": { - "code": "A47", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A47^ADT_A47" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "Provenance/23c00b65-828b-feeb-5045-f059c5968e5e" } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:41.806Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "activity": { - "coding": [ + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ { - "display": "ADT^A47^ADT_A47" + "country": "USA" } ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + "address": [ + { + "country": "USA" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + ] }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + ], + "version": [ + { + "value": "2.4.3.52854" } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d72b1c69-6660-8f54-eab7-81ef5515b7ea", + "resource": { + "resourceType": "Provenance", + "id": "d72b1c69-6660-8f54-eab7-81ef5515b7ea", + "occurredDateTime": "2021-01-15T16:00:10Z", + "recorded": "2021-01-15T16:00:10Z", + "reason": [ + { "coding": [ { - "code": "DL" + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } } + ], + "activity": { + "text": "ADT^A47^ADT_A47" }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ + "target": [ { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" + "reference": "Bundle/6fa20277-bf9c-905a-5d40-1cd7d031bf8c" } ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" + "request": { + "method": "PUT", + "url": "Provenance/d72b1c69-6660-8f54-eab7-81ef5515b7ea" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } ] }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - { - "url": "text", - "valueString": "White+Asian" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10Z", + "end": "2020-01-15T16:00:10Z" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { + ], + "physicalType": { "coding": [ { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A47^ADT_A47" }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" + } }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + { + "fullUrl": "urn:uuid:b6df7006-a5f9-b044-4853-23608582656d", + "resource": { + "resourceType": "Linkage", + "id": "b6df7006-a5f9-b044-4853-23608582656d", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "MR101", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/GOOD-HEALTH-HOSPITAL" } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "MR102", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } } ] + }, + "request": { + "method": "PUT", + "url": "Linkage/b6df7006-a5f9-b044-4853-23608582656d" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } - ] -} \ No newline at end of file + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json index 1a7c57c46..2fcaf1697 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json @@ -1,939 +1,498 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", - "identifier": { - "value": "MSG00001" - }, - "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", - "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG000047" + }, + "id": "6fa20277-bf9c-905a-5d40-1cd7d031bf8c", + "entry": [ + { + "fullUrl": "urn:uuid:e0b792ce-ba9b-a321-f728-0f033ec397cd", + "resource": { + "resourceType": "MessageHeader", + "id": "e0b792ce-ba9b-a321-f728-0f033ec397cd", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A47", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A47^ADT_A47" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "meta": { - "security": [ + }, + "request": { + "method": "PUT", + "url": "MessageHeader/e0b792ce-ba9b-a321-f728-0f033ec397cd" + } + }, + { + "fullUrl": "urn:uuid:23c00b65-828b-feeb-5045-f059c5968e5e", + "resource": { + "resourceType": "Provenance", + "id": "23c00b65-828b-feeb-5045-f059c5968e5e", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:15:18.933Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" + }, + "occurredDateTime": "1989-08-18T11:26:00+02:15", + "recorded": "1989-08-18T11:26:00+02:15", + "agent": [ { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } } ], - "tag": [ + "activity": { + "coding": [ + { + "display": "ADT^A47^ADT_A47" + } + ] + }, + "entity": [ { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/6fa20277-bf9c-905a-5d40-1cd7d031bf8c" } ] }, - "eventCoding": { - "code": "A47", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A47^ADT_A47" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "Provenance/23c00b65-828b-feeb-5045-f059c5968e5e" } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:53.472Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "activity": { - "coding": [ + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ { - "display": "ADT^A47^ADT_A47" + "country": "USA" } ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + "address": [ + { + "country": "USA" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + ] }, - "address": [ - { - "country": "USA" - } - ] + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" - } - ] + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + ], + "version": [ + { + "value": "2.4.3.52854" } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:d72b1c69-6660-8f54-eab7-81ef5515b7ea", + "resource": { + "resourceType": "Provenance", + "id": "d72b1c69-6660-8f54-eab7-81ef5515b7ea", + "occurredDateTime": "2021-01-15T16:00:10Z", + "recorded": "2021-01-15T16:00:10Z", + "reason": [ + { "coding": [ { - "code": "DL" + "code": "HOPERAT", + "display": "healthcare operations", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" + ], + "agent": [ + { + "who": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } } + ], + "activity": { + "text": "ADT^A47^ADT_A47" }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + "location": { + "reference": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ + "target": [ { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" + "reference": "Bundle/6fa20277-bf9c-905a-5d40-1cd7d031bf8c" } ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" + "request": { + "method": "PUT", + "url": "Provenance/d72b1c69-6660-8f54-eab7-81ef5515b7ea" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } ] }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" }, - { - "url": "text", - "valueString": "White+Asian" + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T16:00:10Z", + "end": "2020-01-15T16:00:10Z" } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" + { + "fullUrl": "urn:uuid:9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "resource": { + "resourceType": "Location", + "id": "9b7cb9bd-a061-04d1-4757-24dbda8f72b2", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" } - } - ], - "relationship": [ - { + ], + "physicalType": { "coding": [ { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" } ] } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/9b7cb9bd-a061-04d1-4757-24dbda8f72b2" } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:b6df7006-a5f9-b044-4853-23608582656d", + "resource": { + "resourceType": "Linkage", + "id": "b6df7006-a5f9-b044-4853-23608582656d", + "item": [ + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "MR101", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/GOOD-HEALTH-HOSPITAL" + } } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A47^ADT_A47" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + }, + { + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "MR102", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + { + "type": "source", + "resource": { + "type": "Patient", + "identifier": { + "value": "145", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" - } - ], - "physicalType": { - "coding": [ + } + }, { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + "type": "historical", + "resource": { + "type": "Patient", + "identifier": { + "value": "569", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/BCBS" + } + } } ] + }, + "request": { + "method": "PUT", + "url": "Linkage/b6df7006-a5f9-b044-4853-23608582656d" } - }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - } - ] -} \ No newline at end of file + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json index ceee29ff1..914658ae6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json @@ -1,2736 +1,2735 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A60", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A60^ADT_A60" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A60", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A60^ADT_A60" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:49.571Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:35:48.122Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A60^ADT_A60" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A60^ADT_A60" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" } - } - ] - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "finished", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "consultant" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10", - "end": "2015-02-09T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - }, - { - "code": "PERSISTLABEL", - "display": "persist security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "LOCIS", - "display": "location information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "code": "PHY", - "display": "physician requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "No disclosure of patient location" - }, - { + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + { + "code": "PERSISTLABEL", + "display": "persist security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "LOCIS", + "display": "location information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PHY", + "display": "physician requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "No disclosure of patient location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T13:45:00+05:30", + "end": "2022-11-18T13:45:00+05:30" + } + } + ] + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00+02:15", - "end": "2022-11-18T10:30:00+02:15" + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } } - } ] - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" - } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A60^ADT_A60" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A60^ADT_A60" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "373c1fcc-c86b-470a-6469-b7642c16262d", - "identifier": [ - { - "value": "56789", - "system": "urn:oid:1.3.6.1.4.1.44750.1.4", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "373c1fcc-c86b-470a-6469-b7642c16262d", + "identifier": [ + { + "value": "56789", + "system": "urn:oid:1.3.6.1.4.1.44750.1.4", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "category": [ + "food" + ], + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "91935009", + "display": "Allergy to Peanuts", + "system": "http://snomed.info/sct" + } + ] + }, + "reaction": [ + { + "severity": "mild", + "description": "Allergy+No Action taken", + "manifestation": [ + { + "coding": [ + { + "code": "34567", + "display": "Skin Rashness", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ] + } + ], + "onsetDateTime": "2018-05", + "recordedDate": "2020-10-10T19:15:00+05:30", + "verificationStatus": { + "coding": [ + { + "code": "confirmed", + "display": "Confirmed", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + } + ] + }, + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "meta": { + "lastUpdated": "2020-10-15T19:15:00+05:30" + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "recorder": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + }, + "asserter": { + "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + }, + "type": "allergy", + "_type": { + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", + "valueCode": "SE" + } + ] + }, + "note": [ + { + "text": "Allergy to peanuts observed.", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } ] - } - } - ], - "category": [ - "food" - ], - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "91935009", - "display": "Allergy to Peanuts", - "system": "http://snomed.info/sct" - } - ] - }, - "reaction": [ - { - "severity": "mild", - "description": "Allergy+No Action taken", - "manifestation": [ - { - "coding": [ - { - "code": "34567", - "display": "Skin Rashness", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ] - } - ], - "onsetDateTime": "2018-05", - "recordedDate": "2020-10-10T16:00:00+02:15", - "verificationStatus": { - "coding": [ - { - "code": "confirmed", - "display": "Confirmed", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" - } - ] - }, - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "meta": { - "lastUpdated": "2020-10-15T16:00:00+02:15" - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "recorder": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - }, - "asserter": { - "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" - }, - "type": "allergy", - "_type": { - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", - "valueCode": "side-effect" - } - ] - }, - "note": [ - { - "text": "Allergy to peanuts observed.", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" } - ] }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", - "resource": { - "resourceType": "RelatedPerson", - "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", + "resource": { + "resourceType": "RelatedPerson", + "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json index ac410c5ca..2dca0d6d3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json @@ -1,1146 +1,1145 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", - "resource": { - "resourceType": "MessageHeader", - "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "A60", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ADT^A60^ADT_A60" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "A60", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ADT^A60^ADT_A60" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" - } - }, - { - "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "resource": { - "resourceType": "Provenance", - "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:06.223Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:36:15.029Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ADT^A60^ADT_A60" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ADT^A60^ADT_A60" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", - "resource": { - "resourceType": "Device", - "id": "503eb873-22fb-8199-ae28-3604ad59fe13", - "identifier": [ - { - "value": "ADTApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "resource": { - "resourceType": "Provenance", - "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", - "occurredDateTime": "2021-08-17T15:19:43.004+02:00", - "recorded": "2029-08-01T07:06:24+01:15", - "reason": [ - { - "coding": [ - { - "code": "PATRQT", - "display": "patient requested", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "agent": [ - { - "who": { - "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - } - ], - "activity": { - "text": "ADT^A60^ADT_A60" - }, - "location": { - "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - }, - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" - } - }, - { - "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", - "resource": { - "resourceType": "Organization", - "id": "3cd92576-75fd-2465-a15f-b469be921588", - "identifier": [ - { - "value": "DRNBR", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "ADT^A60^ADT_A60" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - } - }, - { - "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", - "resource": { - "resourceType": "Practitioner", - "id": "96931008-2247-6199-b3c0-0ee12e528d72", - "identifier": [ - { - "value": "C08", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" - }, - "type": { - "coding": [ - { - "code": "ANON", - "display": "Anonymous identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen", - "2ndname" - ], - "suffix": [ - "Jr", - "MD" - ], - "prefix": [ - "Dr" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" - } - }, - { - "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", - "resource": { - "resourceType": "Location", - "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", - "name": "Cona_Health", - "identifier": [ - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.4", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "display": "site", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" - } - }, - { - "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "373c1fcc-c86b-470a-6469-b7642c16262d", - "identifier": [ - { - "value": "56789", - "system": "urn:oid:1.3.6.1.4.1.44750.1.4", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" } - ], - "category": [ - "food" - ], - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "91935009", - "display": "Allergy to Peanuts", - "system": "http://snomed.info/sct" - } - ] - }, - "onsetDateTime": "2018-05", - "recordedDate": "2020-10-10T16:00:00+02:15", - "verificationStatus": { - "coding": [ - { - "code": "confirmed", - "display": "Confirmed", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" - } - ] - }, - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "meta": { - "lastUpdated": "2020-10-15T16:00:00+02:15" - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "recorder": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - }, - "asserter": { - "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" - }, - "type": "allergy", - "_type": { - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", - "valueCode": "side-effect" - } - ] - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:373c1fcc-c86b-470a-6469-b7642c16262d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "373c1fcc-c86b-470a-6469-b7642c16262d", + "identifier": [ + { + "value": "56789", + "system": "urn:oid:1.3.6.1.4.1.44750.1.4", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "category": [ + "food" + ], + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "91935009", + "display": "Allergy to Peanuts", + "system": "http://snomed.info/sct" + } + ] + }, + "onsetDateTime": "2018-05", + "recordedDate": "2020-10-10T19:15:00+05:30", + "verificationStatus": { + "coding": [ + { + "code": "confirmed", + "display": "Confirmed", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" + } + ] + }, + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "meta": { + "lastUpdated": "2020-10-15T19:15:00+05:30" + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "recorder": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + }, + "asserter": { + "reference": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" + }, + "type": "allergy", + "_type": { + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/allergyintolerance-type", + "valueCode": "SE" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "AllergyIntolerance/373c1fcc-c86b-470a-6469-b7642c16262d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", - "resource": { - "resourceType": "RelatedPerson", - "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:0a6b16c1-29cf-715d-336e-ab26980ed904", + "resource": { + "resourceType": "RelatedPerson", + "id": "0a6b16c1-29cf-715d-336e-ab26980ed904", + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/0a6b16c1-29cf-715d-336e-ab26980ed904" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-01-expected.json new file mode 100644 index 000000000..1be284ac3 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-01-expected.json @@ -0,0 +1,5100 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P01^BAR_P01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:21:26.085Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P01.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P01^BAR_P01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P01^BAR_P01" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "servicePeriod": { + "start": "2029-08-01T11:21:24+05:30" + }, + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-02-expected.json new file mode 100644 index 000000000..d473452f3 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P01/BAR-P01-02-expected.json @@ -0,0 +1,5196 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P01^BAR_P01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:22:05.364Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P01.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P01^BAR_P01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "resource": { + "resourceType": "Provenance", + "id": "07eea8d4-d9d1-105e-9d76-23efad1ef94d", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P01^BAR_P01" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/07eea8d4-d9d1-105e-9d76-23efad1ef94d" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "servicePeriod": { + "start": "2029-08-01T11:21:24+05:30" + }, + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:5e70576e-6eac-eb19-4f4a-0f6cfeeb2f30", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "5e70576e-6eac-eb19-4f4a-0f6cfeeb2f30", + "status": "active", + "identifier": [ + { + "value": "EOC1245", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/5991eb42-526a-fbf7-e37c-de2b312d182c" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/5e70576e-6eac-eb19-4f4a-0f6cfeeb2f30" + } + }, + { + "fullUrl": "urn:uuid:e797ca80-e9da-4aaf-4177-d6a681cece28", + "resource": { + "resourceType": "Encounter", + "id": "e797ca80-e9da-4aaf-4177-d6a681cece28", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "R", + "display": "Routine", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ] + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/5e70576e-6eac-eb19-4f4a-0f6cfeeb2f30" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "MED" + } + ] + }, + "identifier": [ + { + "value": "40007715", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "48", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-06T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/5991eb42-526a-fbf7-e37c-de2b312d182c" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/e797ca80-e9da-4aaf-4177-d6a681cece28" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:be7a4c07-0819-a80a-821a-22b1d7ec84ce", + "resource": { + "resourceType": "Observation", + "id": "be7a4c07-0819-a80a-821a-22b1d7ec84ce", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 80, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 110, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "2015-02-06", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "encounter": { + "reference": "Encounter/e797ca80-e9da-4aaf-4177-d6a681cece28" + } + }, + "request": { + "method": "PUT", + "url": "Observation/be7a4c07-0819-a80a-821a-22b1d7ec84ce" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/e797ca80-e9da-4aaf-4177-d6a681cece28" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:5991eb42-526a-fbf7-e37c-de2b312d182c", + "resource": { + "resourceType": "Condition", + "id": "5991eb42-526a-fbf7-e37c-de2b312d182c", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2015-02-06T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5991eb42-526a-fbf7-e37c-de2b312d182c" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" + } + }, + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-01-expected.json new file mode 100644 index 000000000..8fffc12b4 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-01-expected.json @@ -0,0 +1,2465 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P02^BAR_P02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:23:26.781Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P02.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P02^BAR_P02" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:0d294d4d-3c8c-be35-4813-e61ba6e34968", + "resource": { + "resourceType": "Provenance", + "id": "0d294d4d-3c8c-be35-4813-e61ba6e34968", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P02^BAR_P02" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0d294d4d-3c8c-be35-4813-e61ba6e34968" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "entered-in-error", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:c1930384-4018-a75c-1bd9-d31eb400b536", + "resource": { + "resourceType": "Patient", + "id": "c1930384-4018-a75c-1bd9-d31eb400b536", + "identifier": [ + { + "value": "PAT234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + }, + { + "fullUrl": "urn:uuid:c5f308ed-14b4-f76e-edf2-aec648ee7e43", + "resource": { + "resourceType": "Account", + "id": "c5f308ed-14b4-f76e-edf2-aec648ee7e43", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "entered-in-error", + "subject": [ + { + "reference": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/c5f308ed-14b4-f76e-edf2-aec648ee7e43" + } + }, + { + "fullUrl": "urn:uuid:86044f29-6556-e736-a29e-1beb75a3b0ad", + "resource": { + "resourceType": "RelatedPerson", + "id": "86044f29-6556-e736-a29e-1beb75a3b0ad", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86044f29-6556-e736-a29e-1beb75a3b0ad" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-02-expected.json new file mode 100644 index 000000000..367efa833 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P02/BAR-P02-02-expected.json @@ -0,0 +1,2791 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321", + "resource": { + "resourceType": "MessageHeader", + "id": "b4ca189b-51ae-33df-cbe2-559b4423a321", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P02^BAR_P02" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321" + } + }, + { + "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "resource": { + "resourceType": "Provenance", + "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:23:59.483Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P02.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P02^BAR_P02" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13", + "resource": { + "resourceType": "Device", + "id": "503eb873-22fb-8199-ae28-3604ad59fe13", + "identifier": [ + { + "value": "ADTApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:0d294d4d-3c8c-be35-4813-e61ba6e34968", + "resource": { + "resourceType": "Provenance", + "id": "0d294d4d-3c8c-be35-4813-e61ba6e34968", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P02^BAR_P02" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0d294d4d-3c8c-be35-4813-e61ba6e34968" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "DB-3", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "entered-in-error", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:c1930384-4018-a75c-1bd9-d31eb400b536", + "resource": { + "resourceType": "Patient", + "id": "c1930384-4018-a75c-1bd9-d31eb400b536", + "identifier": [ + { + "value": "PAT234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "DB-4", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + }, + { + "fullUrl": "urn:uuid:c5f308ed-14b4-f76e-edf2-aec648ee7e43", + "resource": { + "resourceType": "Account", + "id": "c5f308ed-14b4-f76e-edf2-aec648ee7e43", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "entered-in-error", + "subject": [ + { + "reference": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/c5f308ed-14b4-f76e-edf2-aec648ee7e43" + } + }, + { + "fullUrl": "urn:uuid:86044f29-6556-e736-a29e-1beb75a3b0ad", + "resource": { + "resourceType": "RelatedPerson", + "id": "86044f29-6556-e736-a29e-1beb75a3b0ad", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86044f29-6556-e736-a29e-1beb75a3b0ad" + } + }, + { + "fullUrl": "urn:uuid:a60349ad-6c2c-01ef-ebe9-fd40f4016e25", + "resource": { + "resourceType": "Encounter", + "id": "a60349ad-6c2c-01ef-ebe9-fd40f4016e25", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/c5f308ed-14b4-f76e-edf2-aec648ee7e43" + } + ], + "subject": { + "reference": "Patient/c1930384-4018-a75c-1bd9-d31eb400b536" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/a60349ad-6c2c-01ef-ebe9-fd40f4016e25" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-01-expected.json new file mode 100644 index 000000000..6892c8212 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-01-expected.json @@ -0,0 +1,2958 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:bed618b6-25cf-ebbf-f20d-4af0d15a5468", + "resource": { + "resourceType": "MessageHeader", + "id": "bed618b6-25cf-ebbf-f20d-4af0d15a5468", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P12^BAR_P12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/bed618b6-25cf-ebbf-f20d-4af0d15a5468" + } + }, + { + "fullUrl": "urn:uuid:d0039bfd-62c8-0522-802c-02dfd7bc527b", + "resource": { + "resourceType": "Provenance", + "id": "d0039bfd-62c8-0522-802c-02dfd7bc527b", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:24:40.151Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P12.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P12^BAR_P12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/6430150d-c6e5-f79c-6376-e1fd5dd6b597" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/d0039bfd-62c8-0522-802c-02dfd7bc527b" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:6430150d-c6e5-f79c-6376-e1fd5dd6b597", + "resource": { + "resourceType": "Device", + "id": "6430150d-c6e5-f79c-6376-e1fd5dd6b597", + "identifier": [ + { + "value": "BARApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/6430150d-c6e5-f79c-6376-e1fd5dd6b597" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:b867d34c-37a2-f79b-bb8a-ee155ab769b7", + "resource": { + "resourceType": "Provenance", + "id": "b867d34c-37a2-f79b-bb8a-ee155ab769b7", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P12^BAR_P12" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/b867d34c-37a2-f79b-bb8a-ee155ab769b7" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + }, + { + "actor": { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:242addc9-9ddc-3aaf-97ca-cdedace9d87c", + "resource": { + "resourceType": "DiagnosticReport", + "id": "242addc9-9ddc-3aaf-97ca-cdedace9d87c", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-07-02", + "status": "unknown", + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "presentedForm": [ + { + "url": "60" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/242addc9-9ddc-3aaf-97ca-cdedace9d87c" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-02-expected.json new file mode 100644 index 000000000..b707a51f8 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/BAR_P12/BAR-P12-02-expected.json @@ -0,0 +1,3114 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "1989-08-18T14:41:00+05:30", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:bed618b6-25cf-ebbf-f20d-4af0d15a5468", + "resource": { + "resourceType": "MessageHeader", + "id": "bed618b6-25cf-ebbf-f20d-4af0d15a5468", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "BAR^P12^BAR_P12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/bed618b6-25cf-ebbf-f20d-4af0d15a5468" + } + }, + { + "fullUrl": "urn:uuid:d0039bfd-62c8-0522-802c-02dfd7bc527b", + "resource": { + "resourceType": "Provenance", + "id": "d0039bfd-62c8-0522-802c-02dfd7bc527b", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:25:07.165Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: BAR_P12.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "BAR^P12^BAR_P12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/6430150d-c6e5-f79c-6376-e1fd5dd6b597" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/d0039bfd-62c8-0522-802c-02dfd7bc527b" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:6430150d-c6e5-f79c-6376-e1fd5dd6b597", + "resource": { + "resourceType": "Device", + "id": "6430150d-c6e5-f79c-6376-e1fd5dd6b597", + "identifier": [ + { + "value": "BARApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/6430150d-c6e5-f79c-6376-e1fd5dd6b597" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:b867d34c-37a2-f79b-bb8a-ee155ab769b7", + "resource": { + "resourceType": "Provenance", + "id": "b867d34c-37a2-f79b-bb8a-ee155ab769b7", + "occurredDateTime": "2021-08-17T18:49:43.004+05:30", + "recorded": "2029-08-01T11:21:24+05:30", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "BAR^P12^BAR_P12" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/b867d34c-37a2-f79b-bb8a-ee155ab769b7" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "role": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "resource": { + "resourceType": "Condition", + "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8", + "code": { + "coding": [ + { + "code": "422504002", + "display": "Ischemic stroke(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Stroke" + }, + "onsetDateTime": "2004-01-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8" + } + }, + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + }, + { + "fullUrl": "urn:uuid:57ca5f8a-817a-301d-7fdf-4225b697da37", + "resource": { + "resourceType": "Practitioner", + "id": "57ca5f8a-817a-301d-7fdf-4225b697da37", + "identifier": [ + { + "value": "20" + } + ], + "name": [ + { + "family": "Stewart", + "given": [ + "Patrick" + ], + "prefix": [ + "DO" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + } + }, + { + "fullUrl": "urn:uuid:559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "resource": { + "resourceType": "Condition", + "id": "559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "code": { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "resource": { + "resourceType": "Practitioner", + "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b", + "identifier": [ + { + "value": "121188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Patrick", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + } + }, + { + "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c", + "resource": { + "resourceType": "Practitioner", + "id": "a8fc538f-624b-0cee-df30-6377fabae47c", + "identifier": [ + { + "value": "12345689", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Everyman2", + "given": [ + "Adam2", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "resource": { + "resourceType": "Procedure", + "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + }, + { + "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "resource": { + "resourceType": "Procedure", + "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2005-01-25T16:10:00+05:30", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + }, + { + "actor": { + "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c" + }, + "function": { + "coding": [ + { + "code": "procedure-practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Procedure Practitioner" + } + ], + "text": "Procedure Practitioner" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "799008", + "display": "Sigmoid colon ulcer", + "system": "http://snomed.info/sct" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6" + } + }, + { + "fullUrl": "urn:uuid:6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "resource": { + "resourceType": "Procedure", + "id": "6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:4a66b0b6-6a71-bdc7-4c26-174ec006dc89", + "resource": { + "resourceType": "Observation", + "id": "4a66b0b6-6a71-bdc7-4c26-174ec006dc89", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4a66b0b6-6a71-bdc7-4c26-174ec006dc89" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-01-expected.json new file mode 100644 index 000000000..e29ae8b52 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-01-expected.json @@ -0,0 +1,3797 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "DFT^P03^DFT_P03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:12:03.882Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "DFT^P03^DFT_P03" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:ebc0841e-e3bc-e964-235e-342bd84324c5", + "resource": { + "resourceType": "Provenance", + "id": "ebc0841e-e3bc-e964-235e-342bd84324c5", + "recorded": "2005-01-12T22:00:00Z", + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "DFT^P03^DFT_P03" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/ebc0841e-e3bc-e964-235e-342bd84324c5" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "resource": { + "resourceType": "ServiceRequest", + "id": "f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "resource": { + "resourceType": "Practitioner", + "id": "9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "ROBIN" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + { + "fullUrl": "urn:uuid:722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "resource": { + "resourceType": "PractitionerRole", + "id": "722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "location": [ + { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + ], + "practitioner": { + "reference": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + }, + { + "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "resource": { + "resourceType": "Location", + "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "name": "LABUnit01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + }, + { + "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "resource": { + "resourceType": "Location", + "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "partOf": { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + }, + "name": "Room01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "9c32a0a4-72f4-517f-3269-ddd672f6af57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "result": [ + { + "reference": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + } + ] + }, + "fullUrl": "urn:uuid:9c32a0a4-72f4-517f-3269-ddd672f6af57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + }, + { + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "supportingInformation": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + ], + "service": [ + { + "reference": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + }, + { + "reference": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "type": "MedicationDispense" + }, + { + "reference": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + ], + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "actor": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "actor": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "supportingInformation": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + ], + "service": [ + { + "reference": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + }, + { + "reference": "Procedure/73119a3a-898f-07ef-1e19-eac9ee092ec4", + "type": "Procedure" + } + ], + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ] + }, + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" + } + }, + { + "fullUrl": "urn:uuid:11c6a9f6-04c8-1e86-ff89-103573c5da37", + "resource": { + "resourceType": "Observation", + "id": "11c6a9f6-04c8-1e86-ff89-103573c5da37", + "status": "final", + "code": { + "coding": [ + { + "code": "ERDr", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:979b1503-d654-cdd3-c65d-ea67a6b9a846", + "resource": { + "resourceType": "Procedure", + "id": "979b1503-d654-cdd3-c65d-ea67a6b9a846", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846" + } + }, + { + "fullUrl": "urn:uuid:a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "resource": { + "resourceType": "MedicationDispense", + "id": "a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "resource": { + "resourceType": "Procedure", + "id": "6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "location": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "performer": [ + { + "actor": { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:57ca5f8a-817a-301d-7fdf-4225b697da37", + "resource": { + "resourceType": "Practitioner", + "id": "57ca5f8a-817a-301d-7fdf-4225b697da37", + "identifier": [ + { + "value": "20" + } + ], + "name": [ + { + "family": "Stewart", + "given": [ + "Patrick" + ], + "prefix": [ + "DO" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + } + }, + { + "fullUrl": "urn:uuid:559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "resource": { + "resourceType": "Condition", + "id": "559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "code": { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + }, + { + "fullUrl": "urn:uuid:57c02510-7fc9-e734-903e-954ce288b089", + "resource": { + "resourceType": "Condition", + "id": "57c02510-7fc9-e734-903e-954ce288b089", + "code": { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:73119a3a-898f-07ef-1e19-eac9ee092ec4", + "resource": { + "resourceType": "Procedure", + "id": "73119a3a-898f-07ef-1e19-eac9ee092ec4", + "code": { + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/73119a3a-898f-07ef-1e19-eac9ee092ec4" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + } + ] + } + \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-02-expected.json new file mode 100644 index 000000000..35b8e0cbf --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P03/DFT-P03-02-expected.json @@ -0,0 +1,4064 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P03", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "DFT^P03^DFT_P03" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:12:59.053Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "DFT^P03^DFT_P03" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:7ea13aa8-faf2-0187-4bb2-5dea25212fba", + "resource": { + "resourceType": "Provenance", + "id": "7ea13aa8-faf2-0187-4bb2-5dea25212fba", + "occurredDateTime": "2021-08-17T15:19:43.004+02:00", + "recorded": "2005-01-12T22:00:00Z", + "reason": [ + { + "coding": [ + { + "code": "PATRQT", + "display": "patient requested", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason" + } + ] + } + ], + "agent": [ + { + "who": { + "reference": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + } + ], + "activity": { + "text": "DFT^P03^DFT_P03" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7ea13aa8-faf2-0187-4bb2-5dea25212fba" + } + }, + { + "fullUrl": "urn:uuid:3cd92576-75fd-2465-a15f-b469be921588", + "resource": { + "resourceType": "Organization", + "id": "3cd92576-75fd-2465-a15f-b469be921588", + "identifier": [ + { + "value": "DRNBR", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + } + }, + { + "fullUrl": "urn:uuid:96931008-2247-6199-b3c0-0ee12e528d72", + "resource": { + "resourceType": "Practitioner", + "id": "96931008-2247-6199-b3c0-0ee12e528d72", + "identifier": [ + { + "value": "C08", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/3cd92576-75fd-2465-a15f-b469be921588" + }, + "type": { + "coding": [ + { + "code": "ANON", + "display": "Anonymous identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen", + "2ndname" + ], + "suffix": [ + "Jr", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/96931008-2247-6199-b3c0-0ee12e528d72" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "resource": { + "resourceType": "ServiceRequest", + "id": "f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "resource": { + "resourceType": "Practitioner", + "id": "9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "ROBIN" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + { + "fullUrl": "urn:uuid:722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "resource": { + "resourceType": "PractitionerRole", + "id": "722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "location": [ + { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + ], + "practitioner": { + "reference": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + }, + { + "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "resource": { + "resourceType": "Location", + "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "name": "LABUnit01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + }, + { + "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "resource": { + "resourceType": "Location", + "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "partOf": { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + }, + "name": "Room01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "9c32a0a4-72f4-517f-3269-ddd672f6af57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "result": [ + { + "reference": "Observation/064cbe01-1151-508b-14e1-2457ac772a50" + } + ] + }, + "fullUrl": "urn:uuid:9c32a0a4-72f4-517f-3269-ddd672f6af57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + }, + { + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "supportingInformation": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + }, + { + "reference": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + ], + "service": [ + { + "reference": "Observation/064cbe01-1151-508b-14e1-2457ac772a50" + }, + { + "reference": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "type": "MedicationDispense" + }, + { + "reference": "Observation/7cb1620f-831b-1d1f-be89-924909b5d666" + }, + { + "reference": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + ], + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "note": [ + { + "text": "First Financial" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "supportingInformation": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + ], + "service": [ + { + "reference": "Observation/064cbe01-1151-508b-14e1-2457ac772a50" + }, + { + "reference": "Procedure/73119a3a-898f-07ef-1e19-eac9ee092ec4", + "type": "Procedure" + }, + { + "reference": "Procedure/ea967681-75af-f0d0-460f-68b52cd828dc" + } + ], + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ] + }, + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" + } + }, + { + "fullUrl": "urn:uuid:064cbe01-1151-508b-14e1-2457ac772a50", + "resource": { + "resourceType": "Observation", + "id": "064cbe01-1151-508b-14e1-2457ac772a50", + "status": "final", + "code": { + "coding": [ + { + "code": "ER-Dr", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "First Observation" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/064cbe01-1151-508b-14e1-2457ac772a50" + } + }, + { + "fullUrl": "urn:uuid:ff5cb1e3-9623-6ad1-7529-a39be22747cf", + "resource": { + "resourceType": "ServiceRequest", + "id": "ff5cb1e3-9623-6ad1-7529-a39be22747cf", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "First OBR of first Financial" + }, + { + "text": "Fasting Sugar" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "c63df598-d34c-2245-ed26-372e9befd085", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "result": [ + { + "reference": "Observation/7cb1620f-831b-1d1f-be89-924909b5d666" + } + ] + }, + "fullUrl": "urn:uuid:c63df598-d34c-2245-ed26-372e9befd085", + "request": { + "method": "PUT", + "url": "DiagnosticReport/c63df598-d34c-2245-ed26-372e9befd085" + } + }, + { + "fullUrl": "urn:uuid:7cb1620f-831b-1d1f-be89-924909b5d666", + "resource": { + "resourceType": "Observation", + "id": "7cb1620f-831b-1d1f-be89-924909b5d666", + "status": "final", + "code": { + "coding": [ + { + "code": "ERDr", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + } + ], + "valueString": "Text", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "First obx of first Financial" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7cb1620f-831b-1d1f-be89-924909b5d666" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:979b1503-d654-cdd3-c65d-ea67a6b9a846", + "resource": { + "resourceType": "Procedure", + "id": "979b1503-d654-cdd3-c65d-ea67a6b9a846", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846" + } + }, + { + "fullUrl": "urn:uuid:a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "resource": { + "resourceType": "MedicationDispense", + "id": "a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "resource": { + "resourceType": "Procedure", + "id": "6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + }, + { + "fullUrl": "urn:uuid:57ca5f8a-817a-301d-7fdf-4225b697da37", + "resource": { + "resourceType": "Practitioner", + "id": "57ca5f8a-817a-301d-7fdf-4225b697da37", + "identifier": [ + { + "value": "20" + } + ], + "name": [ + { + "family": "Stewart", + "given": [ + "Patrick" + ], + "prefix": [ + "DO" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + } + }, + { + "fullUrl": "urn:uuid:559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "resource": { + "resourceType": "Condition", + "id": "559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "code": { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + }, + { + "fullUrl": "urn:uuid:57c02510-7fc9-e734-903e-954ce288b089", + "resource": { + "resourceType": "Condition", + "id": "57c02510-7fc9-e734-903e-954ce288b089", + "code": { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:73119a3a-898f-07ef-1e19-eac9ee092ec4", + "resource": { + "resourceType": "Procedure", + "id": "73119a3a-898f-07ef-1e19-eac9ee092ec4", + "code": { + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/73119a3a-898f-07ef-1e19-eac9ee092ec4" + } + }, + { + "fullUrl": "urn:uuid:ea967681-75af-f0d0-460f-68b52cd828dc", + "resource": { + "resourceType": "Procedure", + "id": "ea967681-75af-f0d0-460f-68b52cd828dc", + "code": { + "coding": [ + { + "code": "7105", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/ea967681-75af-f0d0-460f-68b52cd828dc" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + } + ] + } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-01-expected.json new file mode 100644 index 000000000..8a43da218 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-01-expected.json @@ -0,0 +1,3485 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "DFT^P11^DFT_P11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:00:16.376Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "DFT^P11^DFT_P11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:64309ddd-01f4-1ae3-d8ce-1fc236689335", + "resource": { + "resourceType": "Provenance", + "id": "64309ddd-01f4-1ae3-d8ce-1fc236689335", + "recorded": "2005-01-12T22:00:00Z", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "DFT^P11^DFT_P11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/64309ddd-01f4-1ae3-d8ce-1fc236689335" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:50327d30-8d89-ba5e-e916-44f2caf87a8d", + "resource": { + "resourceType": "ServiceRequest", + "id": "50327d30-8d89-ba5e-e916-44f2caf87a8d", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/50327d30-8d89-ba5e-e916-44f2caf87a8d" + } + }, + { + "fullUrl": "urn:uuid:11c6a9f6-04c8-1e86-ff89-103573c5da37", + "resource": { + "resourceType": "Observation", + "id": "11c6a9f6-04c8-1e86-ff89-103573c5da37", + "status": "final", + "code": { + "coding": [ + { + "code": "ERDr", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/50327d30-8d89-ba5e-e916-44f2caf87a8d" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + } + }, + { + "fullUrl": "urn:uuid:57ca5f8a-817a-301d-7fdf-4225b697da37", + "resource": { + "resourceType": "Practitioner", + "id": "57ca5f8a-817a-301d-7fdf-4225b697da37", + "identifier": [ + { + "value": "20" + } + ], + "name": [ + { + "family": "Stewart", + "given": [ + "Patrick" + ], + "prefix": [ + "DO" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + } + }, + { + "fullUrl": "urn:uuid:559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "resource": { + "resourceType": "Condition", + "id": "559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "code": { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + }, + { + "fullUrl": "urn:uuid:57c02510-7fc9-e734-903e-954ce288b089", + "resource": { + "resourceType": "Condition", + "id": "57c02510-7fc9-e734-903e-954ce288b089", + "code": { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "type": "MedicationDispense" + }, + { + "reference": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + }, + { + "reference": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/50327d30-8d89-ba5e-e916-44f2caf87a8d" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + ], + "account": [ + { + "reference": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:979b1503-d654-cdd3-c65d-ea67a6b9a846", + "resource": { + "resourceType": "Procedure", + "id": "979b1503-d654-cdd3-c65d-ea67a6b9a846", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846" + } + }, + { + "fullUrl": "urn:uuid:a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "resource": { + "resourceType": "MedicationDispense", + "id": "a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "resource": { + "resourceType": "Procedure", + "id": "6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "location": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "performer": [ + { + "actor": { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:72ed164a-0115-37a3-6648-6eb0d0624048", + "resource": { + "resourceType": "Account", + "id": "72ed164a-0115-37a3-6648-6eb0d0624048", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:8f5de78b-c673-1c9a-01bf-0cc24aa95f83", + "resource": { + "resourceType": "ChargeItem", + "id": "8f5de78b-c673-1c9a-01bf-0cc24aa95f83", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "92002", + "display": "General Ophthalmological Services and Procedures", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 70, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "302017001", + "display": "Sore eye", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/b0ef62c4-bc21-978c-7746-08da0796b79b", + "type": "Procedure" + }, + { + "reference": "Observation/11c6a9f6-04c8-1e86-ff89-103573c5da37" + } + ], + "supportingInformation": [ + { + "reference": "ServiceRequest/50327d30-8d89-ba5e-e916-44f2caf87a8d" + }, + { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + } + ], + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/8f5de78b-c673-1c9a-01bf-0cc24aa95f83" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:b0ef62c4-bc21-978c-7746-08da0796b79b", + "resource": { + "resourceType": "Procedure", + "id": "b0ef62c4-bc21-978c-7746-08da0796b79b", + "code": { + "coding": [ + { + "code": "92002", + "display": "General Ophthalmological Services and Procedures", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/b0ef62c4-bc21-978c-7746-08da0796b79b" + } + }, + { + "fullUrl": "urn:uuid:e4ecc3d1-44cd-ed64-a291-090a68fcab27", + "resource": { + "resourceType": "Practitioner", + "id": "e4ecc3d1-44cd-ed64-a291-090a68fcab27", + "identifier": [ + { + "value": "25" + } + ], + "name": [ + { + "family": "Vernie", + "given": [ + "Doe" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e4ecc3d1-44cd-ed64-a291-090a68fcab27" + } + }, + { + "fullUrl": "urn:uuid:753cb75e-558b-c633-9ab1-5d6592a6ef82", + "resource": { + "resourceType": "Condition", + "id": "753cb75e-558b-c633-9ab1-5d6592a6ef82", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "asserter": { + "reference": "Practitioner/e4ecc3d1-44cd-ed64-a291-090a68fcab27" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + } + } + ] +} diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-02-expected.json new file mode 100644 index 000000000..e01d4b764 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/DFT_P11/DFT-P11-02-expected.json @@ -0,0 +1,4617 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-08-18T11:26:00+02:15", + "identifier": { + "value": "MSG00001" + }, + "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", + "entry": [ + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "P11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "DFT^P11^DFT_P11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:01:37.574Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.

" + }, + "occurredDateTime": "2021-08-18T11:26:00+02:15", + "recorded": "2021-08-18T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "DFT^P11^DFT_P11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:64309ddd-01f4-1ae3-d8ce-1fc236689335", + "resource": { + "resourceType": "Provenance", + "id": "64309ddd-01f4-1ae3-d8ce-1fc236689335", + "recorded": "2005-01-12T22:00:00Z", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "DFT^P11^DFT_P11" + }, + "location": { + "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + }, + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/64309ddd-01f4-1ae3-d8ce-1fc236689335" + } + }, + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + }, + { + "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e", + "resource": { + "resourceType": "Location", + "id": "59d5e519-0108-5dd8-adfa-1eef5658009e", + "name": "Cona_Health", + "identifier": [ + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.4", + "system": "urn:ietf:rfc:3986" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "display": "site", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "DB123", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + }, + { + "value": "GI-11" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator", + "valueBoolean": true + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod", + "valuePeriod": { + "start": "2021-08-30", + "end": "2021-09-30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + }, + "role": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T11:34:19+01:10" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "resource": { + "resourceType": "Organization", + "id": "56b76cc9-d7d8-1923-0350-6b4e1a73ed2a", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/56b76cc9-d7d8-1923-0350-6b4e1a73ed2a" + } + }, + { + "fullUrl": "urn:uuid:f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "resource": { + "resourceType": "ServiceRequest", + "id": "f83ccf69-91c4-5781-c5b2-d9e002237d5a", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "resource": { + "resourceType": "Practitioner", + "id": "9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "ROBIN" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + { + "fullUrl": "urn:uuid:722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "resource": { + "resourceType": "PractitionerRole", + "id": "722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "location": [ + { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + ], + "practitioner": { + "reference": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + }, + { + "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "resource": { + "resourceType": "Location", + "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "name": "LABUnit01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + }, + { + "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "resource": { + "resourceType": "Location", + "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "partOf": { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + }, + "name": "Room01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "9c32a0a4-72f4-517f-3269-ddd672f6af57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "result": [ + { + "reference": "Observation/104838ad-223e-1d36-672e-e910fef130ea" + } + ] + }, + "fullUrl": "urn:uuid:9c32a0a4-72f4-517f-3269-ddd672f6af57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + }, + { + "fullUrl": "urn:uuid:104838ad-223e-1d36-672e-e910fef130ea", + "resource": { + "resourceType": "Observation", + "id": "104838ad-223e-1d36-672e-e910fef130ea", + "status": "final", + "code": { + "coding": [ + { + "code": "ERDr1", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "First Observation" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/104838ad-223e-1d36-672e-e910fef130ea" + } + }, + { + "fullUrl": "urn:uuid:41bf440a-d1c7-20c1-7024-d825d07809e1", + "resource": { + "resourceType": "ServiceRequest", + "id": "41bf440a-d1c7-20c1-7024-d825d07809e1", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER-1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "24317-0", + "display": "Hemogram and platelet count, automated", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/41bf440a-d1c7-20c1-7024-d825d07809e1" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "e2ca6905-e219-e5b2-f986-a6df5dce364b", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER-1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "24317-0", + "display": "Hemogram and platelet count, automated", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/41bf440a-d1c7-20c1-7024-d825d07809e1" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "result": [ + { + "reference": "Observation/ec921438-19e9-8436-c682-04d215874dd7" + } + ] + }, + "fullUrl": "urn:uuid:e2ca6905-e219-e5b2-f986-a6df5dce364b", + "request": { + "method": "PUT", + "url": "DiagnosticReport/e2ca6905-e219-e5b2-f986-a6df5dce364b" + } + }, + { + "fullUrl": "urn:uuid:ec921438-19e9-8436-c682-04d215874dd7", + "resource": { + "resourceType": "Observation", + "id": "ec921438-19e9-8436-c682-04d215874dd7", + "status": "final", + "code": { + "coding": [ + { + "code": "ERDr2", + "display": "ED Physician Notes" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/41bf440a-d1c7-20c1-7024-d825d07809e1" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ec921438-19e9-8436-c682-04d215874dd7" + } + }, + { + "fullUrl": "urn:uuid:57ca5f8a-817a-301d-7fdf-4225b697da37", + "resource": { + "resourceType": "Practitioner", + "id": "57ca5f8a-817a-301d-7fdf-4225b697da37", + "identifier": [ + { + "value": "20" + } + ], + "name": [ + { + "family": "Stewart", + "given": [ + "Patrick" + ], + "prefix": [ + "DO" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + } + }, + { + "fullUrl": "urn:uuid:559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "resource": { + "resourceType": "Condition", + "id": "559daf8d-06f4-e7ca-44fc-3c51c459fd4a", + "code": { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + }, + { + "fullUrl": "urn:uuid:57c02510-7fc9-e734-903e-954ce288b089", + "resource": { + "resourceType": "Condition", + "id": "57c02510-7fc9-e734-903e-954ce288b089", + "code": { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + }, + "asserter": { + "reference": "Practitioner/57ca5f8a-817a-301d-7fdf-4225b697da37" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/57c02510-7fc9-e734-903e-954ce288b089" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:5d59332f-c5da-1745-9ec9-50b105e6bc30", + "resource": { + "resourceType": "Observation", + "id": "5d59332f-c5da-1745-9ec9-50b105e6bc30", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5d59332f-c5da-1745-9ec9-50b105e6bc30" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "type": "MedicationDispense" + }, + { + "reference": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + }, + { + "reference": "Observation/104838ad-223e-1d36-672e-e910fef130ea" + }, + { + "reference": "Observation/ec921438-19e9-8436-c682-04d215874dd7" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + }, + { + "reference": "Condition/559daf8d-06f4-e7ca-44fc-3c51c459fd4a" + } + ], + "account": [ + { + "reference": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:979b1503-d654-cdd3-c65d-ea67a6b9a846", + "resource": { + "resourceType": "Procedure", + "id": "979b1503-d654-cdd3-c65d-ea67a6b9a846", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/979b1503-d654-cdd3-c65d-ea67a6b9a846" + } + }, + { + "fullUrl": "urn:uuid:a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "resource": { + "resourceType": "MedicationDispense", + "id": "a76930f3-f014-b3ab-e464-6dad7cac6a1d", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/a76930f3-f014-b3ab-e464-6dad7cac6a1d" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "resource": { + "resourceType": "Procedure", + "id": "6a35e1e3-32c6-dc3f-b206-94a0c1951d4d", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "performedDateTime": "2019-11-22", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/6a35e1e3-32c6-dc3f-b206-94a0c1951d4d" + } + }, + { + "fullUrl": "urn:uuid:ff5cb1e3-9623-6ad1-7529-a39be22747cf", + "resource": { + "resourceType": "ServiceRequest", + "id": "ff5cb1e3-9623-6ad1-7529-a39be22747cf", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "PLACER-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "First OBR of first Financial" + }, + { + "text": "Fasting Sugar" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "c63df598-d34c-2245-ed26-372e9befd085", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PLACER-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FILLER-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ff5cb1e3-9623-6ad1-7529-a39be22747cf" + } + ], + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "fullUrl": "urn:uuid:c63df598-d34c-2245-ed26-372e9befd085", + "request": { + "method": "PUT", + "url": "DiagnosticReport/c63df598-d34c-2245-ed26-372e9befd085" + } + }, + { + "fullUrl": "urn:uuid:72ed164a-0115-37a3-6648-6eb0d0624048", + "resource": { + "resourceType": "Account", + "id": "72ed164a-0115-37a3-6648-6eb0d0624048", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/963a930c-4ef6-ff03-ae47-9c2b7edac8d5" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/72ed164a-0115-37a3-6648-6eb0d0624048" + } + }, + { + "fullUrl": "urn:uuid:963a930c-4ef6-ff03-ae47-9c2b7edac8d5", + "resource": { + "resourceType": "Coverage", + "id": "963a930c-4ef6-ff03-ae47-9c2b7edac8d5", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-11", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/e89cea25-8e40-b36b-df16-ca95c2108514" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/963a930c-4ef6-ff03-ae47-9c2b7edac8d5" + } + }, + { + "fullUrl": "urn:uuid:e89cea25-8e40-b36b-df16-ca95c2108514", + "resource": { + "resourceType": "RelatedPerson", + "id": "e89cea25-8e40-b36b-df16-ca95c2108514", + "identifier": [ + { + "value": "HMO-11", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/e89cea25-8e40-b36b-df16-ca95c2108514" + } + }, + { + "fullUrl": "urn:uuid:8f5de78b-c673-1c9a-01bf-0cc24aa95f83", + "resource": { + "resourceType": "ChargeItem", + "id": "8f5de78b-c673-1c9a-01bf-0cc24aa95f83", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "92002", + "display": "General Ophthalmological Services and Procedures", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 70, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "302017001", + "display": "Sore eye", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/b0ef62c4-bc21-978c-7746-08da0796b79b", + "type": "Procedure" + }, + { + "reference": "Observation/104838ad-223e-1d36-672e-e910fef130ea" + }, + { + "reference": "Observation/ec921438-19e9-8436-c682-04d215874dd7" + } + ], + "supportingInformation": [ + { + "reference": "ServiceRequest/f83ccf69-91c4-5781-c5b2-d9e002237d5a" + }, + { + "reference": "ServiceRequest/41bf440a-d1c7-20c1-7024-d825d07809e1" + }, + { + "reference": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + } + ], + "account": [ + { + "reference": "Account/f44c3768-2dac-7a40-cb6c-94557664498a" + } + ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/8f5de78b-c673-1c9a-01bf-0cc24aa95f83" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:b0ef62c4-bc21-978c-7746-08da0796b79b", + "resource": { + "resourceType": "Procedure", + "id": "b0ef62c4-bc21-978c-7746-08da0796b79b", + "code": { + "coding": [ + { + "code": "92002", + "display": "General Ophthalmological Services and Procedures", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/b0ef62c4-bc21-978c-7746-08da0796b79b" + } + }, + { + "fullUrl": "urn:uuid:e4ecc3d1-44cd-ed64-a291-090a68fcab27", + "resource": { + "resourceType": "Practitioner", + "id": "e4ecc3d1-44cd-ed64-a291-090a68fcab27", + "identifier": [ + { + "value": "25" + } + ], + "name": [ + { + "family": "Vernie", + "given": [ + "Doe" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e4ecc3d1-44cd-ed64-a291-090a68fcab27" + } + }, + { + "fullUrl": "urn:uuid:753cb75e-558b-c633-9ab1-5d6592a6ef82", + "resource": { + "resourceType": "Condition", + "id": "753cb75e-558b-c633-9ab1-5d6592a6ef82", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + }, + "asserter": { + "reference": "Practitioner/e4ecc3d1-44cd-ed64-a291-090a68fcab27" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Condition/753cb75e-558b-c633-9ab1-5d6592a6ef82" + } + }, + { + "fullUrl": "urn:uuid:f44c3768-2dac-7a40-cb6c-94557664498a", + "resource": { + "resourceType": "Account", + "id": "f44c3768-2dac-7a40-cb6c-94557664498a", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + } + ], + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/f44c3768-2dac-7a40-cb6c-94557664498a" + } + } + ] +} diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json index 8c303bf75..e836d0e21 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json @@ -1,908 +1,908 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T01^MDM_T01" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T01^MDM_T01" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:51.401Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:22:58.395Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T01^MDM_T01" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T01^MDM_T01" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T01^MDM_T01" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T01^MDM_T01" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json index 880be9fb9..a3d84e126 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json @@ -1,984 +1,984 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T01^MDM_T01" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T01^MDM_T01" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:23.626Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:23:30.325Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T01^MDM_T01" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T01^MDM_T01" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T01^MDM_T01" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T01^MDM_T01" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1234" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json index d6545cc91..b7b2ecaa9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json @@ -1,954 +1,954 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:24:11.005Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:31.297Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" - } - }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" - } - }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" + } + ] + }, + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json index 587d3e307..c3b2a6e49 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json @@ -1,1065 +1,1065 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:12.603Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:24:44.024Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ], - "participant": [ - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "value": "1234" } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "occurrenceDateTime": "2006-01-31T16:45:00+02:15" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" - } - }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } ], - "text": "Final" - } + "occurrenceDateTime": "2006-01-31T20:00:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json index 5161479cf..e8eddd602 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json @@ -1,1989 +1,1989 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-01T09:06:42+02:15", + "timestamp": "2021-08-01T12:21:42+05:30", "identifier": { - "value": "112" + "value": "112" }, "id": "b37272c1-881a-0cf2-1120-5ab37ceaf698", "entry": [ - { - "fullUrl": "urn:uuid:0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", - "resource": { - "resourceType": "MessageHeader", - "id": "0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", - "source": { - "name": "SIMHOSP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", + "resource": { + "resourceType": "MessageHeader", + "id": "0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27", + "source": { + "name": "SIMHOSP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "RAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T02", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T02^MDM_T02" + }, + "sender": { + "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" } - ] - } - }, - "destination": [ - { - "name": "RAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27" } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T02", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T02^MDM_T02" - }, - "sender": { - "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27" - } - }, - { - "fullUrl": "urn:uuid:ff198209-2ee9-a32c-124f-d63637240f8d", - "resource": { - "resourceType": "Provenance", - "id": "ff198209-2ee9-a32c-124f-d63637240f8d", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:42.082Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" - }, - "occurredDateTime": "2021-08-01T09:06:42+02:15", - "recorded": "2021-08-01T09:06:42+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:ff198209-2ee9-a32c-124f-d63637240f8d", + "resource": { + "resourceType": "Provenance", + "id": "ff198209-2ee9-a32c-124f-d63637240f8d", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:25:17.145Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.

" + }, + "occurredDateTime": "2021-08-01T12:21:42+05:30", + "recorded": "2021-08-01T12:21:42+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T02^MDM_T02" + } + ] + }, + "target": [ + { + "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" + } ] - }, - "who": { - "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T02^MDM_T02" - } - ] - }, - "target": [ - { - "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/ff198209-2ee9-a32c-124f-d63637240f8d" - } - }, - { - "fullUrl": "urn:uuid:33e23f3e-47b2-9c1b-c1f0-f964c2d28946", - "resource": { - "resourceType": "Organization", - "id": "33e23f3e-47b2-9c1b-c1f0-f964c2d28946", - "identifier": [ - { - "value": "SFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SFAC" - } - ], - "address": [ - { - "country": "44" + }, + "request": { + "method": "PUT", + "url": "Provenance/ff198209-2ee9-a32c-124f-d63637240f8d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" - } - }, - { - "fullUrl": "urn:uuid:ab0676d9-fa24-ffd3-327d-f5b4c26ae628", - "resource": { - "resourceType": "Organization", - "id": "ab0676d9-fa24-ffd3-327d-f5b4c26ae628", - "identifier": [ - { - "value": "RFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RFAC" - } - ], - "address": [ - { - "country": "44" + { + "fullUrl": "urn:uuid:33e23f3e-47b2-9c1b-c1f0-f964c2d28946", + "resource": { + "resourceType": "Organization", + "id": "33e23f3e-47b2-9c1b-c1f0-f964c2d28946", + "identifier": [ + { + "value": "SFAC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/SFAC" + } + ], + "address": [ + { + "country": "44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" - } - }, - { - "fullUrl": "urn:uuid:e7af414f-7873-8d60-ad37-fd7560092849", - "resource": { - "resourceType": "Provenance", - "id": "e7af414f-7873-8d60-ad37-fd7560092849", - "recorded": "2021-08-01T09:06:42+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - } - ], - "activity": { - "text": "MDM^T02^MDM_T02" - }, - "target": [ - { - "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" + { + "fullUrl": "urn:uuid:ab0676d9-fa24-ffd3-327d-f5b4c26ae628", + "resource": { + "resourceType": "Organization", + "id": "ab0676d9-fa24-ffd3-327d-f5b4c26ae628", + "identifier": [ + { + "value": "RFAC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/RFAC" + } + ], + "address": [ + { + "country": "44" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/e7af414f-7873-8d60-ad37-fd7560092849" - } - }, - { - "fullUrl": "urn:uuid:3a4c8c23-ae16-bb6c-7a8c-897b3043248b", - "resource": { - "resourceType": "Practitioner", - "id": "3a4c8c23-ae16-bb6c-7a8c-897b3043248b", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR", - "type": { - "coding": [ - { - "code": "ORGDR", - "display": "ORGDR" - } + { + "fullUrl": "urn:uuid:e7af414f-7873-8d60-ad37-fd7560092849", + "resource": { + "resourceType": "Provenance", + "id": "e7af414f-7873-8d60-ad37-fd7560092849", + "recorded": "2021-08-01T12:21:42+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + } + ], + "activity": { + "text": "MDM^T02^MDM_T02" + }, + "target": [ + { + "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Provenance/e7af414f-7873-8d60-ad37-fd7560092849" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - }, - { - "fullUrl": "urn:uuid:a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", - "resource": { - "resourceType": "Patient", - "id": "a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", - "identifier": [ - { - "value": "3196695816", - "type": { - "coding": [ - { - "code": "MRN", - "display": "MRN" - } + { + "fullUrl": "urn:uuid:3a4c8c23-ae16-bb6c-7a8c-897b3043248b", + "resource": { + "resourceType": "Practitioner", + "id": "3a4c8c23-ae16-bb6c-7a8c-897b3043248b", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DRNBR", + "type": { + "coding": [ + { + "code": "ORGDR", + "display": "ORGDR" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" }, - { - "value": "3196695816", - "type": { - "coding": [ - { - "code": "MRN", - "display": "MRN" - } + "request": { + "method": "PUT", + "url": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + }, + { + "fullUrl": "urn:uuid:a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", + "resource": { + "resourceType": "Patient", + "id": "a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e", + "identifier": [ + { + "value": "3196695816", + "type": { + "coding": [ + { + "code": "MRN", + "display": "MRN" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/SIMULATOR-MRN" + }, + { + "value": "3196695816", + "type": { + "coding": [ + { + "code": "MRN", + "display": "MRN" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/SIMULATOR-MRN" + }, + { + "value": "6597923189", + "type": { + "coding": [ + { + "code": "NHSNMBR", + "display": "NHSNMBR" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/NHSNBR" + } + ], + "name": [ + { + "family": "Clark", + "given": [ + "Frederick" + ], + "prefix": [ + "Mr" + ] + } + ], + "birthDate": "1930-01-22", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1930-01-22T03:15:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "19 Blocker House", + "Restaurant Square" + ], + "city": "Ilford", + "postalCode": "WI3 7KU", + "country": "GBR" + } + ], + "telecom": [ + { + "value": "073 0075 3040", + "system": "phone" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "A", + "display": "White - British" + } + }, + { + "url": "text", + "valueString": "A" + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN" }, - { - "value": "6597923189", - "type": { - "coding": [ - { - "code": "NHSNMBR", - "display": "NHSNMBR" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NHSNBR" - } - ], - "name": [ - { - "family": "Clark", - "given": [ - "Frederick" - ], - "prefix": [ - "Mr" - ] - } - ], - "birthDate": "1930-01-22", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1930-01-22T00:00:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "19 Blocker House", - "Restaurant Square" - ], - "city": "Ilford", - "postalCode": "WI3 7KU", - "country": "GBR" - } - ], - "telecom": [ - { - "value": "073 0075 3040", - "system": "phone" + "request": { + "method": "PUT", + "url": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "A", - "display": "White - British" - } - }, - { - "url": "text", - "valueString": "A" - } - ] - } - ] }, - "request": { - "method": "PUT", - "url": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - } - }, - { - "fullUrl": "urn:uuid:635008fa-3d98-895d-90b3-ec0d2efa5f0f", - "resource": { - "resourceType": "Encounter", - "id": "635008fa-3d98-895d-90b3-ec0d2efa5f0f", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "type": [ - { - "coding": [ - { - "code": "28b", - "display": "28b" - } - ] - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + { + "fullUrl": "urn:uuid:635008fa-3d98-895d-90b3-ec0d2efa5f0f", + "resource": { + "resourceType": "Encounter", + "id": "635008fa-3d98-895d-90b3-ec0d2efa5f0f", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "type": [ + { + "coding": [ + { + "code": "28b", + "display": "28b" + } + ] + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "MED" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" } - ], - "individual": { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } + }, + "request": { + "method": "PUT", + "url": "Encounter/635008fa-3d98-895d-90b3-ec0d2efa5f0f" } - ], - "serviceType": { - "coding": [ - { - "code": "MED" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - } }, - "request": { - "method": "PUT", - "url": "Encounter/635008fa-3d98-895d-90b3-ec0d2efa5f0f" - } - }, - { - "fullUrl": "urn:uuid:ba02f303-e848-5771-d742-0de5371b5be4", - "resource": { - "resourceType": "DocumentReference", - "id": "ba02f303-e848-5771-d742-0de5371b5be4", - "type": { - "coding": [ - { - "code": "DS" - } - ] - }, - "context": { - "period": { - "start": "2021-08-01T09:06:42+02:15" + { + "fullUrl": "urn:uuid:ba02f303-e848-5771-d742-0de5371b5be4", + "resource": { + "resourceType": "DocumentReference", + "id": "ba02f303-e848-5771-d742-0de5371b5be4", + "type": { + "coding": [ + { + "code": "DS" + } + ] + }, + "context": { + "period": { + "start": "2021-08-01T12:21:42+05:30" + }, + "related": [ + { + "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2021-08-03T03:15:00+05:30" + } + } + ], + "meta": { + "lastUpdated": "2021-08-01T12:21:42+05:30" + }, + "masterIdentifier": { + "value": "2RWRVAJ627408" + }, + "docStatus": "preliminary", + "status": "current" }, - "related": [ - { - "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2021-08-03T00:00:00+02:15" - } + "request": { + "method": "PUT", + "url": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" } - ], - "meta": { - "lastUpdated": "2021-08-01T09:06:42+02:15" - }, - "masterIdentifier": { - "value": "2RWRVAJ627408" - }, - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" - } - }, - { - "fullUrl": "urn:uuid:c031cd63-1fa2-cb31-8841-e4a2a3c936bb", - "resource": { - "resourceType": "ServiceRequest", - "id": "c031cd63-1fa2-cb31-8841-e4a2a3c936bb", - "status": "unknown", - "intent": "reflex-order", - "orderDetail": [ - { - "coding": [ - { - "code": "PSS-46", - "display": "Placer service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + { + "fullUrl": "urn:uuid:c031cd63-1fa2-cb31-8841-e4a2a3c936bb", + "resource": { + "resourceType": "ServiceRequest", + "id": "c031cd63-1fa2-cb31-8841-e4a2a3c936bb", + "status": "unknown", + "intent": "reflex-order", + "orderDetail": [ + { + "coding": [ + { + "code": "PSS-46", + "display": "Placer service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "FSS-47", + "display": "Filler service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2020-09-10T20:15:00+05:30", + "basedOn": [ + { + "reference": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + }, + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Placer 1", + "authorString": "Placer Field 1" + }, + { + "text": "Placer 2", + "authorString": "Placer Field 2" + }, + { + "text": "Filler 1", + "authorString": "Filler Field 1" + }, + { + "text": "Filler 2", + "authorString": "Filler Field 2" + } + ], + "priority": "routine", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "Enteric Culture" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "444", + "display": "HIPPOCRATES", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H", + "version": "MD" + } + ] + } + ], + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "reasonReference": [ + { + "reference": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" + } + ], + "requester": { + "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + }, + "specimen": [ + { + "reference": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" + } + ], + "occurrenceDateTime": "2020-10-10T20:15:00+05:30" }, - { - "coding": [ - { - "code": "FSS-47", - "display": "Filler service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + "request": { + "method": "PUT", + "url": "ServiceRequest/c031cd63-1fa2-cb31-8841-e4a2a3c936bb" } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } ] - } }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" } - ], - "authoredOn": "2020-09-10T17:00:00+02:15", - "basedOn": [ - { - "reference": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - }, - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "resource": { + "resourceType": "PractitionerRole", + "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" } - ] - } - ], - "note": [ - { - "text": "Placer 1", - "authorString": "Placer Field 1" - }, - { - "text": "Placer 2", - "authorString": "Placer Field 2" }, - { - "text": "Filler 1", - "authorString": "Filler Field 1" - }, - { - "text": "Filler 2", - "authorString": "Filler Field 2" - } - ], - "priority": "routine", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "444", - "display": "HIPPOCRATES", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H", - "version": "MD" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" } - ], - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "reasonReference": [ - { - "reference": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4" - } - ], - "requester": { - "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - }, - "specimen": [ - { - "reference": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" - } - ], - "occurrenceDateTime": "2020-10-10T17:00:00+02:15" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c031cd63-1fa2-cb31-8841-e4a2a3c936bb" - } - }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:29acd79b-adef-1dc7-6103-c65783a04bbb", + "resource": { + "resourceType": "ServiceRequest", + "id": "29acd79b-adef-1dc7-6103-c65783a04bbb", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "50", + "display": "11.22", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" + } + ] + } + } + ], + "status": "unknown", + "intent": "reflex-order", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" } - ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - { - "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "resource": { - "resourceType": "PractitionerRole", - "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - } - }, - { - "fullUrl": "urn:uuid:29acd79b-adef-1dc7-6103-c65783a04bbb", - "resource": { - "resourceType": "ServiceRequest", - "id": "29acd79b-adef-1dc7-6103-c65783a04bbb", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:2cb11a40-e62b-7255-c309-1dd5b722b803", + "resource": { + "resourceType": "Specimen", + "id": "2cb11a40-e62b-7255-c309-1dd5b722b803", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SP15", + "display": "1.2", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T10:45:00+05:30" + }, + "receivedTime": "2002-02-12T10:45:00+05:30", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "ACDA" + } + ] + } + } + ], + "note": [ + { + "text": "Collector's comment" + } ] - } }, - { - "type": { - "coding": [ - { - "code": "50", - "display": "11.22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" - } - ] - } + "request": { + "method": "PUT", + "url": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" } - ], - "status": "unknown", - "intent": "reflex-order", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb" - } - }, - { - "fullUrl": "urn:uuid:2cb11a40-e62b-7255-c309-1dd5b722b803", - "resource": { - "resourceType": "Specimen", - "id": "2cb11a40-e62b-7255-c309-1dd5b722b803", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } ] - } }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ], - "type": { - "coding": [ - { - "code": "SP15", - "display": "1.2", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "resource": { + "resourceType": "PractitionerRole", + "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "practitioner": { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" } - ] - }, - "method": { - "text": "Collection Method" }, - "collectedDateTime": "2002-02-15T07:30:00+02:15" - }, - "receivedTime": "2002-02-12T07:30:00+02:15", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "ACDA" - } - ] - } - } - ], - "note": [ - { - "text": "Collector's comment" + "request": { + "method": "PUT", + "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:83cf5a63-9c84-2fa8-884b-1886e9526fd8", + "resource": { + "resourceType": "Observation", + "id": "83cf5a63-9c84-2fa8-884b-1886e9526fd8", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ] - } - } - ], - "name": [ - { - "family": "van Beethoven", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "resource": { - "resourceType": "PractitionerRole", - "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "practitioner": { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - } - }, - { - "fullUrl": "urn:uuid:83cf5a63-9c84-2fa8-884b-1886e9526fd8", - "resource": { - "resourceType": "Observation", - "id": "83cf5a63-9c84-2fa8-884b-1886e9526fd8", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + }, + "request": { + "method": "PUT", + "url": "Observation/83cf5a63-9c84-2fa8-884b-1886e9526fd8" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/83cf5a63-9c84-2fa8-884b-1886e9526fd8" - } - }, - { - "fullUrl": "urn:uuid:8485edc6-008c-2b01-b26f-a2af596d30b5", - "resource": { - "resourceType": "Observation", - "id": "8485edc6-008c-2b01-b26f-a2af596d30b5", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:8485edc6-008c-2b01-b26f-a2af596d30b5", + "resource": { + "resourceType": "Observation", + "id": "8485edc6-008c-2b01-b26f-a2af596d30b5", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8485edc6-008c-2b01-b26f-a2af596d30b5" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/8485edc6-008c-2b01-b26f-a2af596d30b5" - } - }, - { - "fullUrl": "urn:uuid:c6a42129-232f-3242-4739-73141d3e0c22", - "resource": { - "resourceType": "Observation", - "id": "c6a42129-232f-3242-4739-73141d3e0c22", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Taxicab creator film therapist shelter", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:c6a42129-232f-3242-4739-73141d3e0c22", + "resource": { + "resourceType": "Observation", + "id": "c6a42129-232f-3242-4739-73141d3e0c22", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Taxicab creator film therapist shelter", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c6a42129-232f-3242-4739-73141d3e0c22" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/c6a42129-232f-3242-4739-73141d3e0c22" - } - }, - { - "fullUrl": "urn:uuid:1cd484ad-c654-fbaf-1242-d5c6addb1285", - "resource": { - "resourceType": "Observation", - "id": "1cd484ad-c654-fbaf-1242-d5c6addb1285", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Naming grandmother ruth", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:1cd484ad-c654-fbaf-1242-d5c6addb1285", + "resource": { + "resourceType": "Observation", + "id": "1cd484ad-c654-fbaf-1242-d5c6addb1285", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Naming grandmother ruth", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/1cd484ad-c654-fbaf-1242-d5c6addb1285" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/1cd484ad-c654-fbaf-1242-d5c6addb1285" - } - }, - { - "fullUrl": "urn:uuid:68e0f79f-ad85-113d-c23d-58fec16ee5d9", - "resource": { - "resourceType": "Observation", - "id": "68e0f79f-ad85-113d-c23d-58fec16ee5d9", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Cesspool dress crystallography processing sphynx conspirator plate tool", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:68e0f79f-ad85-113d-c23d-58fec16ee5d9", + "resource": { + "resourceType": "Observation", + "id": "68e0f79f-ad85-113d-c23d-58fec16ee5d9", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Cesspool dress crystallography processing sphynx conspirator plate tool", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/68e0f79f-ad85-113d-c23d-58fec16ee5d9" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/68e0f79f-ad85-113d-c23d-58fec16ee5d9" - } - }, - { - "fullUrl": "urn:uuid:6ba400df-3c94-dccd-275f-87f7bef8cece", - "resource": { - "resourceType": "Observation", - "id": "6ba400df-3c94-dccd-275f-87f7bef8cece", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Let nothing neuropathologist grass", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:6ba400df-3c94-dccd-275f-87f7bef8cece", + "resource": { + "resourceType": "Observation", + "id": "6ba400df-3c94-dccd-275f-87f7bef8cece", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Let nothing neuropathologist grass", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ba400df-3c94-dccd-275f-87f7bef8cece" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6ba400df-3c94-dccd-275f-87f7bef8cece" - } - }, - { - "fullUrl": "urn:uuid:a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", - "resource": { - "resourceType": "Observation", - "id": "a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "James flavor source sweats perfume spasm", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", + "resource": { + "resourceType": "Observation", + "id": "a93e88a9-4706-27a0-e24d-ca7b71a9d5a0", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "James flavor source sweats perfume spasm", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a93e88a9-4706-27a0-e24d-ca7b71a9d5a0" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a93e88a9-4706-27a0-e24d-ca7b71a9d5a0" - } - }, - { - "fullUrl": "urn:uuid:b6655c58-2580-31ca-89fa-f71589186f5f", - "resource": { - "resourceType": "Observation", - "id": "b6655c58-2580-31ca-89fa-f71589186f5f", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Stopsign", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:b6655c58-2580-31ca-89fa-f71589186f5f", + "resource": { + "resourceType": "Observation", + "id": "b6655c58-2580-31ca-89fa-f71589186f5f", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Stopsign", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/b6655c58-2580-31ca-89fa-f71589186f5f" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/b6655c58-2580-31ca-89fa-f71589186f5f" - } - }, - { - "fullUrl": "urn:uuid:6c24608d-f759-4c1e-75f1-7b530ba5810a", - "resource": { - "resourceType": "Observation", - "id": "6c24608d-f759-4c1e-75f1-7b530ba5810a", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Neat rugby sound evening hostel curio chastity pulley wallet xylophone", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:6c24608d-f759-4c1e-75f1-7b530ba5810a", + "resource": { + "resourceType": "Observation", + "id": "6c24608d-f759-4c1e-75f1-7b530ba5810a", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Neat rugby sound evening hostel curio chastity pulley wallet xylophone", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6c24608d-f759-4c1e-75f1-7b530ba5810a" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6c24608d-f759-4c1e-75f1-7b530ba5810a" - } - }, - { - "fullUrl": "urn:uuid:8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", - "resource": { - "resourceType": "Observation", - "id": "8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Tomorrow survey raffle epee cash herb hovel frame", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", + "resource": { + "resourceType": "Observation", + "id": "8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Tomorrow survey raffle epee cash herb hovel frame", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb" - } - }, - { - "fullUrl": "urn:uuid:ee71fea8-96b6-a46c-579e-dc5367127579", - "resource": { - "resourceType": "Observation", - "id": "ee71fea8-96b6-a46c-579e-dc5367127579", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Wish orangutan caddy mayor knowledge guilt tight criteria", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:ee71fea8-96b6-a46c-579e-dc5367127579", + "resource": { + "resourceType": "Observation", + "id": "ee71fea8-96b6-a46c-579e-dc5367127579", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Wish orangutan caddy mayor knowledge guilt tight criteria", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ee71fea8-96b6-a46c-579e-dc5367127579" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/ee71fea8-96b6-a46c-579e-dc5367127579" - } - }, - { - "fullUrl": "urn:uuid:a9f6136e-3718-d3a7-6b0c-089337325264", - "resource": { - "resourceType": "Observation", - "id": "a9f6136e-3718-d3a7-6b0c-089337325264", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Thong", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a9f6136e-3718-d3a7-6b0c-089337325264", + "resource": { + "resourceType": "Observation", + "id": "a9f6136e-3718-d3a7-6b0c-089337325264", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Thong", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a9f6136e-3718-d3a7-6b0c-089337325264" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a9f6136e-3718-d3a7-6b0c-089337325264" - } - }, - { - "fullUrl": "urn:uuid:1729d3a6-8428-d4df-ad09-54ba86fbe34f", - "resource": { - "resourceType": "Observation", - "id": "1729d3a6-8428-d4df-ad09-54ba86fbe34f", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Scimitar gall-bladder economy orange trade sing town", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:1729d3a6-8428-d4df-ad09-54ba86fbe34f", + "resource": { + "resourceType": "Observation", + "id": "1729d3a6-8428-d4df-ad09-54ba86fbe34f", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Scimitar gall-bladder economy orange trade sing town", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/1729d3a6-8428-d4df-ad09-54ba86fbe34f" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/1729d3a6-8428-d4df-ad09-54ba86fbe34f" - } - }, - { - "fullUrl": "urn:uuid:0689f0ef-6812-c40c-7c5b-8da95fcbc61d", - "resource": { - "resourceType": "Observation", - "id": "0689f0ef-6812-c40c-7c5b-8da95fcbc61d", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Vinyl people junk skiing north irony sing scorn cameo", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:0689f0ef-6812-c40c-7c5b-8da95fcbc61d", + "resource": { + "resourceType": "Observation", + "id": "0689f0ef-6812-c40c-7c5b-8da95fcbc61d", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Vinyl people junk skiing north irony sing scorn cameo", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0689f0ef-6812-c40c-7c5b-8da95fcbc61d" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/0689f0ef-6812-c40c-7c5b-8da95fcbc61d" - } - }, - { - "fullUrl": "urn:uuid:73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", - "resource": { - "resourceType": "Observation", - "id": "73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Math pimp wave leather national nurture responsibility suppression", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", + "resource": { + "resourceType": "Observation", + "id": "73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Math pimp wave leather national nurture responsibility suppression", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0" - } - }, - { - "fullUrl": "urn:uuid:6b7a5ccb-3e27-58ec-85e2-faae9175191e", - "resource": { - "resourceType": "Observation", - "id": "6b7a5ccb-3e27-58ec-85e2-faae9175191e", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Sash area", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:6b7a5ccb-3e27-58ec-85e2-faae9175191e", + "resource": { + "resourceType": "Observation", + "id": "6b7a5ccb-3e27-58ec-85e2-faae9175191e", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Sash area", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6b7a5ccb-3e27-58ec-85e2-faae9175191e" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6b7a5ccb-3e27-58ec-85e2-faae9175191e" - } - }, - { - "fullUrl": "urn:uuid:ae8f0749-b387-eeb6-9455-060899157001", - "resource": { - "resourceType": "Observation", - "id": "ae8f0749-b387-eeb6-9455-060899157001", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Search eyelids", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:ae8f0749-b387-eeb6-9455-060899157001", + "resource": { + "resourceType": "Observation", + "id": "ae8f0749-b387-eeb6-9455-060899157001", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Search eyelids", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/ae8f0749-b387-eeb6-9455-060899157001" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/ae8f0749-b387-eeb6-9455-060899157001" - } - }, - { - "fullUrl": "urn:uuid:dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", - "resource": { - "resourceType": "Observation", - "id": "dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Suffocation face convert soup cricket", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", + "resource": { + "resourceType": "Observation", + "id": "dad4437d-d5a0-2a1f-95a5-adf4cca9ee81", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Suffocation face convert soup cricket", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dad4437d-d5a0-2a1f-95a5-adf4cca9ee81" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/dad4437d-d5a0-2a1f-95a5-adf4cca9ee81" - } - }, - { - "fullUrl": "urn:uuid:737a80e8-e1f6-3f78-98bf-f051b176be60", - "resource": { - "resourceType": "Observation", - "id": "737a80e8-e1f6-3f78-98bf-f051b176be60", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Step-Grandmother", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:737a80e8-e1f6-3f78-98bf-f051b176be60", + "resource": { + "resourceType": "Observation", + "id": "737a80e8-e1f6-3f78-98bf-f051b176be60", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Step-Grandmother", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/737a80e8-e1f6-3f78-98bf-f051b176be60" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/737a80e8-e1f6-3f78-98bf-f051b176be60" - } - }, - { - "fullUrl": "urn:uuid:141338ad-2acf-f6f3-4c96-9db178a297db", - "resource": { - "resourceType": "Observation", - "id": "141338ad-2acf-f6f3-4c96-9db178a297db", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Pheasant shot disembodiment", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:141338ad-2acf-f6f3-4c96-9db178a297db", + "resource": { + "resourceType": "Observation", + "id": "141338ad-2acf-f6f3-4c96-9db178a297db", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Pheasant shot disembodiment", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/141338ad-2acf-f6f3-4c96-9db178a297db" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/141338ad-2acf-f6f3-4c96-9db178a297db" - } - }, - { - "fullUrl": "urn:uuid:9e207d6a-254c-199e-ace3-73028bbf61e2", - "resource": { - "resourceType": "Observation", - "id": "9e207d6a-254c-199e-ace3-73028bbf61e2", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "White feature", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:9e207d6a-254c-199e-ace3-73028bbf61e2", + "resource": { + "resourceType": "Observation", + "id": "9e207d6a-254c-199e-ace3-73028bbf61e2", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "White feature", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9e207d6a-254c-199e-ace3-73028bbf61e2" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/9e207d6a-254c-199e-ace3-73028bbf61e2" - } - }, - { - "fullUrl": "urn:uuid:7ece5490-60d5-9c13-80d7-e316eb0f8e11", - "resource": { - "resourceType": "Observation", - "id": "7ece5490-60d5-9c13-80d7-e316eb0f8e11", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Duster", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:7ece5490-60d5-9c13-80d7-e316eb0f8e11", + "resource": { + "resourceType": "Observation", + "id": "7ece5490-60d5-9c13-80d7-e316eb0f8e11", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Duster", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7ece5490-60d5-9c13-80d7-e316eb0f8e11" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7ece5490-60d5-9c13-80d7-e316eb0f8e11" - } - }, - { - "fullUrl": "urn:uuid:e8265970-6279-10e5-e7f2-5c293bfe01be", - "resource": { - "resourceType": "Observation", - "id": "e8265970-6279-10e5-e7f2-5c293bfe01be", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Science cycle demand", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:e8265970-6279-10e5-e7f2-5c293bfe01be", + "resource": { + "resourceType": "Observation", + "id": "e8265970-6279-10e5-e7f2-5c293bfe01be", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Science cycle demand", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e8265970-6279-10e5-e7f2-5c293bfe01be" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/e8265970-6279-10e5-e7f2-5c293bfe01be" - } - }, - { - "fullUrl": "urn:uuid:447cfa11-4719-8b8c-5d7f-698fe7f2d492", - "resource": { - "resourceType": "Observation", - "id": "447cfa11-4719-8b8c-5d7f-698fe7f2d492", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Charm official", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:447cfa11-4719-8b8c-5d7f-698fe7f2d492", + "resource": { + "resourceType": "Observation", + "id": "447cfa11-4719-8b8c-5d7f-698fe7f2d492", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Charm official", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/447cfa11-4719-8b8c-5d7f-698fe7f2d492" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/447cfa11-4719-8b8c-5d7f-698fe7f2d492" - } - }, - { - "fullUrl": "urn:uuid:11738ca9-487e-3484-ff4d-5d0e04b52681", - "resource": { - "resourceType": "Observation", - "id": "11738ca9-487e-3484-ff4d-5d0e04b52681", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Airport manservant", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:11738ca9-487e-3484-ff4d-5d0e04b52681", + "resource": { + "resourceType": "Observation", + "id": "11738ca9-487e-3484-ff4d-5d0e04b52681", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Airport manservant", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11738ca9-487e-3484-ff4d-5d0e04b52681" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/11738ca9-487e-3484-ff4d-5d0e04b52681" - } - }, - { - "fullUrl": "urn:uuid:a7307ba2-a39d-7fac-8333-416851242799", - "resource": { - "resourceType": "Observation", - "id": "a7307ba2-a39d-7fac-8333-416851242799", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Lanai flute unique plain feature parking pressure", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a7307ba2-a39d-7fac-8333-416851242799", + "resource": { + "resourceType": "Observation", + "id": "a7307ba2-a39d-7fac-8333-416851242799", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Lanai flute unique plain feature parking pressure", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a7307ba2-a39d-7fac-8333-416851242799" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a7307ba2-a39d-7fac-8333-416851242799" - } - }, - { - "fullUrl": "urn:uuid:a0a317c7-fc88-8e06-1481-20dd212e9dc8", - "resource": { - "resourceType": "Observation", - "id": "a0a317c7-fc88-8e06-1481-20dd212e9dc8", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Instance buggy colt route pier menorah ingrate garb", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a0a317c7-fc88-8e06-1481-20dd212e9dc8", + "resource": { + "resourceType": "Observation", + "id": "a0a317c7-fc88-8e06-1481-20dd212e9dc8", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Instance buggy colt route pier menorah ingrate garb", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a0a317c7-fc88-8e06-1481-20dd212e9dc8" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a0a317c7-fc88-8e06-1481-20dd212e9dc8" - } - }, - { - "fullUrl": "urn:uuid:9914967a-1c3e-c037-30f2-362b2135b21b", - "resource": { - "resourceType": "Observation", - "id": "9914967a-1c3e-c037-30f2-362b2135b21b", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Character press mini comic", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:9914967a-1c3e-c037-30f2-362b2135b21b", + "resource": { + "resourceType": "Observation", + "id": "9914967a-1c3e-c037-30f2-362b2135b21b", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Character press mini comic", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9914967a-1c3e-c037-30f2-362b2135b21b" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/9914967a-1c3e-c037-30f2-362b2135b21b" - } - }, - { - "fullUrl": "urn:uuid:a43d8206-d6e6-95a5-2c99-aa86046ba477", - "resource": { - "resourceType": "Observation", - "id": "a43d8206-d6e6-95a5-2c99-aa86046ba477", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Reminder shofar congo vibration mother-in-law bondsman suspect", - "subject": { - "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a43d8206-d6e6-95a5-2c99-aa86046ba477", + "resource": { + "resourceType": "Observation", + "id": "a43d8206-d6e6-95a5-2c99-aa86046ba477", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Reminder shofar congo vibration mother-in-law bondsman suspect", + "subject": { + "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a43d8206-d6e6-95a5-2c99-aa86046ba477" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/a43d8206-d6e6-95a5-2c99-aa86046ba477" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json index 55f05dffe..b41975883 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-01-expected.json @@ -1,919 +1,919 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T05^MDM_T05" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:26.28Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:30:22.965Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T05^MDM_T05" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T05^MDM_T05" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ], - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post after", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json index 5c04f49f1..9a187c99e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T05/MDM-T05-02-expected.json @@ -1,995 +1,995 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T05", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T05^MDM_T05" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T05", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T05^MDM_T05" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:03.081Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:31:03.367Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T05.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T05^MDM_T05" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T05^MDM_T05" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T05^MDM_T05" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T05^MDM_T05" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post after", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post after", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json index bdd6a578b..70a78dc50 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-01-expected.json @@ -1,965 +1,965 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:31:45.648Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T06^MDM_T06" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:39.411Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T06^MDM_T06" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T06^MDM_T06" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" - } - }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" - } - }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" + } + ] + }, + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json index 88de20bb1..84d6b748b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T06/MDM-T06-02-expected.json @@ -1,1076 +1,1076 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T06", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T06^MDM_T06" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T06", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T06^MDM_T06" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:44.695Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:32:20.423Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T06.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T06^MDM_T06" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T06^MDM_T06" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T06^MDM_T06" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T06^MDM_T06" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "value": "9099" } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "8888" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "occurrenceDateTime": "2006-01-31T16:45:00+02:15" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" - } - }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T20:00:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json index ac7a6150a..98ed247e1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-01-expected.json @@ -1,919 +1,919 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T09^MDM_T09" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:28.879Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:33:01.428Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T09^MDM_T09" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T09^MDM_T09" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ], - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + } + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "specimen": [ - { - "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + }, + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } + ] }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", - "resource": { - "resourceType": "Specimen", - "id": "465cc454-0c8c-9470-e96a-75c3d662e760", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760", + "resource": { + "resourceType": "Specimen", + "id": "465cc454-0c8c-9470-e96a-75c3d662e760", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json index 1ff78b645..e3c9206a3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T09/MDM-T09-02-expected.json @@ -1,995 +1,995 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T09", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T09^MDM_T09" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T09", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T09^MDM_T09" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:52.031Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:33:37.937Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T09.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T09^MDM_T09" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T09^MDM_T09" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T09^MDM_T09" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T09^MDM_T09" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9099" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "specimen": [ - { - "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + }, + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", - "resource": { - "resourceType": "Specimen", - "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + { + "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386", + "resource": { + "resourceType": "Specimen", + "id": "8544aeea-6c95-cc4e-9d21-19aa26595386", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json index fef968d77..7dfda5f90 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-01-expected.json @@ -1,965 +1,965 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } + }, + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:34:18.182Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T10^MDM_T10" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:50.029Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T10^MDM_T10" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T10^MDM_T10" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + }, + { + "family": "Smith", + "given": [ + "Robert" + ], + "suffix": [ + "Jr" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] }, - { - "family": "Smith", - "given": [ - "Robert" - ], - "suffix": [ - "Jr" - ] + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ + { + "value": "9099" + } + ], + "name": [ + { + "family": "KEVORKIAN", + "given": [ + "JACK" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ + { + "value": "8888" + } + ], + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + } }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" + } + }, + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ], - "docStatus": "preliminary", - "status": "current" }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", - "resource": { - "resourceType": "Specimen", - "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" - } - }, - { - "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "resource": { - "resourceType": "Observation", - "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", - "status": "unknown", - "code": { - "coding": [ - { - "code": "113014", - "display": "DICOM Study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" - } - ] - }, - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c", + "resource": { + "resourceType": "Specimen", + "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Order Detail" - } - } - ], - "note": [ - { - "text": "Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" - } - }, - { - "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "application/pdf" + { + "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "resource": { + "resourceType": "Observation", + "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1", + "status": "unknown", + "code": { + "coding": [ + { + "code": "113014", + "display": "DICOM Study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM" + } + ] + }, + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ], + "note": [ + { + "text": "Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" - } - }, - { - "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", - "resource": { - "resourceType": "Consent", - "id": "130b77c9-d383-0467-760b-1027b3ae6d58", - "scope": { - "coding": [ - { - "code": "patient-privacy", - "display": "Privacy Consent", - "system": "http://terminology.hl7.org/CodeSystem/consentscope" - } - ] - }, - "category": [ - { - "coding": [ - { - "code": "001" + { + "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7", + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "application/pdf" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] - } - ], - "policyRule": { - "text": "HIPAA Privacy Form + For Patient privacy" - }, - "status": "active", - "performer": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7" } - ] }, - "request": { - "method": "PUT", - "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + { + "fullUrl": "urn:uuid:130b77c9-d383-0467-760b-1027b3ae6d58", + "resource": { + "resourceType": "Consent", + "id": "130b77c9-d383-0467-760b-1027b3ae6d58", + "scope": { + "coding": [ + { + "code": "patient-privacy", + "display": "Privacy Consent", + "system": "http://terminology.hl7.org/CodeSystem/consentscope" + } + ] + }, + "category": [ + { + "coding": [ + { + "code": "001" + } + ] + } + ], + "policyRule": { + "text": "HIPAA Privacy Form + For Patient privacy" + }, + "status": "active", + "performer": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Consent/130b77c9-d383-0467-760b-1027b3ae6d58" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json index 99a19b6ec..1cc8399e8 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T10/MDM-T10-02-expected.json @@ -1,1076 +1,1076 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2008-01-31T16:00:00+02:15", + "timestamp": "2008-01-31T19:15:00+05:30", "identifier": { - "value": "PS1-20080131160038" + "value": "PS1-20080131160038" }, "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b", "entry": [ - { - "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", - "resource": { - "resourceType": "MessageHeader", - "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", - "source": { - "name": "PROSOLV", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a", + "resource": { + "resourceType": "MessageHeader", + "id": "f6276090-3778-3e87-dab9-2c9dae838d1a", + "source": { + "name": "PROSOLV", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "SYSTEM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "T10", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "MDM^T10^MDM_T10" + }, + "sender": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "SYSTEM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } + "request": { + "method": "PUT", + "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "T10", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "MDM^T10^MDM_T10" - }, - "sender": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a" - } - }, - { - "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", - "resource": { - "resourceType": "Provenance", - "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:29.222Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" - }, - "occurredDateTime": "2008-01-31T16:00:00+02:15", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246", + "resource": { + "resourceType": "Provenance", + "id": "62e243a9-2299-8d17-3755-2ea9dcea5246", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:34:53.399Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T10.

" + }, + "occurredDateTime": "2008-01-31T19:15:00+05:30", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" + } + } + ], + "activity": { + "coding": [ + { + "display": "MDM^T10^MDM_T10" + } + ] + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } ] - }, - "who": { - "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - } - ], - "activity": { - "coding": [ - { - "display": "MDM^T10^MDM_T10" - } - ] - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" - } - }, - { - "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", - "resource": { - "resourceType": "Organization", - "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", - "identifier": [ - { - "value": "XYZHOSPITAL", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", - "resource": { - "resourceType": "Provenance", - "id": "63520aa7-562e-9367-0c96-f8f720c3a418", - "recorded": "2008-01-31T16:00:00+02:15", - "agent": [ - { - "who": { - "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - } - ], - "activity": { - "text": "MDM^T10^MDM_T10" - }, - "target": [ - { - "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + }, + "request": { + "method": "PUT", + "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" - } - }, - { - "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", - "resource": { - "resourceType": "Practitioner", - "id": "983f747a-cf80-25e8-0431-719272f56adf", - "identifier": [ - { - "value": "C08" - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ] + { + "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9", + "resource": { + "resourceType": "Organization", + "id": "a546f42b-2f91-c12a-4596-67ce49a595d9", + "identifier": [ + { + "value": "XYZHOSPITAL", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZHOSPITAL" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" - } - }, - { - "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", - "resource": { - "resourceType": "Patient", - "id": "073b77fa-7722-30cf-cd8f-218a179da613", - "identifier": [ - { - "value": "987654321" - }, - { - "value": "987654321" - }, - { - "value": "111-22-3333", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "PROSOLV", - "given": [ - "SAMPLE" - ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "birthDate": "1972-12-01", - "gender": "male" }, - "request": { - "method": "PUT", - "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } - }, - { - "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", - "resource": { - "resourceType": "Account", - "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", - "identifier": [ - { - "value": "10000001" - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + { + "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418", + "resource": { + "resourceType": "Provenance", + "id": "63520aa7-562e-9367-0c96-f8f720c3a418", + "recorded": "2008-01-31T19:15:00+05:30", + "agent": [ + { + "who": { + "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" + } + } + ], + "activity": { + "text": "MDM^T10^MDM_T10" + }, + "target": [ + { + "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418" } - ] }, - "request": { - "method": "PUT", - "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" - } - }, - { - "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", - "resource": { - "resourceType": "Practitioner", - "id": "f91b9450-5b30-513c-e992-770d60ebccca", - "identifier": [ - { - "value": "1234" - } - ], - "name": [ - { - "family": "HIPPOCRATES", - "given": [ - "KOS" - ] + { + "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf", + "resource": { + "resourceType": "Practitioner", + "id": "983f747a-cf80-25e8-0431-719272f56adf", + "identifier": [ + { + "value": "C08" + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "resource": { - "resourceType": "Practitioner", - "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", - "identifier": [ - { - "value": "9099" - } - ], - "name": [ - { - "family": "KEVORKIAN", - "given": [ - "JACK" - ] + { + "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613", + "resource": { + "resourceType": "Patient", + "id": "073b77fa-7722-30cf-cd8f-218a179da613", + "identifier": [ + { + "value": "987654321" + }, + { + "value": "987654321" + }, + { + "value": "111-22-3333", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "PROSOLV", + "given": [ + "SAMPLE" + ] + } + ], + "birthDate": "1972-12-01", + "gender": "male" + }, + "request": { + "method": "PUT", + "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } - }, - { - "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "resource": { - "resourceType": "Practitioner", - "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", - "identifier": [ - { - "value": "8888" - } - ], - "name": [ - { - "family": "HOUSE", - "given": [ - "GREGORY" - ] + { + "fullUrl": "urn:uuid:3abc02b1-c901-fe43-7d5b-01759e09083b", + "resource": { + "resourceType": "Account", + "id": "3abc02b1-c901-fe43-7d5b-01759e09083b", + "identifier": [ + { + "value": "10000001" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - }, - { - "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "resource": { - "resourceType": "Location", - "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", - "name": "CCU", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } - }, - { - "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", - "resource": { - "resourceType": "Location", - "id": "40db9d51-986d-9b0d-52bc-abe440370627", - "partOf": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - }, - "name": "2000", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - } - }, - { - "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", - "resource": { - "resourceType": "Location", - "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", - "partOf": { - "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2000--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" - } - }, - { - "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "resource": { - "resourceType": "Location", - "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", - "name": "CCU", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } - }, - { - "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "resource": { - "resourceType": "Location", - "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", - "partOf": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - }, - "name": "2003", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - } - }, - { - "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", - "resource": { - "resourceType": "Location", - "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", - "partOf": { - "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" - }, - "name": "1", - "mode": "instance", - "description": "CCU--2003--1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" - } - }, - { - "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "resource": { - "resourceType": "Encounter", - "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" - } + { + "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca", + "resource": { + "resourceType": "Practitioner", + "id": "f91b9450-5b30-513c-e992-770d60ebccca", + "identifier": [ + { + "value": "1234" + } + ], + "name": [ + { + "family": "HIPPOCRATES", + "given": [ + "KOS" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" - } + "request": { + "method": "PUT", + "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" } - ], - "participant": [ - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "resource": { + "resourceType": "Practitioner", + "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16", + "identifier": [ { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "value": "9099" } - ] - } - ], - "individual": { - "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "KEVORKIAN", + "given": [ + "JACK" + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "resource": { + "resourceType": "Practitioner", + "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "8888" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" - } - } - ], - "identifier": [ - { - "value": "10000001", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + "name": [ + { + "family": "HOUSE", + "given": [ + "GREGORY" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - } }, - "request": { - "method": "PUT", - "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" - } - }, - { - "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", - "resource": { - "resourceType": "DocumentReference", - "id": "0bd32673-66cf-0e3e-61df-803590588758", - "type": { - "coding": [ - { - "code": "DI" - } - ] - }, - "context": { - "period": { - "start": "2008-01-31T15:55:00+02:15" - } - }, - "content": [ - { - "attachment": { - "creation": "2008-01-31T16:00:00+02:15" - } - } - ], - "author": [ - { - "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - ], - "masterIdentifier": { - "value": "1.2.840.317.5947431.51.20080131160038" - }, - "relatesTo": [ - { - "code": "replaces", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1.2.840.317.5947431.51.20080131155715" + { + "fullUrl": "urn:uuid:4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "resource": { + "resourceType": "Location", + "id": "4507c0f9-4c86-399e-40d7-12c8f4d6443f", + "name": "CCU", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - } - ], - "docStatus": "preliminary", - "status": "current" - }, - "request": { - "method": "PUT", - "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - }, - { - "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "resource": { - "resourceType": "Practitioner", - "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", - "identifier": [ - { - "value": "IvanDoctorovich" + }, + "request": { + "method": "PUT", + "url": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } - }, - { - "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "resource": { - "resourceType": "PractitionerRole", - "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", - "practitioner": { - "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" - } - }, - { - "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "resource": { - "resourceType": "ServiceRequest", - "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:40db9d51-986d-9b0d-52bc-abe440370627", + "resource": { + "resourceType": "Location", + "id": "40db9d51-986d-9b0d-52bc-abe440370627", + "partOf": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + }, + "name": "2000", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/40db9d51-986d-9b0d-52bc-abe440370627" } - ], - "code": { - "coding": [ - { - "code": "02585", - "display": "TransthoracicEcho", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:6a61736d-4483-b458-c780-a0d2ce5753e1", + "resource": { + "resourceType": "Location", + "id": "6a61736d-4483-b458-c780-a0d2ce5753e1", + "partOf": { + "reference": "Location/40db9d51-986d-9b0d-52bc-abe440370627" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2000--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + "request": { + "method": "PUT", + "url": "Location/6a61736d-4483-b458-c780-a0d2ce5753e1" + } + }, + { + "fullUrl": "urn:uuid:d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "resource": { + "resourceType": "Location", + "id": "d3b45888-01fe-96f5-3ec2-b40a707ad4d3", + "name": "CCU", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] + "request": { + "method": "PUT", + "url": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" - } - ], - "specimen": [ - { - "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + { + "fullUrl": "urn:uuid:6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "resource": { + "resourceType": "Location", + "id": "6b17118e-cb1a-8e12-c7d0-86f90db5f151", + "partOf": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + }, + "name": "2003", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:6591dc44-ea0d-c947-2a6c-2ad123face9c", + "resource": { + "resourceType": "Location", + "id": "6591dc44-ea0d-c947-2a6c-2ad123face9c", + "partOf": { + "reference": "Location/6b17118e-cb1a-8e12-c7d0-86f90db5f151" + }, + "name": "1", + "mode": "instance", + "description": "CCU--2003--1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/6591dc44-ea0d-c947-2a6c-2ad123face9c" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "resource": { + "resourceType": "Encounter", + "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4507c0f9-4c86-399e-40d7-12c8f4d6443f" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/d3b45888-01fe-96f5-3ec2-b40a707ad4d3" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62" + } + } + ], + "identifier": [ + { + "value": "10000001", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/3abc02b1-c901-fe43-7d5b-01759e09083b" + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "resource": { - "resourceType": "Specimen", - "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", - "identifier": [ - { - "value": "00012345", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758", + "resource": { + "resourceType": "DocumentReference", + "id": "0bd32673-66cf-0e3e-61df-803590588758", + "type": { + "coding": [ + { + "code": "DI" + } + ] + }, + "context": { + "period": { + "start": "2008-01-31T19:10:00+05:30" + } + }, + "content": [ + { + "attachment": { + "creation": "2008-01-31T19:15:00+05:30" + } + } + ], + "author": [ + { + "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" + } + ], + "masterIdentifier": { + "value": "1.2.840.317.5947431.51.20080131160038" + }, + "relatesTo": [ + { + "code": "replaces", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1.2.840.317.5947431.51.20080131155715" + } + } + } + ], + "docStatus": "preliminary", + "status": "current" }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" } - ], - "collection": { - "collectedDateTime": "2008-01-31T15:55:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" - } - }, - { - "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "resource": { - "resourceType": "ServiceRequest", - "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "resource": { + "resourceType": "Practitioner", + "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489", + "identifier": [ + { + "value": "IvanDoctorovich" + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ], - "code": { - "coding": [ - { - "code": "02588", - "display": "3D echo cardigram", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "code": "796.4", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - }, - { - "coding": [ - { - "code": "786.09", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + }, + { + "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "resource": { + "resourceType": "PractitionerRole", + "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38", + "practitioner": { + "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489" } - ] }, - { - "coding": [ - { - "code": "414.8", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" - } - ] - } - ], - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "reasonReference": [ - { - "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + "request": { + "method": "PUT", + "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38" } - ], - "specimen": [ - { - "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + }, + { + "fullUrl": "urn:uuid:ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef3ae95d-d9b8-5abb-0018-a626275a71a0", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "02585", + "display": "TransthoracicEcho", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef3ae95d-d9b8-5abb-0018-a626275a71a0" } - ], - "occurrenceDateTime": "2006-01-31T16:45:00+02:15" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" - } - }, - { - "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "resource": { - "resourceType": "Specimen", - "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", - "identifier": [ - { - "value": "00012367", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "1-1", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "collection": { - "collectedDateTime": "2008-01-31T16:45:00+02:15" - } }, - "request": { - "method": "PUT", - "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" - } - }, - { - "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "resource": { - "resourceType": "Observation", - "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Toilet cylinder crackers model step-mother visor opening communication", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "resource": { + "resourceType": "Specimen", + "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363", + "identifier": [ + { + "value": "00012345", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "collection": { + "collectedDateTime": "2008-01-31T19:10:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" - } - }, - { - "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "resource": { - "resourceType": "Observation", - "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", - "status": "final", - "code": { - "coding": [ - { - "code": "obs-id", - "display": "obs-text", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" - } - ] - }, - "valueString": "Columnist draft inn brown income ikebana circulation prince", - "subject": { - "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "resource": { + "resourceType": "ServiceRequest", + "id": "affc614c-f1e3-c5c4-22f2-e9023fd178f6", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "code": { + "coding": [ + { + "code": "02588", + "display": "3D echo cardigram", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "code": "796.4", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "786.09", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + }, + { + "coding": [ + { + "code": "414.8", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M" + } + ] + } + ], + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "reasonReference": [ + { + "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758" + } + ], + "specimen": [ + { + "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + ], + "occurrenceDateTime": "2006-01-31T20:00:00+05:30" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/affc614c-f1e3-c5c4-22f2-e9023fd178f6" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + { + "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "resource": { + "resourceType": "Specimen", + "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302", + "identifier": [ + { + "value": "00012367", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1-1", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2008-01-31T20:00:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302" + } + }, + { + "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "resource": { + "resourceType": "Observation", + "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Toilet cylinder crackers model step-mother visor opening communication", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69" + } + }, + { + "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "resource": { + "resourceType": "Observation", + "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead", + "status": "final", + "code": { + "coding": [ + { + "code": "obs-id", + "display": "obs-text", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system" + } + ] + }, + "valueString": "Columnist draft inn brown income ikebana circulation prince", + "subject": { + "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-01-expected.json new file mode 100644 index 000000000..5c57e258b --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-01-expected.json @@ -0,0 +1,5045 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O19", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OMG^O19^OMG_O19" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:43:26.164Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OMG_O19.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "OMG^O19^OMG_O19" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00Z", + "end": "2022-11-18T10:30:00Z" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + }, + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", + "resource": { + "resourceType": "Location", + "id": "502c12bb-692b-055b-2d94-bf9805c5969e", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "resource": { + "resourceType": "Location", + "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "partOf": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" + } + }, + { + "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", + "resource": { + "resourceType": "Location", + "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", + "name": "GHH", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "resource": { + "resourceType": "RelatedPerson", + "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", + "resource": { + "resourceType": "ServiceRequest", + "id": "1694bdd9-e009-505d-1b38-a011c05aca98", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInfo": [ + { + "reference": "Organization/d21e6735-e883-9c0e-b5cc-f8f347108ed2" + }, + { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + { + "reference": "Organization/99f6f2b8-6b96-860e-8c15-4d107a127798" + }, + { + "reference": "Device/d6c5dfd2-8713-ab47-861e-afc5d9799fc6" + }, + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + }, + { + "reference": "DiagnosticReport/184de61f-6d6d-64ab-9cce-163a71a29920" + }, + { + "reference": "Observation/c55dbf52-e766-9623-43f7-b533e244979f" + } + ], + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + }, + { + "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", + "resource": { + "resourceType": "Organization", + "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", + "name": "Pathology " + }, + "request": { + "method": "PUT", + "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + } + }, + { + "fullUrl": "urn:uuid:d21e6735-e883-9c0e-b5cc-f8f347108ed2", + "resource": { + "resourceType": "Organization", + "id": "d21e6735-e883-9c0e-b5cc-f8f347108ed2", + "name": "ORC Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/d21e6735-e883-9c0e-b5cc-f8f347108ed2" + } + }, + { + "fullUrl": "urn:uuid:639668c5-52f5-fc8a-70d3-6f12622e03f2", + "resource": { + "resourceType": "Location", + "id": "639668c5-52f5-fc8a-70d3-6f12622e03f2", + "name": "Lane 5 East ORC, room 136, bed B 4E", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/d21e6735-e883-9c0e-b5cc-f8f347108ed2" + } + }, + "request": { + "method": "PUT", + "url": "Location/639668c5-52f5-fc8a-70d3-6f12622e03f2" + } + }, + { + "fullUrl": "urn:uuid:d27c9215-3e8c-99d1-88b0-b245865adb5f", + "resource": { + "resourceType": "Location", + "id": "d27c9215-3e8c-99d1-88b0-b245865adb5f", + "partOf": { + "reference": "Location/639668c5-52f5-fc8a-70d3-6f12622e03f2" + }, + "name": "136", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27c9215-3e8c-99d1-88b0-b245865adb5f" + } + }, + { + "fullUrl": "urn:uuid:7d4654b5-1f13-362a-da3b-de87aa1a611f", + "resource": { + "resourceType": "Location", + "id": "7d4654b5-1f13-362a-da3b-de87aa1a611f", + "partOf": { + "reference": "Location/d27c9215-3e8c-99d1-88b0-b245865adb5f" + }, + "name": "B", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d4654b5-1f13-362a-da3b-de87aa1a611f" + } + }, + { + "fullUrl": "urn:uuid:b753cf48-2222-c603-acd4-2067422baef7", + "resource": { + "resourceType": "Location", + "id": "b753cf48-2222-c603-acd4-2067422baef7", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b753cf48-2222-c603-acd4-2067422baef7" + } + }, + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + }, + { + "fullUrl": "urn:uuid:99f6f2b8-6b96-860e-8c15-4d107a127798", + "resource": { + "resourceType": "Organization", + "id": "99f6f2b8-6b96-860e-8c15-4d107a127798", + "name": "Hospital OBR" + }, + "request": { + "method": "PUT", + "url": "Organization/99f6f2b8-6b96-860e-8c15-4d107a127798" + } + }, + { + "fullUrl": "urn:uuid:d6c5dfd2-8713-ab47-861e-afc5d9799fc6", + "resource": { + "resourceType": "Device", + "id": "d6c5dfd2-8713-ab47-861e-afc5d9799fc6", + "identifier": [ + { + "value": "PD-10.11", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d6c5dfd2-8713-ab47-861e-afc5d9799fc6" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "organization": { + "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + }, + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "resource": { + "resourceType": "Practitioner", + "id": "9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "ROBIN" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + { + "fullUrl": "urn:uuid:722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "resource": { + "resourceType": "PractitionerRole", + "id": "722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "location": [ + { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + ], + "practitioner": { + "reference": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + }, + { + "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "resource": { + "resourceType": "Location", + "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "name": "LABUnit01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + }, + { + "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "resource": { + "resourceType": "Location", + "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "partOf": { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + }, + "name": "Room01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "9c32a0a4-72f4-517f-3269-ddd672f6af57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "result": [ + { + "reference": "Observation/006c9da2-4310-bd61-2415-7b9d702a2372" + } + ] + }, + "fullUrl": "urn:uuid:9c32a0a4-72f4-517f-3269-ddd672f6af57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + }, + { + "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "resource": { + "resourceType": "Condition", + "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "stage": [ + { + "assessment": [ + { + "reference": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + ] + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + }, + { + "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", + "resource": { + "resourceType": "DiagnosticReport", + "id": "248a4d68-4053-9a2a-7104-103d72488298", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "PractitionerRole/d5a7f28e-59f3-ee2c-ece6-a136721e8b34" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + } + }, + { + "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", + "resource": { + "resourceType": "Device", + "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", + "identifier": [ + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + }, + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + } + }, + { + "fullUrl": "urn:uuid:006c9da2-4310-bd61-2415-7b9d702a2372", + "resource": { + "resourceType": "Observation", + "id": "006c9da2-4310-bd61-2415-7b9d702a2372", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "OB-5", + "display": "Observation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Note test" + } + ], + "performer": [ + { + "reference": "PractitionerRole/d5a7f28e-59f3-ee2c-ece6-a136721e8b34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/006c9da2-4310-bd61-2415-7b9d702a2372" + } + }, + { + "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "resource": { + "resourceType": "Specimen", + "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2017-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + }, + { + "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:9819334e-765a-83cb-73e9-76d805756774", + "resource": { + "resourceType": "Observation", + "id": "9819334e-765a-83cb-73e9-76d805756774", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "OB-5", + "display": "Observation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ], + "device": { + "reference": "Device/23e0fe77-2cec-c427-d23f-b36511cb23eb" + } + }, + "request": { + "method": "PUT", + "url": "Observation/9819334e-765a-83cb-73e9-76d805756774" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + } + }, + { + "fullUrl": "urn:uuid:8ed4594a-de4c-4ef2-9ba3-8519e11dcb81", + "resource": { + "resourceType": "Observation", + "id": "8ed4594a-de4c-4ef2-9ba3-8519e11dcb81", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueQuantity": { + "value": 120 + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8ed4594a-de4c-4ef2-9ba3-8519e11dcb81" + } + }, + { + "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + } + }, + { + "fullUrl": "urn:uuid:ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "resource": { + "resourceType": "Account", + "id": "ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "identifier": [ + { + "value": "AI168", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", + "resource": { + "resourceType": "ServiceRequest", + "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/c5057ffa-0095-fc36-51e7-4a6c801c1ca6" + }, + "supportingInfo": [ + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + }, + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + ], + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Test Note" + }, + { + "text": "Fasting Sugar" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine", + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "96929271-cce5-ac32-9769-cc19a1b4fe23", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "result": [ + { + "reference": "Observation/c55dbf52-e766-9623-43f7-b533e244979f" + } + ], + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "fullUrl": "urn:uuid:96929271-cce5-ac32-9769-cc19a1b4fe23", + "request": { + "method": "PUT", + "url": "DiagnosticReport/96929271-cce5-ac32-9769-cc19a1b4fe23" + } + }, + { + "fullUrl": "urn:uuid:184de61f-6d6d-64ab-9cce-163a71a29920", + "resource": { + "resourceType": "DiagnosticReport", + "id": "184de61f-6d6d-64ab-9cce-163a71a29920", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SD", + "display": "3DHISTECH Digital", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/184de61f-6d6d-64ab-9cce-163a71a29920" + } + }, + { + "fullUrl": "urn:uuid:c55dbf52-e766-9623-43f7-b533e244979f", + "resource": { + "resourceType": "Observation", + "id": "c55dbf52-e766-9623-43f7-b533e244979f", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_SD", + "display": "3DHISTECH Digital", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "valueString": "Observation value", + "device": { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note OBX 2" + } + ], + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "performer": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c55dbf52-e766-9623-43f7-b533e244979f" + } + }, + { + "fullUrl": "urn:uuid:c5057ffa-0095-fc36-51e7-4a6c801c1ca6", + "resource": { + "resourceType": "Encounter", + "id": "c5057ffa-0095-fc36-51e7-4a6c801c1ca6", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "50011", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/c5057ffa-0095-fc36-51e7-4a6c801c1ca6" + } + }, + { + "fullUrl": "urn:uuid:d5a7f28e-59f3-ee2c-ece6-a136721e8b34", + "resource": { + "resourceType": "PractitionerRole", + "id": "d5a7f28e-59f3-ee2c-ece6-a136721e8b34", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + } + ], + "organization": { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/81017e4b-6fa8-af69-42c1-0847d46bec12" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d5a7f28e-59f3-ee2c-ece6-a136721e8b34" + } + }, + { + "fullUrl": "urn:uuid:81017e4b-6fa8-af69-42c1-0847d46bec12", + "resource": { + "resourceType": "Practitioner", + "id": "81017e4b-6fa8-af69-42c1-0847d46bec12", + "identifier": [ + { + "value": "987" + } + ], + "name": [ + { + "family": "Obx Family" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/81017e4b-6fa8-af69-42c1-0847d46bec12" + } + }, + { + "fullUrl": "urn:uuid:e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "resource": { + "resourceType": "Location", + "id": "e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "name": "Lane 4", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + } + }, + { + "fullUrl": "urn:uuid:82384359-d1f7-86c1-9469-aeba9eb379e5", + "resource": { + "resourceType": "Location", + "id": "82384359-d1f7-86c1-9469-aeba9eb379e5", + "partOf": { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + }, + "name": "136", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + } + }, + { + "fullUrl": "urn:uuid:0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "resource": { + "resourceType": "Location", + "id": "0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "partOf": { + "reference": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + }, + "name": "B", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0019add7-1ccd-0b5a-24b7-aee0be6790dd" + } + }, + { + "fullUrl": "urn:uuid:8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "resource": { + "resourceType": "Location", + "id": "8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c3f5369-ec0a-1da3-db69-98462e5c3a09" + } + }, + { + "fullUrl": "urn:uuid:34581a2c-e458-f879-0f49-09c801d2b493", + "resource": { + "resourceType": "Organization", + "id": "34581a2c-e458-f879-0f49-09c801d2b493", + "name": "Healthcare Centre" + }, + "request": { + "method": "PUT", + "url": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:baa1872a-8e1a-57e2-fa2e-28917b7e707b", + "resource": { + "resourceType": "Location", + "id": "baa1872a-8e1a-57e2-fa2e-28917b7e707b", + "name": "obx-sac, room 136, bed B 4E", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/baa1872a-8e1a-57e2-fa2e-28917b7e707b" + } + }, + { + "fullUrl": "urn:uuid:f26a8e3e-ab09-1a1a-a74a-023ffc42b784", + "resource": { + "resourceType": "Location", + "id": "f26a8e3e-ab09-1a1a-a74a-023ffc42b784", + "partOf": { + "reference": "Location/baa1872a-8e1a-57e2-fa2e-28917b7e707b" + }, + "name": "136", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f26a8e3e-ab09-1a1a-a74a-023ffc42b784" + } + }, + { + "fullUrl": "urn:uuid:e6e5a501-ed01-0567-6fb5-1a88fff8e0f0", + "resource": { + "resourceType": "Location", + "id": "e6e5a501-ed01-0567-6fb5-1a88fff8e0f0", + "partOf": { + "reference": "Location/f26a8e3e-ab09-1a1a-a74a-023ffc42b784" + }, + "name": "B", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e6e5a501-ed01-0567-6fb5-1a88fff8e0f0" + } + }, + { + "fullUrl": "urn:uuid:a5cf1286-c2e3-c201-ebde-ef13ed4f72d5", + "resource": { + "resourceType": "Location", + "id": "a5cf1286-c2e3-c201-ebde-ef13ed4f72d5", + "name": "CommunityHospital", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a5cf1286-c2e3-c201-ebde-ef13ed4f72d5" + } + }, + { + "fullUrl": "urn:uuid:23e0fe77-2cec-c427-d23f-b36511cb23eb", + "resource": { + "resourceType": "Device", + "id": "23e0fe77-2cec-c427-d23f-b36511cb23eb", + "identifier": [ + { + "value": "OBX-SAC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/23e0fe77-2cec-c427-d23f-b36511cb23eb" + } + } + ] + } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-02-expected.json new file mode 100644 index 000000000..35e43bc66 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OMG_O19/OMG-O19-02-expected.json @@ -0,0 +1,4516 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O19", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OMG^O19^OMG_O19" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:45:21.382Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OMG_O19.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "OMG^O19^OMG_O19" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00Z", + "end": "2022-11-18T10:30:00Z" + } + } + ] + } + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + }, + "onHold": false, + "period": { + "start": "2016-01-01" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "resource": { + "resourceType": "RelatedPerson", + "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "identifier": [ + { + "value": "1516" + }, + { + "value": "19290207" + }, + { + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + }, + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", + "resource": { + "resourceType": "Location", + "id": "502c12bb-692b-055b-2d94-bf9805c5969e", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "resource": { + "resourceType": "Location", + "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "partOf": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" + } + }, + { + "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", + "resource": { + "resourceType": "Location", + "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", + "name": "GHH", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "resource": { + "resourceType": "RelatedPerson", + "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", + "resource": { + "resourceType": "ServiceRequest", + "id": "1694bdd9-e009-505d-1b38-a011c05aca98", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + }, + { + "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", + "resource": { + "resourceType": "Organization", + "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", + "name": "Pathology " + }, + "request": { + "method": "PUT", + "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "organization": { + "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + }, + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "resource": { + "resourceType": "Practitioner", + "id": "9d5cadd9-534d-fcbb-dea8-9d5de0a3e839", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "ROBIN" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + { + "fullUrl": "urn:uuid:722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "resource": { + "resourceType": "PractitionerRole", + "id": "722995e7-669d-f2a3-a59d-8dcfc7f244e1", + "location": [ + { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + ], + "practitioner": { + "reference": "Practitioner/9d5cadd9-534d-fcbb-dea8-9d5de0a3e839" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + }, + { + "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "resource": { + "resourceType": "Location", + "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad", + "name": "LABUnit01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + } + }, + { + "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27", + "resource": { + "resourceType": "Location", + "id": "ee586d80-706a-5933-8500-a8026c48fb27", + "partOf": { + "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad" + }, + "name": "Room01", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--ROBIN--LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "9c32a0a4-72f4-517f-3269-ddd672f6af57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "result": [ + { + "reference": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" + } + ] + }, + "fullUrl": "urn:uuid:9c32a0a4-72f4-517f-3269-ddd672f6af57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + }, + { + "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "resource": { + "resourceType": "Condition", + "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "stage": [ + { + "assessment": [ + { + "reference": "DiagnosticReport/9c32a0a4-72f4-517f-3269-ddd672f6af57" + } + ] + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + }, + { + "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", + "resource": { + "resourceType": "DiagnosticReport", + "id": "248a4d68-4053-9a2a-7104-103d72488298", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + } + }, + { + "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", + "resource": { + "resourceType": "Device", + "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", + "identifier": [ + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + }, + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + } + }, + { + "fullUrl": "urn:uuid:612c5b43-e253-a3b6-e43e-d2b616f88975", + "resource": { + "resourceType": "Observation", + "id": "612c5b43-e253-a3b6-e43e-d2b616f88975", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "OB-5.1", + "display": "Test", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" + } + ] + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Note test" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" + } + }, + { + "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "resource": { + "resourceType": "Specimen", + "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2017-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + }, + { + "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "resource": { + "resourceType": "Observation", + "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueString": "Observation value", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + } + }, + { + "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", + "resource": { + "resourceType": "Observation", + "id": "95061d26-6388-e018-b093-9a687d42b908", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueQuantity": { + "value": 120 + }, + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" + } + }, + { + "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + } + }, + { + "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", + "resource": { + "resourceType": "ServiceRequest", + "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "29adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "96929271-cce5-ac32-9769-cc19a1b4fe23", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "29adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ] + }, + "fullUrl": "urn:uuid:96929271-cce5-ac32-9769-cc19a1b4fe23", + "request": { + "method": "PUT", + "url": "DiagnosticReport/96929271-cce5-ac32-9769-cc19a1b4fe23" + } + }, + { + "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", + "resource": { + "resourceType": "Condition", + "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2018-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "stage": [ + { + "assessment": [ + { + "reference": "DiagnosticReport/96929271-cce5-ac32-9769-cc19a1b4fe23" + } + ] + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + }, + { + "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "code": { + "coding": [ + { + "code": "3DH_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" + } + }, + { + "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "resource": { + "resourceType": "Specimen", + "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2018-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + }, + { + "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", + "resource": { + "resourceType": "DiagnosticReport", + "id": "370e1124-2579-084a-42bd-160d2fb0c774", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "4DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" + } + }, + { + "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", + "code": { + "coding": [ + { + "code": "4DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" + } + }, + { + "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "resource": { + "resourceType": "ServiceRequest", + "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "29adf2e714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/41996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15", + "supportingInfo": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + }, + { + "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + }, + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + }, + { + "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "29adf2e714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/41996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "result": [ + { + "reference": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + } + ] + }, + "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "request": { + "method": "PUT", + "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4" + } + }, + { + "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", + "resource": { + "resourceType": "Observation", + "id": "d172fdac-a8ed-9480-80bb-b33992f04629", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "valueString": "Test", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + } + }, + { + "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", + "resource": { + "resourceType": "Specimen", + "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", + "identifier": [ + { + "value": "2019-PAT-1456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "parent": [ + { + "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + { + "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", + "resource": { + "resourceType": "Specimen", + "id": "15f429e9-5db1-5521-af83-8dc73baa5009", + "identifier": [ + { + "value": "2019-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + }, + { + "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", + "resource": { + "resourceType": "Observation", + "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + } + }, + { + "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "resource": { + "resourceType": "ServiceRequest", + "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15", + "specimen": [ + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "27e751bd-5aa5-58f9-8146-3378303e9397", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ], + "result": [ + { + "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + } + ], + "specimen": [ + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ] + }, + "fullUrl": "urn:uuid:27e751bd-5aa5-58f9-8146-3378303e9397", + "request": { + "method": "PUT", + "url": "DiagnosticReport/27e751bd-5aa5-58f9-8146-3378303e9397" + } + }, + { + "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", + "resource": { + "resourceType": "ServiceRequest", + "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", + "status": "revoked", + "intent": "order", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339dc6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15", + "specimen": [ + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "17af63cc-98b5-5aa8-a1a4-e66bdee50b53", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/722995e7-669d-f2a3-a59d-8dcfc7f244e1" + } + ], + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339dc6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2021-10-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ], + "result": [ + { + "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + ], + "specimen": [ + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ] + }, + "fullUrl": "urn:uuid:17af63cc-98b5-5aa8-a1a4-e66bdee50b53", + "request": { + "method": "PUT", + "url": "DiagnosticReport/17af63cc-98b5-5aa8-a1a4-e66bdee50b53" + } + }, + { + "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "resource": { + "resourceType": "Observation", + "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ], + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + "request": { + "method": "PUT", + "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + }, + { + "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "resource": { + "resourceType": "Encounter", + "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "50011", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Acc-Mgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + } + }, + { + "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", + "resource": { + "resourceType": "Location", + "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", + "name": "Lab01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "resource": { + "resourceType": "Location", + "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "partOf": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + }, + "name": "Room01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" + } + }, + { + "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", + "resource": { + "resourceType": "Location", + "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", + "name": "GHH Facility", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" + } + }, + { + "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", + "resource": { + "resourceType": "Location", + "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", + "name": "Trauma-Centre", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + }, + { + "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", + "resource": { + "resourceType": "Location", + "id": "283ba5cc-3293-242c-794e-240b9ad6104e", + "partOf": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" + } + }, + { + "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "resource": { + "resourceType": "Location", + "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "name": "GHH", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" + } + }, + { + "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "resource": { + "resourceType": "Encounter", + "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5002", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Account-Manager", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + } + } + ] + } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json index 4e2d75f18..5027f6c88 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json @@ -1,440 +1,667 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2016-03-08T18:04:05-05:00", + "timestamp": "2016-03-09T04:34:05+05:30", "identifier": { - "value": "TC09SAPartAIG030101AA" + "value": "TC09SAPartAIG030101AA" }, "id": "b56f609b-5811-993c-e8ce-2ed8e3dbde53", "entry": [ - { - "fullUrl": "urn:uuid:6eda7d2f-32f8-a6c7-5125-d59f65a25c97", - "resource": { - "resourceType": "MessageHeader", - "id": "6eda7d2f-32f8-a6c7-5125-d59f65a25c97", - "source": { - "name": "MDHHSDataHub", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:6eda7d2f-32f8-a6c7-5125-d59f65a25c97", + "resource": { + "resourceType": "MessageHeader", + "id": "6eda7d2f-32f8-a6c7-5125-d59f65a25c97", + "source": { + "name": "MDHHSDataHub", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "LAN", + "endpoint": "unknown", + "receiver": { + "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "sender": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - ] - } - }, - "destination": [ - { - "name": "LAN", - "endpoint": "unknown", - "receiver": { - "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6eda7d2f-32f8-a6c7-5125-d59f65a25c97" } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "sender": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/6eda7d2f-32f8-a6c7-5125-d59f65a25c97" - } - }, - { - "fullUrl": "urn:uuid:a8f237a8-b330-c901-c5c0-5f847b8ecd91", - "resource": { - "resourceType": "Provenance", - "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:32.095Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2016-03-08T18:04:05-05:00", - "recorded": "2016-03-08T18:04:05-05:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:a8f237a8-b330-c901-c5c0-5f847b8ecd91", + "resource": { + "resourceType": "Provenance", + "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:56:01.022Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2016-03-09T04:34:05+05:30", + "recorded": "2016-03-09T04:34:05+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + }, + "target": [ + { + "reference": "Bundle/b56f609b-5811-993c-e8ce-2ed8e3dbde53" + } ] - }, - "who": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "target": [ - { - "reference": "Bundle/b56f609b-5811-993c-e8ce-2ed8e3dbde53" + }, + "request": { + "method": "PUT", + "url": "Provenance/a8f237a8-b330-c901-c5c0-5f847b8ecd91" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/a8f237a8-b330-c901-c5c0-5f847b8ecd91" - } - }, - { - "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "resource": { - "resourceType": "Organization", - "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + { + "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "resource": { + "resourceType": "Organization", + "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MDHHS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - }, - { - "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "resource": { - "resourceType": "Organization", - "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "resource": { + "resourceType": "Organization", + "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MDHHS" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } - }, - { - "fullUrl": "urn:uuid:97997f4d-5259-b974-5a44-1b7450c2f4ab", - "resource": { - "resourceType": "Patient", - "id": "97997f4d-5259-b974-5a44-1b7450c2f4ab", - "identifier": [ - { - "value": "MRNTC09SA-Part A" - } - ], - "name": [ - { - "family": "Shine", - "given": [ - "Baby Girl" - ], - "use": "official" + { + "fullUrl": "urn:uuid:97997f4d-5259-b974-5a44-1b7450c2f4ab", + "resource": { + "resourceType": "Patient", + "id": "97997f4d-5259-b974-5a44-1b7450c2f4ab", + "identifier": [ + { + "value": "MRNTC09SA-Part A" + } + ], + "name": [ + { + "family": "Shine", + "given": [ + "Baby Girl" + ], + "use": "official" + } + ], + "birthDate": "2016-03-08", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2016-03-09T01:34:05+05:30" + } + ] + }, + "gender": "female", + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA", + "use": "home" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "use": "work", + "system": "phone" + } + ], + "deceasedBoolean": false, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Honey" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/6f910e0e-19e4-4de8-a915-1e93a6d5ae35" + }, + { + "reference": "PractitionerRole/804c0420-f7b6-c084-1bb9-82a1b37452a7" + }, + { + "reference": "PractitionerRole/77770f1e-4428-757c-fa9d-9a95200c9564" + }, + { + "reference": "PractitionerRole/d79794f1-c9bb-510f-d57b-254b4858c327" + }, + { + "reference": "PractitionerRole/66f87495-aa9f-8e3e-1eff-470789ec5363" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" } - ], - "birthDate": "2016-03-08", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2016-03-08T15:04:05-05:00" - } - ] - }, - "gender": "female", - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA", - "use": "home" + }, + { + "fullUrl": "urn:uuid:f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "resource": { + "resourceType": "Organization", + "id": "f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "resource": { + "resourceType": "Account", + "id": "d57aadb1-2418-cd95-5527-0d92a48b5dfa", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" + }, + "onHold": false + } + ], + "subject": [ + { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + } + ] }, - { - "use": "work", - "system": "phone" + "request": { + "method": "PUT", + "url": "Account/d57aadb1-2418-cd95-5527-0d92a48b5dfa" } - ], - "deceasedBoolean": false, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" + }, + { + "fullUrl": "urn:uuid:6f910e0e-19e4-4de8-a915-1e93a6d5ae35", + "resource": { + "resourceType": "PractitionerRole", + "id": "6f910e0e-19e4-4de8-a915-1e93a6d5ae35", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c7c0beb9-29bf-64ec-8577-13f2758d62a3" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Honey" - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/6f910e0e-19e4-4de8-a915-1e93a6d5ae35" } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - } - }, - { - "fullUrl": "urn:uuid:f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", - "resource": { - "resourceType": "Organization", - "id": "f7b13959-b794-c7f5-b3eb-bdbd8c47b09e", - "name": "Walmart" }, - "request": { - "method": "PUT", - "url": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" - } - }, - { - "fullUrl": "urn:uuid:d57aadb1-2418-cd95-5527-0d92a48b5dfa", - "resource": { - "resourceType": "Account", - "id": "d57aadb1-2418-cd95-5527-0d92a48b5dfa", - "status": "active", - "guarantor": [ - { - "party": { - "reference": "Organization/f7b13959-b794-c7f5-b3eb-bdbd8c47b09e" - }, - "onHold": false + { + "fullUrl": "urn:uuid:c7c0beb9-29bf-64ec-8577-13f2758d62a3", + "resource": { + "resourceType": "Practitioner", + "id": "c7c0beb9-29bf-64ec-8577-13f2758d62a3", + "identifier": [ + { + "value": "8175000004", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c7c0beb9-29bf-64ec-8577-13f2758d62a3" } - ], - "subject": [ - { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + }, + { + "fullUrl": "urn:uuid:804c0420-f7b6-c084-1bb9-82a1b37452a7", + "resource": { + "resourceType": "PractitionerRole", + "id": "804c0420-f7b6-c084-1bb9-82a1b37452a7", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/029ceabd-ae7b-2d10-ed98-0aa344f6711d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/804c0420-f7b6-c084-1bb9-82a1b37452a7" } - ] }, - "request": { - "method": "PUT", - "url": "Account/d57aadb1-2418-cd95-5527-0d92a48b5dfa" - } - }, - { - "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0", - "resource": { - "resourceType": "Coverage", - "id": "b4494dc0-e11b-658a-8cce-5241ed1ccdc0", - "class": [ - { - "value": "NA", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:029ceabd-ae7b-2d10-ed98-0aa344f6711d", + "resource": { + "resourceType": "Practitioner", + "id": "029ceabd-ae7b-2d10-ed98-0aa344f6711d", + "identifier": [ + { + "value": "8175000005", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } ] - } }, - { - "value": "IG030101", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/029ceabd-ae7b-2d10-ed98-0aa344f6711d" } - ], - "period": { - "end": "2017-10-07T15:04:05-05:00" - }, - "identifier": [ - { - "value": "TC09SA-PartA", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } + }, + { + "fullUrl": "urn:uuid:77770f1e-4428-757c-fa9d-9a95200c9564", + "resource": { + "resourceType": "PractitionerRole", + "id": "77770f1e-4428-757c-fa9d-9a95200c9564", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/e31641c7-04dd-56f8-c066-3e1e62006ff2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/77770f1e-4428-757c-fa9d-9a95200c9564" + } + }, + { + "fullUrl": "urn:uuid:e31641c7-04dd-56f8-c066-3e1e62006ff2", + "resource": { + "resourceType": "Practitioner", + "id": "e31641c7-04dd-56f8-c066-3e1e62006ff2", + "identifier": [ + { + "value": "8175000007", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" + }, + "request": { + "method": "PUT", + "url": "Practitioner/e31641c7-04dd-56f8-c066-3e1e62006ff2" } - ], - "status": "active", - "beneficiary": { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - }, - "payor": [ - { - "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + }, + { + "fullUrl": "urn:uuid:d79794f1-c9bb-510f-d57b-254b4858c327", + "resource": { + "resourceType": "PractitionerRole", + "id": "d79794f1-c9bb-510f-d57b-254b4858c327", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/4aba7aea-e172-4aaa-9e62-04de3fe634da" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d79794f1-c9bb-510f-d57b-254b4858c327" } - ], - "policyHolder": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - }, - "subscriber": { - "reference": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" - } }, - "request": { - "method": "PUT", - "url": "Coverage/b4494dc0-e11b-658a-8cce-5241ed1ccdc0" - } - }, - { - "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", - "resource": { - "resourceType": "Organization", - "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", - "address": [ - { - "line": [ - "30555" - ], - "city": "Lansing", - "state": "MI", - "postalCode": "48933" + { + "fullUrl": "urn:uuid:4aba7aea-e172-4aaa-9e62-04de3fe634da", + "resource": { + "resourceType": "Practitioner", + "id": "4aba7aea-e172-4aaa-9e62-04de3fe634da", + "identifier": [ + { + "value": "8175000010", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4aba7aea-e172-4aaa-9e62-04de3fe634da" } - ], - "identifier": [ - { - "value": "LHC" + }, + { + "fullUrl": "urn:uuid:66f87495-aa9f-8e3e-1eff-470789ec5363", + "resource": { + "resourceType": "PractitionerRole", + "id": "66f87495-aa9f-8e3e-1eff-470789ec5363", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/da9542cc-da2c-0072-60bc-b658adf8c84a" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/66f87495-aa9f-8e3e-1eff-470789ec5363" } - ], - "name": "Lansing Health Care" }, - "request": { - "method": "PUT", - "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" - } - }, - { - "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "resource": { - "resourceType": "Organization", - "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "name": "Walmart" + { + "fullUrl": "urn:uuid:da9542cc-da2c-0072-60bc-b658adf8c84a", + "resource": { + "resourceType": "Practitioner", + "id": "da9542cc-da2c-0072-60bc-b658adf8c84a", + "identifier": [ + { + "value": "8175000013", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/da9542cc-da2c-0072-60bc-b658adf8c84a" + } }, - "request": { - "method": "PUT", - "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - } - }, - { - "fullUrl": "urn:uuid:fed1892c-d5ce-3318-bc7c-692fa1cc5093", - "resource": { - "resourceType": "RelatedPerson", - "id": "fed1892c-d5ce-3318-bc7c-692fa1cc5093", - "relationship": [ - { - "coding": [ - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0", + "resource": { + "resourceType": "Coverage", + "id": "b4494dc0-e11b-658a-8cce-5241ed1ccdc0", + "class": [ + { + "value": "NA", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "IG030101", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "period": { + "end": "2017-10-08T01:34:05+05:30" + }, + "identifier": [ + { + "value": "TC09SA-PartA", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + } + ], + "status": "active", + "beneficiary": { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + }, + "payor": [ + { + "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + ], + "policyHolder": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + }, + "subscriber": { + "reference": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" } - ] + }, + "request": { + "method": "PUT", + "url": "Coverage/b4494dc0-e11b-658a-8cce-5241ed1ccdc0" } - ], - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA" + }, + { + "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", + "resource": { + "resourceType": "Organization", + "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", + "address": [ + { + "line": [ + "30555" + ], + "city": "Lansing", + "state": "MI", + "postalCode": "48933" + } + ], + "identifier": [ + { + "value": "LHC" + } + ], + "name": "Lansing Health Care" + }, + "request": { + "method": "PUT", + "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" } - ], - "name": [ - { - "family": "Shine", - "given": [ - "Sarah" - ] + }, + { + "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "resource": { + "resourceType": "Organization", + "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" } - ], - "birthDate": "1975-06-27", - "patient": { - "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" + { + "fullUrl": "urn:uuid:fed1892c-d5ce-3318-bc7c-692fa1cc5093", + "resource": { + "resourceType": "RelatedPerson", + "id": "fed1892c-d5ce-3318-bc7c-692fa1cc5093", + "relationship": [ + { + "coding": [ + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA" + } + ], + "name": [ + { + "family": "Shine", + "given": [ + "Sarah" + ] + } + ], + "birthDate": "1975-06-27", + "patient": { + "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json index 9adddfe50..0ee96285e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json @@ -1,733 +1,977 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2016-03-09T10:32:05-05:00", + "timestamp": "2016-03-09T21:02:05+05:30", "identifier": { - "value": "TC14IG030107AA" + "value": "TC14IG030107AA" }, "id": "65e80ae9-58dc-500c-8ad4-ab62c0bb6898", "entry": [ - { - "fullUrl": "urn:uuid:f651f710-5269-afaa-f743-57b7a501b0c6", - "resource": { - "resourceType": "MessageHeader", - "id": "f651f710-5269-afaa-f743-57b7a501b0c6", - "source": { - "name": "MDHHS-DataHub", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:f651f710-5269-afaa-f743-57b7a501b0c6", + "resource": { + "resourceType": "MessageHeader", + "id": "f651f710-5269-afaa-f743-57b7a501b0c6", + "source": { + "name": "MDHHS-DataHub", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "LAN", + "endpoint": "unknown", + "receiver": { + "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "sender": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - ] - } - }, - "destination": [ - { - "name": "LAN", - "endpoint": "unknown", - "receiver": { - "reference": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/f651f710-5269-afaa-f743-57b7a501b0c6" } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "sender": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/f651f710-5269-afaa-f743-57b7a501b0c6" - } - }, - { - "fullUrl": "urn:uuid:2f0f2d7d-7f93-e624-fa21-11d1c490897f", - "resource": { - "resourceType": "Provenance", - "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:13.501Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2016-03-09T10:32:05-05:00", - "recorded": "2016-03-09T10:32:05-05:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:2f0f2d7d-7f93-e624-fa21-11d1c490897f", + "resource": { + "resourceType": "Provenance", + "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:56:42.431Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2016-03-09T21:02:05+05:30", + "recorded": "2016-03-09T21:02:05+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" + } + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + }, + "target": [ + { + "reference": "Bundle/65e80ae9-58dc-500c-8ad4-ab62c0bb6898" + } ] - }, - "who": { - "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "target": [ - { - "reference": "Bundle/65e80ae9-58dc-500c-8ad4-ab62c0bb6898" + }, + "request": { + "method": "PUT", + "url": "Provenance/2f0f2d7d-7f93-e624-fa21-11d1c490897f" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/2f0f2d7d-7f93-e624-fa21-11d1c490897f" - } - }, - { - "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "resource": { - "resourceType": "Organization", - "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" + { + "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "resource": { + "resourceType": "Organization", + "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MDHHS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7" - } - }, - { - "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "resource": { - "resourceType": "Organization", - "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", - "identifier": [ - { - "value": "MDHHS", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "resource": { + "resourceType": "Organization", + "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0", + "identifier": [ + { + "value": "MDHHS", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MDHHS" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0" - } - }, - { - "fullUrl": "urn:uuid:daed9284-6d12-ca12-4260-9aad09e1f201", - "resource": { - "resourceType": "Patient", - "id": "daed9284-6d12-ca12-4260-9aad09e1f201", - "identifier": [ - { - "value": "MRNTC14" - } - ], - "name": [ - { - "family": "Old", - "given": [ - "Baby Girl" - ], - "use": "official" + { + "fullUrl": "urn:uuid:daed9284-6d12-ca12-4260-9aad09e1f201", + "resource": { + "resourceType": "Patient", + "id": "daed9284-6d12-ca12-4260-9aad09e1f201", + "identifier": [ + { + "value": "MRNTC14" + } + ], + "name": [ + { + "family": "Old", + "given": [ + "Baby Girl" + ], + "use": "official" + } + ], + "birthDate": "2016-02-23", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2016-02-23T16:57:05+05:30" + } + ] + }, + "gender": "female", + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA", + "use": "home" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "use": "work", + "system": "phone" + } + ], + "deceasedBoolean": false, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Shonal" + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/6f910e0e-19e4-4de8-a915-1e93a6d5ae35" + }, + { + "reference": "PractitionerRole/804c0420-f7b6-c084-1bb9-82a1b37452a7" + }, + { + "reference": "PractitionerRole/77770f1e-4428-757c-fa9d-9a95200c9564" + }, + { + "reference": "PractitionerRole/d79794f1-c9bb-510f-d57b-254b4858c327" + }, + { + "reference": "PractitionerRole/66f87495-aa9f-8e3e-1eff-470789ec5363" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" } - ], - "birthDate": "2016-02-23", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2016-02-23T06:27:05-05:00" - } - ] - }, - "gender": "female", - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA", - "use": "home" + }, + { + "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "resource": { + "resourceType": "Organization", + "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", + "name": "Walmart" + }, + "request": { + "method": "PUT", + "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" } - ], - "telecom": [ - { - "use": "home", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "resource": { + "resourceType": "Account", + "id": "2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", + "status": "active", + "guarantor": [ + { + "party": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + } + } + ], + "subject": [ + { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + } + ] }, - { - "use": "work", - "system": "phone" + "request": { + "method": "PUT", + "url": "Account/2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a" } - ], - "deceasedBoolean": false, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" + }, + { + "fullUrl": "urn:uuid:6f910e0e-19e4-4de8-a915-1e93a6d5ae35", + "resource": { + "resourceType": "PractitionerRole", + "id": "6f910e0e-19e4-4de8-a915-1e93a6d5ae35", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c7c0beb9-29bf-64ec-8577-13f2758d62a3" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "Shonal" }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/6f910e0e-19e4-4de8-a915-1e93a6d5ae35" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - } - }, - { - "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "resource": { - "resourceType": "Organization", - "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1", - "name": "Walmart" - }, - "request": { - "method": "PUT", - "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - } - }, - { - "fullUrl": "urn:uuid:2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", - "resource": { - "resourceType": "Account", - "id": "2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a", - "status": "active", - "guarantor": [ - { - "party": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - } - } - ], - "subject": [ - { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + { + "fullUrl": "urn:uuid:c7c0beb9-29bf-64ec-8577-13f2758d62a3", + "resource": { + "resourceType": "Practitioner", + "id": "c7c0beb9-29bf-64ec-8577-13f2758d62a3", + "identifier": [ + { + "value": "8175000004", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c7c0beb9-29bf-64ec-8577-13f2758d62a3" } - ] }, - "request": { - "method": "PUT", - "url": "Account/2a2e4b87-f7cb-9731-bd5a-fa9bc1dc854a" - } - }, - { - "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3", - "resource": { - "resourceType": "Coverage", - "id": "2839c7cc-58ca-f08d-1358-a15fa18660d3", - "class": [ - { - "value": "NA", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:804c0420-f7b6-c084-1bb9-82a1b37452a7", + "resource": { + "resourceType": "PractitionerRole", + "id": "804c0420-f7b6-c084-1bb9-82a1b37452a7", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/029ceabd-ae7b-2d10-ed98-0aa344f6711d" + } }, - { - "value": "FR080901", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/804c0420-f7b6-c084-1bb9-82a1b37452a7" } - ], - "period": { - "end": "2017-10-07T15:04:05-05:00" - }, - "identifier": [ - { - "value": "TC05SA", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } + }, + { + "fullUrl": "urn:uuid:029ceabd-ae7b-2d10-ed98-0aa344f6711d", + "resource": { + "resourceType": "Practitioner", + "id": "029ceabd-ae7b-2d10-ed98-0aa344f6711d", + "identifier": [ + { + "value": "8175000005", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - } - ], - "status": "active", - "beneficiary": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "payor": [ - { - "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + }, + "request": { + "method": "PUT", + "url": "Practitioner/029ceabd-ae7b-2d10-ed98-0aa344f6711d" } - ], - "policyHolder": { - "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" - }, - "subscriber": { - "reference": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" - } }, - "request": { - "method": "PUT", - "url": "Coverage/2839c7cc-58ca-f08d-1358-a15fa18660d3" - } - }, - { - "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", - "resource": { - "resourceType": "Organization", - "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", - "address": [ - { - "line": [ - "30555" - ], - "city": "Lansing", - "state": "MI", - "postalCode": "48933" + { + "fullUrl": "urn:uuid:77770f1e-4428-757c-fa9d-9a95200c9564", + "resource": { + "resourceType": "PractitionerRole", + "id": "77770f1e-4428-757c-fa9d-9a95200c9564", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/e31641c7-04dd-56f8-c066-3e1e62006ff2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/77770f1e-4428-757c-fa9d-9a95200c9564" } - ], - "identifier": [ - { - "value": "LHC" + }, + { + "fullUrl": "urn:uuid:e31641c7-04dd-56f8-c066-3e1e62006ff2", + "resource": { + "resourceType": "Practitioner", + "id": "e31641c7-04dd-56f8-c066-3e1e62006ff2", + "identifier": [ + { + "value": "8175000007", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e31641c7-04dd-56f8-c066-3e1e62006ff2" } - ], - "name": "Lansing Health Care" }, - "request": { - "method": "PUT", - "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" - } - }, - { - "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3", - "resource": { - "resourceType": "RelatedPerson", - "id": "ff1b880e-468e-7a2f-41cb-8b6e204901f3", - "relationship": [ - { - "coding": [ - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:d79794f1-c9bb-510f-d57b-254b4858c327", + "resource": { + "resourceType": "PractitionerRole", + "id": "d79794f1-c9bb-510f-d57b-254b4858c327", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/4aba7aea-e172-4aaa-9e62-04de3fe634da" } - ] - } - ], - "address": [ - { - "line": [ - "123 Main Street", - "Apartment 3-C" - ], - "city": "Oldtown", - "state": "MI", - "postalCode": "48917", - "country": "USA" - } - ], - "name": [ - { - "family": "Shonal", - "given": [ - "Old" - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d79794f1-c9bb-510f-d57b-254b4858c327" } - ], - "birthDate": "1975-06-27", - "patient": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" - } - }, - { - "fullUrl": "urn:uuid:c0150cb3-0fdf-5809-54b6-8e3f186a90d7", - "resource": { - "resourceType": "ServiceRequest", - "id": "c0150cb3-0fdf-5809-54b6-8e3f186a90d7", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "ORD723222", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-783274", - "system": "urn:oid:2.16.840.1.113883.3.72.5.25", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4aba7aea-e172-4aaa-9e62-04de3fe634da", + "resource": { + "resourceType": "Practitioner", + "id": "4aba7aea-e172-4aaa-9e62-04de3fe634da", + "identifier": [ + { + "value": "8175000010", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } ] - } }, - { - "value": "GORD874211", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/4aba7aea-e172-4aaa-9e62-04de3fe634da" } - ], - "authoredOn": "2016-02-23T09:37:05-05:00", - "code": { - "coding": [ - { - "code": "1320", - "display": "HIV Ag/Ab - Serum", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "subject": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "requester": { - "reference": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" - }, - "specimen": [ - { - "reference": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" - } - ], - "note": [ - { - "text": "the sky is blue" - } - ], - "occurrenceDateTime": "2016-02-23T09:47:05-05:00" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" - } - }, - { - "fullUrl": "urn:uuid:c9463523-7143-2510-6861-24e4a2703f22", - "resource": { - "resourceType": "Organization", - "id": "c9463523-7143-2510-6861-24e4a2703f22", - "name": "Detroit City Hospital", - "identifier": [ - { - "value": "8175000005" + { + "fullUrl": "urn:uuid:66f87495-aa9f-8e3e-1eff-470789ec5363", + "resource": { + "resourceType": "PractitionerRole", + "id": "66f87495-aa9f-8e3e-1eff-470789ec5363", + "code": [ + { + "coding": [ + { + "code": "RCT", + "display": "Results Copies To", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/da9542cc-da2c-0072-60bc-b658adf8c84a" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/66f87495-aa9f-8e3e-1eff-470789ec5363" } - ], - "address": [ - { - "line": [ - "2405 Garden St" - ], - "city": "Detroit", - "state": "MI", - "postalCode": "48201", - "country": "USA" + }, + { + "fullUrl": "urn:uuid:da9542cc-da2c-0072-60bc-b658adf8c84a", + "resource": { + "resourceType": "Practitioner", + "id": "da9542cc-da2c-0072-60bc-b658adf8c84a", + "identifier": [ + { + "value": "8175000013", + "system": "http://example.com/v2-to-fhir-converter/Identifier/StarLIMS" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/da9542cc-da2c-0072-60bc-b658adf8c84a" } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3", + "resource": { + "resourceType": "Coverage", + "id": "2839c7cc-58ca-f08d-1358-a15fa18660d3", + "class": [ + { + "value": "NA", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "FR080901", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "period": { + "end": "2017-10-08T01:34:05+05:30" + }, + "identifier": [ + { + "value": "TC05SA", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + } + ], + "status": "active", + "beneficiary": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + }, + "payor": [ + { + "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" + } + ], + "policyHolder": { + "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1" + }, + "subscriber": { + "reference": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" } - ] + }, + "request": { + "method": "PUT", + "url": "Coverage/2839c7cc-58ca-f08d-1358-a15fa18660d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c9463523-7143-2510-6861-24e4a2703f22" - } - }, - { - "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", - "resource": { - "resourceType": "Practitioner", - "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", - "identifier": [ - { - "value": "8075000001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI" - } - ], - "name": [ - { - "family": "Smiles", - "given": [ - "Minnie" - ], - "suffix": [ - "DR" - ] + { + "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350", + "resource": { + "resourceType": "Organization", + "id": "c30aa783-68cc-9ce0-504f-9e4b50183350", + "address": [ + { + "line": [ + "30555" + ], + "city": "Lansing", + "state": "MI", + "postalCode": "48933" + } + ], + "identifier": [ + { + "value": "LHC" + } + ], + "name": "Lansing Health Care" + }, + "request": { + "method": "PUT", + "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" - } - }, - { - "fullUrl": "urn:uuid:9996be7d-26c8-997e-2f57-9ce40fe59181", - "resource": { - "resourceType": "PractitionerRole", - "id": "9996be7d-26c8-997e-2f57-9ce40fe59181", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3", + "resource": { + "resourceType": "RelatedPerson", + "id": "ff1b880e-468e-7a2f-41cb-8b6e204901f3", + "relationship": [ + { + "coding": [ + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "123 Main Street", + "Apartment 3-C" + ], + "city": "Oldtown", + "state": "MI", + "postalCode": "48917", + "country": "USA" + } + ], + "name": [ + { + "family": "Shonal", + "given": [ + "Old" + ] + } + ], + "birthDate": "1975-06-27", + "patient": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3" } - ], - "organization": { - "reference": "Organization/c9463523-7143-2510-6861-24e4a2703f22" - }, - "practitioner": { - "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" - } - }, - { - "fullUrl": "urn:uuid:29fb3250-9864-4dad-e590-4126768684d4", - "resource": { - "resourceType": "Specimen", - "id": "29fb3250-9864-4dad-e590-4126768684d4", - "identifier": [ - { - "value": "ORD723222", - "system": "urn:oid:2.16.840.1.113883.3.72.5.24", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:c0150cb3-0fdf-5809-54b6-8e3f186a90d7", + "resource": { + "resourceType": "ServiceRequest", + "id": "c0150cb3-0fdf-5809-54b6-8e3f186a90d7", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "ORD723222", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-783274", + "system": "urn:oid:2.16.840.1.113883.3.72.5.25", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "GORD874211", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2016-02-23T20:07:05+05:30", + "code": { + "coding": [ + { + "code": "1320", + "display": "HIV Ag/Ab - Serum", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "subject": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + }, + "supportingInfo": [ + { + "reference": "PractitionerRole/6f910e0e-19e4-4de8-a915-1e93a6d5ae35" + }, + { + "reference": "PractitionerRole/804c0420-f7b6-c084-1bb9-82a1b37452a7" + }, + { + "reference": "PractitionerRole/77770f1e-4428-757c-fa9d-9a95200c9564" + }, + { + "reference": "PractitionerRole/d79794f1-c9bb-510f-d57b-254b4858c327" + }, + { + "reference": "PractitionerRole/66f87495-aa9f-8e3e-1eff-470789ec5363" + } + ], + "requester": { + "reference": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" + }, + "specimen": [ + { + "reference": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" + } + ], + "note": [ + { + "text": "the sky is blue" + } + ], + "occurrenceDateTime": "2016-02-23T20:17:05+05:30" }, - { - "value": "R-783274", - "system": "urn:oid:2.16.840.1.113883.3.72.5.25", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" } - ], - "collection": { - "collectedPeriod": { - "start": "2016-03-08T10:32:05-05:00", - "end": "2016-03-08T10:32:05-05:00" - } - }, - "request": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + }, + { + "fullUrl": "urn:uuid:c9463523-7143-2510-6861-24e4a2703f22", + "resource": { + "resourceType": "Organization", + "id": "c9463523-7143-2510-6861-24e4a2703f22", + "name": "Detroit City Hospital", + "identifier": [ + { + "value": "8175000005" + } + ], + "address": [ + { + "line": [ + "2405 Garden St" + ], + "city": "Detroit", + "state": "MI", + "postalCode": "48201", + "country": "USA" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c9463523-7143-2510-6861-24e4a2703f22" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" - } - }, - { - "fullUrl": "urn:uuid:7fd7b81a-cae2-53b5-1d4c-b220a32a5695", - "resource": { - "resourceType": "Observation", - "id": "7fd7b81a-cae2-53b5-1d4c-b220a32a5695", - "status": "unknown", - "code": { - "coding": [ - { - "code": "AOE25", - "display": "Pregnancy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/BOL_0002" - } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + { + "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", + "resource": { + "resourceType": "Practitioner", + "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414", + "identifier": [ + { + "value": "8075000001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPI" + } + ], + "name": [ + { + "family": "Smiles", + "given": [ + "Minnie" + ], + "suffix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" } - ], - "valueString": "NO", - "effectiveDateTime": "2016-03-08T10:32:05-05:00", - "subject": { - "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "O", - "display": "Order Detail", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Order Detail" - } + }, + { + "fullUrl": "urn:uuid:9996be7d-26c8-997e-2f57-9ce40fe59181", + "resource": { + "resourceType": "PractitionerRole", + "id": "9996be7d-26c8-997e-2f57-9ce40fe59181", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "organization": { + "reference": "Organization/c9463523-7143-2510-6861-24e4a2703f22" + }, + "practitioner": { + "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7fd7b81a-cae2-53b5-1d4c-b220a32a5695" - } - }, - { - "fullUrl": "urn:uuid:92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", - "resource": { - "resourceType": "Specimen", - "id": "92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", - "type": { - "coding": [ - { - "code": "119339001", - "display": "Stool Specimen (Specimen)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "collection": { - "collectedDateTime": "2016-03-08T10:32:05-05:00" - }, - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "NONE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } + { + "fullUrl": "urn:uuid:29fb3250-9864-4dad-e590-4126768684d4", + "resource": { + "resourceType": "Specimen", + "id": "29fb3250-9864-4dad-e590-4126768684d4", + "identifier": [ + { + "value": "ORD723222", + "system": "urn:oid:2.16.840.1.113883.3.72.5.24", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-783274", + "system": "urn:oid:2.16.840.1.113883.3.72.5.25", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedPeriod": { + "start": "2016-03-08T21:02:05+05:30", + "end": "2016-03-08T21:02:05+05:30" + } + }, + "request": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/29fb3250-9864-4dad-e590-4126768684d4" } - ], - "request": [ - { - "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + }, + { + "fullUrl": "urn:uuid:7fd7b81a-cae2-53b5-1d4c-b220a32a5695", + "resource": { + "resourceType": "Observation", + "id": "7fd7b81a-cae2-53b5-1d4c-b220a32a5695", + "status": "unknown", + "code": { + "coding": [ + { + "code": "AOE25", + "display": "Pregnancy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/BOL_0002" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + ], + "valueString": "NO", + "effectiveDateTime": "2016-03-08T21:02:05+05:30", + "subject": { + "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "O", + "display": "Order Detail", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Order Detail" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7fd7b81a-cae2-53b5-1d4c-b220a32a5695" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707" + { + "fullUrl": "urn:uuid:92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", + "resource": { + "resourceType": "Specimen", + "id": "92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707", + "type": { + "coding": [ + { + "code": "119339001", + "display": "Stool Specimen (Specimen)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "collection": { + "collectedDateTime": "2016-03-08T21:02:05+05:30" + }, + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "NONE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] + } + } + ], + "request": [ + { + "reference": "ServiceRequest/c0150cb3-0fdf-5809-54b6-8e3f186a90d7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json index fda7efa54..e2d73d857 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json @@ -1,2841 +1,3299 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00019" + "value": "MSG00019" }, "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:27.063Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:46:56.913Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "OML^O21^OML_O21" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" - } - ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + }, + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } + }, + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "relationship": [ - { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T14:41:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:6415af3e-e19f-4ebe-e028-68273aa308ff", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "6415af3e-e19f-4ebe-e028-68273aa308ff", + "category": [ + "food" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "12345", + "display": "Peanut Allergy", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/6415af3e-e19f-4ebe-e028-68273aa308ff" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:0bf0c9dd-ca57-7366-1557-e073ee1f717a", + "resource": { + "resourceType": "ServiceRequest", + "id": "0bf0c9dd-ca57-7366-1557-e073ee1f717a", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PS-31" + } + ] + } + } + ], + "status": "active", + "intent": "order", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + }, + { + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "resource": { + "resourceType": "ServiceRequest", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "reference": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", + "resource": { + "resourceType": "Condition", + "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" + } + ], + "text": "Salmonella species" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Preliminary" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + }, + { + "fullUrl": "urn:uuid:93cb07c2-034f-56b1-9a47-558f231eeea0", + "resource": { + "resourceType": "Specimen", + "id": "93cb07c2-034f-56b1-9a47-558f231eeea0", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "display": "Shipment ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + }, + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", + "container": [ + { + "identifier": [ + { + "value": "A59032" + } + ], + "capacity": { + "value": 10, + "unit": "ML" + }, + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" + }, + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] + }, + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] + }, + "specimenQuantity": { + "value": 5, + "unit": "ML" + } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } + }, + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + } + }, + { + "fullUrl": "urn:uuid:9216aed5-efd7-bd84-23b9-aca219d8b23b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9216aed5-efd7-bd84-23b9-aca219d8b23b", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" } - ] - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } ] - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9216aed5-efd7-bd84-23b9-aca219d8b23b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "resource": { + "resourceType": "Organization", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-PHIMS-Stage" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "resource": { + "resourceType": "Observation", + "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 27 + } + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 25 + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" - } - }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "resource": { + "resourceType": "Account", + "id": "ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "AI168", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + ], + "status": "active" }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "type": "Procedure" + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "type": "MedicationDispense" } - ], - "text": "admitter" + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T11:26:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:6415af3e-e19f-4ebe-e028-68273aa308ff", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "6415af3e-e19f-4ebe-e028-68273aa308ff", - "category": [ - "food" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "12345", - "display": "Peanut Allergy", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/6415af3e-e19f-4ebe-e028-68273aa308ff" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:0bf0c9dd-ca57-7366-1557-e073ee1f717a", - "resource": { - "resourceType": "ServiceRequest", - "id": "0bf0c9dd-ca57-7366-1557-e073ee1f717a", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PS-31" - } - ] - } - } - ], - "status": "active", - "intent": "order", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" - } - }, - { - "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "resource": { - "resourceType": "ServiceRequest", - "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "basedOn": [ - { - "reference": "ServiceRequest/0bf0c9dd-ca57-7366-1557-e073ee1f717a" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" - } - ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - } - }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "resource": { + "resourceType": "Procedure", + "id": "42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - } - }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - }, - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - }, - { - "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", - "resource": { - "resourceType": "Condition", - "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "resource": { + "resourceType": "MedicationDispense", + "id": "89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" - } - }, - { - "fullUrl": "urn:uuid:93cb07c2-034f-56b1-9a47-558f231eeea0", - "resource": { - "resourceType": "Specimen", - "id": "93cb07c2-034f-56b1-9a47-558f231eeea0", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - }, - "collectedPeriod": { - "start": "2011-01-03T14:34:28-08:00", - "end": "2011-11-03T14:34:28-08:00" }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + { + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" }, { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/be5b888b-368a-160a-39c7-267e5421e6c5", + "type": "Procedure" } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "identifier": [ - { - "value": "A59032" - } - ], - "capacity": { - "value": 10, - "unit": "ML" - }, - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } ] - }, - "specimenQuantity": { - "value": 5, - "unit": "ML" - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" - } - }, - { - "fullUrl": "urn:uuid:9216aed5-efd7-bd84-23b9-aca219d8b23b", - "resource": { - "resourceType": "DiagnosticReport", - "id": "9216aed5-efd7-bd84-23b9-aca219d8b23b", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/9216aed5-efd7-bd84-23b9-aca219d8b23b" - } - }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - }, - { - "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "resource": { - "resourceType": "Organization", - "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" - }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:be5b888b-368a-160a-39c7-267e5421e6c5", + "resource": { + "resourceType": "Procedure", + "id": "be5b888b-368a-160a-39c7-267e5421e6c5", + "code": { + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/be5b888b-368a-160a-39c7-267e5421e6c5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "resource": { - "resourceType": "Observation", - "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/93cb07c2-034f-56b1-9a47-558f231eeea0" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json index 6762131ec..daf2a9640 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json @@ -1,2546 +1,2549 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00018" + "value": "MSG00018" }, "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:16.294Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:47:27.085Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } ], - "suffix": [ - "III", - "PHD" + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ], - "prefix": [ - "DR" + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "communication": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] } - ] - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" - } - }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ + ], + "relationship": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] } - ], - "text": "admitter" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T11:26:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "resource": { - "resourceType": "ServiceRequest", - "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" }, - { - "text": "Fasting Sugar" + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" } - ], - "reasonReference": [ - { - "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "Once" + }, + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + }, + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" } - }, - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - } - }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } - ], - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - } - }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - }, - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - }, - { - "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", - "resource": { - "resourceType": "Condition", - "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", - "code": { - "coding": [ - { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T14:41:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "resource": { + "resourceType": "ServiceRequest", + "id": "20d84998-5ed2-d428-4ff3-fbeb9a9054a6", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + }, + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322", + "resource": { + "resourceType": "Condition", + "id": "e06055fc-0230-24ef-7d66-7ae83cafb322", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "basedOn": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } + "request": { + "method": "PUT", + "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322" } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", - "resource": { - "resourceType": "Specimen", - "id": "2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", - "identifier": [ - { - "value": "2545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-03T14:34:28-08:00", - "end": "2011-11-03T14:34:28-08:00" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } ] - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" - } - }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - }, - { - "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "resource": { - "resourceType": "Organization", - "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" - } - }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } - ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" - } - }, - { - "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "resource": { - "resourceType": "ServiceRequest", - "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "2203", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "basedOn": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" + } + ], + "text": "Salmonella species" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Preliminary" + } + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } }, - { - "value": "2301", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "basedOn": [ - { - "reference": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T13:00:00+02:15" - } - } - }, - "code": { - "coding": [ - { - "code": "24590-2", - "display": "MR Brain", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", + "resource": { + "resourceType": "Specimen", + "id": "2c6b831e-bbce-171b-2ba6-c9f247ed1ee5", + "identifier": [ + { + "value": "2545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "display": "Shipment ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + }, + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" + }, + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] + }, + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] + } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" + } + }, + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/20d84998-5ed2-d428-4ff3-fbeb9a9054a6" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - } - }, - { - "fullUrl": "urn:uuid:e7554134-0706-cbec-4d30-016ba0bf5d74", - "resource": { - "resourceType": "ServiceRequest", - "id": "e7554134-0706-cbec-4d30-016ba0bf5d74", - "identifier": [ - { - "value": "PAI-291", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } }, - { - "value": "FAI-292", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + }, + { + "fullUrl": "urn:uuid:b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "resource": { + "resourceType": "Organization", + "id": "b2686a80-120d-ef7a-b107-2a6c1a5c98ff", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-PHIMS-Stage" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/b2686a80-120d-ef7a-b107-2a6c1a5c98ff" } - ], - "status": "active", - "intent": "order", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" - } - }, - { - "fullUrl": "urn:uuid:2b31b7a0-ab9d-942c-4611-89590ee58b1f", - "resource": { - "resourceType": "Specimen", - "id": "2b31b7a0-ab9d-942c-4611-89590ee58b1f", - "collection": { - "collectedDateTime": "2021-10-20T13:00:00+02:15" - }, - "request": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" - } - }, - { - "fullUrl": "urn:uuid:0df7b0a3-d581-3f7c-4a37-9aba787cc146", - "resource": { - "resourceType": "Specimen", - "id": "0df7b0a3-d581-3f7c-4a37-9aba787cc146", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/2c6b831e-bbce-171b-2ba6-c9f247ed1ee5" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } ] - } }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" + } + }, + { + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "resource": { + "resourceType": "ServiceRequest", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "2203", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2301", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "reference": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T16:15:00+05:30" + } + } + }, + "code": { + "coding": [ + { + "code": "24590-2", + "display": "MR Brain", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" + } ] - } }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ] - }, - "collectedPeriod": { - "start": "2011-01-03T14:34:28-08:00", - "end": "2011-11-03T14:34:28-08:00" }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + } + }, + { + "fullUrl": "urn:uuid:e7554134-0706-cbec-4d30-016ba0bf5d74", + "resource": { + "resourceType": "ServiceRequest", + "id": "e7554134-0706-cbec-4d30-016ba0bf5d74", + "identifier": [ + { + "value": "PAI-291", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + "value": "FAI-292", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } }, { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } } - ] + ], + "status": "active", + "intent": "order", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74" } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "fullUrl": "urn:uuid:2b31b7a0-ab9d-942c-4611-89590ee58b1f", + "resource": { + "resourceType": "Specimen", + "id": "2b31b7a0-ab9d-942c-4611-89590ee58b1f", + "collection": { + "collectedDateTime": "2021-10-20T16:15:00+05:30" }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] + "request": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ] }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] + "request": { + "method": "PUT", + "url": "Specimen/2b31b7a0-ab9d-942c-4611-89590ee58b1f" } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] + }, + { + "fullUrl": "urn:uuid:0df7b0a3-d581-3f7c-4a37-9aba787cc146", + "resource": { + "resourceType": "Specimen", + "id": "0df7b0a3-d581-3f7c-4a37-9aba787cc146", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "display": "Shipment ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + }, + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" + }, + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] + }, + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] + } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.114222", + "assigner": { + "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } + }, + "note": [ + { + "text": "This is a specimen resource" + } + ], + "request": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } + ] }, - "system": "urn:oid:2.16.840.1.114222", - "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "request": [ - { - "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + "request": { + "method": "PUT", + "url": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" - } - }, - { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "resource": { - "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "resource": { + "resourceType": "Organization", + "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - { - "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "resource": { - "resourceType": "Observation", - "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } + { + "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "resource": { + "resourceType": "Observation", + "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 27 + } + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 25 + } + } ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" + } + } + ] }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } + "request": { + "method": "PUT", + "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/0df7b0a3-d581-3f7c-4a37-9aba787cc146" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json index eec07a050..20ef88ce1 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-03-expected.json @@ -1,4213 +1,5263 @@ { - "resourceType": "Bundle", - "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", - "identifier": { - "value": "MSG00019" - }, - "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", - "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T11:26:00+02:15", + "identifier": { + "value": "MSG00019" + }, + "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", + "entry": [ + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O21", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OML^O21^OML_O21" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "meta": { - "security": [ + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:48:18.426Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" + }, + "occurredDateTime": "2021-10-20T11:26:00+02:15", + "recorded": "2021-10-20T11:26:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + }, + "entity": [ { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } } ], - "tag": [ + "target": [ { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" } ] }, - "eventCoding": { - "code": "O21", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OML^O21^OML_O21" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:36.851Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "activity": { - "coding": [ + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ { - "display": "OML^O21^OML_O21" + "country": "USA" } ] }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" - } - ] + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + ] }, - "address": [ - { - "country": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" - } - ] + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" + "value": "ORDApp" } ] }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + "text": "Testactivity" } ] }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15", - "security": [ - { - "code": "LABEL", - "display": "assign security label", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } }, { - "code": "DEMO", - "display": "all demographic information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" }, { - "code": "PRS", - "display": "patient requested information sensitivity", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" }, { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-v3-ActCode", - "code": "SpecialAccessRestrictionInstructions", - "display": "Access restricted to clinicians other than the consulting clinician" + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" }, { - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", - "valuePeriod": { - "start": "2021-11-18T10:30:00Z", - "end": "2022-11-18T10:30:00Z" + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } - } - ] - } - ] - }, - "active": true, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" + "system": "urn:oid:2.16.840.1.113883.1.5" } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + ], + "birthDate": "1988-08-18", + "_birthDate": { "extension": [ { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T11:26:00+02:15" } ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" } ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Church" - } - ], - "contact": [ - { - "organization": { - "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "name": { - "family": "DOE", - "given": [ - "MARY" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T11:16:30+01:15", + "meta": { + "lastUpdated": "2005-01-10T01:50:14+03:15", + "security": [ + { + "code": "LABEL", + "display": "assign security label", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, { - "value": "(555) 555-2004", - "system": "phone", - "use": "home" + "code": "DEMO", + "display": "all demographic information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, { - "value": "(555)555-2005", - "system": "phone", - "use": "work" + "code": "PRS", + "display": "patient requested information sensitivity", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, { - "value": "5493275904", - "system": "phone" + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-security-label", + "code": "special-access-restriction-instructions", + "display": "Access restricted to clinicians other than the consulting clinician" }, { - "value": "5492308914", - "system": "phone" + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/access-restriction-range", + "valuePeriod": { + "start": "2021-11-18T10:30:00Z", + "end": "2022-11-18T10:30:00Z" + } + } + ] } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" + ] + }, + "active": true, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ + { + "reference": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" + "url": "text", + "valueString": "White+Asian" } ] }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } }, - "onHold": false, - "period": { - "start": "2016-01-01" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", - "resource": { - "resourceType": "RelatedPerson", - "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", - "identifier": [ - { - "value": "1516" - }, - { - "value": "19290207" - }, - { - "value": "2245367687", - "type": { - "coding": [ + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" + "url": "text", + "valueString": "Non Hispanic or Latino" } ] }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MOT", - "display": "MOT" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "(608)251-7777", - "system": "phone", - "use": "home" - }, - { - "value": "(608)2517777", - "system": "phone", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "female", - "birthDate": "2001-04-12", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", - "resource": { - "resourceType": "Practitioner", - "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", - "identifier": [ - { - "type": { - "coding": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } } ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Church" } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + ], + "managingOrganization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } }, - "type": { - "coding": [ + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", - "resource": { - "resourceType": "Location", - "id": "4683678a-6244-d9d8-3643-bd5af6862624", - "name": "LABUnit01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" } ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "resource": { - "resourceType": "Location", - "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", - "partOf": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, - "name": "Room01", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } }, - "request": { - "method": "PUT", - "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" - } - }, - { - "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "resource": { - "resourceType": "Location", - "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", - "name": "GHH", - "mode": "instance", - "description": "LABUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" - } - }, - { - "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", - "resource": { - "resourceType": "Location", - "id": "502c12bb-692b-055b-2d94-bf9805c5969e", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - } - }, - { - "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", - "resource": { - "resourceType": "Location", - "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", - "partOf": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ + ], + "guarantor": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" + "party": { + "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + }, + "onHold": false, + "period": { + "start": "2016-01-01" + } } ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } }, - "request": { - "method": "PUT", - "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" - } - }, - { - "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", - "resource": { - "resourceType": "Location", - "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", - "name": "GHH", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } }, - "request": { - "method": "PUT", - "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ + { + "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98", + "resource": { + "resourceType": "RelatedPerson", + "id": "e42e5df9-fef2-9072-3b17-3f2475927f98", + "identifier": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ + "value": "1516" + }, { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ + "value": "19290207" + }, { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ + ], + "relationship": [ { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" } - }, - { - "status": "completed", - "location": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" } - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "participant": [ - { - "type": [ - { + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { "coding": [ { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" } ] } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" } - }, - { - "type": [ + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } + ] }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } + "managingOrganization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ], - "period": { - "start": "2021-10-20T11:26:00+02:15" }, - "reasonCode": [ - { + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } ] } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - }, - { - "condition": { - "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 - } - ] + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "resource": { - "resourceType": "Organization", - "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", - "name": "Bull Run Family Practice", - "contact": [ - { - "name": { - "family": "Smith", - "given": [ - "John", - "L" - ] - }, - "telecom": [ + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ { - "value": "5426387999", - "system": "phone" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - ], - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } }, - "request": { - "method": "PUT", - "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" - } - }, - { - "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", - "resource": { - "resourceType": "RelatedPerson", - "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ { - "code": "MTH", - "display": "mother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" } ] } - ], - "period": { - "start": "2021-01-01", - "end": "2021-02-01" }, - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(555) 555-2004", - "system": "phone" - }, - { - "value": "(555)555-2005", - "system": "phone", - "use": "work" - }, - { - "value": "5426387999", - "system": "phone" - }, - { - "value": "5493275904", - "system": "phone" - }, - { - "value": "5492308914", - "system": "phone" - } - ], - "name": [ - { - "family": "DOE", - "given": [ - "MARY" - ] + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" }, - { - "family": "Smith", - "given": [ - "John", - "L" + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } ] } - ], - "gender": "female", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] + { + "fullUrl": "urn:uuid:bb5f3a1b-5ef2-91ed-bdc4-39008d021a85", + "resource": { + "resourceType": "Device", + "id": "bb5f3a1b-5ef2-91ed-bdc4-39008d021a85", + "identifier": [ + { + "value": "SampleDevice" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Device/bb5f3a1b-5ef2-91ed-bdc4-39008d021a85" + } }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" } ] }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:864cd641-6bf0-9def-ae05-da0239bb20a7", + "resource": { + "resourceType": "Practitioner", + "id": "864cd641-6bf0-9def-ae05-da0239bb20a7", + "identifier": [ { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } ] }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "request": { + "method": "PUT", + "url": "Practitioner/864cd641-6bf0-9def-ae05-da0239bb20a7" } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" } - }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" ] } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" + ] }, - "type": { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + "family": "REFER", + "given": [ + "LINDA", + "C" + ] } ] }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + ] }, - "relationship": { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", "given": [ - "Dann" + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" ] } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" - } - ], - "name": "Blue Cross Blue Shield of Texas" + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ + { + "fullUrl": "urn:uuid:4683678a-6244-d9d8-3643-bd5af6862624", + "resource": { + "resourceType": "Location", + "id": "4683678a-6244-d9d8-3643-bd5af6862624", + "name": "LABUnit01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { + "coding": [ { - "value": "(555)555-1234", - "system": "phone" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" + { + "fullUrl": "urn:uuid:9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "resource": { + "resourceType": "Location", + "id": "9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b", + "partOf": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { + "name": "Room01", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { "coding": [ { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } ] } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } - ] + "request": { + "method": "PUT", + "url": "Location/9e8ac770-5a35-5cd9-6a6b-02c1fa87b25b" + } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", - "resource": { - "resourceType": "ServiceRequest", - "id": "1694bdd9-e009-505d-1b38-a011c05aca98", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "9adf2339de714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Serum or Plasma", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - ], - "note": [ - { - "text": "Urgent" - }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { + { + "fullUrl": "urn:uuid:5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "resource": { + "resourceType": "Location", + "id": "5178e3a0-3de3-daeb-e7bf-97824ca7fade", + "name": "GHH", + "mode": "instance", + "description": "LABUnit01--Room01--GHH", + "physicalType": { "coding": [ { - "code": "Once" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } ] - }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 } }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - }, - { - "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", - "resource": { - "resourceType": "Organization", - "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", - "name": "Pathology " - }, - "request": { - "method": "PUT", - "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" - } - }, - { - "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", - "resource": { - "resourceType": "Practitioner", - "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "LAB", - "given": [ - "ROBIN", - "B" - ] - } - ] + "request": { + "method": "PUT", + "url": "Location/5178e3a0-3de3-daeb-e7bf-97824ca7fade" + } }, - "request": { - "method": "PUT", - "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - } - }, - { - "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", - "resource": { - "resourceType": "PractitionerRole", - "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", - "code": [ - { + { + "fullUrl": "urn:uuid:502c12bb-692b-055b-2d94-bf9805c5969e", + "resource": { + "resourceType": "Location", + "id": "502c12bb-692b-055b-2d94-bf9805c5969e", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { "coding": [ { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } ] } - ], - "organization": { - "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" }, - "practitioner": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + "request": { + "method": "PUT", + "url": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - } - }, - { - "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "resource": { - "resourceType": "Specimen", - "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - }, - "request": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" - } - }, - { - "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", - "resource": { - "resourceType": "Condition", - "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", - "code": { - "coding": [ + { + "fullUrl": "urn:uuid:a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "resource": { + "resourceType": "Location", + "id": "a0711476-bfa8-d104-dcc2-9405cb2b0d2f", + "partOf": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + }, + "name": "ROOM1", + "identifier": [ { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } ], - "text": "Diabetes" - }, - "onsetDateTime": "2020-05-01T12:30:09Z", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15Z" + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" - } - }, - { - "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", - "resource": { - "resourceType": "DiagnosticReport", - "id": "248a4d68-4053-9a2a-7104-103d72488298", - "code": { - "coding": [ - { - "code": "3DHIS_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] }, - "basedOn": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "request": { + "method": "PUT", + "url": "Location/a0711476-bfa8-d104-dcc2-9405cb2b0d2f" } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" - } - }, - { - "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", - "resource": { - "resourceType": "Device", - "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", - "identifier": [ - { - "value": "Unknown", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" - }, - { - "value": "Unknown", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH" + { + "fullUrl": "urn:uuid:e51affa4-0bbc-0c87-16df-9011a8afe81f", + "resource": { + "resourceType": "Location", + "id": "e51affa4-0bbc-0c87-16df-9011a8afe81f", + "name": "GHH", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/e51affa4-0bbc-0c87-16df-9011a8afe81f" + } }, - "request": { - "method": "PUT", - "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - } - }, - { - "fullUrl": "urn:uuid:612c5b43-e253-a3b6-e43e-d2b616f88975", - "resource": { - "resourceType": "Observation", - "id": "612c5b43-e253-a3b6-e43e-d2b616f88975", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHIS_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ] - }, - "basedOn": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ], - "valueCodeableConcept": { - "coding": [ - { - "code": "OB-5.1", - "display": "Test", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" - } - ] - }, - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "note": [ - { - "text": "Note test" - } - ] + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } }, - "request": { - "method": "PUT", - "url": "Observation/612c5b43-e253-a3b6-e43e-d2b616f88975" - } - }, - { - "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", - "resource": { - "resourceType": "Specimen", - "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] }, - "container": [ - { - "identifier": [ + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ { - "value": "2017-PAT-123456-1-2-5" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" } ] } - ], - "accessionIdentifier": { - "value": "2017-PT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" }, - "request": [ - { - "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" - } - ], - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - ] + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } }, - "request": { - "method": "PUT", - "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - }, - { - "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", - "resource": { - "resourceType": "DiagnosticReport", - "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_LD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } }, { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", - "resource": { - "resourceType": "Observation", - "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, + ], + "participant": [ { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "valueString": "Observation value", - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ + "type": [ { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] } ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", - "resource": { - "resourceType": "DiagnosticReport", - "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELARE", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } }, { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" - } - }, - { - "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", - "resource": { - "resourceType": "Observation", - "id": "95061d26-6388-e018-b093-9a687d42b908", - "status": "final", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } }, { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "valueQuantity": { - "value": 120 - }, - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ + "type": [ { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" } ], - "text": "Final" + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" - } - }, - { - "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, + ], + "identifier": [ { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" - } - }, - { - "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", - "resource": { - "resourceType": "ServiceRequest", - "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "29adf2339de714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "reasonCode": [ + { "coding": [ { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" } ] } - } - ], - "code": { - "coding": [ - { - "code": "57698-3", - "display": "Lipid panel with direct LDL", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" - } - ], - "note": [ - { - "text": "Urgent" + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" }, - { - "text": "Fasting Sugar" - } - ], - "reasonReference": [ - { - "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" - } - ], - "asNeededCodeableConcept": { - "text": "Pain" - }, - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "code": { + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { "coding": [ { - "code": "Once" + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" } ] }, - "repeat": { - "period": 1, - "periodUnit": "d", - "when": [ - "AC" - ], - "offset": 60, - "boundsDuration": { - "value": 1, - "unit": "Day", - "code": "d", - "system": "http://unitsofmeasure.org" - }, - "duration": 15, - "durationUnit": "min", - "count": 1 - } - }, - "priority": "routine" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - }, - { - "fullUrl": "urn:uuid:04f87c93-a03b-ed4c-fd83-fc61a2bafee8", - "resource": { - "resourceType": "Specimen", - "id": "04f87c93-a03b-ed4c-fd83-fc61a2bafee8", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - }, - "request": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" - } - }, - { - "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", - "resource": { - "resourceType": "Condition", - "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", - "code": { - "coding": [ + "account": [ { - "code": "E10.9", - "display": "Diabetes Mellitus Type 1", - "system": "http://hl7.org/fhir/sid/icd-10" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } ], - "text": "Diabetes" - }, - "onsetDateTime": "2018-05-01T12:30:09Z", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15Z" - } - ] - }, - "request": { - "method": "PUT", - "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" - } - }, - { - "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", - "resource": { - "resourceType": "DiagnosticReport", - "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", - "code": { - "coding": [ - { - "code": "3DH_LABELAREA", - "display": "3DHIS L Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "serviceProvider": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 }, { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + "condition": { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 } ] }, - "basedOn": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ], - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" - } - }, - { - "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", - "resource": { - "resourceType": "Specimen", - "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "value": "5426387999", + "system": "phone" } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } } ] }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - } - ], - "accessionIdentifier": { - "value": "2018-PT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "request": [ - { - "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" - } - ], - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - ] + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } }, - "request": { - "method": "PUT", - "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" - } - }, - { - "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", - "resource": { - "resourceType": "DiagnosticReport", - "id": "370e1124-2579-084a-42bd-160d2fb0c774", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { + { + "fullUrl": "urn:uuid:aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "resource": { + "resourceType": "RelatedPerson", + "id": "aaab79ac-3725-fd40-4a95-90cd8e0603f7", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { "coding": [ { - "code": "FILL" + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" } ] - } - } - ], - "code": { - "coding": [ - { - "code": "4DHISTECH_LD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" - } - }, - { - "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", - "resource": { - "resourceType": "DiagnosticReport", - "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", - "code": { - "coding": [ - { - "code": "4DHISTECH_LABELARE", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" }, { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": [ - { - "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" - } - }, - { - "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", - "resource": { - "resourceType": "ServiceRequest", - "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { "coding": [ { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" } ] } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" }, - { - "value": "29adf2e714c6698063e3ddf5d07", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-41996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - } - ], - "code": { - "coding": [ + ], + "telecom": [ { - "code": "57698-3", - "display": "Lipid panel with direct LDL", - "system": "http://loinc.org" + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ], - "occurrenceDateTime": "2021-10-20T12:00:00+02:15", - "supportingInfo": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - }, - { - "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" - }, - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - }, - { - "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - }, - { - "fullUrl": "urn:uuid:060657ea-b419-660c-6786-4b82543f3bd5", - "resource": { - "resourceType": "Specimen", - "id": "060657ea-b419-660c-6786-4b82543f3bd5", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" ] } + ], + "gender": "female", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" }, - "request": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ] + "request": { + "method": "PUT", + "url": "RelatedPerson/aaab79ac-3725-fd40-4a95-90cd8e0603f7" + } }, - "request": { - "method": "PUT", - "url": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" - } - }, - { - "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", - "resource": { - "resourceType": "Observation", - "id": "d172fdac-a8ed-9480-80bb-b33992f04629", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "final", - "code": { - "coding": [ + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, { - "code": "3DHISH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } ] }, - "basedOn": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ], - "valueString": "Test", - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + "text": "moderate" } ], - "text": "Final" + "onset": "2021-01-21" } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ] + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" + } }, - "request": { - "method": "PUT", - "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" - } - }, - { - "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", - "resource": { - "resourceType": "Specimen", - "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", - "identifier": [ - { - "value": "2019-PAT-1456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } } - } - ], - "type": { - "coding": [ + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" } - ] - }, - "request": [ - { - "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" - } - ], - "parent": [ - { - "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } }, - "request": { - "method": "PUT", - "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - } - }, - { - "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", - "resource": { - "resourceType": "Specimen", - "id": "15f429e9-5db1-5521-af83-8dc73baa5009", - "identifier": [ - { - "value": "2019-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" } - } - ] + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } }, - "request": { - "method": "PUT", - "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" - } - }, - { - "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", - "resource": { - "resourceType": "Observation", - "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ { - "code": "FILL" + "value": "(555)555-1234", + "system": "phone" } ] } - } - ], - "status": "final", - "code": { - "coding": [ + ], + "telecom": [ { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "value": "(555)123-5678", + "system": "phone" } ] }, - "component": [ - { - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" }, - "valueQuantity": { - "value": 80 + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" } - }, - { - "code": { + ], + "relationship": [ + { "coding": [ { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" } ] - }, - "valueQuantity": { - "value": 120 } - } - ], - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "specimen": { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" ], - "text": "Final" + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - } - ], - "note": [ - { - "text": "Test Note OBX1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" - } - }, - { - "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", - "resource": { - "resourceType": "ServiceRequest", - "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "9adf2339de714c6698063e3ddf5d0167", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" } - } - ], - "code": { - "coding": [ + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Plasma", - "system": "http://loinc.org" + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true } ] }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1694bdd9-e009-505d-1b38-a011c05aca98", + "resource": { + "resourceType": "ServiceRequest", + "id": "1694bdd9-e009-505d-1b38-a011c05aca98", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Serum or Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInfo": [ + { + "reference": "PractitionerRole/5038fc63-712c-5d71-a711-6f228caf3a16" + }, + { + "reference": "PractitionerRole/ada45ea6-d6d3-212d-0f5b-3c5b9602c652" + } + ], + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + }, + { + "fullUrl": "urn:uuid:b95901da-6a01-56d0-8069-ad0dc3127fc4", + "resource": { + "resourceType": "Organization", + "id": "b95901da-6a01-56d0-8069-ad0dc3127fc4", + "name": "Pathology " + }, + "request": { + "method": "PUT", + "url": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + } + }, + { + "fullUrl": "urn:uuid:5038fc63-712c-5d71-a711-6f228caf3a16", + "resource": { + "resourceType": "PractitionerRole", + "id": "5038fc63-712c-5d71-a711-6f228caf3a16", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/639668c5-52f5-fc8a-70d3-6f12622e03f2" + } + ], + "organization": { + "reference": "Organization/d21e6735-e883-9c0e-b5cc-f8f347108ed2" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/de27cc9d-ddbe-fb35-53f3-ffd21b202481" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5038fc63-712c-5d71-a711-6f228caf3a16" + } + }, + { + "fullUrl": "urn:uuid:de27cc9d-ddbe-fb35-53f3-ffd21b202481", + "resource": { + "resourceType": "Practitioner", + "id": "de27cc9d-ddbe-fb35-53f3-ffd21b202481", + "identifier": [ + { + "value": "12" + } + ], + "name": [ + { + "family": "ORC Fam" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/de27cc9d-ddbe-fb35-53f3-ffd21b202481" + } + }, + { + "fullUrl": "urn:uuid:639668c5-52f5-fc8a-70d3-6f12622e03f2", + "resource": { + "resourceType": "Location", + "id": "639668c5-52f5-fc8a-70d3-6f12622e03f2", + "name": "Lane 5 East ORC, room 136, bed B 4E", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/639668c5-52f5-fc8a-70d3-6f12622e03f2" + } + }, + { + "fullUrl": "urn:uuid:d27c9215-3e8c-99d1-88b0-b245865adb5f", + "resource": { + "resourceType": "Location", + "id": "d27c9215-3e8c-99d1-88b0-b245865adb5f", + "partOf": { + "reference": "Location/639668c5-52f5-fc8a-70d3-6f12622e03f2" + }, + "name": "136", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d27c9215-3e8c-99d1-88b0-b245865adb5f" + } + }, + { + "fullUrl": "urn:uuid:7d4654b5-1f13-362a-da3b-de87aa1a611f", + "resource": { + "resourceType": "Location", + "id": "7d4654b5-1f13-362a-da3b-de87aa1a611f", + "partOf": { + "reference": "Location/d27c9215-3e8c-99d1-88b0-b245865adb5f" + }, + "name": "B", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d4654b5-1f13-362a-da3b-de87aa1a611f" + } + }, + { + "fullUrl": "urn:uuid:b753cf48-2222-c603-acd4-2067422baef7", + "resource": { + "resourceType": "Location", + "id": "b753cf48-2222-c603-acd4-2067422baef7", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 5 East ORC, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b753cf48-2222-c603-acd4-2067422baef7" + } + }, + { + "fullUrl": "urn:uuid:d21e6735-e883-9c0e-b5cc-f8f347108ed2", + "resource": { + "resourceType": "Organization", + "id": "d21e6735-e883-9c0e-b5cc-f8f347108ed2", + "name": "ORC Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/d21e6735-e883-9c0e-b5cc-f8f347108ed2" + } + }, + { + "fullUrl": "urn:uuid:ada45ea6-d6d3-212d-0f5b-3c5b9602c652", + "resource": { + "resourceType": "PractitionerRole", + "id": "ada45ea6-d6d3-212d-0f5b-3c5b9602c652", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/9eb856a1-e0be-0ea7-0208-1218874d02ff" + } + ], + "organization": { + "reference": "Organization/99f6f2b8-6b96-860e-8c15-4d107a127798" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/b44fab49-8c3d-b382-caa8-6dddbd47a0b0" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ada45ea6-d6d3-212d-0f5b-3c5b9602c652" + } + }, + { + "fullUrl": "urn:uuid:b44fab49-8c3d-b382-caa8-6dddbd47a0b0", + "resource": { + "resourceType": "Practitioner", + "id": "b44fab49-8c3d-b382-caa8-6dddbd47a0b0", + "identifier": [ + { + "value": "54" + } + ], + "name": [ + { + "family": "OBR Fam" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b44fab49-8c3d-b382-caa8-6dddbd47a0b0" + } + }, + { + "fullUrl": "urn:uuid:9eb856a1-e0be-0ea7-0208-1218874d02ff", + "resource": { + "resourceType": "Location", + "id": "9eb856a1-e0be-0ea7-0208-1218874d02ff", + "name": "obr, room 136, bed B 4E", + "mode": "instance", + "description": "obr, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb856a1-e0be-0ea7-0208-1218874d02ff" + } + }, + { + "fullUrl": "urn:uuid:19e802d9-4f29-5bc2-3899-fc81b3cf914c", + "resource": { + "resourceType": "Location", + "id": "19e802d9-4f29-5bc2-3899-fc81b3cf914c", + "partOf": { + "reference": "Location/9eb856a1-e0be-0ea7-0208-1218874d02ff" + }, + "name": "136", + "mode": "instance", + "description": "obr, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/19e802d9-4f29-5bc2-3899-fc81b3cf914c" + } + }, + { + "fullUrl": "urn:uuid:7555918d-5a21-8081-7a3f-1afd6befeaba", + "resource": { + "resourceType": "Location", + "id": "7555918d-5a21-8081-7a3f-1afd6befeaba", + "partOf": { + "reference": "Location/19e802d9-4f29-5bc2-3899-fc81b3cf914c" + }, + "name": "B", + "mode": "instance", + "description": "obr, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7555918d-5a21-8081-7a3f-1afd6befeaba" + } + }, + { + "fullUrl": "urn:uuid:7308d61d-59c0-6bf5-a51e-87bf425351c4", + "resource": { + "resourceType": "Location", + "id": "7308d61d-59c0-6bf5-a51e-87bf425351c4", + "name": "CommunityHospital", + "mode": "instance", + "description": "obr, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7308d61d-59c0-6bf5-a51e-87bf425351c4" + } + }, + { + "fullUrl": "urn:uuid:99f6f2b8-6b96-860e-8c15-4d107a127798", + "resource": { + "resourceType": "Organization", + "id": "99f6f2b8-6b96-860e-8c15-4d107a127798", + "name": "Hospital OBR" + }, + "request": { + "method": "PUT", + "url": "Organization/99f6f2b8-6b96-860e-8c15-4d107a127798" + } + }, + { + "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c", + "resource": { + "resourceType": "Practitioner", + "id": "8af87360-4a75-1531-6192-9bdbb1b0351c", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "LAB", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + { + "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649", + "resource": { + "resourceType": "PractitionerRole", + "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "organization": { + "reference": "Organization/b95901da-6a01-56d0-8069-ad0dc3127fc4" + }, + "practitioner": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + } + }, + { + "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "resource": { + "resourceType": "Specimen", + "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a" + } + }, + { + "fullUrl": "urn:uuid:5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "resource": { + "resourceType": "Condition", + "id": "5642a2b6-64cb-1aaf-7db0-f7b50da024b8", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2020-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/5642a2b6-64cb-1aaf-7db0-f7b50da024b8" + } + }, + { + "fullUrl": "urn:uuid:248a4d68-4053-9a2a-7104-103d72488298", + "resource": { + "resourceType": "DiagnosticReport", + "id": "248a4d68-4053-9a2a-7104-103d72488298", + "code": { + "coding": [ + { + "code": "3DHIS_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "performer": [ + { + "reference": "PractitionerRole/d5a7f28e-59f3-ee2c-ece6-a136721e8b34" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/248a4d68-4053-9a2a-7104-103d72488298" + } + }, + { + "fullUrl": "urn:uuid:09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "resource": { + "resourceType": "Specimen", + "id": "09fbd0b8-9319-3c61-2f84-e6dcb6c6497d", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2017-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "request": [ + { + "reference": "ServiceRequest/1694bdd9-e009-505d-1b38-a011c05aca98" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + }, + { + "fullUrl": "urn:uuid:9a833409-c3b9-c917-60d3-34e4ddd16254", + "resource": { + "resourceType": "DiagnosticReport", + "id": "9a833409-c3b9-c917-60d3-34e4ddd16254", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/9a833409-c3b9-c917-60d3-34e4ddd16254" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d65fb981-c111-4bb1-b58f-6dde5b80f922", + "resource": { + "resourceType": "Device", + "id": "d65fb981-c111-4bb1-b58f-6dde5b80f922", + "identifier": [ + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + }, + { + "value": "Unknown", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + } + }, + { + "fullUrl": "urn:uuid:4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "resource": { + "resourceType": "Observation", + "id": "4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueString": "Observation value", + "device": { + "reference": "Device/23e0fe77-2cec-c427-d23f-b36511cb23eb" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4b4aecbd-d348-bb9b-b5a2-3a23e2ed3a67" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:4c60bf89-5730-fdcb-113f-40b5d9271009", + "resource": { + "resourceType": "DiagnosticReport", + "id": "4c60bf89-5730-fdcb-113f-40b5d9271009", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/4c60bf89-5730-fdcb-113f-40b5d9271009" + } + }, + { + "fullUrl": "urn:uuid:95061d26-6388-e018-b093-9a687d42b908", + "resource": { + "resourceType": "Observation", + "id": "95061d26-6388-e018-b093-9a687d42b908", + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "valueQuantity": { + "value": 120 + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/95061d26-6388-e018-b093-9a687d42b908" + } + }, + { + "fullUrl": "urn:uuid:a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a8184fb6-764c-fc0d-90c0-e0957879d8b9", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/09fbd0b8-9319-3c61-2f84-e6dcb6c6497d" + } + ], + "performer": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a8184fb6-764c-fc0d-90c0-e0957879d8b9" + } + }, + { + "fullUrl": "urn:uuid:3b64d540-91b3-7d04-a63a-657c83b60a86", + "resource": { + "resourceType": "ServiceRequest", + "id": "3b64d540-91b3-7d04-a63a-657c83b60a86", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "29adf2339de714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInfo": [ + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + ], + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + ], + "note": [ + { + "text": "Urgent" + }, + { + "text": "Fasting Sugar" + } + ], + "reasonReference": [ + { + "reference": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + ], + "asNeededCodeableConcept": { + "text": "Pain" + }, + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "Once" + } + ] + }, + "repeat": { + "period": 1, + "periodUnit": "d", + "when": [ + "AC" + ], + "offset": 60, + "boundsDuration": { + "value": 1, + "unit": "Day", + "code": "d", + "system": "http://unitsofmeasure.org" + }, + "duration": 15, + "durationUnit": "min", + "count": 1 + } + }, + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + }, + { + "fullUrl": "urn:uuid:04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "resource": { + "resourceType": "Specimen", + "id": "04f87c93-a03b-ed4c-fd83-fc61a2bafee8", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/04f87c93-a03b-ed4c-fd83-fc61a2bafee8" + } + }, + { + "fullUrl": "urn:uuid:6aa417bb-3fc5-62b0-ec32-70959986e738", + "resource": { + "resourceType": "Condition", + "id": "6aa417bb-3fc5-62b0-ec32-70959986e738", + "code": { + "coding": [ + { + "code": "E10.9", + "display": "Diabetes Mellitus Type 1", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Diabetes" + }, + "onsetDateTime": "2018-05-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/6aa417bb-3fc5-62b0-ec32-70959986e738" + } + }, + { + "fullUrl": "urn:uuid:20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "resource": { + "resourceType": "DiagnosticReport", + "id": "20dac0db-2777-6dd8-86ef-e3a0cc5a971e", + "code": { + "coding": [ + { + "code": "3DH_LABELAREA", + "display": "3DHIS L Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/20dac0db-2777-6dd8-86ef-e3a0cc5a971e" + } + }, + { + "fullUrl": "urn:uuid:1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "resource": { + "resourceType": "Specimen", + "id": "1c58abe6-d8c2-c2b3-2aea-6156d37c8ead", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + } + ], + "accessionIdentifier": { + "value": "2018-PT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "request": [ + { + "reference": "ServiceRequest/3b64d540-91b3-7d04-a63a-657c83b60a86" + } + ], + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + }, + { + "fullUrl": "urn:uuid:370e1124-2579-084a-42bd-160d2fb0c774", + "resource": { + "resourceType": "DiagnosticReport", + "id": "370e1124-2579-084a-42bd-160d2fb0c774", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "4DHISTECH_LD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/370e1124-2579-084a-42bd-160d2fb0c774" + } + }, + { + "fullUrl": "urn:uuid:01696ed4-d923-a3b1-ff42-dbc560865a31", + "resource": { + "resourceType": "DiagnosticReport", + "id": "01696ed4-d923-a3b1-ff42-dbc560865a31", + "code": { + "coding": [ + { + "code": "4DHISTECH_LABELARE", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": [ + { + "reference": "Specimen/1c58abe6-d8c2-c2b3-2aea-6156d37c8ead" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/01696ed4-d923-a3b1-ff42-dbc560865a31" + } + }, + { + "fullUrl": "urn:uuid:9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "resource": { + "resourceType": "ServiceRequest", + "id": "9a3d96e1-6669-b0f8-2263-93c2a2e32573", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "29adf2e714c6698063e3ddf5d07", + "system": "http://example.com/v2-to-fhir-converter/Identifier/41996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15", + "supportingInfo": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + }, + { + "reference": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + }, + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + }, + { + "reference": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + }, + { + "fullUrl": "urn:uuid:060657ea-b419-660c-6786-4b82543f3bd5", + "resource": { + "resourceType": "Specimen", + "id": "060657ea-b419-660c-6786-4b82543f3bd5", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/060657ea-b419-660c-6786-4b82543f3bd5" + } + }, + { + "fullUrl": "urn:uuid:d172fdac-a8ed-9480-80bb-b33992f04629", + "resource": { + "resourceType": "Observation", + "id": "d172fdac-a8ed-9480-80bb-b33992f04629", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "valueString": "Test", + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d172fdac-a8ed-9480-80bb-b33992f04629" + } + }, + { + "fullUrl": "urn:uuid:3a30664e-9900-5731-b351-096ddbd1d4fa", + "resource": { + "resourceType": "Specimen", + "id": "3a30664e-9900-5731-b351-096ddbd1d4fa", + "identifier": [ + { + "value": "2019-PAT-1456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "request": [ + { + "reference": "ServiceRequest/9a3d96e1-6669-b0f8-2263-93c2a2e32573" + } + ], + "parent": [ + { + "reference": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + }, + { + "fullUrl": "urn:uuid:15f429e9-5db1-5521-af83-8dc73baa5009", + "resource": { + "resourceType": "Specimen", + "id": "15f429e9-5db1-5521-af83-8dc73baa5009", + "identifier": [ + { + "value": "2019-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/15f429e9-5db1-5521-af83-8dc73baa5009" + } + }, + { + "fullUrl": "urn:uuid:c5769319-f70c-6656-0a67-5ef3f8d44942", + "resource": { + "resourceType": "Observation", + "id": "c5769319-f70c-6656-0a67-5ef3f8d44942", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "specimen": { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/c5769319-f70c-6656-0a67-5ef3f8d44942" + } + }, + { + "fullUrl": "urn:uuid:808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "resource": { + "resourceType": "ServiceRequest", + "id": "808164b1-ff69-6eaf-d571-aa7fb8be2eb7", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "9adf2339de714c6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + }, + { + "fullUrl": "urn:uuid:851bdda7-6cf5-57c9-970a-956116903efa", + "resource": { + "resourceType": "Specimen", + "id": "851bdda7-6cf5-57c9-970a-956116903efa", + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + } + }, + { + "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", + "resource": { + "resourceType": "ServiceRequest", + "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", + "status": "revoked", + "intent": "order", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339dc6698063e3ddf5d0167", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57698-3", + "display": "Lipid panel with direct LDL - Plasma", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + }, + "requester": { + "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + }, + "specimen": [ + { + "reference": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + }, + { + "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + } + ], + "note": [ + { + "text": "Test Note for 3rd ServiceRequest" + } + ], + "occurrenceDateTime": "2021-10-20T12:00:00+02:15" }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" + "request": { + "method": "PUT", + "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + }, + { + "fullUrl": "urn:uuid:2b18a05d-bccc-f389-aa68-0b89fca251cd", + "resource": { + "resourceType": "Specimen", + "id": "2b18a05d-bccc-f389-aa68-0b89fca251cd", + "identifier": [ + { + "value": "PO-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FO-3", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ] }, - "specimen": [ - { - "reference": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" + "request": { + "method": "PUT", + "url": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" + } + }, + { + "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "resource": { + "resourceType": "Observation", + "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "basedOn": [ + { + "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 80 + } + }, + { + "code": { + "coding": [ + { + "code": "7ISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "valueQuantity": { + "value": 120 + } + } + ], + "device": { + "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Note OBX1" + } + ], + "specimen": { "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" + }, + "request": { + "method": "PUT", + "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" + } + }, + { + "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "resource": { + "resourceType": "Encounter", + "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "50011", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Acc-Mgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" + } + }, + { + "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", + "resource": { + "resourceType": "Location", + "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", + "name": "Lab01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "resource": { + "resourceType": "Location", + "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", + "partOf": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + }, + "name": "Room01", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ], - "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + }, + "request": { + "method": "PUT", + "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" + } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" - } - }, - { - "fullUrl": "urn:uuid:851bdda7-6cf5-57c9-970a-956116903efa", - "resource": { - "resourceType": "Specimen", - "id": "851bdda7-6cf5-57c9-970a-956116903efa", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" + { + "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", + "resource": { + "resourceType": "Location", + "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", + "name": "GHH Facility", + "mode": "instance", + "description": "Lab01--Room01--GHH Facility", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - "request": [ - { - "reference": "ServiceRequest/808164b1-ff69-6eaf-d571-aa7fb8be2eb7" + "request": { + "method": "PUT", + "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" + } + }, + { + "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", + "resource": { + "resourceType": "Location", + "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", + "name": "Trauma-Centre", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } }, - "request": { - "method": "PUT", - "url": "Specimen/851bdda7-6cf5-57c9-970a-956116903efa" - } - }, - { - "fullUrl": "urn:uuid:d3647703-b87e-8d07-e22f-dd8596b171cd", - "resource": { - "resourceType": "ServiceRequest", - "id": "d3647703-b87e-8d07-e22f-dd8596b171cd", - "status": "revoked", - "intent": "order", - "identifier": [ - { - "value": "PO-2", - "type": { - "coding": [ + { + "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", + "resource": { + "resourceType": "Location", + "id": "283ba5cc-3293-242c-794e-240b9ad6104e", + "partOf": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" + } + }, + { + "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "resource": { + "resourceType": "Location", + "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", + "name": "GHH", + "mode": "instance", + "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" + } + }, + { + "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "resource": { + "resourceType": "Encounter", + "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" } - ] + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } } - }, - { - "value": "FO-3", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + ], + "identifier": [ + { + "value": "5002", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Account-Manager", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } } + ], + "period": { + "start": "2021-10-20T11:26:00+02:15" }, - { - "value": "9adf2339dc6698063e3ddf5d0167", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - } - ], - "code": { - "coding": [ + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ { - "code": "57698-3", - "display": "Lipid panel with direct LDL - Plasma", - "system": "http://loinc.org" + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } } ] }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" - }, - "requester": { - "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649" - }, - "specimen": [ - { - "reference": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" - }, - { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" - } - ], - "note": [ - { - "text": "Test Note for 3rd ServiceRequest" - } - ], - "occurrenceDateTime": "2021-10-20T12:00:00+02:15" + "request": { + "method": "PUT", + "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - } - }, - { - "fullUrl": "urn:uuid:2b18a05d-bccc-f389-aa68-0b89fca251cd", - "resource": { - "resourceType": "Specimen", - "id": "2b18a05d-bccc-f389-aa68-0b89fca251cd", - "identifier": [ - { - "value": "PO-2", - "type": { + { + "fullUrl": "urn:uuid:d5a7f28e-59f3-ee2c-ece6-a136721e8b34", + "resource": { + "resourceType": "PractitionerRole", + "id": "d5a7f28e-59f3-ee2c-ece6-a136721e8b34", + "code": [ + { "coding": [ { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } ] } + ], + "location": [ + { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + } + ], + "organization": { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" }, - { - "value": "FO-3", - "type": { + "specialty": [ + { "coding": [ { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "PPT" } ] } + ], + "practitioner": { + "reference": "Practitioner/81017e4b-6fa8-af69-42c1-0847d46bec12" } - ], - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" }, - "request": [ - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/d5a7f28e-59f3-ee2c-ece6-a136721e8b34" + } }, - "request": { - "method": "PUT", - "url": "Specimen/2b18a05d-bccc-f389-aa68-0b89fca251cd" - } - }, - { - "fullUrl": "urn:uuid:19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", - "resource": { - "resourceType": "Observation", - "id": "19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] + { + "fullUrl": "urn:uuid:81017e4b-6fa8-af69-42c1-0847d46bec12", + "resource": { + "resourceType": "Practitioner", + "id": "81017e4b-6fa8-af69-42c1-0847d46bec12", + "identifier": [ + { + "value": "987" } - } - ], - "status": "final", - "code": { - "coding": [ + ], + "name": [ { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "family": "Obx Family" } ] }, - "basedOn": [ - { - "reference": "ServiceRequest/d3647703-b87e-8d07-e22f-dd8596b171cd" - } - ], - "component": [ - { - "code": { - "coding": [ - { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 80 - } - }, - { - "code": { - "coding": [ - { - "code": "7ISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "valueQuantity": { - "value": 120 - } - } - ], - "device": { - "reference": "Device/d65fb981-c111-4bb1-b58f-6dde5b80f922" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "note": [ - { - "text": "Test Note OBX1" - } - ], - "specimen": { - "reference": "Specimen/3a30664e-9900-5731-b351-096ddbd1d4fa" + "request": { + "method": "PUT", + "url": "Practitioner/81017e4b-6fa8-af69-42c1-0847d46bec12" } }, - "request": { - "method": "PUT", - "url": "Observation/19bd03e9-9aa3-0d49-a3c9-cb298f8bb2a3" - } - }, - { - "fullUrl": "urn:uuid:415e21b9-f92c-66fb-cf2d-1914af5f54ec", - "resource": { - "resourceType": "Encounter", - "id": "415e21b9-f92c-66fb-cf2d-1914af5f54ec", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/4683678a-6244-d9d8-3643-bd5af6862624" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/502c12bb-692b-055b-2d94-bf9805c5969e" - } - } - ], - "participant": [ - { - "type": [ + { + "fullUrl": "urn:uuid:e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "resource": { + "resourceType": "Location", + "id": "e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "name": "Lane 4", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + } + }, + { + "fullUrl": "urn:uuid:82384359-d1f7-86c1-9469-aeba9eb379e5", + "resource": { + "resourceType": "Location", + "id": "82384359-d1f7-86c1-9469-aeba9eb379e5", + "partOf": { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" }, - { - "type": [ + "name": "136", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + } + }, + { + "fullUrl": "urn:uuid:0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "resource": { + "resourceType": "Location", + "id": "0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "partOf": { + "reference": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" }, - { - "type": [ + "name": "B", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "50011", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Acc-Mgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } + ] } - ], - "period": { - "start": "2021-10-20T11:26:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Location/0019add7-1ccd-0b5a-24b7-aee0be6790dd" + } + }, + { + "fullUrl": "urn:uuid:8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "resource": { + "resourceType": "Location", + "id": "8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/415e21b9-f92c-66fb-cf2d-1914af5f54ec" - } - }, - { - "fullUrl": "urn:uuid:16007897-6bd0-dfaf-c698-e65da0e088e2", - "resource": { - "resourceType": "Location", - "id": "16007897-6bd0-dfaf-c698-e65da0e088e2", - "name": "Lab01", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + "request": { + "method": "PUT", + "url": "Location/8c3f5369-ec0a-1da3-db69-98462e5c3a09" } }, - "request": { - "method": "PUT", - "url": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" - } - }, - { - "fullUrl": "urn:uuid:cef612a2-f5b1-2e3e-ee80-98da99d4182f", - "resource": { - "resourceType": "Location", - "id": "cef612a2-f5b1-2e3e-ee80-98da99d4182f", - "partOf": { - "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" + { + "fullUrl": "urn:uuid:34581a2c-e458-f879-0f49-09c801d2b493", + "resource": { + "resourceType": "Organization", + "id": "34581a2c-e458-f879-0f49-09c801d2b493", + "name": "Healthcare Centre" }, - "name": "Room01", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + "request": { + "method": "PUT", + "url": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" } }, - "request": { - "method": "PUT", - "url": "Location/cef612a2-f5b1-2e3e-ee80-98da99d4182f" - } - }, - { - "fullUrl": "urn:uuid:417bbfc2-d50a-cc04-83d5-a69236d3977c", - "resource": { - "resourceType": "Location", - "id": "417bbfc2-d50a-cc04-83d5-a69236d3977c", - "name": "GHH Facility", - "mode": "instance", - "description": "Lab01--Room01--GHH Facility", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" } }, - "request": { - "method": "PUT", - "url": "Location/417bbfc2-d50a-cc04-83d5-a69236d3977c" - } - }, - { - "fullUrl": "urn:uuid:3e629aa5-7817-8f90-6909-d70a4dff707d", - "resource": { - "resourceType": "Location", - "id": "3e629aa5-7817-8f90-6909-d70a4dff707d", - "name": "Trauma-Centre", - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" } }, - "request": { - "method": "PUT", - "url": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" - } - }, - { - "fullUrl": "urn:uuid:283ba5cc-3293-242c-794e-240b9ad6104e", - "resource": { - "resourceType": "Location", - "id": "283ba5cc-3293-242c-794e-240b9ad6104e", - "partOf": { - "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ], - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" } }, - "request": { - "method": "PUT", - "url": "Location/283ba5cc-3293-242c-794e-240b9ad6104e" - } - }, - { - "fullUrl": "urn:uuid:6060bab9-20a2-1ddb-d510-c3aad0f009a2", - "resource": { - "resourceType": "Location", - "id": "6060bab9-20a2-1ddb-d510-c3aad0f009a2", - "name": "GHH", - "mode": "instance", - "description": "Trauma-Centre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" } }, - "request": { - "method": "PUT", - "url": "Location/6060bab9-20a2-1ddb-d510-c3aad0f009a2" - } - }, - { - "fullUrl": "urn:uuid:dae740e1-000a-f36b-b8a7-0e0d1730fff6", - "resource": { - "resourceType": "Encounter", - "id": "dae740e1-000a-f36b-b8a7-0e0d1730fff6", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/16007897-6bd0-dfaf-c698-e65da0e088e2" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/3e629aa5-7817-8f90-6909-d70a4dff707d" - } + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "participant": [ - { - "type": [ + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:baa1872a-8e1a-57e2-fa2e-28917b7e707b", + "resource": { + "resourceType": "Location", + "id": "baa1872a-8e1a-57e2-fa2e-28917b7e707b", + "name": "obx-sac, room 136, bed B 4E", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/baa1872a-8e1a-57e2-fa2e-28917b7e707b" + } + }, + { + "fullUrl": "urn:uuid:f26a8e3e-ab09-1a1a-a74a-023ffc42b784", + "resource": { + "resourceType": "Location", + "id": "f26a8e3e-ab09-1a1a-a74a-023ffc42b784", + "partOf": { + "reference": "Location/baa1872a-8e1a-57e2-fa2e-28917b7e707b" }, - { - "type": [ + "name": "136", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f26a8e3e-ab09-1a1a-a74a-023ffc42b784" + } + }, + { + "fullUrl": "urn:uuid:e6e5a501-ed01-0567-6fb5-1a88fff8e0f0", + "resource": { + "resourceType": "Location", + "id": "e6e5a501-ed01-0567-6fb5-1a88fff8e0f0", + "partOf": { + "reference": "Location/f26a8e3e-ab09-1a1a-a74a-023ffc42b784" }, - { - "type": [ + "name": "B", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5002", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Account-Manager", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } + ] } - ], - "period": { - "start": "2021-10-20T11:26:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Location/e6e5a501-ed01-0567-6fb5-1a88fff8e0f0" + } + }, + { + "fullUrl": "urn:uuid:a5cf1286-c2e3-c201-ebde-ef13ed4f72d5", + "resource": { + "resourceType": "Location", + "id": "a5cf1286-c2e3-c201-ebde-ef13ed4f72d5", + "name": "CommunityHospital", + "mode": "instance", + "description": "obx-sac, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/a5cf1286-c2e3-c201-ebde-ef13ed4f72d5" + } }, - "request": { - "method": "PUT", - "url": "Encounter/dae740e1-000a-f36b-b8a7-0e0d1730fff6" + { + "fullUrl": "urn:uuid:23e0fe77-2cec-c427-d23f-b36511cb23eb", + "resource": { + "resourceType": "Device", + "id": "23e0fe77-2cec-c427-d23f-b36511cb23eb", + "identifier": [ + { + "value": "OBX-SAC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/23e0fe77-2cec-c427-d23f-b36511cb23eb" + } } - } - ] -} \ No newline at end of file + ] + } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json index 6470a3c73..3af60a866 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json @@ -1,1388 +1,2207 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00018" + "value": "MSG00018" }, "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:46.614Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:06:40.584Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "relationship": [ - { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ] + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "FAI-29", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Annotation text" + } + ], + "quantityQuantity": { + "value": 12, + "unit": "lb" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "BID" + } + ] + }, + "repeat": { + "duration": 50, + "durationUnit": "s", + "count": 21, + "timeOfDay": [ + "12:30:05" + ], + "boundsPeriod": { + "start": "2002-03-15", + "end": "2003-03-15" + } + } + }, + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ], + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:6158edb0-9ff7-8872-c1ec-a897e3af065b", + "resource": { + "resourceType": "Specimen", + "id": "6158edb0-9ff7-8872-c1ec-a897e3af065b", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2234" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "visit number" - } + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "period": { - "start": "2021-10-20T12:00:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "FAI-29", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" } - ], - "note": [ - { - "text": "Annotation text" + }, + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" } - ], - "quantityQuantity": { - "value": 12, - "unit": "lb" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "BID" + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] }, - "repeat": { - "duration": 50, - "durationUnit": "s", - "count": 21, - "timeOfDay": [ - "12:30:05" - ], - "boundsPeriod": { - "start": "2002-03-15", - "end": "2003-03-15" - } + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "resource": { + "resourceType": "Procedure", + "id": "42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f" } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - } - }, - { - "fullUrl": "urn:uuid:6158edb0-9ff7-8872-c1ec-a897e3af065b", - "resource": { - "resourceType": "Specimen", - "id": "6158edb0-9ff7-8872-c1ec-a897e3af065b", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - } + { + "fullUrl": "urn:uuid:89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "resource": { + "resourceType": "MedicationDispense", + "id": "89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea" + } }, - "request": { - "method": "PUT", - "url": "Specimen/6158edb0-9ff7-8872-c1ec-a897e3af065b" - } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json index 4e02a7745..76c4dfe7f 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json @@ -1,2317 +1,2328 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00019" + "value": "MSG00019" }, "id": "850fa16f-dec7-80c7-978f-7276e0f16e62", "entry": [ - { - "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", - "resource": { - "resourceType": "MessageHeader", - "id": "85946184-5877-2309-6765-683c677d000d", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d", + "resource": { + "resourceType": "MessageHeader", + "id": "85946184-5877-2309-6765-683c677d000d", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:45.937Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:23:41.779Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62" + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Abbot", + "given": [ + "Adam", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "DR" + ], + "use": "official" + }, + "address": { + "line": [ + "1000 Hospital Lane", + "Ste.123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + }, + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "contact": [ - { - "name": { - "family": "Abbot", - "given": [ - "Adam", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "DR" - ], - "use": "official" - }, - "address": { - "line": [ - "1000 Hospital Lane", - "Ste.123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - }, - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] } - ] + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ], - "text": "admitter" + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T12:00:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } - ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "Grp-12345", - "name": "BCBS HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1998-11-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "548851236L", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MB-12345", - "type": { - "coding": [ - { - "code": "MB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Member Number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.5" - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" } - ], - "policyHolder": { - "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Roger", - "given": [ - "Dann" - ] - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "Org-12345", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1" + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", - "resource": { - "resourceType": "Organization", - "id": "0f21af2c-9880-54cb-14a5-5493a766da42", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "identifier": [ - { - "value": "Tel-12345", - "type": { - "coding": [ - { - "code": "EN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employer number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.2" - } - ], - "name": "Telstra", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "(555)555-1234", - "system": "phone" + { + "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "telecom": [ - { - "value": "(555)123-5678", - "system": "phone" + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "EI-12345", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T14:41:00+05:30" + } + } + }, + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + ], + "note": [ + { + "text": "CT Scan to be done urgent" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "(555)123-1234", - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English" - } - ] - }, - "preferred": true - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "094b7010-27ec-6a4f-5089-1b2433b7824d", - "category": [ - "medication" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "XYZallergen" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "moderate" - } - ], - "onset": "2021-01-21" - } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d" - } - }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } ] - } }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T11:26:00+02:15" - } + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - ], - "note": [ - { - "text": "CT Scan to be done urgent" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "resource": { + "resourceType": "Specimen", + "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - } - }, - { - "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "resource": { - "resourceType": "Specimen", - "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - { - "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", - "resource": { - "resourceType": "Observation", - "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:16335be6-44e0-0cc2-9a7f-17c89e266592", + "resource": { + "resourceType": "Observation", + "id": "16335be6-44e0-0cc2-9a7f-17c89e266592", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" + } + ], + "text": "Salmonella species" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Preliminary" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } + "request": { + "method": "PUT", + "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" } - ], - "basedOn": [ - { - "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/16335be6-44e0-0cc2-9a7f-17c89e266592" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "basedOn": [ - { - "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "basedOn": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json index 7ccd8e4b7..560db53be 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json @@ -1,1379 +1,1955 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00018" + "value": "MSG00018" }, "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:04.535Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:24:16.475Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", + "resource": { + "resourceType": "ServiceRequest", + "id": "593d8946-c0ad-b912-332a-2993c02ccae5", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T14:41:00+05:30" + } + } + }, + "code": { + "coding": [ + { + "code": "24725-4", + "display": "CT Head", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ], + "supportingInfo": [ + { + "reference": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "resource": { + "resourceType": "PractitionerRole", + "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "resource": { + "resourceType": "Specimen", + "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", + "collection": { + "collectedDateTime": "2021-10-20T15:15:00+05:30" + } + }, + "request": { + "method": "PUT", + "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "resource": { + "resourceType": "ResearchStudy", + "id": "e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "status": "active", + "identifier": [ + { + "value": "SSID-1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "resource": { + "resourceType": "Procedure", + "id": "42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f" + } + }, + { + "fullUrl": "urn:uuid:89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "resource": { + "resourceType": "MedicationDispense", + "id": "89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ], - "text": "referrer" + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-10-20T12:00:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:593d8946-c0ad-b912-332a-2993c02ccae5", - "resource": { - "resourceType": "ServiceRequest", - "id": "593d8946-c0ad-b912-332a-2993c02ccae5", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - } }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T11:26:00+02:15" - } - } - }, - "code": { - "coding": [ - { - "code": "24725-4", - "display": "CT Head", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - ], - "reasonReference": [ - { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/593d8946-c0ad-b912-332a-2993c02ccae5" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "resource": { + "resourceType": "ServiceRequest", + "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "2203", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2301", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2021-10-20T14:41:00+05:30", + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-291", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2021-10-20T16:15:00+05:30" + } + } + }, + "code": { + "coding": [ + { + "code": "24590-2", + "display": "MR Brain", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "requester": { + "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" + }, + "specimen": [ + { + "reference": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" + } + ], + "supportingInfo": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "resource": { - "resourceType": "PractitionerRole", - "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:8849ee55-3313-2d6a-bfbe-be22941a5a2a", + "resource": { + "resourceType": "Specimen", + "id": "8849ee55-3313-2d6a-bfbe-be22941a5a2a", + "collection": { + "collectedDateTime": "2021-10-20T16:15:00+05:30" } - ] + }, + "request": { + "method": "PUT", + "url": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" } - ], - "practitioner": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - } - }, - { - "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "resource": { - "resourceType": "Specimen", - "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850", - "collection": { - "collectedDateTime": "2021-10-20T12:00:00+02:15" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850" - } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "fullUrl": "urn:uuid:ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "resource": { + "resourceType": "Account", + "id": "ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "identifier": [ + { + "value": "AI168", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - } - }, - { - "fullUrl": "urn:uuid:2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "resource": { - "resourceType": "ServiceRequest", - "id": "2a774e77-46ab-f8d2-779a-6dd77c938ed7", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "2203", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/f7c59ba0-33c9-46aa-a5d1-981fc3264cb7", + "type": "Procedure" + } ] - } }, - { - "value": "2301", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" } - ], - "authoredOn": "2021-10-20T11:26:00+02:15", - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-291", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" } - ], - "locationCode": [ - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:f7c59ba0-33c9-46aa-a5d1-981fc3264cb7", + "resource": { + "resourceType": "Procedure", + "id": "f7c59ba0-33c9-46aa-a5d1-981fc3264cb7", + "code": { + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "quantityQuantity": { - "value": 1 - }, - "occurrenceTiming": { - "repeat": { - "boundsPeriod": { - "start": "2021-10-20T13:00:00+02:15" - } - } - }, - "code": { - "coding": [ - { - "code": "24590-2", - "display": "MR Brain", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737" - }, - "specimen": [ - { - "reference": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" + }, + "request": { + "method": "PUT", + "url": "Procedure/f7c59ba0-33c9-46aa-a5d1-981fc3264cb7" } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2a774e77-46ab-f8d2-779a-6dd77c938ed7" - } - }, - { - "fullUrl": "urn:uuid:8849ee55-3313-2d6a-bfbe-be22941a5a2a", - "resource": { - "resourceType": "Specimen", - "id": "8849ee55-3313-2d6a-bfbe-be22941a5a2a", - "collection": { - "collectedDateTime": "2021-10-20T13:00:00+02:15" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json index 2ad59523d..be8a2b419 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-04-expected.json @@ -1,1395 +1,2212 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00018" + "value": "MSG00018" }, "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:28.173Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:24:53.681Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "relationship": [ - { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ] + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e3cd6eca-335d-36c3-5614-0375edecdd4a", + "resource": { + "resourceType": "NutritionOrder", + "id": "e3cd6eca-335d-36c3-5614-0375edecdd4a", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "1101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "1201", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHFiller", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "dateTime": "2021-10-20T14:41:00+05:30", + "note": [ + { + "text": "Annotation text" + }, + { + "text": "CT Scan to be done urgent" + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "allergyIntolerance": [ + { + "reference": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + ], + "orderer": { + "reference": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" + }, + "foodPreferenceModifier": [ + { + "coding": [ + { + "code": "P-1", + "display": "Preference Code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "text": "Preference code - 04+Preference Code - IV" + }, + { + "coding": [ + { + "code": "P-2", + "display": "P-code", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ], + "text": "Preference code - 04+Preference Code - IV" + } ] - } + }, + "request": { + "method": "PUT", + "url": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "resource": { + "resourceType": "Practitioner", + "id": "48ca1067-dc80-7ff7-76e7-d72b70b7d02d", + "address": [ + { + "line": [ + "St-24, Greenwood", + "Building2" + ] + } + ], + "name": [ + { + "family": "SAWYER TOM MD", + "use": "official" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:29e6afed-f958-e964-b7a1-f135fab6c279", + "resource": { + "resourceType": "PractitionerRole", + "id": "29e6afed-f958-e964-b7a1-f135fab6c279", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + }, + "practitioner": { + "reference": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2234" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "visit number" - } + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "period": { - "start": "2021-10-20T12:00:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:e3cd6eca-335d-36c3-5614-0375edecdd4a", - "resource": { - "resourceType": "NutritionOrder", - "id": "e3cd6eca-335d-36c3-5614-0375edecdd4a", - "status": "active", - "intent": "order", - "identifier": [ - { - "value": "1101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } }, - { - "value": "1201", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "dateTime": "2021-10-20T11:26:00+02:15", - "note": [ - { - "text": "Annotation text" + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "allergyIntolerance": [ - { - "reference": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + }, + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" } - ], - "orderer": { - "reference": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" - }, - "foodPreferenceModifier": [ - { - "coding": [ - { - "code": "P-1", - "display": "Preference Code", - "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ], - "text": "Preference code - 04+Preference Code - IV" }, - { - "coding": [ - { - "code": "P-2", - "display": "P-code", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "text": "Preference code - 04+Preference Code - IV" + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ] }, - "request": { - "method": "PUT", - "url": "NutritionOrder/e3cd6eca-335d-36c3-5614-0375edecdd4a" - } - }, - { - "fullUrl": "urn:uuid:48ca1067-dc80-7ff7-76e7-d72b70b7d02d", - "resource": { - "resourceType": "Practitioner", - "id": "48ca1067-dc80-7ff7-76e7-d72b70b7d02d", - "address": [ - { - "line": [ - "St-24, Greenwood", - "Building2" - ] + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ], - "name": [ - { - "family": "SAWYER TOM MD", - "use": "official" + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" - } - }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "resource": { + "resourceType": "Procedure", + "id": "42d212a7-51b3-ff63-59e9-c2e76dc3fb9f", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "Procedure/42d212a7-51b3-ff63-59e9-c2e76dc3fb9f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - { - "fullUrl": "urn:uuid:29e6afed-f958-e964-b7a1-f135fab6c279", - "resource": { - "resourceType": "PractitionerRole", - "id": "29e6afed-f958-e964-b7a1-f135fab6c279", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "resource": { + "resourceType": "MedicationDispense", + "id": "89aec882-37e4-c3f0-bfb6-3e61fae267ea", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/89aec882-37e4-c3f0-bfb6-3e61fae267ea" } - ], - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - }, - "practitioner": { - "reference": "Practitioner/48ca1067-dc80-7ff7-76e7-d72b70b7d02d" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/29e6afed-f958-e964-b7a1-f135fab6c279" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" - } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json index 35a1620de..bc9af63d7 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-05-expected.json @@ -1,1432 +1,2251 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-10-20T11:26:00+02:15", + "timestamp": "2021-10-20T14:41:00+05:30", "identifier": { - "value": "MSG00018" + "value": "MSG00018" }, "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", "entry": [ - { - "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "resource": { - "resourceType": "MessageHeader", - "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORM^O01^ORM_O01" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" - } - }, - { - "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", - "resource": { - "resourceType": "Provenance", - "id": "58988e57-a45e-285b-5942-4480980652df", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:07.04Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" - }, - "occurredDateTime": "2021-10-20T11:26:00+02:15", - "recorded": "2021-10-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:25:35.07Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORM^O01^ORM_O01" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - } - ], - "target": [ - { - "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "resource": { - "resourceType": "Device", - "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", - "identifier": [ - { - "value": "ORDApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "relationship": [ - { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" } - ] + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "resource": { + "resourceType": "SupplyRequest", + "id": "a4593c44-65bc-e59b-2c53-a94eb2e9e939", + "identifier": [ + { + "value": "RQ101", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHPlacer", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "cancelled", + "authoredOn": "2120-10-10T20:15:00+05:30", + "requester": { + "reference": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" + }, + "occurrenceDateTime": "2021-10-20T13:45:00+05:30", + "itemCodeableConcept": { + "coding": [ + { + "code": "I45323", + "display": "Implant" + } + ] + }, + "quantity": { + "value": 1, + "code": "EA", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + }, + "deliverTo": { + "reference": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" + }, + "deliverFrom": { + "reference": "Organization/6482b59c-934b-d920-616c-89e022525634" + }, + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } ] - } + }, + "request": { + "method": "PUT", + "url": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:895c9a66-3463-8b94-1deb-61cd0d7e5589", + "resource": { + "resourceType": "Practitioner", + "id": "895c9a66-3463-8b94-1deb-61cd0d7e5589", + "identifier": [ + { + "value": "3850" + } + ], + "name": [ + { + "family": "ORDPROVIDER", + "given": [ + "JONES", + "A" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:5eba6b39-3663-2494-c4fd-923551fa026f", + "resource": { + "resourceType": "PractitionerRole", + "id": "5eba6b39-3663-2494-c4fd-923551fa026f", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" + }, + "organization": { + "reference": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:e8632937-77b7-6a57-3f4b-0273f00c93f4", + "resource": { + "resourceType": "Organization", + "id": "e8632937-77b7-6a57-3f4b-0273f00c93f4", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "716", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "1000 Hospital Lane", + "Ste. 123" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "use": "work" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:6f75b20c-a345-5120-d85d-0598e1f0cd87", + "resource": { + "resourceType": "Organization", + "id": "6f75b20c-a345-5120-d85d-0598e1f0cd87", + "identifier": [ + { + "value": "ORSUP" + } + ], + "name": "Supply Department" + }, + "request": { + "method": "PUT", + "url": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" - } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:6482b59c-934b-d920-616c-89e022525634", + "resource": { + "resourceType": "Organization", + "id": "6482b59c-934b-d920-616c-89e022525634", + "identifier": [ + { + "value": "GPC" + } + ], + "name": "GPC Medical Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/6482b59c-934b-d920-616c-89e022525634" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", - "resource": { - "resourceType": "Location", - "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", - "name": "RADUnit01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } - }, - { - "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "resource": { - "resourceType": "Location", - "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", - "partOf": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - }, - "name": "Room01", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" - } - }, - { - "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "resource": { - "resourceType": "Location", - "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", - "name": "GHH", - "mode": "instance", - "description": "RADUnit01--Room01--GHH", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" - } - }, - { - "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "resource": { - "resourceType": "Location", - "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", - "name": "TraumaCentre", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } - }, - { - "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "resource": { - "resourceType": "Location", - "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", - "partOf": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" } - ], - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" - } - }, - { - "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "resource": { - "resourceType": "Location", - "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", - "name": "GHH1", - "mode": "instance", - "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } }, - "request": { - "method": "PUT", - "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "status": "completed", - "location": { - "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2234" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "visit number" - } + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "period": { - "start": "2021-10-20T12:00:00+02:15" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "diagnosis": [ - { - "condition": { - "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" - }, - "use": { - "coding": [ - { - "code": "DD", - "display": "Discharge Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", - "resource": { - "resourceType": "AllergyIntolerance", - "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", - "category": [ - "environment" - ], - "type": "allergy", - "code": { - "coding": [ - { - "code": "P", - "display": "PENICILLIN", - "system": "http://terminology.hl7.org/CodeSystem/icd-o" - } - ] - }, - "reaction": [ - { - "manifestation": [ - { - "text": "CODE16" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "onset": "2021-08-24" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "criticality": "low", - "clinicalStatus": { - "coding": [ - { - "code": "active", - "display": "Active", - "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" - } - ] - }, - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" - } - }, - { - "fullUrl": "urn:uuid:a4593c44-65bc-e59b-2c53-a94eb2e9e939", - "resource": { - "resourceType": "SupplyRequest", - "id": "a4593c44-65bc-e59b-2c53-a94eb2e9e939", - "identifier": [ - { - "value": "RQ101", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "status": "cancelled", - "authoredOn": "2120-10-10T17:00:00+02:15", - "requester": { - "reference": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" - }, - "occurrenceDateTime": "2021-10-20T10:30:00+02:15", - "itemCodeableConcept": { - "coding": [ - { - "code": "I45323", - "display": "Implant" - } - ] - }, - "quantity": { - "value": 1, - "code": "EA", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - }, - "deliverTo": { - "reference": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" - }, - "deliverFrom": { - "reference": "Organization/6482b59c-934b-d920-616c-89e022525634" - } }, - "request": { - "method": "PUT", - "url": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" - } - }, - { - "fullUrl": "urn:uuid:895c9a66-3463-8b94-1deb-61cd0d7e5589", - "resource": { - "resourceType": "Practitioner", - "id": "895c9a66-3463-8b94-1deb-61cd0d7e5589", - "identifier": [ - { - "value": "3850" + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "name": [ - { - "family": "ORDPROVIDER", - "given": [ - "JONES", - "A" - ] + }, + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" - } - }, - { - "fullUrl": "urn:uuid:5eba6b39-3663-2494-c4fd-923551fa026f", - "resource": { - "resourceType": "PractitionerRole", - "id": "5eba6b39-3663-2494-c4fd-923551fa026f", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "SupplyRequest/a4593c44-65bc-e59b-2c53-a94eb2e9e939" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/b31aed81-fe7b-341f-f862-857b77ca1d8c", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/32dbe4c1-0bbc-484b-a25b-6cd25b28275d", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ], - "practitioner": { - "reference": "Practitioner/895c9a66-3463-8b94-1deb-61cd0d7e5589" - }, - "organization": { - "reference": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5eba6b39-3663-2494-c4fd-923551fa026f" - } - }, - { - "fullUrl": "urn:uuid:e8632937-77b7-6a57-3f4b-0273f00c93f4", - "resource": { - "resourceType": "Organization", - "id": "e8632937-77b7-6a57-3f4b-0273f00c93f4", - "name": "Good Health Hospital", - "identifier": [ - { - "value": "716", - "type": { - "coding": [ - { - "code": "XX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "1000 Hospital Lane", - "Ste. 123" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "use": "work" - } - ], - "telecom": [ - { - "value": "(626)555-1234", - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e8632937-77b7-6a57-3f4b-0273f00c93f4" - } - }, - { - "fullUrl": "urn:uuid:6f75b20c-a345-5120-d85d-0598e1f0cd87", - "resource": { - "resourceType": "Organization", - "id": "6f75b20c-a345-5120-d85d-0598e1f0cd87", - "identifier": [ - { - "value": "ORSUP" + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ], - "name": "Supply Department" }, - "request": { - "method": "PUT", - "url": "Organization/6f75b20c-a345-5120-d85d-0598e1f0cd87" - } - }, - { - "fullUrl": "urn:uuid:6482b59c-934b-d920-616c-89e022525634", - "resource": { - "resourceType": "Organization", - "id": "6482b59c-934b-d920-616c-89e022525634", - "identifier": [ - { - "value": "GPC" + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ], - "name": "GPC Medical Inc." }, - "request": { - "method": "PUT", - "url": "Organization/6482b59c-934b-d920-616c-89e022525634" - } - }, - { - "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", - "resource": { - "resourceType": "Practitioner", - "id": "98f6382a-649f-0339-4fa8-982d9760cf42", - "identifier": [ - { - "value": "005454" + { + "fullUrl": "urn:uuid:b31aed81-fe7b-341f-f862-857b77ca1d8c", + "resource": { + "resourceType": "Procedure", + "id": "b31aed81-fe7b-341f-f862-857b77ca1d8c", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/b31aed81-fe7b-341f-f862-857b77ca1d8c" } - ], - "name": [ - { - "family": "RAD", - "given": [ - "ROBIN", - "B" - ] + }, + { + "fullUrl": "urn:uuid:32dbe4c1-0bbc-484b-a25b-6cd25b28275d", + "resource": { + "resourceType": "MedicationDispense", + "id": "32dbe4c1-0bbc-484b-a25b-6cd25b28275d", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/32dbe4c1-0bbc-484b-a25b-6cd25b28275d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - } - }, - { - "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", - "resource": { - "resourceType": "Condition", - "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", - "code": { - "coding": [ - { - "code": "S06.9", - "display": "TBI(traumatic brain injury", - "system": "http://hl7.org/fhir/sid/icd-10" - } - ], - "text": "Traumatic brain injury" - }, - "onsetDateTime": "2020-05-01T12:30:09+02:15", - "identifier": [ - { - "value": "DG1002" + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" } - ], - "asserter": { - "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-06-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-06-expected.json new file mode 100644 index 000000000..dd91deb0c --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-06-expected.json @@ -0,0 +1,2395 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-10-20T14:41:00+05:30", + "identifier": { + "value": "MSG00018" + }, + "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462", + "entry": [ + { + "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "resource": { + "resourceType": "MessageHeader", + "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORM^O01^ORM_O01" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22" + } + }, + { + "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df", + "resource": { + "resourceType": "Provenance", + "id": "58988e57-a45e-285b-5942-4480980652df", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-23T10:30:32.64Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.

" + }, + "occurredDateTime": "2021-10-20T14:41:00+05:30", + "recorded": "2021-10-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORM^O01^ORM_O01" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + } + ], + "target": [ + { + "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/58988e57-a45e-285b-5942-4480980652df" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "resource": { + "resourceType": "Device", + "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69", + "identifier": [ + { + "value": "ORDApp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + }, + { + "fullUrl": "urn:uuid:578b3a9e-69b0-7046-701d-3aadf2ba2022", + "resource": { + "resourceType": "Location", + "id": "578b3a9e-69b0-7046-701d-3aadf2ba2022", + "name": "RADUnit01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "fullUrl": "urn:uuid:11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "resource": { + "resourceType": "Location", + "id": "11e72a8d-af9d-fb24-34e9-ba222b8d3815", + "partOf": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + }, + "name": "Room01", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/11e72a8d-af9d-fb24-34e9-ba222b8d3815" + } + }, + { + "fullUrl": "urn:uuid:48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "resource": { + "resourceType": "Location", + "id": "48ad86fa-8ca5-e5a5-0179-caaa5005e4a3", + "name": "GHH", + "mode": "instance", + "description": "RADUnit01--Room01--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/48ad86fa-8ca5-e5a5-0179-caaa5005e4a3" + } + }, + { + "fullUrl": "urn:uuid:b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "resource": { + "resourceType": "Location", + "id": "b3e7e8ab-7696-b555-ad2d-db9566b2a249", + "name": "TraumaCentre", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + }, + { + "fullUrl": "urn:uuid:a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "resource": { + "resourceType": "Location", + "id": "a84e4df0-81ee-5e6e-3cf5-8ae8e203702c", + "partOf": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a84e4df0-81ee-5e6e-3cf5-8ae8e203702c" + } + }, + { + "fullUrl": "urn:uuid:ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "resource": { + "resourceType": "Location", + "id": "ac02d40f-1a1d-6502-6fd4-80c4432fded9", + "name": "GHH1", + "mode": "instance", + "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ac02d40f-1a1d-6502-6fd4-80c4432fded9" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/578b3a9e-69b0-7046-701d-3aadf2ba2022" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/b3e7e8ab-7696-b555-ad2d-db9566b2a249" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-10-20T15:15:00+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + } + }, + { + "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "a0adcda8-0b28-d089-1955-c04308d5fe28", + "category": [ + "environment" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "P", + "display": "PENICILLIN", + "system": "http://terminology.hl7.org/CodeSystem/icd-o" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "CODE16" + } + ], + "onset": "2021-08-24" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "dosageInstruction": [ + { + "timing": { + "repeat": { + "timeOfDay": [ + "11:30:05" + ], + "boundsPeriod": { + "start": "1924-03-15", + "end": "1924-03-15" + }, + "count": 21, + "duration": 50, + "durationUnit": "s" + }, + "code": { + "coding": [ + { + "code": "BID", + "display": "twice a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Annotation test text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } + }, + { + "timing": { + "repeat": { + "timeOfDay": [ + "12:30:05" + ], + "boundsPeriod": { + "start": "2002-03-15", + "end": "2003-03-15" + }, + "count": 21, + "duration": 50, + "durationUnit": "s" + }, + "code": { + "coding": [ + { + "code": "BID", + "display": "twice a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + } + }, + "text": "+Annotation text" + } + ], + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "note": [ + { + "text": "CT Scan to be done urgent" + } + ], + "reasonReference": [ + { + "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + ], + "supportingInformation": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42", + "resource": { + "resourceType": "Practitioner", + "id": "98f6382a-649f-0339-4fa8-982d9760cf42", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "RAD", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + } + }, + { + "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec", + "resource": { + "resourceType": "Condition", + "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec", + "code": { + "coding": [ + { + "code": "S06.9", + "display": "TBI(traumatic brain injury", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Traumatic brain injury" + }, + "onsetDateTime": "2020-05-01T15:45:09+05:30", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" + } + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" + } + }, + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json index 32a5e8dfe..7593be6e9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json @@ -113,7 +113,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/1" }, { "value": "123121234", @@ -226,7 +226,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" } ], "status": "active", @@ -594,9 +594,9 @@ { "coding": [ { - "code": "ordering-provider", + "code": "OP", "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } ] } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json index ab3792027..cd3955346 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json @@ -114,7 +114,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/1" }, { "value": "123121234", @@ -227,7 +227,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" } ], "status": "active", @@ -627,9 +627,9 @@ { "coding": [ { - "code": "ordering-provider", + "code": "OP", "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } ] } diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json index 674ad4aff..522f85f77 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json @@ -1,2658 +1,2659 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2011-05-31T14:05:51-05:00", + "timestamp": "2011-06-01T00:35:51+05:30", "identifier": { - "value": "NIST-LRI-NG-002.00" + "value": "NIST-LRI-NG-002.00" }, "id": "7cbc05b1-9589-f624-6bb7-edea632acfeb", "entry": [ - { - "fullUrl": "urn:uuid:15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", - "resource": { - "resourceType": "MessageHeader", - "id": "15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", - "source": { - "name": "NIST Test Lab APP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", + "resource": { + "resourceType": "MessageHeader", + "id": "15cde54f-eadb-4bee-fe4c-0e8dbe4f4959", + "source": { + "name": "NIST Test Lab APP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORU^R01^ORU_R01" + }, + "sender": { + "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" } - ] - } - }, - "destination": [ - { - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/15cde54f-eadb-4bee-fe4c-0e8dbe4f4959" } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORU^R01^ORU_R01" - }, - "sender": { - "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/15cde54f-eadb-4bee-fe4c-0e8dbe4f4959" - } - }, - { - "fullUrl": "urn:uuid:69d21cff-2d4e-b89f-1109-5fb744517c1f", - "resource": { - "resourceType": "Provenance", - "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:20.929Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" - }, - "occurredDateTime": "2011-05-31T14:05:51-05:00", - "recorded": "2011-05-31T14:05:51-05:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:69d21cff-2d4e-b89f-1109-5fb744517c1f", + "resource": { + "resourceType": "Provenance", + "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:31:46.084Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + }, + "occurredDateTime": "2011-06-01T00:35:51+05:30", + "recorded": "2011-06-01T00:35:51+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" + } + ] + }, + "target": [ + { + "reference": "Bundle/7cbc05b1-9589-f624-6bb7-edea632acfeb" + } ] - }, - "who": { - "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORU^R01^ORU_R01" - } - ] - }, - "target": [ - { - "reference": "Bundle/7cbc05b1-9589-f624-6bb7-edea632acfeb" + }, + "request": { + "method": "PUT", + "url": "Provenance/69d21cff-2d4e-b89f-1109-5fb744517c1f" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/69d21cff-2d4e-b89f-1109-5fb744517c1f" - } - }, - { - "fullUrl": "urn:uuid:aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", - "resource": { - "resourceType": "Organization", - "id": "aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", - "identifier": [ - { - "value": "NIST Lab Facility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Lab-Facility" + { + "fullUrl": "urn:uuid:aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", + "resource": { + "resourceType": "Organization", + "id": "aa0cf9ae-78b3-73ec-0ef7-234369f8a10c", + "identifier": [ + { + "value": "NIST Lab Facility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-Lab-Facility" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c" - } - }, - { - "fullUrl": "urn:uuid:c828b9d8-dc07-4b58-af67-705a38d1fa4d", - "resource": { - "resourceType": "Organization", - "id": "c828b9d8-dc07-4b58-af67-705a38d1fa4d", - "identifier": [ - { - "value": "NIST EHR Facility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-EHR-Facility" + { + "fullUrl": "urn:uuid:c828b9d8-dc07-4b58-af67-705a38d1fa4d", + "resource": { + "resourceType": "Organization", + "id": "c828b9d8-dc07-4b58-af67-705a38d1fa4d", + "identifier": [ + { + "value": "NIST EHR Facility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR-Facility" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d" - } - }, - { - "fullUrl": "urn:uuid:397de93b-65e0-b3b6-7a79-d7869d57a8aa", - "resource": { - "resourceType": "Patient", - "id": "397de93b-65e0-b3b6-7a79-d7869d57a8aa", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:397de93b-65e0-b3b6-7a79-d7869d57a8aa", + "resource": { + "resourceType": "Patient", + "id": "397de93b-65e0-b3b6-7a79-d7869d57a8aa", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-MPI" + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "William", + "A" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI" - } - ], - "name": [ - { - "family": "Jones", - "given": [ - "William", - "A" - ] - } - ], - "birthDate": "1961-06-15", - "gender": "male", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White" - } - ] + }, + "request": { + "method": "PUT", + "url": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - } - }, - { - "fullUrl": "urn:uuid:9f988649-6c25-7f5f-f25c-65f3042e23b6", - "resource": { - "resourceType": "Practitioner", - "id": "9f988649-6c25-7f5f-f25c-65f3042e23b6", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "2343242" - } + { + "fullUrl": "urn:uuid:9f988649-6c25-7f5f-f25c-65f3042e23b6", + "resource": { + "resourceType": "Practitioner", + "id": "9f988649-6c25-7f5f-f25c-65f3042e23b6", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "2343242" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" - } - }, - { - "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" + }, + "organization": { + "reference": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" } - ], - "practitioner": { - "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6" - }, - "organization": { - "reference": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - }, - { - "fullUrl": "urn:uuid:4134770e-37a2-6447-4497-d73ddee6412d", - "resource": { - "resourceType": "Organization", - "id": "4134770e-37a2-6447-4497-d73ddee6412d", - "name": "Century Hospital", - "identifier": [ - { - "value": "987", - "type": { - "coding": [ - { - "code": "XX", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4134770e-37a2-6447-4497-d73ddee6412d", + "resource": { + "resourceType": "Organization", + "id": "4134770e-37a2-6447-4497-d73ddee6412d", + "name": "Century Hospital", + "identifier": [ + { + "value": "987", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "2070 Test Park" + ], + "city": "Los Angeles", + "state": "CA", + "postalCode": "90067", + "use": "work" + } ] - } - } - ], - "address": [ - { - "line": [ - "2070 Test Park" - ], - "city": "Los Angeles", - "state": "CA", - "postalCode": "90067", - "use": "work" + }, + "request": { + "method": "PUT", + "url": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4134770e-37a2-6447-4497-d73ddee6412d" - } - }, - { - "fullUrl": "urn:uuid:86b13b68-64ca-4bf2-8f9d-524c127b445f", - "resource": { - "resourceType": "Observation", - "id": "86b13b68-64ca-4bf2-8f9d-524c127b445f", - "status": "final", - "code": { - "coding": [ - { - "code": "26453-1", - "display": "Erythrocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Erythrocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 4.41, - "code": "10*6/uL", - "unit": "million per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "4.3 to 6.2" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:86b13b68-64ca-4bf2-8f9d-524c127b445f", + "resource": { + "resourceType": "Observation", + "id": "86b13b68-64ca-4bf2-8f9d-524c127b445f", + "status": "final", + "code": { + "coding": [ + { + "code": "26453-1", + "display": "Erythrocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Erythrocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 4.41, + "code": "10*6/uL", + "unit": "million per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "4.3 to 6.2" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" - } - }, - { - "fullUrl": "urn:uuid:e950bf40-a65b-1565-b77a-9e409335894c", - "resource": { - "resourceType": "Observation", - "id": "e950bf40-a65b-1565-b77a-9e409335894c", - "status": "final", - "code": { - "coding": [ - { - "code": "718-7", - "display": "Hemoglobin [Mass/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Hemoglobin [Mass/volume] in Blood" - }, - "valueQuantity": { - "value": 12.5, - "code": "g/mL", - "unit": "grams per milliliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "13 to 18" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "L", - "display": "Low", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:e950bf40-a65b-1565-b77a-9e409335894c", + "resource": { + "resourceType": "Observation", + "id": "e950bf40-a65b-1565-b77a-9e409335894c", + "status": "final", + "code": { + "coding": [ + { + "code": "718-7", + "display": "Hemoglobin [Mass/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Hemoglobin [Mass/volume] in Blood" + }, + "valueQuantity": { + "value": 12.5, + "code": "g/mL", + "unit": "grams per milliliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "13 to 18" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "L", + "display": "Low", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" - } - }, - { - "fullUrl": "urn:uuid:57d75a50-68d1-42d2-23c7-85a2737939c3", - "resource": { - "resourceType": "Observation", - "id": "57d75a50-68d1-42d2-23c7-85a2737939c3", - "status": "final", - "code": { - "coding": [ - { - "code": "20570-8", - "display": "Hematocrit [Volume Fraction] of Blood", - "system": "http://loinc.org" - } - ], - "text": "Hematocrit [Volume Fraction] of Blood" - }, - "valueQuantity": { - "value": 41, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "40 to 52" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:57d75a50-68d1-42d2-23c7-85a2737939c3", + "resource": { + "resourceType": "Observation", + "id": "57d75a50-68d1-42d2-23c7-85a2737939c3", + "status": "final", + "code": { + "coding": [ + { + "code": "20570-8", + "display": "Hematocrit [Volume Fraction] of Blood", + "system": "http://loinc.org" + } + ], + "text": "Hematocrit [Volume Fraction] of Blood" + }, + "valueQuantity": { + "value": 41, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "40 to 52" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" - } - }, - { - "fullUrl": "urn:uuid:d0fbf918-54d1-7ba3-5412-43a57a7f18b1", - "resource": { - "resourceType": "Observation", - "id": "d0fbf918-54d1-7ba3-5412-43a57a7f18b1", - "status": "final", - "code": { - "coding": [ - { - "code": "26464-8", - "display": "Leukocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Leukocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 105600, - "code": "{cells}/uL", - "unit": "cells per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "4300 to 10800" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:d0fbf918-54d1-7ba3-5412-43a57a7f18b1", + "resource": { + "resourceType": "Observation", + "id": "d0fbf918-54d1-7ba3-5412-43a57a7f18b1", + "status": "final", + "code": { + "coding": [ + { + "code": "26464-8", + "display": "Leukocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Leukocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 105600, + "code": "{cells}/uL", + "unit": "cells per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "4300 to 10800" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" - } - }, - { - "fullUrl": "urn:uuid:7067c914-c96b-8595-60f3-2e7df530e7f0", - "resource": { - "resourceType": "Observation", - "id": "7067c914-c96b-8595-60f3-2e7df530e7f0", - "status": "final", - "code": { - "coding": [ - { - "code": "26515-7", - "display": "Platelets [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Platelets [#/volume] in Blood" - }, - "valueQuantity": { - "value": 210000, - "code": "{cells}/uL", - "unit": "cells per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "150000 to 350000" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:7067c914-c96b-8595-60f3-2e7df530e7f0", + "resource": { + "resourceType": "Observation", + "id": "7067c914-c96b-8595-60f3-2e7df530e7f0", + "status": "final", + "code": { + "coding": [ + { + "code": "26515-7", + "display": "Platelets [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Platelets [#/volume] in Blood" + }, + "valueQuantity": { + "value": 210000, + "code": "{cells}/uL", + "unit": "cells per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "150000 to 350000" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" - } - }, - { - "fullUrl": "urn:uuid:992117b5-5929-6b7c-5570-199ffa437877", - "resource": { - "resourceType": "Observation", - "id": "992117b5-5929-6b7c-5570-199ffa437877", - "status": "final", - "code": { - "coding": [ - { - "code": "30428-7", - "display": "Erythrocyte mean corpuscular volume [Entitic volume]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular volume [Entitic volume]" - }, - "valueQuantity": { - "value": 91, - "code": "fL", - "unit": "femtoliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "80 to 95" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:992117b5-5929-6b7c-5570-199ffa437877", + "resource": { + "resourceType": "Observation", + "id": "992117b5-5929-6b7c-5570-199ffa437877", + "status": "final", + "code": { + "coding": [ + { + "code": "30428-7", + "display": "Erythrocyte mean corpuscular volume [Entitic volume]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular volume [Entitic volume]" + }, + "valueQuantity": { + "value": 91, + "code": "fL", + "unit": "femtoliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "80 to 95" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/992117b5-5929-6b7c-5570-199ffa437877" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/992117b5-5929-6b7c-5570-199ffa437877" - } - }, - { - "fullUrl": "urn:uuid:444f2073-1f9b-5ccb-4c6f-225668686427", - "resource": { - "resourceType": "Observation", - "id": "444f2073-1f9b-5ccb-4c6f-225668686427", - "status": "final", - "code": { - "coding": [ - { - "code": "28539-5", - "display": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]" - }, - "valueQuantity": { - "value": 29, - "code": "pg/{cell}", - "unit": "picograms per cell", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "27 to 31" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:444f2073-1f9b-5ccb-4c6f-225668686427", + "resource": { + "resourceType": "Observation", + "id": "444f2073-1f9b-5ccb-4c6f-225668686427", + "status": "final", + "code": { + "coding": [ + { + "code": "28539-5", + "display": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular hemoglobin [Entitic mass]" + }, + "valueQuantity": { + "value": 29, + "code": "pg/{cell}", + "unit": "picograms per cell", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "27 to 31" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" - } - }, - { - "fullUrl": "urn:uuid:e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", - "resource": { - "resourceType": "Observation", - "id": "e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", - "status": "final", - "code": { - "coding": [ - { - "code": "28540-3", - "display": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]" - }, - "valueQuantity": { - "value": 32.4, - "code": "g/dL", - "unit": "grams per deciliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "32 to 36" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", + "resource": { + "resourceType": "Observation", + "id": "e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1", + "status": "final", + "code": { + "coding": [ + { + "code": "28540-3", + "display": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte mean corpuscular hemoglobin concentration [Mass/volume]" + }, + "valueQuantity": { + "value": 32.4, + "code": "g/dL", + "unit": "grams per deciliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "32 to 36" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" - } - }, - { - "fullUrl": "urn:uuid:5b437ecc-2c30-8c06-133f-465771b904ad", - "resource": { - "resourceType": "Observation", - "id": "5b437ecc-2c30-8c06-133f-465771b904ad", - "status": "final", - "code": { - "coding": [ - { - "code": "30385-9", - "display": "Erythrocyte distribution width [Ratio]", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte distribution width [Ratio]" - }, - "valueQuantity": { - "value": 10.5, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "10.2 to 14.5" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:5b437ecc-2c30-8c06-133f-465771b904ad", + "resource": { + "resourceType": "Observation", + "id": "5b437ecc-2c30-8c06-133f-465771b904ad", + "status": "final", + "code": { + "coding": [ + { + "code": "30385-9", + "display": "Erythrocyte distribution width [Ratio]", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte distribution width [Ratio]" + }, + "valueQuantity": { + "value": 10.5, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "10.2 to 14.5" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" - } - }, - { - "fullUrl": "urn:uuid:911e4e3a-2cbc-7a98-00d7-c84848cf5089", - "resource": { - "resourceType": "Observation", - "id": "911e4e3a-2cbc-7a98-00d7-c84848cf5089", - "status": "final", - "code": { - "coding": [ - { - "code": "26444-0", - "display": "Basophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Basophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 0.1, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 0.3" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:911e4e3a-2cbc-7a98-00d7-c84848cf5089", + "resource": { + "resourceType": "Observation", + "id": "911e4e3a-2cbc-7a98-00d7-c84848cf5089", + "status": "final", + "code": { + "coding": [ + { + "code": "26444-0", + "display": "Basophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Basophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 0.1, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 0.3" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" - } - }, - { - "fullUrl": "urn:uuid:56ced431-5315-0916-1416-28535869cf35", - "resource": { - "resourceType": "Observation", - "id": "56ced431-5315-0916-1416-28535869cf35", - "status": "final", - "code": { - "coding": [ - { - "code": "30180-4", - "display": "Basophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Basophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 0.1, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 2" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:56ced431-5315-0916-1416-28535869cf35", + "resource": { + "resourceType": "Observation", + "id": "56ced431-5315-0916-1416-28535869cf35", + "status": "final", + "code": { + "coding": [ + { + "code": "30180-4", + "display": "Basophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Basophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 0.1, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 2" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/56ced431-5315-0916-1416-28535869cf35" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/56ced431-5315-0916-1416-28535869cf35" - } - }, - { - "fullUrl": "urn:uuid:a66c4fde-e0f8-969f-26fa-302858c57c3e", - "resource": { - "resourceType": "Observation", - "id": "a66c4fde-e0f8-969f-26fa-302858c57c3e", - "status": "final", - "code": { - "coding": [ - { - "code": "26484-6", - "display": "Monocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Monocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 3, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0.0 to 13.0" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:a66c4fde-e0f8-969f-26fa-302858c57c3e", + "resource": { + "resourceType": "Observation", + "id": "a66c4fde-e0f8-969f-26fa-302858c57c3e", + "status": "final", + "code": { + "coding": [ + { + "code": "26484-6", + "display": "Monocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Monocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 3, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0.0 to 13.0" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" - } - }, - { - "fullUrl": "urn:uuid:a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", - "resource": { - "resourceType": "Observation", - "id": "a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", - "status": "final", - "code": { - "coding": [ - { - "code": "26485-3", - "display": "Monocytes/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Monocytes/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 3, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 10" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", + "resource": { + "resourceType": "Observation", + "id": "a6f52e45-f836-4fc8-8c16-aae3d4e2ed16", + "status": "final", + "code": { + "coding": [ + { + "code": "26485-3", + "display": "Monocytes/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Monocytes/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 3, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 10" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + }, + { + "fullUrl": "urn:uuid:003b8354-4e8a-c413-7904-a5827158c46b", + "resource": { + "resourceType": "Observation", + "id": "003b8354-4e8a-c413-7904-a5827158c46b", + "status": "final", + "code": { + "coding": [ + { + "code": "26449-9", + "display": "Eosinophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Eosinophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 2.1, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0.0 to 0.45" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" - } - }, - { - "fullUrl": "urn:uuid:003b8354-4e8a-c413-7904-a5827158c46b", - "resource": { - "resourceType": "Observation", - "id": "003b8354-4e8a-c413-7904-a5827158c46b", - "status": "final", - "code": { - "coding": [ - { - "code": "26449-9", - "display": "Eosinophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Eosinophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 2.1, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0.0 to 0.45" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" - } - }, - { - "fullUrl": "urn:uuid:201f8c4b-0e9a-ca62-aedd-5baf37822777", - "resource": { - "resourceType": "Observation", - "id": "201f8c4b-0e9a-ca62-aedd-5baf37822777", - "status": "final", - "code": { - "coding": [ - { - "code": "26450-7", - "display": "Eosinophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Eosinophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 2, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "0 to 6" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" - } - }, - { - "fullUrl": "urn:uuid:82489f84-cccb-c095-eb55-42ed77eb1c94", - "resource": { - "resourceType": "Observation", - "id": "82489f84-cccb-c095-eb55-42ed77eb1c94", - "status": "final", - "code": { - "coding": [ - { - "code": "26474-7", - "display": "Lymphocytes [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Lymphocytes [#/volume] in Blood" - }, - "valueQuantity": { - "value": 41.2, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "1.0 to 4.8" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:201f8c4b-0e9a-ca62-aedd-5baf37822777", + "resource": { + "resourceType": "Observation", + "id": "201f8c4b-0e9a-ca62-aedd-5baf37822777", + "status": "final", + "code": { + "coding": [ + { + "code": "26450-7", + "display": "Eosinophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Eosinophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 2, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "0 to 6" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" - } - }, - { - "fullUrl": "urn:uuid:452e4d56-c770-85d2-56d5-b8831f428ece", - "resource": { - "resourceType": "Observation", - "id": "452e4d56-c770-85d2-56d5-b8831f428ece", - "status": "final", - "code": { - "coding": [ - { - "code": "26478-8", - "display": "Lymphocytes/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Lymphocytes/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 39, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "15.0 to 45.0" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:82489f84-cccb-c095-eb55-42ed77eb1c94", + "resource": { + "resourceType": "Observation", + "id": "82489f84-cccb-c095-eb55-42ed77eb1c94", + "status": "final", + "code": { + "coding": [ + { + "code": "26474-7", + "display": "Lymphocytes [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Lymphocytes [#/volume] in Blood" + }, + "valueQuantity": { + "value": 41.2, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "1.0 to 4.8" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" - } - }, - { - "fullUrl": "urn:uuid:2a2a40ab-094b-5c4f-ed4c-06da5b795adb", - "resource": { - "resourceType": "Observation", - "id": "2a2a40ab-094b-5c4f-ed4c-06da5b795adb", - "status": "final", - "code": { - "coding": [ - { - "code": "26499-4", - "display": "Neutrophils [#/volume] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Neutrophils [#/volume] in Blood" - }, - "valueQuantity": { - "value": 58, - "code": "10*3/uL", - "unit": "thousand per microliter", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "1.5 to 7.0" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "HH", - "display": "Critical high", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:452e4d56-c770-85d2-56d5-b8831f428ece", + "resource": { + "resourceType": "Observation", + "id": "452e4d56-c770-85d2-56d5-b8831f428ece", + "status": "final", + "code": { + "coding": [ + { + "code": "26478-8", + "display": "Lymphocytes/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Lymphocytes/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 39, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "15.0 to 45.0" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" - } - }, - { - "fullUrl": "urn:uuid:50ff46fb-efee-ee90-4005-de5f705b3e05", - "resource": { - "resourceType": "Observation", - "id": "50ff46fb-efee-ee90-4005-de5f705b3e05", - "status": "final", - "code": { - "coding": [ - { - "code": "26511-6", - "display": "Neutrophils/100 leukocytes in Blood", - "system": "http://loinc.org" - } - ], - "text": "Neutrophils/100 leukocytes in Blood" - }, - "valueQuantity": { - "value": 55, - "code": "%", - "unit": "percent", - "system": "http://unitsofmeasure.org" - }, - "referenceRange": [ - { - "text": "50 to 73" - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:2a2a40ab-094b-5c4f-ed4c-06da5b795adb", + "resource": { + "resourceType": "Observation", + "id": "2a2a40ab-094b-5c4f-ed4c-06da5b795adb", + "status": "final", + "code": { + "coding": [ + { + "code": "26499-4", + "display": "Neutrophils [#/volume] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Neutrophils [#/volume] in Blood" + }, + "valueQuantity": { + "value": 58, + "code": "10*3/uL", + "unit": "thousand per microliter", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "1.5 to 7.0" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "HH", + "display": "Critical high", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" - } - }, - { - "fullUrl": "urn:uuid:acd9efe2-e488-9629-4ee4-7381dd2f033a", - "resource": { - "resourceType": "Observation", - "id": "acd9efe2-e488-9629-4ee4-7381dd2f033a", - "status": "final", - "code": { - "coding": [ - { - "code": "38892-6", - "display": "Anisocytosis [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Anisocytosis [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260348001", - "display": "Present ++ out of ++++", - "system": "http://snomed.info/sct" - } - ], - "text": "Moderate Anisocytosis" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:50ff46fb-efee-ee90-4005-de5f705b3e05", + "resource": { + "resourceType": "Observation", + "id": "50ff46fb-efee-ee90-4005-de5f705b3e05", + "status": "final", + "code": { + "coding": [ + { + "code": "26511-6", + "display": "Neutrophils/100 leukocytes in Blood", + "system": "http://loinc.org" + } + ], + "text": "Neutrophils/100 leukocytes in Blood" + }, + "valueQuantity": { + "value": 55, + "code": "%", + "unit": "percent", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "text": "50 to 73" + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" - } - }, - { - "fullUrl": "urn:uuid:7590df32-4991-c5ec-defe-e0dc2c2eaf1e", - "resource": { - "resourceType": "Observation", - "id": "7590df32-4991-c5ec-defe-e0dc2c2eaf1e", - "status": "final", - "code": { - "coding": [ - { - "code": "30400-6", - "display": "Hypochromia [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Hypochromia [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:acd9efe2-e488-9629-4ee4-7381dd2f033a", + "resource": { + "resourceType": "Observation", + "id": "acd9efe2-e488-9629-4ee4-7381dd2f033a", + "status": "final", + "code": { + "coding": [ + { + "code": "38892-6", + "display": "Anisocytosis [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Anisocytosis [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260348001", + "display": "Present ++ out of ++++", + "system": "http://snomed.info/sct" + } + ], + "text": "Moderate Anisocytosis" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" - } - }, - { - "fullUrl": "urn:uuid:9309af3c-7981-ab3a-916e-39e0c93849e1", - "resource": { - "resourceType": "Observation", - "id": "9309af3c-7981-ab3a-916e-39e0c93849e1", - "status": "final", - "code": { - "coding": [ - { - "code": "30424-6", - "display": "Macrocytes [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Macrocytes [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:7590df32-4991-c5ec-defe-e0dc2c2eaf1e", + "resource": { + "resourceType": "Observation", + "id": "7590df32-4991-c5ec-defe-e0dc2c2eaf1e", + "status": "final", + "code": { + "coding": [ + { + "code": "30400-6", + "display": "Hypochromia [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Hypochromia [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" - } - }, - { - "fullUrl": "urn:uuid:7a7a84ca-efac-1264-4b89-afcb99a042d3", - "resource": { - "resourceType": "Observation", - "id": "7a7a84ca-efac-1264-4b89-afcb99a042d3", - "status": "final", - "code": { - "coding": [ - { - "code": "30434-5", - "display": "Microcytes [Presence] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Microcytes [Presence] in Blood" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:9309af3c-7981-ab3a-916e-39e0c93849e1", + "resource": { + "resourceType": "Observation", + "id": "9309af3c-7981-ab3a-916e-39e0c93849e1", + "status": "final", + "code": { + "coding": [ + { + "code": "30424-6", + "display": "Macrocytes [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Macrocytes [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" - } - }, - { - "fullUrl": "urn:uuid:cbf7415b-71cd-2693-d05f-729ad10cab5b", - "resource": { - "resourceType": "Observation", - "id": "cbf7415b-71cd-2693-d05f-729ad10cab5b", - "status": "final", - "code": { - "coding": [ - { - "code": "779-9", - "display": "Poikilocytosis [Presence] in Blood by Light microscopy", - "system": "http://loinc.org" - } - ], - "text": "Poikilocytosis [Presence] in Blood by Light microscopy" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:7a7a84ca-efac-1264-4b89-afcb99a042d3", + "resource": { + "resourceType": "Observation", + "id": "7a7a84ca-efac-1264-4b89-afcb99a042d3", + "status": "final", + "code": { + "coding": [ + { + "code": "30434-5", + "display": "Microcytes [Presence] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Microcytes [Presence] in Blood" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" - } - }, - { - "fullUrl": "urn:uuid:f0e1d14d-8b98-c494-88da-2ccc76244df2", - "resource": { - "resourceType": "Observation", - "id": "f0e1d14d-8b98-c494-88da-2ccc76244df2", - "status": "final", - "code": { - "coding": [ - { - "code": "10378-8", - "display": "Polychromasia [Presence] in Blood by Light microscopy", - "system": "http://loinc.org" - } - ], - "text": "Polychromasia [Presence] in Blood by Light microscopy" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "260415000", - "display": "not detected", - "system": "http://snomed.info/sct" - } - ], - "text": "None seen" - }, - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:cbf7415b-71cd-2693-d05f-729ad10cab5b", + "resource": { + "resourceType": "Observation", + "id": "cbf7415b-71cd-2693-d05f-729ad10cab5b", + "status": "final", + "code": { + "coding": [ + { + "code": "779-9", + "display": "Poikilocytosis [Presence] in Blood by Light microscopy", + "system": "http://loinc.org" + } + ], + "text": "Poikilocytosis [Presence] in Blood by Light microscopy" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" - } - }, - { - "fullUrl": "urn:uuid:04f6146a-df8b-3d11-aac2-5f003cbc41eb", - "resource": { - "resourceType": "Observation", - "id": "04f6146a-df8b-3d11-aac2-5f003cbc41eb", - "status": "final", - "code": { - "coding": [ - { - "code": "6742-1", - "display": "Erythrocyte morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Erythrocyte morphology finding [Identifier] in Blood" - }, - "valueString": "Many spherocytes present.", - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:f0e1d14d-8b98-c494-88da-2ccc76244df2", + "resource": { + "resourceType": "Observation", + "id": "f0e1d14d-8b98-c494-88da-2ccc76244df2", + "status": "final", + "code": { + "coding": [ + { + "code": "10378-8", + "display": "Polychromasia [Presence] in Blood by Light microscopy", + "system": "http://loinc.org" + } + ], + "text": "Polychromasia [Presence] in Blood by Light microscopy" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "260415000", + "display": "not detected", + "system": "http://snomed.info/sct" + } + ], + "text": "None seen" + }, + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "N", + "display": "Normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" - } - }, - { - "fullUrl": "urn:uuid:d6dd70a5-58fa-39bc-c4c8-81398826e0bb", - "resource": { - "resourceType": "Observation", - "id": "d6dd70a5-58fa-39bc-c4c8-81398826e0bb", - "status": "final", - "code": { - "coding": [ - { - "code": "11156-7", - "display": "Leukocyte morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Leukocyte morphology finding [Identifier] in Blood" - }, - "valueString": "Reactive morphology in lymphoid cells.", - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:04f6146a-df8b-3d11-aac2-5f003cbc41eb", + "resource": { + "resourceType": "Observation", + "id": "04f6146a-df8b-3d11-aac2-5f003cbc41eb", + "status": "final", + "code": { + "coding": [ + { + "code": "6742-1", + "display": "Erythrocyte morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Erythrocyte morphology finding [Identifier] in Blood" + }, + "valueString": "Many spherocytes present.", + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" - } - }, - { - "fullUrl": "urn:uuid:f20f3493-d398-8740-ad5f-24421acdb6ad", - "resource": { - "resourceType": "Observation", - "id": "f20f3493-d398-8740-ad5f-24421acdb6ad", - "status": "final", - "code": { - "coding": [ - { - "code": "11125-2", - "display": "Platelet morphology finding [Identifier] in Blood", - "system": "http://loinc.org" - } - ], - "text": "Platelet morphology finding [Identifier] in Blood" - }, - "valueString": "Platelets show defective granulation.", - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "performer": [ - { - "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + { + "fullUrl": "urn:uuid:d6dd70a5-58fa-39bc-c4c8-81398826e0bb", + "resource": { + "resourceType": "Observation", + "id": "d6dd70a5-58fa-39bc-c4c8-81398826e0bb", + "status": "final", + "code": { + "coding": [ + { + "code": "11156-7", + "display": "Leukocyte morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Leukocyte morphology finding [Identifier] in Blood" + }, + "valueString": "Reactive morphology in lymphoid cells.", + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" - } - }, - { - "fullUrl": "urn:uuid:be7b96d7-8880-3116-f8e3-328359c8e8b1", - "resource": { - "resourceType": "ServiceRequest", - "id": "be7b96d7-8880-3116-f8e3-328359c8e8b1", - "status": "unknown", - "intent": "filler-order", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f20f3493-d398-8740-ad5f-24421acdb6ad", + "resource": { + "resourceType": "Observation", + "id": "f20f3493-d398-8740-ad5f-24421acdb6ad", + "status": "final", + "code": { + "coding": [ + { + "code": "11125-2", + "display": "Platelet morphology finding [Identifier] in Blood", + "system": "http://loinc.org" + } + ], + "text": "Platelet morphology finding [Identifier] in Blood" + }, + "valueString": "Platelets show defective granulation.", + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "performer": [ + { + "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } ] - } }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" + } + }, + { + "fullUrl": "urn:uuid:be7b96d7-8880-3116-f8e3-328359c8e8b1", + "resource": { + "resourceType": "ServiceRequest", + "id": "be7b96d7-8880-3116-f8e3-328359c8e8b1", + "status": "unknown", + "intent": "filler-order", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "GORD874233", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "57021-8", + "display": "CBC W Auto Differential panel in Blood", + "system": "http://loinc.org" + }, + { + "code": "4456544", + "display": "CBC", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" + } + ], + "text": "CBC W Auto Differential panel in Blood" + }, + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "requester": { + "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" + }, + "specimen": [ + { + "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + } ] - } }, - { - "value": "GORD874233", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "57021-8", - "display": "CBC W Auto Differential panel in Blood", - "system": "http://loinc.org" - }, - { - "code": "4456544", - "display": "CBC", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" - } - ], - "text": "CBC W Auto Differential panel in Blood" - }, - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "requester": { - "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" - }, - "specimen": [ - { - "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + "request": { + "method": "PUT", + "url": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" - } - }, - { - "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "resource": { - "resourceType": "Practitioner", - "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", - "identifier": [ - { - "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1", - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "resource": { + "resourceType": "Practitioner", + "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b", + "identifier": [ + { + "value": "57422", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-1", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Radon", + "given": [ + "Nicholas" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Radon", - "given": [ - "Nicholas" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" - } - }, - { - "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033", - "resource": { - "resourceType": "PractitionerRole", - "id": "3abddc6b-7cdf-a483-2997-914e226aa033", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + { + "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033", + "resource": { + "resourceType": "PractitionerRole", + "id": "3abddc6b-7cdf-a483-2997-914e226aa033", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" } - ], - "practitioner": { - "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033" - } - }, - { - "fullUrl": "urn:uuid:617a0645-a45a-07a5-77e4-f40de55f8c42", - "resource": { - "resourceType": "DiagnosticReport", - "id": "617a0645-a45a-07a5-77e4-f40de55f8c42", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:617a0645-a45a-07a5-77e4-f40de55f8c42", + "resource": { + "resourceType": "DiagnosticReport", + "id": "617a0645-a45a-07a5-77e4-f40de55f8c42", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "GORD874233", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2011-01-04T04:04:28+05:30", + "code": { + "coding": [ + { + "code": "57021-8", + "display": "CBC W Auto Differential panel in Blood", + "system": "http://loinc.org" + }, + { + "code": "4456544", + "display": "CBC", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" + } + ], + "text": "CBC W Auto Differential panel in Blood" + }, + "issued": "2011-01-05T06:30:28+05:30", + "status": "final", + "subject": { + "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" + }, + "basedOn": [ + { + "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + } + ], + "specimen": [ + { + "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" + } + ], + "result": [ + { + "reference": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" + }, + { + "reference": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" + }, + { + "reference": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" + }, + { + "reference": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" + }, + { + "reference": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" + }, + { + "reference": "Observation/992117b5-5929-6b7c-5570-199ffa437877" + }, + { + "reference": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" + }, + { + "reference": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" + }, + { + "reference": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" + }, + { + "reference": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" + }, + { + "reference": "Observation/56ced431-5315-0916-1416-28535869cf35" + }, + { + "reference": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" + }, + { + "reference": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" + }, + { + "reference": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" + }, + { + "reference": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" + }, + { + "reference": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" + }, + { + "reference": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" + }, + { + "reference": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" + }, + { + "reference": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" + }, + { + "reference": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" + }, + { + "reference": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" + }, + { + "reference": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" + }, + { + "reference": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" + }, + { + "reference": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" + }, + { + "reference": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" + }, + { + "reference": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" + }, + { + "reference": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" + }, + { + "reference": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" + } ] - } }, - { - "value": "GORD874233", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "effectiveDateTime": "2011-01-03T14:34:28-08:00", - "code": { - "coding": [ - { - "code": "57021-8", - "display": "CBC W Auto Differential panel in Blood", - "system": "http://loinc.org" - }, - { - "code": "4456544", - "display": "CBC", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI" - } - ], - "text": "CBC W Auto Differential panel in Blood" - }, - "issued": "2011-01-04T17:00:28-08:00", - "status": "final", - "subject": { - "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa" - }, - "basedOn": [ - { - "reference": "ServiceRequest/be7b96d7-8880-3116-f8e3-328359c8e8b1" + "request": { + "method": "PUT", + "url": "DiagnosticReport/617a0645-a45a-07a5-77e4-f40de55f8c42" } - ], - "specimen": [ - { - "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" - } - ], - "result": [ - { - "reference": "Observation/86b13b68-64ca-4bf2-8f9d-524c127b445f" - }, - { - "reference": "Observation/e950bf40-a65b-1565-b77a-9e409335894c" - }, - { - "reference": "Observation/57d75a50-68d1-42d2-23c7-85a2737939c3" - }, - { - "reference": "Observation/d0fbf918-54d1-7ba3-5412-43a57a7f18b1" - }, - { - "reference": "Observation/7067c914-c96b-8595-60f3-2e7df530e7f0" - }, - { - "reference": "Observation/992117b5-5929-6b7c-5570-199ffa437877" - }, - { - "reference": "Observation/444f2073-1f9b-5ccb-4c6f-225668686427" - }, - { - "reference": "Observation/e00ac64f-ef49-92be-5d5c-2d6c7c0a99c1" - }, - { - "reference": "Observation/5b437ecc-2c30-8c06-133f-465771b904ad" - }, - { - "reference": "Observation/911e4e3a-2cbc-7a98-00d7-c84848cf5089" - }, - { - "reference": "Observation/56ced431-5315-0916-1416-28535869cf35" - }, - { - "reference": "Observation/a66c4fde-e0f8-969f-26fa-302858c57c3e" - }, - { - "reference": "Observation/a6f52e45-f836-4fc8-8c16-aae3d4e2ed16" - }, - { - "reference": "Observation/003b8354-4e8a-c413-7904-a5827158c46b" - }, - { - "reference": "Observation/201f8c4b-0e9a-ca62-aedd-5baf37822777" - }, - { - "reference": "Observation/82489f84-cccb-c095-eb55-42ed77eb1c94" - }, - { - "reference": "Observation/452e4d56-c770-85d2-56d5-b8831f428ece" - }, - { - "reference": "Observation/2a2a40ab-094b-5c4f-ed4c-06da5b795adb" - }, - { - "reference": "Observation/50ff46fb-efee-ee90-4005-de5f705b3e05" - }, - { - "reference": "Observation/acd9efe2-e488-9629-4ee4-7381dd2f033a" - }, - { - "reference": "Observation/7590df32-4991-c5ec-defe-e0dc2c2eaf1e" - }, - { - "reference": "Observation/9309af3c-7981-ab3a-916e-39e0c93849e1" - }, - { - "reference": "Observation/7a7a84ca-efac-1264-4b89-afcb99a042d3" - }, - { - "reference": "Observation/cbf7415b-71cd-2693-d05f-729ad10cab5b" - }, - { - "reference": "Observation/f0e1d14d-8b98-c494-88da-2ccc76244df2" - }, - { - "reference": "Observation/04f6146a-df8b-3d11-aac2-5f003cbc41eb" - }, - { - "reference": "Observation/d6dd70a5-58fa-39bc-c4c8-81398826e0bb" + }, + { + "fullUrl": "urn:uuid:aa90eecf-8084-cda9-f937-6932c6bb4f79", + "resource": { + "resourceType": "Specimen", + "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79", + "identifier": [ + { + "value": "ORD666555", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-EHR", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "R-991133", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-Lab-Filler", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "collection": { + "collectedDateTime": "2011-01-04T04:04:28+05:30" + } }, - { - "reference": "Observation/f20f3493-d398-8740-ad5f-24421acdb6ad" + "request": { + "method": "PUT", + "url": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" } - ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/617a0645-a45a-07a5-77e4-f40de55f8c42" - } - }, - { - "fullUrl": "urn:uuid:aa90eecf-8084-cda9-f937-6932c6bb4f79", - "resource": { - "resourceType": "Specimen", - "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79", - "identifier": [ - { - "value": "ORD666555", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", + "resource": { + "resourceType": "Specimen", + "id": "a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", + "type": { + "coding": [ + { + "code": "119297000", + "display": "BLD", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "collectedDateTime": "2011-01-04T04:04:28+05:30" + } }, - { - "value": "R-991133", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Specimen/a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963" } - ], - "collection": { - "collectedDateTime": "2011-01-03T14:34:28-08:00" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79" - } - }, - { - "fullUrl": "urn:uuid:a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", - "resource": { - "resourceType": "Specimen", - "id": "a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963", - "type": { - "coding": [ - { - "code": "119297000", - "display": "BLD", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "collectedDateTime": "2011-01-03T14:34:28-08:00" - } - }, - "request": { - "method": "PUT", - "url": "Specimen/a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json index daba032a8..f927a8280 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json @@ -1,2605 +1,5442 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2012-03-14T12:59:00-02:15", + "timestamp": "2012-03-14T20:44:00+05:30", "identifier": { - "value": "2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325" + "value": "2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325" }, "id": "3294d4fe-4d33-61e3-310f-3078b6bb0264", "entry": [ - { - "fullUrl": "urn:uuid:bb2c62d5-a5ee-37cf-332d-bd928e8586f4", - "resource": { - "resourceType": "MessageHeader", - "id": "bb2c62d5-a5ee-37cf-332d-bd928e8586f4", - "source": { - "name": "IA PHIMS Stage", - "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IA.DOH.IDSS", - "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.19", - "receiver": { - "reference": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" - } - } - ], - "meta": { - "tag": [ - { - "code": "T", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R01", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "ORU^R01^ORU_R01" - }, - "sender": { - "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/bb2c62d5-a5ee-37cf-332d-bd928e8586f4" - } - }, - { - "fullUrl": "urn:uuid:4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", - "resource": { - "resourceType": "Provenance", - "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:10.588Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" - }, - "occurredDateTime": "2012-03-14T12:59:00-02:15", - "recorded": "2012-03-14T12:59:00-02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:bb2c62d5-a5ee-37cf-332d-bd928e8586f4", + "resource": { + "resourceType": "MessageHeader", + "id": "bb2c62d5-a5ee-37cf-332d-bd928e8586f4", + "source": { + "name": "IA PHIMS Stage", + "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IA.DOH.IDSS", + "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.19", + "receiver": { + "reference": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" + } + } + ], + "meta": { + "tag": [ + { + "code": "T", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R01", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "ORU^R01^ORU_R01" + }, + "sender": { + "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/bb2c62d5-a5ee-37cf-332d-bd928e8586f4" + } + }, + { + "fullUrl": "urn:uuid:4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", + "resource": { + "resourceType": "Provenance", + "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:30:35.318Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.

" + }, + "occurredDateTime": "2012-03-14T20:44:00+05:30", + "recorded": "2012-03-14T20:44:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + } + ], + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" + } + ] + }, + "target": [ + { + "reference": "Bundle/3294d4fe-4d33-61e3-310f-3078b6bb0264" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/4b8e3786-de8b-c12f-345b-3c83fc1c4a0d" + } + }, + { + "fullUrl": "urn:uuid:353c3718-dc57-7a15-8660-7aeed24b4f7e", + "resource": { + "resourceType": "Organization", + "id": "353c3718-dc57-7a15-8660-7aeed24b4f7e", + "identifier": [ + { + "value": "IA Public Health Lab", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-Public-Health-Lab" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.1.10411", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" + } + }, + { + "fullUrl": "urn:uuid:6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", + "resource": { + "resourceType": "Organization", + "id": "6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", + "identifier": [ + { + "value": "IA DOH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-DOH" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.1.3650", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854" + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:389b3d01-dc6f-2c15-38c5-8c4e86a515c8", + "resource": { + "resourceType": "Patient", + "id": "389b3d01-dc6f-2c15-38c5-8c4e86a515c8", + "identifier": [ + { + "value": "14", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "assigner": { + "reference": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" + } + } + ], + "name": [ + { + "family": "Finn", + "given": [ + "Huckleberry" + ], + "use": "official" + } + ], + "birthDate": "1963-08-15", + "gender": "male", + "address": [ + { + "line": [ + "721 SPRING STREET" + ], + "city": "GRINNELL", + "state": "IA", + "postalCode": "50112", + "country": "USA", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "version": "2.5.1" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "04/24/2007" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "04/24/2007" + } + }, + { + "url": "text", + "valueString": "White+American Indian or Alaska Native" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238", + "version": "2.5.1" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/1eedde30-5cfd-6ac7-a56b-6feb1be5d204" + } + ], + "contact": [ + { + "name": { + "family": "Doe", + "given": [ + "Rosallie" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(608)271-9001", + "use": "work", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + { + "fullUrl": "urn:uuid:1eedde30-5cfd-6ac7-a56b-6feb1be5d204", + "resource": { + "resourceType": "PractitionerRole", + "id": "1eedde30-5cfd-6ac7-a56b-6feb1be5d204", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/e7fc1fa4-8d6c-7295-1770-b6d81f5d393d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1eedde30-5cfd-6ac7-a56b-6feb1be5d204" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:e7fc1fa4-8d6c-7295-1770-b6d81f5d393d", + "resource": { + "resourceType": "Practitioner", + "id": "e7fc1fa4-8d6c-7295-1770-b6d81f5d393d", + "identifier": [ + { + "value": "112233421", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e7fc1fa4-8d6c-7295-1770-b6d81f5d393d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:5263bd4f-69ed-d465-3e10-e79f2010bf12", + "resource": { + "resourceType": "Organization", + "id": "5263bd4f-69ed-d465-3e10-e79f2010bf12", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" + } + }, + { + "fullUrl": "urn:uuid:2110f421-a2a2-e702-115a-490a55c8ce3f", + "resource": { + "resourceType": "Practitioner", + "id": "2110f421-a2a2-e702-115a-490a55c8ce3f", + "identifier": [ + { + "value": "1111", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERLt", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "given": [ + "Zafar", + "Mahen" + ], + "suffix": [ + "JR", + "MD" + ], + "prefix": [ + "Dr." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + } + }, + { + "fullUrl": "urn:uuid:505c291e-5ae6-8346-bfe0-2587065e410e", + "resource": { + "resourceType": "PractitionerRole", + "id": "505c291e-5ae6-8346-bfe0-2587065e410e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" + } + }, + { + "fullUrl": "urn:uuid:e2f9615a-8a86-7a34-07b8-e75842da37f0", + "resource": { + "resourceType": "Organization", + "id": "e2f9615a-8a86-7a34-07b8-e75842da37f0", + "name": "ABC Hospital", + "address": [ + { + "line": [ + "A city", + "Florida" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" + } + }, + { + "fullUrl": "urn:uuid:c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", + "identifier": [ + { + "value": "EI21obx1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-07-02", + "status": "unknown", + "performer": [ + { + "reference": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" + }, + { + "reference": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" + }, + { + "reference": "PractitionerRole/6a5ff246-c55a-19ba-198c-0f18f6657108" + } + ], + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c4c46dc5-e54b-dccd-4e40-c3c13c4a537b" + } + }, + { + "fullUrl": "urn:uuid:6a5ff246-c55a-19ba-198c-0f18f6657108", + "resource": { + "resourceType": "PractitionerRole", + "id": "6a5ff246-c55a-19ba-198c-0f18f6657108", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/a68edac3-e0b6-e73c-758c-55dcc437b505" + } + ], + "organization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/9f41cb65-0555-9b9b-f9e6-0bd3308219d9" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/6a5ff246-c55a-19ba-198c-0f18f6657108" + } + }, + { + "fullUrl": "urn:uuid:9f41cb65-0555-9b9b-f9e6-0bd3308219d9", + "resource": { + "resourceType": "Practitioner", + "id": "9f41cb65-0555-9b9b-f9e6-0bd3308219d9", + "identifier": [ + { + "value": "12188" + } + ], + "name": [ + { + "family": "Hippocrates" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9f41cb65-0555-9b9b-f9e6-0bd3308219d9" + } + }, + { + "fullUrl": "urn:uuid:a68edac3-e0b6-e73c-758c-55dcc437b505", + "resource": { + "resourceType": "Location", + "id": "a68edac3-e0b6-e73c-758c-55dcc437b505", + "name": "OBX-PID East, room 136, bed B 4E", + "mode": "instance", + "description": "OBX-PID East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a68edac3-e0b6-e73c-758c-55dcc437b505" + } + }, + { + "fullUrl": "urn:uuid:2167e03e-f0ff-09ed-e088-0fc1512d6c87", + "resource": { + "resourceType": "Location", + "id": "2167e03e-f0ff-09ed-e088-0fc1512d6c87", + "partOf": { + "reference": "Location/a68edac3-e0b6-e73c-758c-55dcc437b505" + }, + "name": "136", + "mode": "instance", + "description": "OBX-PID East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2167e03e-f0ff-09ed-e088-0fc1512d6c87" + } + }, + { + "fullUrl": "urn:uuid:e5ed238c-6b40-9aac-8e51-d5e3e041d1f3", + "resource": { + "resourceType": "Location", + "id": "e5ed238c-6b40-9aac-8e51-d5e3e041d1f3", + "partOf": { + "reference": "Location/2167e03e-f0ff-09ed-e088-0fc1512d6c87" + }, + "name": "B", + "mode": "instance", + "description": "OBX-PID East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e5ed238c-6b40-9aac-8e51-d5e3e041d1f3" + } + }, + { + "fullUrl": "urn:uuid:7b6ac8bc-c384-ae1a-ec05-1f0916cfcfba", + "resource": { + "resourceType": "Location", + "id": "7b6ac8bc-c384-ae1a-ec05-1f0916cfcfba", + "name": "CommunityHospital", + "mode": "instance", + "description": "OBX-PID East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b6ac8bc-c384-ae1a-ec05-1f0916cfcfba" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Birla", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:4463618e-67d8-51a2-3a16-eca98fb40eed", + "resource": { + "resourceType": "Location", + "id": "4463618e-67d8-51a2-3a16-eca98fb40eed", + "partOf": { + "reference": "Location/23ee4921-bc38-53b5-c51e-af995dbaf836" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "9.8", + "system": "http://example.com/v2-to-fhir-converter/Identifier/lp" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4463618e-67d8-51a2-3a16-eca98fb40eed" + } + }, + { + "fullUrl": "urn:uuid:289aaf02-0e3f-b916-157d-f0dc610e0e7d", + "resource": { + "resourceType": "Location", + "id": "289aaf02-0e3f-b916-157d-f0dc610e0e7d", + "partOf": { + "reference": "Location/4463618e-67d8-51a2-3a16-eca98fb40eed" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/289aaf02-0e3f-b916-157d-f0dc610e0e7d" + } + }, + { + "fullUrl": "urn:uuid:1ae065a7-8b28-6ce0-f551-8e0a57109878", + "resource": { + "resourceType": "Location", + "id": "1ae065a7-8b28-6ce0-f551-8e0a57109878", + "partOf": { + "reference": "Location/289aaf02-0e3f-b916-157d-f0dc610e0e7d" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1ae065a7-8b28-6ce0-f551-8e0a57109878" + } + }, + { + "fullUrl": "urn:uuid:302f5b3a-02b1-f7d8-539c-7594b631e29e", + "resource": { + "resourceType": "Location", + "id": "302f5b3a-02b1-f7d8-539c-7594b631e29e", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/302f5b3a-02b1-f7d8-539c-7594b631e29e" + } + }, + { + "fullUrl": "urn:uuid:96363c03-2a0c-8cb8-1a06-2e1226eb8a0e", + "resource": { + "resourceType": "Location", + "id": "96363c03-2a0c-8cb8-1a06-2e1226eb8a0e", + "partOf": { + "reference": "Location/302f5b3a-02b1-f7d8-539c-7594b631e29e" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/96363c03-2a0c-8cb8-1a06-2e1226eb8a0e" + } + }, + { + "fullUrl": "urn:uuid:23ee4921-bc38-53b5-c51e-af995dbaf836", + "resource": { + "resourceType": "Location", + "id": "23ee4921-bc38-53b5-c51e-af995dbaf836", + "partOf": { + "reference": "Location/96363c03-2a0c-8cb8-1a06-2e1226eb8a0e" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--lp--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/23ee4921-bc38-53b5-c51e-af995dbaf836" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:3a404c65-0d2a-4e7b-80a1-dda6136656e0", + "resource": { + "resourceType": "Encounter", + "id": "3a404c65-0d2a-4e7b-80a1-dda6136656e0", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "finished", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/4463618e-67d8-51a2-3a16-eca98fb40eed" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "individual": { + "reference": "PractitionerRole/a5f0bdc4-b66f-16e6-6ef7-dd08e12ab9ec" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30", + "end": "2015-02-09T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/3a404c65-0d2a-4e7b-80a1-dda6136656e0" + } + }, + { + "fullUrl": "urn:uuid:a5f0bdc4-b66f-16e6-6ef7-dd08e12ab9ec", + "resource": { + "resourceType": "PractitionerRole", + "id": "a5f0bdc4-b66f-16e6-6ef7-dd08e12ab9ec", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/c26f9e96-fb92-a410-a6f1-fea1a893c168" + } + ], + "organization": { + "reference": "Organization/cbecf6d5-313b-f258-2f99-6cd97a7bf2e6" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/4c908fd7-ff14-819a-686d-992606d8a746" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/a5f0bdc4-b66f-16e6-6ef7-dd08e12ab9ec" + } + }, + { + "fullUrl": "urn:uuid:4c908fd7-ff14-819a-686d-992606d8a746", + "resource": { + "resourceType": "Practitioner", + "id": "4c908fd7-ff14-819a-686d-992606d8a746", + "identifier": [ + { + "value": "188" + } + ], + "name": [ + { + "family": "John" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4c908fd7-ff14-819a-686d-992606d8a746" + } + }, + { + "fullUrl": "urn:uuid:c26f9e96-fb92-a410-a6f1-fea1a893c168", + "resource": { + "resourceType": "Location", + "id": "c26f9e96-fb92-a410-a6f1-fea1a893c168", + "name": "4, room 136, bed B 4E", + "mode": "instance", + "description": "4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c26f9e96-fb92-a410-a6f1-fea1a893c168" + } + }, + { + "fullUrl": "urn:uuid:e9dcc47c-895d-6406-1540-09c08e66b147", + "resource": { + "resourceType": "Location", + "id": "e9dcc47c-895d-6406-1540-09c08e66b147", + "partOf": { + "reference": "Location/c26f9e96-fb92-a410-a6f1-fea1a893c168" + }, + "name": "136", + "mode": "instance", + "description": "4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e9dcc47c-895d-6406-1540-09c08e66b147" + } + }, + { + "fullUrl": "urn:uuid:f3418f93-d5cc-d8c5-7ba2-ba5aaa82d9e1", + "resource": { + "resourceType": "Location", + "id": "f3418f93-d5cc-d8c5-7ba2-ba5aaa82d9e1", + "partOf": { + "reference": "Location/e9dcc47c-895d-6406-1540-09c08e66b147" + }, + "name": "B", + "mode": "instance", + "description": "4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f3418f93-d5cc-d8c5-7ba2-ba5aaa82d9e1" + } + }, + { + "fullUrl": "urn:uuid:c72ecabb-3189-b53d-3ce5-c6aac4d047c8", + "resource": { + "resourceType": "Location", + "id": "c72ecabb-3189-b53d-3ce5-c6aac4d047c8", + "name": "CommunityHospital", + "mode": "instance", + "description": "4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c72ecabb-3189-b53d-3ce5-c6aac4d047c8" + } + }, + { + "fullUrl": "urn:uuid:cbecf6d5-313b-f258-2f99-6cd97a7bf2e6", + "resource": { + "resourceType": "Organization", + "id": "cbecf6d5-313b-f258-2f99-6cd97a7bf2e6", + "name": "Org-Pv1-PRT" + }, + "request": { + "method": "PUT", + "url": "Organization/cbecf6d5-313b-f258-2f99-6cd97a7bf2e6" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + }, + { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + }, + { + "reference": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:8877e882-e573-a85d-7172-b48e78842771", + "resource": { + "resourceType": "ServiceRequest", + "id": "8877e882-e573-a85d-7172-b48e78842771", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PUSI", + "display": "parent Identifier", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" + } + ] + } + } + ], + "status": "completed", + "intent": "filler-order", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" + } + }, + { + "fullUrl": "urn:uuid:805f1b25-f43a-3bca-8bbd-49d530107363", + "resource": { + "resourceType": "ServiceRequest", + "id": "805f1b25-f43a-3bca-8bbd-49d530107363", + "status": "completed", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "PSS-46", + "display": "Placer service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "FSS-47", + "display": "Filler service", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "authoredOn": "2020-09-10T20:15:00+05:30", + "basedOn": [ + { + "reference": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + }, + { + "coding": [ + { + "code": "OF", + "display": "Outpatient facility", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "note": [ + { + "text": "Placer 1", + "authorString": "Placer Field 1" + }, + { + "text": "Placer 2", + "authorString": "Placer Field 2" + }, + { + "text": "Filler 1", + "authorString": "Filler Field 1" + }, + { + "text": "Filler 2", + "authorString": "Filler Field 2" + }, + { + "text": "Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 & other STECs, and Aeromonas" + }, + { + "text": "Allergy to peanuts observed.", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "priority": "asap", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "Enteric Culture" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "444", + "display": "Reason for study", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "MD" + } + ] + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "requester": { + "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + }, + "specimen": [ + { + "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + ], + "supportingInfo": [ + { + "reference": "Organization/40dd4b0b-a158-82ec-9563-5f28a69df71b" + }, + { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + { + "reference": "Device/d6c5dfd2-8713-ab47-861e-afc5d9799fc6" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ], + "locationReference": [ + { + "reference": "Location/dde1214b-8eaf-74c9-d073-447fe599c4ef" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + }, + { + "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", + "resource": { + "resourceType": "Organization", + "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", + "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", + "address": [ + { + "line": [ + "307 W MCCARTY ST" + ], + "city": "JEFFERSON CITY", + "state": "MO", + "postalCode": "65101", + "country": "USA", + "use": "work" + } + ], + "contact": [ + { + "telecom": [ + { + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + { + "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "resource": { + "resourceType": "PractitionerRole", + "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", + "organization": { + "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", + "resource": { + "resourceType": "Practitioner", + "id": "dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", + "identifier": [ + { + "value": "Harry" + } + ], + "name": [ + { + "family": "Raud", + "given": [ + "Geny" + ], + "suffix": [ + "Mr." + ], + "prefix": [ + "Dr." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" + } + }, + { + "fullUrl": "urn:uuid:8182cb21-0236-09c6-937c-c04615216e29", + "resource": { + "resourceType": "PractitionerRole", + "id": "8182cb21-0236-09c6-937c-c04615216e29", + "location": [ + { + "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + } + ], + "practitioner": { + "reference": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" + } + }, + { + "fullUrl": "urn:uuid:f120dcaf-8a79-00e0-4045-9383d82935b6", + "resource": { + "resourceType": "Location", + "id": "f120dcaf-8a79-00e0-4045-9383d82935b6", + "partOf": { + "reference": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" + }, + "name": "Poc-32", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + } + }, + { + "fullUrl": "urn:uuid:2732e881-cd1e-fe71-a03e-521f112a1e7d", + "resource": { + "resourceType": "Location", + "id": "2732e881-cd1e-fe71-a03e-521f112a1e7d", + "partOf": { + "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" + }, + "name": "Room-4", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" + } + }, + { + "fullUrl": "urn:uuid:faa87bc6-7206-7406-fe54-24bab9877eb3", + "resource": { + "resourceType": "Location", + "id": "faa87bc6-7206-7406-fe54-24bab9877eb3", + "partOf": { + "reference": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" + }, + "name": "Bed3", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/faa87bc6-7206-7406-fe54-24bab9877eb3" + } + }, + { + "fullUrl": "urn:uuid:739b2979-f712-b0f4-daad-acefae9b4feb", + "resource": { + "resourceType": "Location", + "id": "739b2979-f712-b0f4-daad-acefae9b4feb", + "name": "Facility-3", + "identifier": [ + { + "value": "urn:oid:1.2", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" + } + }, + { + "fullUrl": "urn:uuid:8f787230-6d25-6e0e-db3d-96fd13a2d66c", + "resource": { + "resourceType": "Location", + "id": "8f787230-6d25-6e0e-db3d-96fd13a2d66c", + "partOf": { + "reference": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" + }, + "name": "Building-4", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" + } + }, + { + "fullUrl": "urn:uuid:f7028223-0ee3-7152-e027-07bb5b0224ac", + "resource": { + "resourceType": "Location", + "id": "f7028223-0ee3-7152-e027-07bb5b0224ac", + "partOf": { + "reference": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" + }, + "name": "FL-2", + "mode": "instance", + "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" + } + ], + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PGN-04", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "effectiveDateTime": "2002-02-15T10:45:00+05:30", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "Enteric Culture" + }, + "issued": "2002-03-15T10:45:00+05:30", + "category": [ + { + "coding": [ + { + "code": "BLB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0074" + } + ] + } + ], + "status": "final", + "performer": [ + { + "reference": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" + }, + { + "reference": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "basedOn": [ + { + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + ], + "specimen": [ + { + "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + ], + "result": [ + { + "reference": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" + } + ] + }, + "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", + "request": { + "method": "PUT", + "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4" + } + }, + { + "fullUrl": "urn:uuid:8c441677-2d13-b04b-260c-45f02d79bc0e", + "resource": { + "resourceType": "Practitioner", + "id": "8c441677-2d13-b04b-260c-45f02d79bc0e", + "identifier": [ + { + "value": "Richa" + } + ], + "name": [ + { + "suffix": [ + "Mr." + ], + "prefix": [ + "Md." + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + } + }, + { + "fullUrl": "urn:uuid:6f4104a9-6928-bcaf-7719-2fb47f0c2df5", + "resource": { + "resourceType": "PractitionerRole", + "id": "6f4104a9-6928-bcaf-7719-2fb47f0c2df5", + "code": [ + { + "coding": [ + { + "code": "TN", + "display": "Technician", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + } + ], + "practitioner": { + "reference": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" + } + }, + { + "fullUrl": "urn:uuid:59b00d6f-7e90-a8a3-eec1-19d7f88514ea", + "resource": { + "resourceType": "Location", + "id": "59b00d6f-7e90-a8a3-eec1-19d7f88514ea", + "partOf": { + "reference": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" + }, + "name": "Poc-34", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + } + }, + { + "fullUrl": "urn:uuid:c5fb4a94-3953-175e-8c5f-af620ce4dab3", + "resource": { + "resourceType": "Location", + "id": "c5fb4a94-3953-175e-8c5f-af620ce4dab3", + "partOf": { + "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" + }, + "name": "Rm-4", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" + } + }, + { + "fullUrl": "urn:uuid:a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", + "resource": { + "resourceType": "Location", + "id": "a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", + "partOf": { + "reference": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" + }, + "name": "Bed2", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb" + } + }, + { + "fullUrl": "urn:uuid:6bfb18a9-f219-312a-ee80-9e291ef76221", + "resource": { + "resourceType": "Location", + "id": "6bfb18a9-f219-312a-ee80-9e291ef76221", + "name": "Facility-4", + "identifier": [ + { + "value": "urn:oid:1.22", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" + } + }, + { + "fullUrl": "urn:uuid:0d82ce59-bb51-650a-f3fa-c6497491502f", + "resource": { + "resourceType": "Location", + "id": "0d82ce59-bb51-650a-f3fa-c6497491502f", + "partOf": { + "reference": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" + }, + "name": "Building-3", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" + } + }, + { + "fullUrl": "urn:uuid:419f9823-93d6-9783-fc89-e37418b9f4cb", + "resource": { + "resourceType": "Location", + "id": "419f9823-93d6-9783-fc89-e37418b9f4cb", + "partOf": { + "reference": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" + }, + "name": "FL-3", + "mode": "instance", + "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" + } + }, + { + "fullUrl": "urn:uuid:c6073275-8b6b-8315-211c-f96e9700b6ae", + "resource": { + "resourceType": "Practitioner", + "id": "c6073275-8b6b-8315-211c-f96e9700b6ae", + "identifier": [ + { + "value": "35" + } + ], + "name": [ + { + "family": "Samuel" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + } + }, + { + "fullUrl": "urn:uuid:f035eb01-dd52-98c8-42f4-08d3a63e5aa2", + "resource": { + "resourceType": "PractitionerRole", + "id": "f035eb01-dd52-98c8-42f4-08d3a63e5aa2", + "code": [ + { + "coding": [ + { + "code": "TR", + "display": "Transcriptionist", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2002-11-11", + "end": "2002-11-12" + }, + "location": [ + { + "reference": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" + } + ], + "practitioner": { + "reference": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" + } + }, + { + "fullUrl": "urn:uuid:ce40a46d-eaed-b5a4-ef6e-463cae637157", + "resource": { + "resourceType": "Location", + "id": "ce40a46d-eaed-b5a4-ef6e-463cae637157", + "name": "Area23", + "mode": "instance", + "description": "35--Samuel--20021111--20021112--Area23", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" + } + }, + { + "fullUrl": "urn:uuid:95c9f253-3bac-cf73-202b-907e4e997489", + "resource": { + "resourceType": "Specimen", + "id": "95c9f253-3bac-cf73-202b-907e4e997489", + "identifier": [ + { + "value": "845439", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "986", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "APON-53", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SP15", + "display": "1.2", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "collection": { + "quantity": { + "value": 150, + "unit": "lb" + }, + "collector": { + "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + }, + "bodySite": { + "coding": [ + { + "code": "BN", + "display": "223.3", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "method": { + "text": "Collection Method" + }, + "collectedDateTime": "2002-02-15T10:45:00+05:30" + }, + "receivedTime": "2002-02-12T10:45:00+05:30", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "ACDA" + } + ] + } + } + ], + "note": [ + { + "text": "Collector's comment" + } ] - }, - "who": { - "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" - } - } - ], - "activity": { - "coding": [ - { - "display": "ORU^R01^ORU_R01" - } - ] - }, - "target": [ - { - "reference": "Bundle/3294d4fe-4d33-61e3-310f-3078b6bb0264" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/4b8e3786-de8b-c12f-345b-3c83fc1c4a0d" - } - }, - { - "fullUrl": "urn:uuid:353c3718-dc57-7a15-8660-7aeed24b4f7e", - "resource": { - "resourceType": "Organization", - "id": "353c3718-dc57-7a15-8660-7aeed24b4f7e", - "identifier": [ - { - "value": "IA Public Health Lab", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-Public-Health-Lab" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.1.10411", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "resource": { + "resourceType": "PractitionerRole", + "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", + "practitioner": { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" + } + }, + { + "fullUrl": "urn:uuid:40dd4b0b-a158-82ec-9563-5f28a69df71b", + "resource": { + "resourceType": "Organization", + "id": "40dd4b0b-a158-82ec-9563-5f28a69df71b", + "name": "Birla ORC Org" + }, + "request": { + "method": "PUT", + "url": "Organization/40dd4b0b-a158-82ec-9563-5f28a69df71b" + } + }, + { + "fullUrl": "urn:uuid:c39626a4-c277-34c4-821e-7fa7d9dabeaa", + "resource": { + "resourceType": "Location", + "id": "c39626a4-c277-34c4-821e-7fa7d9dabeaa", + "name": "ORC4, room 136, bed B 4E", + "mode": "instance", + "description": "ORC4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/40dd4b0b-a158-82ec-9563-5f28a69df71b" + } + }, + "request": { + "method": "PUT", + "url": "Location/c39626a4-c277-34c4-821e-7fa7d9dabeaa" + } + }, + { + "fullUrl": "urn:uuid:746c7636-6b17-8e28-6ce1-592a5b318583", + "resource": { + "resourceType": "Location", + "id": "746c7636-6b17-8e28-6ce1-592a5b318583", + "partOf": { + "reference": "Location/c39626a4-c277-34c4-821e-7fa7d9dabeaa" + }, + "name": "136", + "mode": "instance", + "description": "ORC4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/746c7636-6b17-8e28-6ce1-592a5b318583" + } + }, + { + "fullUrl": "urn:uuid:6366b025-a995-03eb-724b-5759ece63620", + "resource": { + "resourceType": "Location", + "id": "6366b025-a995-03eb-724b-5759ece63620", + "partOf": { + "reference": "Location/746c7636-6b17-8e28-6ce1-592a5b318583" + }, + "name": "B", + "mode": "instance", + "description": "ORC4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6366b025-a995-03eb-724b-5759ece63620" + } + }, + { + "fullUrl": "urn:uuid:7d406feb-c4f6-f0dc-e6aa-dbb016a9631a", + "resource": { + "resourceType": "Location", + "id": "7d406feb-c4f6-f0dc-e6aa-dbb016a9631a", + "name": "CommunityHospital", + "mode": "instance", + "description": "ORC4, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d406feb-c4f6-f0dc-e6aa-dbb016a9631a" + } + }, + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + }, + { + "fullUrl": "urn:uuid:27d6dc57-0d25-ebfe-47e0-740a9602456b", + "resource": { + "resourceType": "Organization", + "id": "27d6dc57-0d25-ebfe-47e0-740a9602456b", + "name": "Birla Doc Org" + }, + "request": { + "method": "PUT", + "url": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + { + "fullUrl": "urn:uuid:96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "resource": { + "resourceType": "Location", + "id": "96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "name": "Doc Ref, room 136, bed B 4E", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + "request": { + "method": "PUT", + "url": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + } + }, + { + "fullUrl": "urn:uuid:db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "resource": { + "resourceType": "Location", + "id": "db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "partOf": { + "reference": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + }, + "name": "136", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + } + }, + { + "fullUrl": "urn:uuid:9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "resource": { + "resourceType": "Location", + "id": "9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "partOf": { + "reference": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + }, + "name": "B", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a" + } + }, + { + "fullUrl": "urn:uuid:f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "resource": { + "resourceType": "Location", + "id": "f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f41c3b41-e8e6-15de-874c-4c0d09d441e1" + } + }, + { + "fullUrl": "urn:uuid:ed1cb569-e03b-4605-20d8-2cffb8b18260", + "resource": { + "resourceType": "Device", + "id": "ed1cb569-e03b-4605-20d8-2cffb8b18260", + "identifier": [ + { + "value": "PD-101.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + }, + { + "fullUrl": "urn:uuid:dde1214b-8eaf-74c9-d073-447fe599c4ef", + "resource": { + "resourceType": "Location", + "id": "dde1214b-8eaf-74c9-d073-447fe599c4ef", + "name": "Order room 136, bed B 4E", + "mode": "instance", + "description": "Order room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dde1214b-8eaf-74c9-d073-447fe599c4ef" + } + }, + { + "fullUrl": "urn:uuid:6d65a6da-9fda-4022-b6ef-911cfcfcb44b", + "resource": { + "resourceType": "Location", + "id": "6d65a6da-9fda-4022-b6ef-911cfcfcb44b", + "partOf": { + "reference": "Location/dde1214b-8eaf-74c9-d073-447fe599c4ef" + }, + "name": "136", + "mode": "instance", + "description": "Order room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6d65a6da-9fda-4022-b6ef-911cfcfcb44b" + } + }, + { + "fullUrl": "urn:uuid:7e9aa1f7-486d-2301-dbef-ee1fba4d39ca", + "resource": { + "resourceType": "Location", + "id": "7e9aa1f7-486d-2301-dbef-ee1fba4d39ca", + "partOf": { + "reference": "Location/6d65a6da-9fda-4022-b6ef-911cfcfcb44b" + }, + "name": "B", + "mode": "instance", + "description": "Order room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e9aa1f7-486d-2301-dbef-ee1fba4d39ca" + } + }, + { + "fullUrl": "urn:uuid:def9bacc-0486-2925-43fa-0c944d476fa6", + "resource": { + "resourceType": "Location", + "id": "def9bacc-0486-2925-43fa-0c944d476fa6", + "name": "CommunityHospital", + "mode": "instance", + "description": "Order room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/def9bacc-0486-2925-43fa-0c944d476fa6" + } + }, + { + "fullUrl": "urn:uuid:d6c5dfd2-8713-ab47-861e-afc5d9799fc6", + "resource": { + "resourceType": "Device", + "id": "d6c5dfd2-8713-ab47-861e-afc5d9799fc6", + "identifier": [ + { + "value": "PD-10.11", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/d6c5dfd2-8713-ab47-861e-afc5d9799fc6" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", + "resource": { + "resourceType": "Organization", + "id": "471d566b-0070-ed72-9053-acae6a39acb6", + "name": "State Hygienic Laboratory", + "identifier": [ + { + "value": "16D0648109", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "address": [ + { + "line": [ + "State Hygienic Laboratory", + "UI Research Park -Coralville" + ], + "city": "Iowa City", + "state": "IA", + "postalCode": "52242-5002", + "country": "USA", + "use": "work" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" + } + }, + { + "fullUrl": "urn:uuid:cdbf1614-4191-7f8c-d914-c071cc2a44bc", + "resource": { + "resourceType": "Observation", + "id": "cdbf1614-4191-7f8c-d914-c071cc2a44bc", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "preliminary", + "code": { + "coding": [ + { + "code": "625-4", + "display": "Bacteria identified in Stool by Culture", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "27268008", + "display": "Salmonella", + "system": "http://snomed.info/sct" + } + ], + "text": "Salmonella species" + }, + "referenceRange": [ + { + "text": "70-80" + } + ], + "effectiveDateTime": "2012-03-01", + "method": { + "text": "Bacterial Culture" + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/783fa237-f15a-031e-a688-a91a244c96d5" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "version": "2.5" + } + ] + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "basedOn": [ + { + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "P", + "display": "Preliminary", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Preliminary" + } + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:783fa237-f15a-031e-a688-a91a244c96d5", + "resource": { + "resourceType": "Organization", + "id": "783fa237-f15a-031e-a688-a91a244c96d5", + "name": "Birla Observation Org" + }, + "request": { + "method": "PUT", + "url": "Organization/783fa237-f15a-031e-a688-a91a244c96d5" + } + }, + { + "fullUrl": "urn:uuid:785588a1-1b66-73e6-610d-1c220ab13a25", + "resource": { + "resourceType": "Location", + "id": "785588a1-1b66-73e6-610d-1c220ab13a25", + "name": "obx, room 136, bed B 4E", + "mode": "instance", + "description": "obx, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/783fa237-f15a-031e-a688-a91a244c96d5" + } + }, + "request": { + "method": "PUT", + "url": "Location/785588a1-1b66-73e6-610d-1c220ab13a25" + } + }, + { + "fullUrl": "urn:uuid:a0693272-d4c0-0297-ef09-30422afe3ddd", + "resource": { + "resourceType": "Location", + "id": "a0693272-d4c0-0297-ef09-30422afe3ddd", + "partOf": { + "reference": "Location/785588a1-1b66-73e6-610d-1c220ab13a25" + }, + "name": "136", + "mode": "instance", + "description": "obx, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a0693272-d4c0-0297-ef09-30422afe3ddd" + } + }, + { + "fullUrl": "urn:uuid:e1a74d54-319d-d228-43c2-4a517f22d068", + "resource": { + "resourceType": "Location", + "id": "e1a74d54-319d-d228-43c2-4a517f22d068", + "partOf": { + "reference": "Location/a0693272-d4c0-0297-ef09-30422afe3ddd" + }, + "name": "B", + "mode": "instance", + "description": "obx, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e1a74d54-319d-d228-43c2-4a517f22d068" + } + }, + { + "fullUrl": "urn:uuid:dea21faf-71a6-5236-cffb-321e1ab74af4", + "resource": { + "resourceType": "Location", + "id": "dea21faf-71a6-5236-cffb-321e1ab74af4", + "name": "CommunityHospital", + "mode": "instance", + "description": "obx, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dea21faf-71a6-5236-cffb-321e1ab74af4" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:bf0359a9-c8e5-c91c-a362-3fe4189e62a3", + "resource": { + "resourceType": "ChargeItem", + "id": "bf0359a9-c8e5-c91c-a362-3fe4189e62a3", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "context": { + "reference": "Encounter/3a404c65-0d2a-4e7b-80a1-dda6136656e0" + }, + "supportingInformation": [ + { + "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fe651d51-1320-8d12-5c8a-8b2c9518157a", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/19c76e07-6b39-50a2-ef51-be59858c6b97", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/bf0359a9-c8e5-c91c-a362-3fe4189e62a3" } - ], - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e" - } - }, - { - "fullUrl": "urn:uuid:6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", - "resource": { - "resourceType": "Organization", - "id": "6930f42d-f2d4-5b0d-9cf8-a2108c0a4811", - "identifier": [ - { - "value": "IA DOH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-DOH" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.1.3650", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - } - } - ], - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion Health", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3.52854" - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:389b3d01-dc6f-2c15-38c5-8c4e86a515c8", - "resource": { - "resourceType": "Patient", - "id": "389b3d01-dc6f-2c15-38c5-8c4e86a515c8", - "identifier": [ - { - "value": "14", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "assigner": { - "reference": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" - } - } - ], - "name": [ - { - "family": "Finn", - "given": [ - "Huckleberry" - ], - "use": "official" - } - ], - "birthDate": "1963-08-15", - "gender": "male", - "address": [ - { - "line": [ - "721 SPRING STREET" - ], - "city": "GRINNELL", - "state": "IA", - "postalCode": "50112", - "country": "USA", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", - "version": "2.5.1" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "04/24/2007" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "1002-5", - "display": "American Indian or Alaska Native", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "04/24/2007" - } - }, - { - "url": "text", - "valueString": "White+American Indian or Alaska Native" - } - ] - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238", - "version": "2.5.1" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - } - ], - "contact": [ - { - "name": { - "family": "Doe", - "given": [ - "Rosallie" - ] - }, - "address": { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - }, - "telecom": [ - { - "value": "(608)271-9001", - "use": "work", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - } - }, - { - "fullUrl": "urn:uuid:5263bd4f-69ed-d465-3e10-e79f2010bf12", - "resource": { - "resourceType": "Organization", - "id": "5263bd4f-69ed-d465-3e10-e79f2010bf12", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12" - } - }, - { - "fullUrl": "urn:uuid:2110f421-a2a2-e702-115a-490a55c8ce3f", - "resource": { - "resourceType": "Practitioner", - "id": "2110f421-a2a2-e702-115a-490a55c8ce3f", - "identifier": [ - { - "value": "1111", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERLt", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "given": [ - "Zafar", - "Mahen" - ], - "suffix": [ - "JR", - "MD" - ], - "prefix": [ - "Dr." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" - } - }, - { - "fullUrl": "urn:uuid:505c291e-5ae6-8346-bfe0-2587065e410e", - "resource": { - "resourceType": "PractitionerRole", - "id": "505c291e-5ae6-8346-bfe0-2587065e410e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" - } - }, - { - "fullUrl": "urn:uuid:e2f9615a-8a86-7a34-07b8-e75842da37f0", - "resource": { - "resourceType": "Organization", - "id": "e2f9615a-8a86-7a34-07b8-e75842da37f0", - "name": "ABC Hospital", - "address": [ - { - "line": [ - "A city", - "Florida" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" - } - }, - { - "fullUrl": "urn:uuid:c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c4c46dc5-e54b-dccd-4e40-c3c13c4a537b", - "identifier": [ - { - "value": "EI21obx1", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "effectiveDateTime": "1999-07-02", - "status": "unknown", - "performer": [ - { - "reference": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e" - }, - { - "reference": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0" - } - ], - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c4c46dc5-e54b-dccd-4e40-c3c13c4a537b" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - } - }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:8877e882-e573-a85d-7172-b48e78842771", - "resource": { - "resourceType": "ServiceRequest", - "id": "8877e882-e573-a85d-7172-b48e78842771", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PUSI", - "display": "parent Identifier", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR" - } - ] - } - } - ], - "status": "completed", - "intent": "filler-order", - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" - } - }, - { - "fullUrl": "urn:uuid:805f1b25-f43a-3bca-8bbd-49d530107363", - "resource": { - "resourceType": "ServiceRequest", - "id": "805f1b25-f43a-3bca-8bbd-49d530107363", - "status": "completed", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "PSS-46", - "display": "Placer service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "FSS-47", - "display": "Filler service", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "authoredOn": "2020-09-10T17:00:00+02:15", - "basedOn": [ - { - "reference": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771" - } - ], - "locationCode": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - }, - { - "coding": [ - { - "code": "OF", - "display": "Outpatient facility", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "note": [ - { - "text": "Placer 1", - "authorString": "Placer Field 1" - }, - { - "text": "Placer 2", - "authorString": "Placer Field 2" - }, - { - "text": "Filler 1", - "authorString": "Filler Field 1" - }, - { - "text": "Filler 2", - "authorString": "Filler Field 2" - }, - { - "text": "Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 & other STECs, and Aeromonas" - }, - { - "text": "Allergy to peanuts observed.", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "priority": "asap", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "444", - "display": "Reason for study", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "MD" - } - ] - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "requester": { - "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - }, - "specimen": [ - { - "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" - } - }, - { - "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd", - "resource": { - "resourceType": "Organization", - "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd", - "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY", - "address": [ - { - "line": [ - "307 W MCCARTY ST" - ], - "city": "JEFFERSON CITY", - "state": "MO", - "postalCode": "65101", - "country": "USA", - "use": "work" - } - ], - "contact": [ - { - "telecom": [ - { - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - { - "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "resource": { - "resourceType": "PractitionerRole", - "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5", - "organization": { - "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:fe651d51-1320-8d12-5c8a-8b2c9518157a", + "resource": { + "resourceType": "Procedure", + "id": "fe651d51-1320-8d12-5c8a-8b2c9518157a", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/fe651d51-1320-8d12-5c8a-8b2c9518157a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", - "resource": { - "resourceType": "Practitioner", - "id": "dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb", - "identifier": [ - { - "value": "Harry" - } - ], - "name": [ - { - "family": "Raud", - "given": [ - "Geny" - ], - "suffix": [ - "Mr." - ], - "prefix": [ - "Dr." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" - } - }, - { - "fullUrl": "urn:uuid:8182cb21-0236-09c6-937c-c04615216e29", - "resource": { - "resourceType": "PractitionerRole", - "id": "8182cb21-0236-09c6-937c-c04615216e29", - "location": [ - { - "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" - } - ], - "practitioner": { - "reference": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" - } - }, - { - "fullUrl": "urn:uuid:f120dcaf-8a79-00e0-4045-9383d82935b6", - "resource": { - "resourceType": "Location", - "id": "f120dcaf-8a79-00e0-4045-9383d82935b6", - "partOf": { - "reference": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" - }, - "name": "Poc-32", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" - } - }, - { - "fullUrl": "urn:uuid:2732e881-cd1e-fe71-a03e-521f112a1e7d", - "resource": { - "resourceType": "Location", - "id": "2732e881-cd1e-fe71-a03e-521f112a1e7d", - "partOf": { - "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6" - }, - "name": "Room-4", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" - } - }, - { - "fullUrl": "urn:uuid:faa87bc6-7206-7406-fe54-24bab9877eb3", - "resource": { - "resourceType": "Location", - "id": "faa87bc6-7206-7406-fe54-24bab9877eb3", - "partOf": { - "reference": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d" - }, - "name": "Bed3", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/faa87bc6-7206-7406-fe54-24bab9877eb3" - } - }, - { - "fullUrl": "urn:uuid:739b2979-f712-b0f4-daad-acefae9b4feb", - "resource": { - "resourceType": "Location", - "id": "739b2979-f712-b0f4-daad-acefae9b4feb", - "name": "Facility-3", - "identifier": [ - { - "value": "urn:oid:1.2", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" - } - }, - { - "fullUrl": "urn:uuid:8f787230-6d25-6e0e-db3d-96fd13a2d66c", - "resource": { - "resourceType": "Location", - "id": "8f787230-6d25-6e0e-db3d-96fd13a2d66c", - "partOf": { - "reference": "Location/739b2979-f712-b0f4-daad-acefae9b4feb" - }, - "name": "Building-4", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" - } - }, - { - "fullUrl": "urn:uuid:f7028223-0ee3-7152-e027-07bb5b0224ac", - "resource": { - "resourceType": "Location", - "id": "f7028223-0ee3-7152-e027-07bb5b0224ac", - "partOf": { - "reference": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c" - }, - "name": "FL-2", - "mode": "instance", - "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac" - } - }, - { - "resource": { - "resourceType": "DiagnosticReport", - "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", - "resultsInterpreter": [ - { - "reference": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29" - } - ], - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PGN-04", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "effectiveDateTime": "2002-02-15T07:30:00+02:15", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "Enteric Culture" - }, - "issued": "2002-03-15T07:30:00+02:15", - "category": [ - { - "coding": [ - { - "code": "BLB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0074" - } - ] - } - ], - "status": "final", - "performer": [ - { - "reference": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" - }, - { - "reference": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "basedOn": [ - { - "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" - } - ], - "specimen": [ - { - "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" - } - ], - "result": [ - { - "reference": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" - } - ] - }, - "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4", - "request": { - "method": "PUT", - "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4" - } - }, - { - "fullUrl": "urn:uuid:8c441677-2d13-b04b-260c-45f02d79bc0e", - "resource": { - "resourceType": "Practitioner", - "id": "8c441677-2d13-b04b-260c-45f02d79bc0e", - "identifier": [ - { - "value": "Richa" - } - ], - "name": [ - { - "suffix": [ - "Mr." - ], - "prefix": [ - "Md." - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" - } - }, - { - "fullUrl": "urn:uuid:6f4104a9-6928-bcaf-7719-2fb47f0c2df5", - "resource": { - "resourceType": "PractitionerRole", - "id": "6f4104a9-6928-bcaf-7719-2fb47f0c2df5", - "code": [ - { - "coding": [ - { - "code": "TECH" - } - ] - } - ], - "location": [ - { - "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" - } - ], - "practitioner": { - "reference": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5" - } - }, - { - "fullUrl": "urn:uuid:59b00d6f-7e90-a8a3-eec1-19d7f88514ea", - "resource": { - "resourceType": "Location", - "id": "59b00d6f-7e90-a8a3-eec1-19d7f88514ea", - "partOf": { - "reference": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" - }, - "name": "Poc-34", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" - } - }, - { - "fullUrl": "urn:uuid:c5fb4a94-3953-175e-8c5f-af620ce4dab3", - "resource": { - "resourceType": "Location", - "id": "c5fb4a94-3953-175e-8c5f-af620ce4dab3", - "partOf": { - "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea" - }, - "name": "Rm-4", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" - } - }, - { - "fullUrl": "urn:uuid:a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", - "resource": { - "resourceType": "Location", - "id": "a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb", - "partOf": { - "reference": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3" - }, - "name": "Bed2", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb" - } - }, - { - "fullUrl": "urn:uuid:6bfb18a9-f219-312a-ee80-9e291ef76221", - "resource": { - "resourceType": "Location", - "id": "6bfb18a9-f219-312a-ee80-9e291ef76221", - "name": "Facility-4", - "identifier": [ - { - "value": "urn:oid:1.22", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" - } - }, - { - "fullUrl": "urn:uuid:0d82ce59-bb51-650a-f3fa-c6497491502f", - "resource": { - "resourceType": "Location", - "id": "0d82ce59-bb51-650a-f3fa-c6497491502f", - "partOf": { - "reference": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221" - }, - "name": "Building-3", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" - } - }, - { - "fullUrl": "urn:uuid:419f9823-93d6-9783-fc89-e37418b9f4cb", - "resource": { - "resourceType": "Location", - "id": "419f9823-93d6-9783-fc89-e37418b9f4cb", - "partOf": { - "reference": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f" - }, - "name": "FL-3", - "mode": "instance", - "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb" - } - }, - { - "fullUrl": "urn:uuid:c6073275-8b6b-8315-211c-f96e9700b6ae", - "resource": { - "resourceType": "Practitioner", - "id": "c6073275-8b6b-8315-211c-f96e9700b6ae", - "identifier": [ - { - "value": "35" - } - ], - "name": [ - { - "family": "Samuel" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" - } - }, - { - "fullUrl": "urn:uuid:f035eb01-dd52-98c8-42f4-08d3a63e5aa2", - "resource": { - "resourceType": "PractitionerRole", - "id": "f035eb01-dd52-98c8-42f4-08d3a63e5aa2", - "code": [ - { - "coding": [ - { - "code": "TRANS" - } - ] - } - ], - "period": { - "start": "2002-11-11", - "end": "2002-11-12" - }, - "location": [ - { - "reference": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" - } - ], - "practitioner": { - "reference": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2" - } - }, - { - "fullUrl": "urn:uuid:ce40a46d-eaed-b5a4-ef6e-463cae637157", - "resource": { - "resourceType": "Location", - "id": "ce40a46d-eaed-b5a4-ef6e-463cae637157", - "name": "Area23", - "mode": "instance", - "description": "35--Samuel--20021111--20021112--Area23", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157" - } - }, - { - "fullUrl": "urn:uuid:95c9f253-3bac-cf73-202b-907e4e997489", - "resource": { - "resourceType": "Specimen", - "id": "95c9f253-3bac-cf73-202b-907e4e997489", - "identifier": [ - { - "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "986", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "APON-53", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:19c76e07-6b39-50a2-ef51-be59858c6b97", + "resource": { + "resourceType": "MedicationDispense", + "id": "19c76e07-6b39-50a2-ef51-be59858c6b97", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" + } + ], + "status": "unknown", + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/19c76e07-6b39-50a2-ef51-be59858c6b97" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "type": { - "coding": [ - { - "code": "SP15", - "display": "1.2", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "collection": { - "quantity": { - "value": 150, - "unit": "lb" - }, - "collector": { - "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - }, - "bodySite": { - "coding": [ - { - "code": "BN", - "display": "223.3", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "method": { - "text": "Collection Method" - }, - "collectedDateTime": "2002-02-15T07:30:00+02:15" - }, - "receivedTime": "2002-02-12T07:30:00+02:15", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "ACDA" - } + }, + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ], - "note": [ - { - "text": "Collector's comment" + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489" - } - }, - { - "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "resource": { - "resourceType": "Practitioner", - "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", - "identifier": [ - { - "value": "10535", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L", - "type": { - "coding": [ - { - "code": "MR", - "display": "Medical record number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "van Beethoven", - "given": [ - "Ludwig", - "A" - ], - "suffix": [ - "III", - "PHD" - ], - "prefix": [ - "Dr" - ], - "use": "official" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - { - "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "resource": { - "resourceType": "PractitionerRole", - "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1", - "practitioner": { - "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e42df22d-2f6d-d024-aa57-9d069936760a", + "resource": { + "resourceType": "Specimen", + "id": "e42df22d-2f6d-d024-aa57-9d069936760a", + "identifier": [ + { + "value": "2012545", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "2012999999", + "type": { + "coding": [ + { + "code": "FGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "OSI-31", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "assigner": { + "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "value": "ShipID-32", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "SHIP", + "display": "Shipment ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "ASERU", + "display": "Serum", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + }, + { + "code": "FUR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ], + "text": "Blood" + }, + "collection": { + "quantity": { + "value": 40, + "unit": "lbs" + }, + "bodySite": { + "coding": [ + { + "code": "BAP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" + } + ], + "text": "Specimen source site" + }, + "method": { + "coding": [ + { + "code": "BCAE", + "system": "http://terminology.hl7.org/CodeSystem/v2-0488" + } + ] + }, + "collectedPeriod": { + "start": "2011-01-04T04:04:28+05:30", + "end": "2011-11-04T04:04:28+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "code": "AMB", + "display": "Ambient Temperature", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + }, + { + "code": "DRY", + "display": "dry", + "system": "http://terminology.hl7.org/CodeSystem/v2-0376" + } + ] + } + } + ] + }, + "receivedTime": "2012-03-01", + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "code": "STUTM", + "display": "Stuart transport medium", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371", + "version": "20" + }, + { + "code": "PHENOL", + "display": "Stool", + "system": "http://terminology.hl7.org/CodeSystem/v2-0371" + } + ] + }, + "type": { + "coding": [ + { + "code": "T-container", + "display": "ContainerType", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" + } + ] + } + } + ], + "status": "available", + "condition": [ + { + "coding": [ + { + "code": "AUT", + "display": "Autolyzed", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + }, + { + "code": "CLOT", + "display": "CLOT", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + }, + { + "coding": [ + { + "code": "HEM", + "display": "HEM", + "system": "http://terminology.hl7.org/CodeSystem/v2-0493" + } + ] + } + ], + "accessionIdentifier": { + "value": "AI-30", + "type": { + "coding": [ + { + "code": "PI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Patient internal identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.114222", + "assigner": { + "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" + } + }, + "note": [ + { + "text": "This is a specimen resource" + } + ], + "parent": [ + { + "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", + "resource": { + "resourceType": "Specimen", + "id": "0755f744-dafd-776b-bff7-2d023e54406e", + "identifier": [ + { + "value": "PAI12", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "resource": { + "resourceType": "Organization", + "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", + "identifier": [ + { + "value": "IA PHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IA-PHIMS-Stage" + }, + { + "value": "urn:oid:2.16.840.1.114222", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:471d566b-0070-ed72-9053-acae6a39acb6", - "resource": { - "resourceType": "Organization", - "id": "471d566b-0070-ed72-9053-acae6a39acb6", - "name": "State Hygienic Laboratory", - "identifier": [ - { - "value": "16D0648109", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "address": [ - { - "line": [ - "State Hygienic Laboratory", - "UI Research Park -Coralville" - ], - "city": "Iowa City", - "state": "IA", - "postalCode": "52242-5002", - "country": "USA", - "use": "work" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/471d566b-0070-ed72-9053-acae6a39acb6" - } - }, - { - "fullUrl": "urn:uuid:cdbf1614-4191-7f8c-d914-c071cc2a44bc", - "resource": { - "resourceType": "Observation", - "id": "cdbf1614-4191-7f8c-d914-c071cc2a44bc", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "preliminary", - "code": { - "coding": [ - { - "code": "625-4", - "display": "Bacteria identified in Stool by Culture", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "27268008", - "display": "Salmonella", - "system": "http://snomed.info/sct" - } - ], - "text": "Salmonella species" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "2012-03-01", - "method": { - "text": "Bacterial Culture" - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", - "version": "2.5" - } - ] - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "basedOn": [ - { - "reference": "ServiceRequest/805f1b25-f43a-3bca-8bbd-49d530107363" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "P", - "display": "Preliminary", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Preliminary" - } - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/cdbf1614-4191-7f8c-d914-c071cc2a44bc" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:e42df22d-2f6d-d024-aa57-9d069936760a", - "resource": { - "resourceType": "Specimen", - "id": "e42df22d-2f6d-d024-aa57-9d069936760a", - "identifier": [ - { - "value": "2012545", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "2012999999", - "type": { - "coding": [ - { - "code": "FGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "OSI-31", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "assigner": { - "reference": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "value": "ShipID-32", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "SHIP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "ASERU", - "display": "Serum", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - }, - { - "code": "FUR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ], - "text": "Blood" - }, - "collection": { - "quantity": { - "value": 40, - "unit": "lbs" - }, - "bodySite": { - "coding": [ - { - "code": "BAP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488" - } - ], - "text": "Specimen source site" - }, - "method": { - "coding": [ - { - "code": "BCAE", - "system": "http://terminology.hl7.org/CodeSystem/v2-0488" - } - ] - }, - "collectedPeriod": { - "start": "2011-01-03T14:34:28-08:00", - "end": "2011-11-03T14:34:28-08:00" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", - "valueCodeableConcept": { - "coding": [ - { - "code": "AMB", - "display": "Ambient Temperature", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - }, - { - "code": "DRY", - "display": "dry", - "system": "http://terminology.hl7.org/CodeSystem/v2-0376" - } - ] - } - } - ] - }, - "receivedTime": "2012-03-01", - "container": [ - { - "additiveCodeableConcept": { - "coding": [ - { - "code": "STUTM", - "display": "Stuart transport medium", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371", - "version": "20" - }, - { - "code": "PHENOL", - "display": "Stool", - "system": "http://terminology.hl7.org/CodeSystem/v2-0371" - } - ] - }, - "type": { - "coding": [ - { - "code": "T-container", - "display": "ContainerType", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC" - } + { + "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "resource": { + "resourceType": "Organization", + "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", + "identifier": [ + { + "value": "IPHIMS Stage", + "system": "http://example.com/v2-to-fhir-converter/Identifier/IPHIMS-Stage" + }, + { + "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "available", - "condition": [ - { - "coding": [ - { - "code": "AUT", - "display": "Autolyzed", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - }, - { - "code": "CLOT", - "display": "CLOT", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - }, - { - "coding": [ - { - "code": "HEM", - "display": "HEM", - "system": "http://terminology.hl7.org/CodeSystem/v2-0493" - } - ] - } - ], - "accessionIdentifier": { - "value": "AI-30", - "type": { - "coding": [ - { - "code": "PI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Patient internal identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.114222", - "assigner": { - "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - "note": [ - { - "text": "This is a specimen resource" - } - ], - "parent": [ - { - "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" - } - }, - { - "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e", - "resource": { - "resourceType": "Specimen", - "id": "0755f744-dafd-776b-bff7-2d023e54406e", - "identifier": [ - { - "value": "PAI12", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" + } + }, + { + "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", + "resource": { + "resourceType": "DiagnosticReport", + "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", + "code": { + "coding": [ + { + "code": "1063-7", + "display": "Serum or Plasma", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", + "version": "2.33" + } + ], + "text": "result1" + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/pict", + "url": "https://testurl.com" + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "specimen": [ + { + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + } ] - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e" - } - }, - { - "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "resource": { - "resourceType": "Organization", - "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96", - "identifier": [ - { - "value": "IA PHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage" - }, - { - "value": "urn:oid:2.16.840.1.114222", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d7eed34-b8fe-1a79-d3da-092a4d5f8775", + "resource": { + "resourceType": "Observation", + "id": "9d7eed34-b8fe-1a79-d3da-092a4d5f8775", + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 27 + } + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Bacteria identified", + "system": "http://loinc.org", + "version": "2.33" + } + ], + "text": "result1" + }, + "valueQuantity": { + "value": 25 + } + } + ], + "subject": { + "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" + }, + "specimen": { + "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "I", + "display": "In Process", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "In Process" + } + } + ], + "performer": [ + { + "reference": "PractitionerRole/bd195c46-3ca2-6eee-a737-c0ab9718e388" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/9d7eed34-b8fe-1a79-d3da-092a4d5f8775" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96" - } - }, - { - "fullUrl": "urn:uuid:0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "resource": { - "resourceType": "Organization", - "id": "0912ab5e-fd38-78ec-6eb8-13abac5db6a5", - "identifier": [ - { - "value": "IPHIMS Stage", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage" - }, - { - "value": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:bd195c46-3ca2-6eee-a737-c0ab9718e388", + "resource": { + "resourceType": "PractitionerRole", + "id": "bd195c46-3ca2-6eee-a737-c0ab9718e388", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8b5c6a4e-baab-e45d-f749-4ea3881e2895" + } + ], + "organization": { + "reference": "Organization/8ff59c3d-35f5-26b5-edbc-b3516f14a17d" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ff69ab48-be8a-34ac-d607-4f50fb910b04" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bd195c46-3ca2-6eee-a737-c0ab9718e388" + } + }, + { + "fullUrl": "urn:uuid:ff69ab48-be8a-34ac-d607-4f50fb910b04", + "resource": { + "resourceType": "Practitioner", + "id": "ff69ab48-be8a-34ac-d607-4f50fb910b04", + "identifier": [ + { + "value": "142" + } + ], + "name": [ + { + "family": "SPM" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ff69ab48-be8a-34ac-d607-4f50fb910b04" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0912ab5e-fd38-78ec-6eb8-13abac5db6a5" - } - }, - { - "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68", - "resource": { - "resourceType": "DiagnosticReport", - "id": "257786a3-0c2e-44c7-69ea-3456e7152e68", - "code": { - "coding": [ - { - "code": "1063-7", - "display": "Serum or Plasma", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ", - "version": "2.33" - } - ], - "text": "result1" - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/pict", - "url": "https://testurl.com" - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "specimen": [ - { - "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68" - } - }, - { - "fullUrl": "urn:uuid:9d7eed34-b8fe-1a79-d3da-092a4d5f8775", - "resource": { - "resourceType": "Observation", - "id": "9d7eed34-b8fe-1a79-d3da-092a4d5f8775", - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 27 - } - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Bacteria identified", - "system": "http://loinc.org", - "version": "2.33" - } - ], - "text": "result1" - }, - "valueQuantity": { - "value": 25 - } - } - ], - "subject": { - "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8" - }, - "specimen": { - "reference": "Specimen/e42df22d-2f6d-d024-aa57-9d069936760a" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "I", - "display": "In Process", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "In Process" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/9d7eed34-b8fe-1a79-d3da-092a4d5f8775" + { + "fullUrl": "urn:uuid:8b5c6a4e-baab-e45d-f749-4ea3881e2895", + "resource": { + "resourceType": "Location", + "id": "8b5c6a4e-baab-e45d-f749-4ea3881e2895", + "name": "SPM, room 136, bed B 4E", + "mode": "instance", + "description": "SPM, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8b5c6a4e-baab-e45d-f749-4ea3881e2895" + } + }, + { + "fullUrl": "urn:uuid:dd7496b9-618a-9269-ea9d-ca4863c97559", + "resource": { + "resourceType": "Location", + "id": "dd7496b9-618a-9269-ea9d-ca4863c97559", + "partOf": { + "reference": "Location/8b5c6a4e-baab-e45d-f749-4ea3881e2895" + }, + "name": "136", + "mode": "instance", + "description": "SPM, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dd7496b9-618a-9269-ea9d-ca4863c97559" + } + }, + { + "fullUrl": "urn:uuid:6d5c18f8-de7d-6321-da1b-0957af8cc275", + "resource": { + "resourceType": "Location", + "id": "6d5c18f8-de7d-6321-da1b-0957af8cc275", + "partOf": { + "reference": "Location/dd7496b9-618a-9269-ea9d-ca4863c97559" + }, + "name": "B", + "mode": "instance", + "description": "SPM, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6d5c18f8-de7d-6321-da1b-0957af8cc275" + } + }, + { + "fullUrl": "urn:uuid:ab39265b-82c9-a15b-8b04-4d89adfa96c9", + "resource": { + "resourceType": "Location", + "id": "ab39265b-82c9-a15b-8b04-4d89adfa96c9", + "name": "CommunityHospital", + "mode": "instance", + "description": "SPM, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ab39265b-82c9-a15b-8b04-4d89adfa96c9" + } + }, + { + "fullUrl": "urn:uuid:8ff59c3d-35f5-26b5-edbc-b3516f14a17d", + "resource": { + "resourceType": "Organization", + "id": "8ff59c3d-35f5-26b5-edbc-b3516f14a17d", + "name": "Specimen Organization" + }, + "request": { + "method": "PUT", + "url": "Organization/8ff59c3d-35f5-26b5-edbc-b3516f14a17d" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json index ee89cb35f..a890be15a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json @@ -113,7 +113,7 @@ "identifier": [ { "value": "ELAB-3", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ELAB-3" + "system": "http://example.com/v2-to-fhir-converter/Identifier/ELAB-3" } ] }, @@ -130,7 +130,7 @@ "identifier": [ { "value": "BLDG4", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BLDG4" + "system": "http://example.com/v2-to-fhir-converter/Identifier/BLDG4" } ] }, @@ -303,7 +303,7 @@ "identifier": [ { "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", "type": { "coding": [ { @@ -315,7 +315,7 @@ }, { "value": "1045813", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-LAB", "type": { "coding": [ { @@ -399,9 +399,9 @@ { "coding": [ { - "code": "ordering-provider", + "code": "OP", "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } ] } @@ -423,7 +423,7 @@ "identifier": [ { "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", "type": { "coding": [ { @@ -435,7 +435,7 @@ }, { "value": "1045813", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-LAB", "type": { "coding": [ { @@ -488,7 +488,7 @@ "identifier": [ { "value": "845439", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-OE", "type": { "coding": [ { @@ -500,7 +500,7 @@ }, { "value": "1045813", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHH-LAB", "type": { "coding": [ { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json index 4a53a7080..364c236a2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-01-expected.json @@ -1,1732 +1,2793 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:33:37.459Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R22", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R22^OUL_R22" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:42.651Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R22^OUL_R22" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 18", + "system": "http://example.com/v2-to-fhir-converter/Identifier/XYZ" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "supportingInfo": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + }, + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ], + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ], - "text": "Partial" - } + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", - "resource": { - "resourceType": "Practitioner", - "id": "270fd480-c315-53b2-d0bc-f714da2af549", - "identifier": [ - { - "value": "dszczepaniak" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } - }, - { - "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "resource": { - "resourceType": "Location", - "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "name": "BMGPED", - "mode": "instance", - "description": "BMGPED", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - }, - { - "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "resource": { - "resourceType": "Encounter", - "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + }, + { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + }, + { + "reference": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 18", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "160" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - }, - "referenceRange": [ - { - "text": "100-120" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:27d6dc57-0d25-ebfe-47e0-740a9602456b", + "resource": { + "resourceType": "Organization", + "id": "27d6dc57-0d25-ebfe-47e0-740a9602456b", + "name": "Birla Doc Org" + }, + "request": { + "method": "PUT", + "url": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + { + "fullUrl": "urn:uuid:96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "resource": { + "resourceType": "Location", + "id": "96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "name": "Doc Ref, room 136, bed B 4E", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + } + }, + { + "fullUrl": "urn:uuid:db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "resource": { + "resourceType": "Location", + "id": "db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "partOf": { + "reference": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + }, + "name": "136", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + }, + "request": { + "method": "PUT", + "url": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "resource": { + "resourceType": "Location", + "id": "9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "partOf": { + "reference": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + }, + "name": "B", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a" + } + }, + { + "fullUrl": "urn:uuid:f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "resource": { + "resourceType": "Location", + "id": "f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f41c3b41-e8e6-15de-874c-4c0d09d441e1" + } + }, + { + "fullUrl": "urn:uuid:ed1cb569-e03b-4605-20d8-2cffb8b18260", + "resource": { + "resourceType": "Device", + "id": "ed1cb569-e03b-4605-20d8-2cffb8b18260", + "identifier": [ + { + "value": "PD-101.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "resource": { + "resourceType": "PractitionerRole", + "id": "57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "resource": { + "resourceType": "Practitioner", + "id": "f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "identifier": [ + { + "value": "432" + } + ], + "name": [ + { + "family": "Jartckson" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" - } - }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" - } - }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + "request": { + "method": "PUT", + "url": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" + } + }, + { + "fullUrl": "urn:uuid:fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "resource": { + "resourceType": "Organization", + "id": "fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "name": "Mayo12 Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json index 55fea0563..4cd072b5e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R22/OUL-R22-02-expected.json @@ -1,2244 +1,2247 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R22", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R22^OUL_R22" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R22", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R22^OUL_R22" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:32.684Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:34:07.547Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R22.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R22^OUL_R22" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R22^OUL_R22" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] }, - { - "url": "text", - "valueString": "U" - } - ] + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", - "resource": { - "resourceType": "Practitioner", - "id": "270fd480-c315-53b2-d0bc-f714da2af549", - "identifier": [ - { - "value": "dszczepaniak" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } - }, - { - "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "resource": { - "resourceType": "Location", - "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", - "name": "BMGPED", - "mode": "instance", - "description": "BMGPED", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - }, - { - "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "resource": { - "resourceType": "Encounter", - "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" - } - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" - } + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:270fd480-c315-53b2-d0bc-f714da2af549", + "resource": { + "resourceType": "Practitioner", + "id": "270fd480-c315-53b2-d0bc-f714da2af549", + "identifier": [ + { + "value": "dszczepaniak" + } ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } + "request": { + "method": "PUT", + "url": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "fullUrl": "urn:uuid:7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "resource": { + "resourceType": "Location", + "id": "7f6d6f85-ffa3-ae4e-acf9-99d8283241b8", + "name": "BMGPED", + "mode": "instance", + "description": "BMGPED", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + "request": { + "method": "PUT", + "url": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + { + "fullUrl": "urn:uuid:fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "resource": { + "resourceType": "Encounter", + "id": "fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7f6d6f85-ffa3-ae4e-acf9-99d8283241b8" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/270fd480-c315-53b2-d0bc-f714da2af549" + } + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" + "request": { + "method": "PUT", + "url": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" } - ] }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "160" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-8.1", - "type": { - "coding": [ + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ] - } }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" } - ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", - "resource": { - "resourceType": "Specimen", - "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2018-PAT-123456-1-2-5" + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" } - ] }, - { - "additiveReference": { - "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" } - ], - "accessionIdentifier": { - "value": "2018-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - }, - { - "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - }, - { - "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", - "resource": { - "resourceType": "Substance", - "id": "03218fed-e075-17f5-eed3-9733b929be0a", - "code": { - "coding": [ - { - "code": "SI12345", - "display": "Substance_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] }, - { - "value": "SUPL_ID 34" + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" } - ] }, - "request": { - "method": "PUT", - "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - }, - { - "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "resource": { - "resourceType": "Specimen", - "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "identifier": [ - { - "value": "2018-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + } + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - } - }, - { - "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "resource": { - "resourceType": "Specimen", - "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "identifier": [ - { - "value": "2018-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - } - }, - { - "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", - "resource": { - "resourceType": "Observation", - "id": "4f6daab9-2509-9217-8920-1561570f9fc3", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ], - "effectiveDateTime": "2000-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } ], - "text": "Partial" - } + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" - } - }, - { - "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "resource": { - "resourceType": "ServiceRequest", - "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Submission", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } ] - } }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-8.1", + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", "type": { - "coding": [ + "coding": [ + { + "code": "CN" + } + ] + }, + "context": { + "period": { + "start": "2000-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2000-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2000-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + }, + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } } - ] + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/fdc3ad13-2492-66ee-2e5a-8458bfdcdcc2" - }, - "reasonReference": [ - { - "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - ], - "note": [ - { - "text": "Submission", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - }, - { - "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "resource": { - "resourceType": "DiagnosticReport", - "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } ] - } }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ], - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ] }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" - } - }, - { - "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "resource": { - "resourceType": "DocumentReference", - "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "type": { - "coding": [ - { - "code": "CN" - } - ] - }, - "context": { - "period": { - "start": "2000-11-10T18:18:00+02:15" + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] }, - "related": [ - { - "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2000-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2000-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - ], - "authenticator": { - "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - }, - "masterIdentifier": { - "value": "018841" - }, - "identifier": [ - { - "value": "54402-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307507", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" - } - } + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" - } - ] - } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - }, - { - "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "resource": { - "resourceType": "Practitioner", - "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "identifier": [ - { - "value": "Smith" + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - }, - { - "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "resource": { - "resourceType": "Practitioner", - "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "identifier": [ - { - "value": "Rock" + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } - }, - { - "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", - "resource": { - "resourceType": "PractitionerRole", - "id": "83992e43-371b-2d63-da1c-8957ccb895c4", - "practitioner": { - "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - }, - { - "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", - "resource": { - "resourceType": "Practitioner", - "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", - "identifier": [ - { - "value": "Watson" + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" - } - }, - { - "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", - "resource": { - "resourceType": "PractitionerRole", - "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", - "practitioner": { - "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - } - }, - { - "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json index 85620af41..073e565d6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-01-expected.json @@ -1,2802 +1,3710 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R23", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R23^OUL_R23" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:24.509Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:34:48.793Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R23^OUL_R23" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 80, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] } - ], - "text": "referrer" + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 80, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "text": "70-80" + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } ] - }, - "referenceRange": [ - { - "text": "100-120" + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ], - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "supportingInfo": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + }, + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ], + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + }, + { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + }, + { + "reference": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:27d6dc57-0d25-ebfe-47e0-740a9602456b", + "resource": { + "resourceType": "Organization", + "id": "27d6dc57-0d25-ebfe-47e0-740a9602456b", + "name": "Birla Doc Org" + }, + "request": { + "method": "PUT", + "url": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + { + "fullUrl": "urn:uuid:96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "resource": { + "resourceType": "Location", + "id": "96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "name": "Doc Ref, room 136, bed B 4E", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + "request": { + "method": "PUT", + "url": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + } + }, + { + "fullUrl": "urn:uuid:db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "resource": { + "resourceType": "Location", + "id": "db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "partOf": { + "reference": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + }, + "name": "136", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "request": { + "method": "PUT", + "url": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + } + }, + { + "fullUrl": "urn:uuid:9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "resource": { + "resourceType": "Location", + "id": "9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "partOf": { + "reference": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + }, + "name": "B", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + "request": { + "method": "PUT", + "url": "Location/9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a" + } + }, + { + "fullUrl": "urn:uuid:f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "resource": { + "resourceType": "Location", + "id": "f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/f41c3b41-e8e6-15de-874c-4c0d09d441e1" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:ed1cb569-e03b-4605-20d8-2cffb8b18260", + "resource": { + "resourceType": "Device", + "id": "ed1cb569-e03b-4605-20d8-2cffb8b18260", + "identifier": [ + { + "value": "PD-101.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" - } - }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" - } - }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + "request": { + "method": "PUT", + "url": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "resource": { + "resourceType": "PractitionerRole", + "id": "57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } + }, + { + "fullUrl": "urn:uuid:f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "resource": { + "resourceType": "Practitioner", + "id": "f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "identifier": [ + { + "value": "432" + } + ], + "name": [ + { + "family": "Jartckson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" + } + }, + { + "fullUrl": "urn:uuid:fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "resource": { + "resourceType": "Organization", + "id": "fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "name": "Mayo12 Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json index f19d58048..708180bf3 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R23/OUL-R23-02-expected.json @@ -1,3441 +1,3444 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R23", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R23^OUL_R23" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:11.733Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R23^OUL_R23" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R23", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R23^OUL_R23" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:35:21.06Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R23.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R23^OUL_R23" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ], - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "resource": { - "resourceType": "ServiceRequest", - "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ], + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + }, + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" } - ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", - "resource": { - "resourceType": "Observation", - "id": "4f6daab9-2509-9217-8920-1561570f9fc3", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "60" - } - ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ], - "effectiveDateTime": "2000-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" - } - }, - { - "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "resource": { - "resourceType": "Specimen", - "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", - "identifier": [ - { - "value": "2018-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - } - }, - { - "resource": { - "resourceType": "Specimen", - "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", - "parent": [ - { - "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" - }, - { - "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - } - ], - "identifier": [ - { - "value": "2018-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2018-PAT-123456-1-2-5" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" } - ] - }, - { - "additiveReference": { - "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - } - ], - "accessionIdentifier": { - "value": "2018-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", - "request": { - "method": "PUT", - "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - }, - { - "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "resource": { - "resourceType": "Specimen", - "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", - "identifier": [ - { - "value": "2018-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" - } - }, - { - "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", - "resource": { - "resourceType": "Substance", - "id": "03218fed-e075-17f5-eed3-9733b929be0a", - "code": { - "coding": [ - { - "code": "SI12345", - "display": "Substance_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 50, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" - } - }, - { - "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "resource": { - "resourceType": "ServiceRequest", - "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:4f6daab9-2509-9217-8920-1561570f9fc3", + "resource": { + "resourceType": "Observation", + "id": "4f6daab9-2509-9217-8920-1561570f9fc3", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "60" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ], + "effectiveDateTime": "2000-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Observation/4f6daab9-2509-9217-8920-1561570f9fc3" + } + }, + { + "fullUrl": "urn:uuid:3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "resource": { + "resourceType": "Specimen", + "id": "3a8c6870-b192-5d03-4d4d-ca62e32c799d", + "identifier": [ + { + "value": "2018-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-29", + }, + "request": { + "method": "PUT", + "url": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + } + }, + { + "resource": { + "resourceType": "Specimen", + "id": "f0c2a76a-0153-71b1-836e-ece181260cc2", + "parent": [ + { + "reference": "Specimen/3a8c6870-b192-5d03-4d4d-ca62e32c799d" + }, + { + "reference": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + ], + "identifier": [ + { + "value": "2018-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], "type": { - "coding": [ + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2018-PAT-123456-1-2-5" + } + ] + }, { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "additiveReference": { + "reference": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } } - ] + ], + "accessionIdentifier": { + "value": "2018-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - ], - "note": [ - { - "text": "Antibodies detected", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - }, - { - "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "resource": { - "resourceType": "DiagnosticReport", - "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", - "identifier": [ - { - "value": "5ca95f519414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "fullUrl": "urn:uuid:f0c2a76a-0153-71b1-836e-ece181260cc2", + "request": { + "method": "PUT", + "url": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + }, + { + "fullUrl": "urn:uuid:b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "resource": { + "resourceType": "Specimen", + "id": "b79a41c3-b416-5aba-39e3-7e05aa6c0b12", + "identifier": [ + { + "value": "2018-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - }, - { - "value": "40bcbe9f8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/b79a41c3-b416-5aba-39e3-7e05aa6c0b12" + } + }, + { + "fullUrl": "urn:uuid:03218fed-e075-17f5-eed3-9733b929be0a", + "resource": { + "resourceType": "Substance", + "id": "03218fed-e075-17f5-eed3-9733b929be0a", + "code": { + "coding": [ + { + "code": "SI12345", + "display": "Substance_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL704512" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 50, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } ] - } - }, - { - "value": "9f2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d400199036ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Substance/03218fed-e075-17f5-eed3-9733b929be0a" + } + }, + { + "fullUrl": "urn:uuid:fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "resource": { + "resourceType": "ServiceRequest", + "id": "fdf7f449-205a-3ba5-89b8-ed375d5aa562", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + ], + "note": [ + { + "text": "Antibodies detected", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "can Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ], - "specimen": [ - { - "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" - } - ], - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" - } - }, - { - "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "resource": { - "resourceType": "DocumentReference", - "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", - "type": { - "coding": [ - { - "code": "CN" - } - ] - }, - "context": { - "period": { - "start": "2000-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2000-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2000-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - ], - "authenticator": { - "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - }, - "masterIdentifier": { - "value": "018841" - }, - "identifier": [ - { - "value": "54402-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307507", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + }, + { + "fullUrl": "urn:uuid:31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "resource": { + "resourceType": "DiagnosticReport", + "id": "31489faa-bf0f-4e84-53f7-5d3cf0a37142", + "identifier": [ + { + "value": "5ca95f519414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe9f8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9f2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d400199036ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "can Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ], + "specimen": [ + { + "reference": "Specimen/f0c2a76a-0153-71b1-836e-ece181260cc2" + } + ], + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/31489faa-bf0f-4e84-53f7-5d3cf0a37142" + } + }, + { + "fullUrl": "urn:uuid:53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "resource": { + "resourceType": "DocumentReference", + "id": "53f0795f-f6dc-8f05-499e-9a0b4fe93a4f", + "type": { + "coding": [ + { + "code": "CN" + } + ] + }, + "context": { + "period": { + "start": "2000-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2000-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2000-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + ], + "authenticator": { + "reference": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" + }, + "masterIdentifier": { + "value": "018841" + }, + "identifier": [ + { + "value": "54402-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307507", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "request": { + "method": "PUT", + "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" + } + }, + { + "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "resource": { + "resourceType": "Practitioner", + "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", + "identifier": [ + { + "value": "Smith" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" + } + }, + { + "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "resource": { + "resourceType": "Practitioner", + "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", + "identifier": [ + { + "value": "Rock" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" + } + }, + { + "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", + "resource": { + "resourceType": "PractitionerRole", + "id": "83992e43-371b-2d63-da1c-8957ccb895c4", + "practitioner": { + "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" + } + }, + { + "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", + "resource": { + "resourceType": "Practitioner", + "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", + "identifier": [ + { + "value": "Watson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" + } + }, + { + "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", + "resource": { + "resourceType": "PractitionerRole", + "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", + "practitioner": { + "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/53f0795f-f6dc-8f05-499e-9a0b4fe93a4f" - } - }, - { - "fullUrl": "urn:uuid:7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "resource": { - "resourceType": "Practitioner", - "id": "7ec0f9d7-b133-aa6a-9741-9b536eb14fcb", - "identifier": [ - { - "value": "Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/7ec0f9d7-b133-aa6a-9741-9b536eb14fcb" - } - }, - { - "fullUrl": "urn:uuid:a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "resource": { - "resourceType": "Practitioner", - "id": "a2aa2bff-0f8e-2ef6-04eb-7ae59266f912", - "identifier": [ - { - "value": "Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } - }, - { - "fullUrl": "urn:uuid:83992e43-371b-2d63-da1c-8957ccb895c4", - "resource": { - "resourceType": "PractitionerRole", - "id": "83992e43-371b-2d63-da1c-8957ccb895c4", - "practitioner": { - "reference": "Practitioner/a2aa2bff-0f8e-2ef6-04eb-7ae59266f912" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/83992e43-371b-2d63-da1c-8957ccb895c4" - } - }, - { - "fullUrl": "urn:uuid:677a5c96-0a9b-1c91-3741-83e0574eb458", - "resource": { - "resourceType": "Practitioner", - "id": "677a5c96-0a9b-1c91-3741-83e0574eb458", - "identifier": [ - { - "value": "Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" - } - }, - { - "fullUrl": "urn:uuid:bb5742ea-aac6-6933-3b3f-58c70431765e", - "resource": { - "resourceType": "PractitionerRole", - "id": "bb5742ea-aac6-6933-3b3f-58c70431765e", - "practitioner": { - "reference": "Practitioner/677a5c96-0a9b-1c91-3741-83e0574eb458" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bb5742ea-aac6-6933-3b3f-58c70431765e" - } - }, - { - "fullUrl": "urn:uuid:12062591-8d86-396b-ac8c-c28aba726bd2", - "resource": { - "resourceType": "Practitioner", - "id": "12062591-8d86-396b-ac8c-c28aba726bd2", - "identifier": [ - { - "value": "Mily" - } - ], - "name": [ - { - "family": "Antony", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" - } - }, - { - "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "resource": { - "resourceType": "DiagnosticReport", - "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + { + "fullUrl": "urn:uuid:12062591-8d86-396b-ac8c-c28aba726bd2", + "resource": { + "resourceType": "Practitioner", + "id": "12062591-8d86-396b-ac8c-c28aba726bd2", + "identifier": [ + { + "value": "Mily" + } + ], + "name": [ + { + "family": "Antony", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/12062591-8d86-396b-ac8c-c28aba726bd2" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/fdf7f449-205a-3ba5-89b8-ed375d5aa562" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json index 853de6d70..04e1f2540 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-01-expected.json @@ -1,2887 +1,3777 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R24", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R24^OUL_R24" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:00.527Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:35:59.555Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R24^OUL_R24" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } + ], + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "generalPractitioner": [ + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ], - "supportingInfo": [ - { - "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:959de135-72a9-8eca-8466-f72569728c13", - "resource": { - "resourceType": "ServiceRequest", - "id": "959de135-72a9-8eca-8466-f72569728c13", - "identifier": [ - { - "value": "PAI-8.1", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "supportingInfo": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + }, + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + ], + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + }, + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:959de135-72a9-8eca-8466-f72569728c13", + "resource": { + "resourceType": "ServiceRequest", + "id": "959de135-72a9-8eca-8466-f72569728c13", + "identifier": [ + { + "value": "PAI-8.1", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "FAI-8.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU_31" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" + } + }, + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + }, + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } ] - } - }, - { - "value": "FAI-8.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU_31" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/959de135-72a9-8eca-8466-f72569728c13" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" - } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" - } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } + ], + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "80" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "resource": { + "resourceType": "DiagnosticReport", + "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "80" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" + } + }, + { + "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", + "resource": { + "resourceType": "DiagnosticReport", + "id": "def809d3-1912-2575-903c-833c5858ec62", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "performer": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } ] - }, - "referenceRange": [ - { - "text": "100-120" + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "5409fd0c-3efc-ffc5-b17d-b71980a05e4d", + "performer": [ + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } ] - }, - "referenceRange": [ - { - "text": "100-120" + } + }, + { + "fullUrl": "urn:uuid:27d6dc57-0d25-ebfe-47e0-740a9602456b", + "resource": { + "resourceType": "Organization", + "id": "27d6dc57-0d25-ebfe-47e0-740a9602456b", + "name": "Birla Doc Org" + }, + "request": { + "method": "PUT", + "url": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" + } + }, + { + "fullUrl": "urn:uuid:96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "resource": { + "resourceType": "Location", + "id": "96cdea29-8ed2-4826-87a0-8741a87c8a0f", + "name": "Doc Ref, room 136, bed B 4E", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/27d6dc57-0d25-ebfe-47e0-740a9602456b" } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + } + }, + { + "fullUrl": "urn:uuid:db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "resource": { + "resourceType": "Location", + "id": "db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11", + "partOf": { + "reference": "Location/96cdea29-8ed2-4826-87a0-8741a87c8a0f" + }, + "name": "136", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + } + }, + { + "fullUrl": "urn:uuid:9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "resource": { + "resourceType": "Location", + "id": "9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a", + "partOf": { + "reference": "Location/db3e6fa8-64ad-b7a6-dfa1-71dcad3bbe11" + }, + "name": "B", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + "request": { + "method": "PUT", + "url": "Location/9bd0e6ea-9005-0f00-ec5c-ec753f0fdb2a" + } + }, + { + "fullUrl": "urn:uuid:f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "resource": { + "resourceType": "Location", + "id": "f41c3b41-e8e6-15de-874c-4c0d09d441e1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Doc Ref, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + }, + "request": { + "method": "PUT", + "url": "Location/f41c3b41-e8e6-15de-874c-4c0d09d441e1" + } + }, + { + "fullUrl": "urn:uuid:ed1cb569-e03b-4605-20d8-2cffb8b18260", + "resource": { + "resourceType": "Device", + "id": "ed1cb569-e03b-4605-20d8-2cffb8b18260", + "identifier": [ + { + "value": "PD-101.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "resource": { - "resourceType": "DiagnosticReport", - "id": "d211f7d8-a40f-ac56-9d4b-8025a9c41ded", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/d211f7d8-a40f-ac56-9d4b-8025a9c41ded" - } - }, - { - "fullUrl": "urn:uuid:def809d3-1912-2575-903c-833c5858ec62", - "resource": { - "resourceType": "DiagnosticReport", - "id": "def809d3-1912-2575-903c-833c5858ec62", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/def809d3-1912-2575-903c-833c5858ec62" - } - }, - { - "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "resource": { - "resourceType": "ResearchStudy", - "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", - "status": "active", - "identifier": [ - { - "value": "RSID1234" - } - ], - "phase": { - "coding": [ - { - "code": "1", - "display": "Phase_ID1", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + "request": { + "method": "PUT", + "url": "Device/ed1cb569-e03b-4605-20d8-2cffb8b18260" + } + }, + { + "fullUrl": "urn:uuid:57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "resource": { + "resourceType": "PractitionerRole", + "id": "57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } + }, + { + "fullUrl": "urn:uuid:f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "resource": { + "resourceType": "Practitioner", + "id": "f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "identifier": [ + { + "value": "432" + } + ], + "name": [ + { + "family": "Jartckson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" + } + }, + { + "fullUrl": "urn:uuid:fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "resource": { + "resourceType": "Organization", + "id": "fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "name": "Mayo12 Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json index aebc58789..8ad5aec15 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OUL_R24/OUL-R24-02-expected.json @@ -1,3034 +1,3037 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2019-03-11T10:16:33+01:00", + "timestamp": "2019-03-11T14:46:33+05:30", "identifier": { - "value": "1932" + "value": "1932" }, "id": "bffbfea9-267e-a449-3090-456fa7efbcc4", "entry": [ - { - "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", - "resource": { - "resourceType": "MessageHeader", - "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", - "source": { - "name": "CASECENTER", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:8d442ccc-3354-4ead-022e-2edfb1a641c1", + "resource": { + "resourceType": "MessageHeader", + "id": "8d442ccc-3354-4ead-022e-2edfb1a641c1", + "source": { + "name": "CASECENTER", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "IHEPALM", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "R24", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "OUL^R24^OUL_R24" + }, + "sender": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" } - ] - }, - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "IHEPALM", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" + } + }, + { + "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", + "resource": { + "resourceType": "Provenance", + "id": "75e5af24-916d-b795-559b-b27d3228eda3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:36:30.943Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" + }, + "occurredDateTime": "2019-03-11T14:46:33+05:30", + "recorded": "2019-03-11T14:46:33+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + } + ], + "activity": { + "coding": [ + { + "display": "OUL^R24^OUL_R24" + } + ] + }, + "target": [ + { + "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" + } ] - } - } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "R24", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "OUL^R24^OUL_R24" - }, - "sender": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/8d442ccc-3354-4ead-022e-2edfb1a641c1" - } - }, - { - "fullUrl": "urn:uuid:75e5af24-916d-b795-559b-b27d3228eda3", - "resource": { - "resourceType": "Provenance", - "id": "75e5af24-916d-b795-559b-b27d3228eda3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:17.945Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OUL_R24.

" - }, - "occurredDateTime": "2019-03-11T10:16:33+01:00", - "recorded": "2019-03-11T10:16:33+01:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" + } + }, + { + "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "resource": { + "resourceType": "Organization", + "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", + "identifier": [ + { + "value": "CASECENTER FACILITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/CASECENTER-FACILITY" + } ] - }, - "who": { - "reference": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - } - ], - "activity": { - "coding": [ - { - "display": "OUL^R24^OUL_R24" - } - ] - }, - "target": [ - { - "reference": "Bundle/bffbfea9-267e-a449-3090-456fa7efbcc4" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/75e5af24-916d-b795-559b-b27d3228eda3" - } - }, - { - "fullUrl": "urn:uuid:afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "resource": { - "resourceType": "Organization", - "id": "afbbb131-40a9-ea62-0eb1-23f0f33e8b20", - "identifier": [ - { - "value": "CASECENTER FACILITY", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-CASECENTER-FACILITY" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", - "resource": { - "resourceType": "Patient", - "id": "bab57240-4a39-435b-578f-50b090bab311", - "identifier": [ - { - "value": "00000-0000000" - }, - { - "value": "000000" - }, - { - "value": "000-00-0000", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/afbbb131-40a9-ea62-0eb1-23f0f33e8b20" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "name": [ - { - "family": "AAAAAAAA", - "given": [ - "AAAAAA", - "A" - ] - } - ], - "birthDate": "2019-04-11", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "2019-04-11T10:16:33+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "00000 A AA AA AAA" - ], - "city": "AAAAAA", - "state": "AA", - "postalCode": "00000 " - } - ], - "telecom": [ - { - "value": "(700)000-0000", - "system": "phone", - "use": "home" - } - ], - "maritalStatus": { - "coding": [ - { - "code": "S", - "display": "Never Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "U", - "display": "U" - } - }, - { - "url": "text", - "valueString": "U" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:bab57240-4a39-435b-578f-50b090bab311", + "resource": { + "resourceType": "Patient", + "id": "bab57240-4a39-435b-578f-50b090bab311", + "identifier": [ + { + "value": "00000-0000000" + }, + { + "value": "000000" + }, + { + "value": "000-00-0000", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "name": [ + { + "family": "AAAAAAAA", + "given": [ + "AAAAAA", + "A" + ] + } + ], + "birthDate": "2019-04-11", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "2019-04-11T13:31:33+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "00000 A AA AA AAA" + ], + "city": "AAAAAA", + "state": "AA", + "postalCode": "00000 " + } ], - "text": "Inportant Person" - } + "telecom": [ + { + "value": "(700)000-0000", + "system": "phone", + "use": "home" + } + ], + "maritalStatus": { + "coding": [ + { + "code": "S", + "display": "Never Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "U", + "display": "U" + } + }, + { + "url": "text", + "valueString": "U" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", - "resource": { - "resourceType": "Device", - "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "resource": { - "resourceType": "Observation", - "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "resource": { + "resourceType": "Observation", + "id": "defae2eb-fc37-c2d8-c3b9-ec4611beacf1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/defae2eb-fc37-c2d8-c3b9-ec4611beacf1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "resource": { - "resourceType": "Location", - "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", - "partOf": { - "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - }, - "name": "Internal Medicine", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - } - }, - { - "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", - "resource": { - "resourceType": "Location", - "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", - "name": "UH Hospitals", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - } - }, - { - "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", - "resource": { - "resourceType": "Location", - "id": "cfe626cd-52e4-b447-385d-eda1c76568af", - "partOf": { - "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" - }, - "name": "Briones Bone", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - } - }, - { - "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", - "resource": { - "resourceType": "Location", - "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", - "partOf": { - "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" - }, - "name": "3b", - "mode": "instance", - "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", - "resource": { - "resourceType": "Encounter", - "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "resource": { + "resourceType": "Location", + "id": "b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7", + "partOf": { + "reference": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + }, + "name": "Internal Medicine", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + } + }, + { + "fullUrl": "urn:uuid:90d97312-73fe-6710-0f1c-8b431689a0d8", + "resource": { + "resourceType": "Location", + "id": "90d97312-73fe-6710-0f1c-8b431689a0d8", + "name": "UH Hospitals", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + } + }, + { + "fullUrl": "urn:uuid:cfe626cd-52e4-b447-385d-eda1c76568af", + "resource": { + "resourceType": "Location", + "id": "cfe626cd-52e4-b447-385d-eda1c76568af", + "partOf": { + "reference": "Location/90d97312-73fe-6710-0f1c-8b431689a0d8" + }, + "name": "Briones Bone", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + } + }, + { + "fullUrl": "urn:uuid:323e3c3f-3116-a0c3-c580-d91579668bd5", + "resource": { + "resourceType": "Location", + "id": "323e3c3f-3116-a0c3-c580-d91579668bd5", + "partOf": { + "reference": "Location/cfe626cd-52e4-b447-385d-eda1c76568af" + }, + "name": "3b", + "mode": "instance", + "description": "Internal Medicine--UH Hospitals--D--Briones Bone--3b", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/323e3c3f-3116-a0c3-c580-d91579668bd5" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - } - }, - { - "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "resource": { - "resourceType": "ServiceRequest", - "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", - "identifier": [ - { - "value": "PAI-29", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "type": { - "coding": [ - { - "code": "PU-50" - } - ] - } - } - ], - "status": "completed", - "intent": "order", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - }, - { - "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", - "resource": { - "resourceType": "ServiceRequest", - "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", - "status": "completed", - "intent": "order", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "reasonReference": [ - { - "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - ], - "note": [ - { - "text": "Submission of serum", - "time": "2020-10-10T16:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "text": "Please follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap", - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - }, - { - "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "resource": { - "resourceType": "Organization", - "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", - "name": "Pathology Dep." - }, - "request": { - "method": "PUT", - "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - { - "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", - "resource": { - "resourceType": "PractitionerRole", - "id": "5533879c-986a-e0e9-3a02-dfa544988682", - "organization": { - "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - } - }, - { - "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a361cb66-96d6-9c04-fd14-3a599184f451", - "identifier": [ - { - "value": "5ca95f51971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "9adf2339de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-47371996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ], - "specimen": [ - { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" - } - }, - { - "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", - "resource": { - "resourceType": "DocumentReference", - "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", - "type": { - "coding": [ - { - "code": "DIS" - } - ] - }, - "context": { - "period": { - "start": "2010-11-10T18:18:00+02:15" - }, - "related": [ - { - "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - ] - }, - "content": [ - { - "attachment": { - "creation": "2010-11-03T00:00:00+02:15", - "contentType": "image/jpeg" - } - } - ], - "meta": { - "lastUpdated": "2010-11-03T13:46:00+02:15" - }, - "author": [ - { - "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - ], - "authenticator": { - "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - }, - "masterIdentifier": { - "value": "018840" - }, - "identifier": [ - { - "value": "54302-DEX", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype", - "code": "DOCI", - "display": "Document unique identifier" - } - ], - "text": "Document unique file name" - } - } - ], - "relatesTo": [ - { - "code": "appends", - "target": { - "type": "DocumentReference", - "identifier": { - "value": "1307506", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test" + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - } - } - ], - "docStatus": "preliminary", - "securityLabel": [ - { - "coding": [ - { - "code": "R", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "status": "current", - "category": [ - { - "coding": [ - { - "code": "radiology report" + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } - ], - "description": "string ofCharacters", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - } }, - "request": { - "method": "PUT", - "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" - } - }, - { - "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "resource": { - "resourceType": "Practitioner", - "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", - "identifier": [ - { - "value": "John Smith" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" - } - }, - { - "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "resource": { - "resourceType": "Practitioner", - "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", - "identifier": [ - { - "value": "Chris Rock" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - { - "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "resource": { - "resourceType": "PractitionerRole", - "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", - "practitioner": { - "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" - } - }, - { - "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "resource": { - "resourceType": "Practitioner", - "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", - "identifier": [ - { - "value": "Emma Watson" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - { - "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", - "resource": { - "resourceType": "PractitionerRole", - "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", - "practitioner": { - "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", - "resource": { - "resourceType": "Specimen", - "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", - "identifier": [ - { - "value": "2017-PAT-123456-1", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "type": { - "coding": [ - { - "code": "SKBP", - "display": "Biopsy, Skin", - "system": "http://terminology.hl7.org/CodeSystem/v2-0487" - } - ] - }, - "container": [ - { - "identifier": [ - { - "value": "2017-PAT-123456-1-2-5" + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] - }, - { - "additiveReference": { - "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - } - ], - "accessionIdentifier": { - "value": "2017-PAT-123456", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L" - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "parent": [ - { - "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - }, - { - "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - }, - { - "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - ] - }, - "request": { - "method": "PUT", - "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - } - }, - { - "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "resource": { - "resourceType": "Substance", - "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", - "code": { - "coding": [ - { - "code": "SI1234", - "display": "Substance_ID", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" - } - ] - }, - "status": "active", - "category": [ - { - "coding": [ - { - "code": "RC", - "display": "Reagent Calibrator", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:cf96bbf9-8498-8ecd-d1b5-241771519e87", + "resource": { + "resourceType": "Encounter", + "id": "cf96bbf9-8498-8ecd-d1b5-241771519e87", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/b58ba2c2-58da-99e6-5d2a-e4f51ad39ac7" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" } - ] - } - ], - "instance": [ - { - "identifier": { - "value": "CONT1234", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/LabID" - }, - "quantity": { - "value": 25, - "code": "ML", - "unit": "Mili Litre", - "system": "http://unitsofmeasure.org" - }, - "expiry": "2021-01-31" - } - ], - "identifier": [ - { - "value": "TST_ID12" - }, - { - "value": "MFG_Lot 12" - }, - { - "value": "SUPL_ID 34" - } - ] - }, - "request": { - "method": "PUT", - "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" - } - }, - { - "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "resource": { - "resourceType": "Specimen", - "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", - "identifier": [ - { - "value": "2017-PAT-123456", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" - } - }, - { - "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "resource": { - "resourceType": "Specimen", - "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", - "identifier": [ - { - "value": "2017-PAT", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "resource": { + "resourceType": "ServiceRequest", + "id": "dbd85cc7-01b0-2a0a-6abe-8f0b66848221", + "identifier": [ + { + "value": "PAI-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "type": { + "coding": [ + { + "code": "PU-50" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + }, + { + "fullUrl": "urn:uuid:c2c19e02-069d-00e1-3a63-0f8115e4e043", + "resource": { + "resourceType": "ServiceRequest", + "id": "c2c19e02-069d-00e1-3a63-0f8115e4e043", + "status": "completed", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/dbd85cc7-01b0-2a0a-6abe-8f0b66848221" + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "reasonReference": [ + { + "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + ], + "note": [ + { + "text": "Submission of serum", + "time": "2020-10-10T19:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap", + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" - } - }, - { - "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", - "resource": { - "resourceType": "Specimen", - "id": "7d524989-2de6-e3ab-a64b-d653007c1966", - "identifier": [ - { - "value": "2017", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "resource": { + "resourceType": "Organization", + "id": "56ba2e27-0822-82bb-4fd6-ca53c8ce4142", + "name": "Pathology Dep." + }, + "request": { + "method": "PUT", + "url": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + { + "fullUrl": "urn:uuid:5533879c-986a-e0e9-3a02-dfa544988682", + "resource": { + "resourceType": "PractitionerRole", + "id": "5533879c-986a-e0e9-3a02-dfa544988682", + "organization": { + "reference": "Organization/56ba2e27-0822-82bb-4fd6-ca53c8ce4142" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf2339de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/47371996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ], + "specimen": [ + { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } ] - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" } - ] }, - "request": { - "method": "PUT", - "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" - } - }, - { - "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "resource": { - "resourceType": "Observation", - "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674", + "resource": { + "resourceType": "DocumentReference", + "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674", + "type": { + "coding": [ + { + "code": "DIS" + } + ] + }, + "context": { + "period": { + "start": "2010-11-10T21:33:00+05:30" + }, + "related": [ + { + "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + ] + }, + "content": [ + { + "attachment": { + "creation": "2010-11-03T03:15:00+05:30", + "contentType": "image/jpeg" + } + } + ], + "meta": { + "lastUpdated": "2010-11-03T17:01:00+05:30" + }, + "author": [ + { + "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + ], + "authenticator": { + "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + }, + "masterIdentifier": { + "value": "018840" + }, + "identifier": [ + { + "value": "54302-DEX", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "DOCI", + "display": "Document Unique Identifier" + } + ], + "text": "Document unique file name" + } + } + ], + "relatesTo": [ + { + "code": "appends", + "target": { + "type": "DocumentReference", + "identifier": { + "value": "1307506", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + } + } + } + ], + "docStatus": "preliminary", + "securityLabel": [ + { + "coding": [ + { + "code": "R", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + } + ], + "status": "current", + "category": [ + { + "coding": [ + { + "code": "radiology report" + } + ] + } + ], + "description": "string ofCharacters", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + } + }, + "request": { + "method": "PUT", + "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674" + } + }, + { + "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "resource": { + "resourceType": "Practitioner", + "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca", + "identifier": [ + { + "value": "John Smith" + } ] - } - } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca" + } + }, + { + "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "resource": { + "resourceType": "Practitioner", + "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac", + "identifier": [ + { + "value": "Chris Rock" + } ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "80" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + { + "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "resource": { + "resourceType": "PractitionerRole", + "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534", + "practitioner": { + "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534" + } + }, + { + "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "resource": { + "resourceType": "Practitioner", + "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb", + "identifier": [ + { + "value": "Emma Watson" + } ] - }, - "referenceRange": [ - { - "text": "100-120" + }, + "request": { + "method": "PUT", + "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" + } + }, + { + "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce", + "resource": { + "resourceType": "PractitionerRole", + "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce", + "practitioner": { + "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb" } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce" + } + }, + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "120" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + }, + { + "fullUrl": "urn:uuid:06949f56-829f-df97-ece0-eb2a42b4f1bf", + "resource": { + "resourceType": "Specimen", + "id": "06949f56-829f-df97-ece0-eb2a42b4f1bf", + "identifier": [ + { + "value": "2017-PAT-123456-1", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "type": { + "coding": [ + { + "code": "SKBP", + "display": "Biopsy, Skin", + "system": "http://terminology.hl7.org/CodeSystem/v2-0487" + } + ] + }, + "container": [ + { + "identifier": [ + { + "value": "2017-PAT-123456-1-2-5" + } + ] + }, + { + "additiveReference": { + "reference": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" + } + } + ], + "accessionIdentifier": { + "value": "2017-PAT-123456", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "parent": [ + { + "reference": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + }, + { + "reference": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + }, + { + "reference": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } ] - }, - "referenceRange": [ - { - "text": "100-120" - } - ] - } - ], - "effectiveDateTime": "1999-08-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "specimen": { - "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + } + }, + { + "fullUrl": "urn:uuid:f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "resource": { + "resourceType": "Substance", + "id": "f285d64a-e338-e669-05d3-ed4e7ad0cea7", + "code": { + "coding": [ + { + "code": "SI1234", + "display": "Substance_ID", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70451" + } + ] + }, + "status": "active", + "category": [ + { + "coding": [ + { + "code": "RC", + "display": "Reagent Calibrator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70384" + } + ] + } + ], + "instance": [ + { + "identifier": { + "value": "CONT1234", + "system": "http://example.com/v2-to-fhir-converter/Identifier/LabID" + }, + "quantity": { + "value": 25, + "code": "ML", + "unit": "Mili Litre", + "system": "http://unitsofmeasure.org" + }, + "expiry": "2021-01-31" + } ], - "text": "Partial" - } + "identifier": [ + { + "value": "TST_ID12" + }, + { + "value": "MFG_Lot 12" + }, + { + "value": "SUPL_ID 34" + } + ] + }, + "request": { + "method": "PUT", + "url": "Substance/f285d64a-e338-e669-05d3-ed4e7ad0cea7" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" - } - }, - { - "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "resource": { - "resourceType": "DiagnosticReport", - "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", - "identifier": [ - { - "value": "40bcbe96bcbf8cda8b07403263b92cb4", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-3DHISTECH_SLDID" - }, - { - "type": { - "coding": [ - { - "code": "FILL" - } + { + "fullUrl": "urn:uuid:29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "resource": { + "resourceType": "Specimen", + "id": "29334ec4-0dc0-b4ab-30e9-421cf1a8a35d", + "identifier": [ + { + "value": "2017-PAT-123456", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "3DHISTECH_SLD", - "display": "3DHISTECH Digital Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/MRXS", - "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" - } - }, - { - "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "resource": { - "resourceType": "DiagnosticReport", - "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", - "code": { - "coding": [ - { - "code": "3DHISTECH_THUMBNAIL", - "display": "3DHISTECH Thumbnail Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" - } - }, - { - "fullUrl": "urn:uuid:4432d203-d7f8-41a3-4a33-1fdd2273def6", - "resource": { - "resourceType": "ServiceRequest", - "id": "4432d203-d7f8-41a3-4a33-1fdd2273def6", - "status": "on-hold", - "intent": "order", - "identifier": [ - { - "value": "5ca95971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/29334ec4-0dc0-b4ab-30e9-421cf1a8a35d" + } + }, + { + "fullUrl": "urn:uuid:22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "resource": { + "resourceType": "Specimen", + "id": "22f600b0-05d3-ca8b-2c5c-a83c911e5b02", + "identifier": [ + { + "value": "2017-PAT", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - }, - { - "value": "4be96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/22f600b0-05d3-ca8b-2c5c-a83c911e5b02" + } + }, + { + "fullUrl": "urn:uuid:7d524989-2de6-e3ab-a64b-d653007c1966", + "resource": { + "resourceType": "Specimen", + "id": "7d524989-2de6-e3ab-a64b-d653007c1966", + "identifier": [ + { + "value": "2017", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } - }, - { - "value": "9adf9de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Specimen/7d524989-2de6-e3ab-a64b-d653007c1966" + } + }, + { + "fullUrl": "urn:uuid:7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "resource": { + "resourceType": "Observation", + "id": "7c80a3d2-db3e-23d7-fbcf-137c241ac9d9", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "80" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "specimen": { + "reference": "Specimen/06949f56-829f-df97-ece0-eb2a42b4f1bf" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } - } - ], - "basedOn": [ - { - "type": "ServiceRequest", - "identifier": { - "value": "PAI-II-29", - "type": { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Observation/7c80a3d2-db3e-23d7-fbcf-137c241ac9d9" + } + }, + { + "fullUrl": "urn:uuid:6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "resource": { + "resourceType": "DiagnosticReport", + "id": "6b6a33c3-a435-90ec-be9e-ce6fd121f004", + "identifier": [ { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "system": "http://example.com/v2-to-fhir-converter/Identifier/3DHISTECH_SLDID" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "3DHISTECH_SLD", + "display": "3DHISTECH Digital Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/MRXS", + "url": "http://172.16.237.4/CaseCenter/index.php?ContainerType=CaseView&ContainerID=0&SlideID=40bcbe96bcbf8cda8b07403263b92cb4" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/6b6a33c3-a435-90ec-be9e-ce6fd121f004" + } + }, + { + "fullUrl": "urn:uuid:46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "resource": { + "resourceType": "DiagnosticReport", + "id": "46cde5f6-db9b-7da4-6316-2aa4cb2d0d97", + "code": { + "coding": [ + { + "code": "3DHISTECH_THUMBNAIL", + "display": "3DHISTECH Thumbnail Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/c2c19e02-069d-00e1-3a63-0f8115e4e043" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/46cde5f6-db9b-7da4-6316-2aa4cb2d0d97" + } + }, + { + "fullUrl": "urn:uuid:4432d203-d7f8-41a3-4a33-1fdd2273def6", + "resource": { + "resourceType": "ServiceRequest", + "id": "4432d203-d7f8-41a3-4a33-1fdd2273def6", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "basedOn": [ + { + "type": "ServiceRequest", + "identifier": { + "value": "PAI-II-29", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "requester": { + "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" + }, + "encounter": { + "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" + }, + "note": [ + { + "text": "Follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 12, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "QOD", + "display": "every other day", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "ACM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } + }, + { + "fullUrl": "urn:uuid:b6178ff2-41f5-639e-14d9-061004b4ce81", + "resource": { + "resourceType": "DiagnosticReport", + "id": "b6178ff2-41f5-639e-14d9-061004b4ce81", + "identifier": [ + { + "value": "5ca95971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "4be96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "9adf9de714c6698063e3ddf5d0167&L", + "system": "http://example.com/v2-to-fhir-converter/Identifier/471996286d40019903e76ba57e49e8&L", + "type": { + "coding": [ + { + "code": "PGN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" } - ] - } - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "requester": { - "reference": "PractitionerRole/5533879c-986a-e0e9-3a02-dfa544988682" - }, - "encounter": { - "reference": "Encounter/cf96bbf9-8498-8ecd-d1b5-241771519e87" - }, - "note": [ - { - "text": "Follow the text instructions" - } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 12, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "QOD", - "display": "every other day", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "ACM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 - } - }, - "priority": "asap" - }, - "request": { - "method": "PUT", - "url": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - }, - { - "fullUrl": "urn:uuid:b6178ff2-41f5-639e-14d9-061004b4ce81", - "resource": { - "resourceType": "DiagnosticReport", - "id": "b6178ff2-41f5-639e-14d9-061004b4ce81", - "identifier": [ - { - "value": "5ca95971d414bbcb4be9ca88e9846", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-L", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ] - } - }, - { - "value": "4be96bcbf8cda8b07403263b92cb4", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/b6178ff2-41f5-639e-14d9-061004b4ce81" + } + }, + { + "fullUrl": "urn:uuid:a3cead74-dc41-60c8-989a-2462337f6acf", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a3cead74-dc41-60c8-989a-2462337f6acf", + "code": { + "coding": [ + { + "code": "3DHISTECH_LABELAREA", + "display": "3DHISTECH Label Area Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } ] - } - }, - { - "value": "9adf9de714c6698063e3ddf5d0167&L", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-471996286d40019903e76ba57e49e8&L", - "type": { - "coding": [ - { - "code": "PGN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a3cead74-dc41-60c8-989a-2462337f6acf" + } + }, + { + "fullUrl": "urn:uuid:f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "resource": { + "resourceType": "DiagnosticReport", + "id": "f8d9acb0-2453-703f-7423-4c6abc17f4d1", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" + }, + "basedOn": [ + { + "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" + } ] - } - } - ], - "code": { - "coding": [ - { - "code": "SCAN", - "display": "Scan Slide", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" - } - ] - }, - "status": "unknown", - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/b6178ff2-41f5-639e-14d9-061004b4ce81" - } - }, - { - "fullUrl": "urn:uuid:a3cead74-dc41-60c8-989a-2462337f6acf", - "resource": { - "resourceType": "DiagnosticReport", - "id": "a3cead74-dc41-60c8-989a-2462337f6acf", - "code": { - "coding": [ - { - "code": "3DHISTECH_LABELAREA", - "display": "3DHISTECH Label Area Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/a3cead74-dc41-60c8-989a-2462337f6acf" - } - }, - { - "fullUrl": "urn:uuid:f8d9acb0-2453-703f-7423-4c6abc17f4d1", - "resource": { - "resourceType": "DiagnosticReport", - "id": "f8d9acb0-2453-703f-7423-4c6abc17f4d1", - "code": { - "coding": [ - { - "code": "3DHISTECH_PREVIEWCAM", - "display": "3DHISTECH Preview Camera Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - { - "code": "S_IMAGE", - "display": "Supplemental Image", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" - } - ] - }, - "status": "unknown", - "presentedForm": [ - { - "contentType": "image/jpeg", - "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" - } - ], - "subject": { - "reference": "Patient/bab57240-4a39-435b-578f-50b090bab311" - }, - "basedOn": [ - { - "reference": "ServiceRequest/4432d203-d7f8-41a3-4a33-1fdd2273def6" - } - ] - }, - "request": { - "method": "PUT", - "url": "DiagnosticReport/f8d9acb0-2453-703f-7423-4c6abc17f4d1" + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/f8d9acb0-2453-703f-7423-4c6abc17f4d1" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json index 2d464343a..be416843a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-01-expected.json @@ -1,3458 +1,5066 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O11^RDE_O11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:47.129Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:37:11.393Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O11^RDE_O11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + }, + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + ], + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerLifetime": { + "value": 100, + "unit": "mg" + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } ], - "text": "Inportant Person" - } + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } - ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "resource": { + "resourceType": "Observation", + "id": "a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "basedOn": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/a4167c6e-3a1a-c4ef-afd5-db48bca51de1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:34581a2c-e458-f879-0f49-09c801d2b493", + "resource": { + "resourceType": "Organization", + "id": "34581a2c-e458-f879-0f49-09c801d2b493", + "name": "Healthcare Centre" + }, + "request": { + "method": "PUT", + "url": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "resource": { + "resourceType": "Location", + "id": "e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "name": "Lane 4", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + }, + "request": { + "method": "PUT", + "url": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:82384359-d1f7-86c1-9469-aeba9eb379e5", + "resource": { + "resourceType": "Location", + "id": "82384359-d1f7-86c1-9469-aeba9eb379e5", + "partOf": { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + }, + "name": "136", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "resource": { + "resourceType": "Location", + "id": "0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "partOf": { + "reference": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + }, + "name": "B", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0019add7-1ccd-0b5a-24b7-aee0be6790dd" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "resource": { + "resourceType": "Location", + "id": "8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c3f5369-ec0a-1da3-db69-98462e5c3a09" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - } + }, + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] + "unit": "Capsule" }, - { - "coding": [ + "authorizingPrescription": [ { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ] + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "coding": [ + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "text": "+Text instruction latest", - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } + }, + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T10:30:00+02:15", - "end": "2019-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - }, - { - "maxDosePerLifetime": { - "value": 100, - "unit": "mg" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json index 851b9b8c6..eea05fb89 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O11/RDE-O11-02-expected.json @@ -1,3843 +1,4446 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O11", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O11^RDE_O11" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:20.251Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O11^RDE_O11" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O11", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O11^RDE_O11" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:37:46.34Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O11.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O11^RDE_O11" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } ] - } }, - { - "name": { - "family": "Ben2" - } + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:353d619a-1229-ecfa-eaaa-ad21aae48068", + "resource": { + "resourceType": "Account", + "id": "353d619a-1229-ecfa-eaaa-ad21aae48068", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/752cc909-436e-942e-7ede-fb2d51522918" + } + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + }, + { + "fullUrl": "urn:uuid:752cc909-436e-942e-7ede-fb2d51522918", + "resource": { + "resourceType": "Organization", + "id": "752cc909-436e-942e-7ede-fb2d51522918", + "identifier": [ + { + "value": "test", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + }, + { + "value": "falcon.iupui.edu", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/752cc909-436e-942e-7ede-fb2d51522918" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Mellie", + "given": [ + "John" + ] } - ], - "text": "consultant" + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" + } + }, + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ], - "text": "admitter" + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "value": "1552" } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, { - "code": "Titrate to BP less than 180" + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" } - ] }, - { - "coding": [ + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" } - ] + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "coding": [ + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T10:30:00+02:15", - "end": "2019-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", - "resource": { - "resourceType": "MedicationRequest", - "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 3 times daily.", - "text": "Remind the patient to schedule follow up appointment+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "INHAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IO", - "display": "Intraocular" - } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 60, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2022-11-04T10:30:00+02:15", - "end": "2022-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" } - ], - "priority": "stat" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - }, - { - "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "resource": { - "resourceType": "Organization", - "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "name": "FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "resource": { + "resourceType": "ResearchStudy", + "id": "e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "status": "active", + "identifier": [ + { + "value": "SSID-1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - { - "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", - "resource": { - "resourceType": "Practitioner", - "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", - "identifier": [ - { - "value": "1552" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } - }, - { - "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", - "resource": { - "resourceType": "PractitionerRole", - "id": "87315732-187e-7965-60ae-330d707429dd", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "resource": { + "resourceType": "Account", + "id": "ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "identifier": [ + { + "value": "AI168", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" } - ], - "practitioner": { - "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - } - }, - { - "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", - "resource": { - "resourceType": "Organization", - "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy", - "system": "http://example.com/v2-to-fhir-converter/Identifier/X" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - { - "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", - "resource": { - "resourceType": "Medication", - "id": "bef0245d-479b-d766-6f14-a704bed9f117", - "code": { - "coding": [ - { - "code": "01220200105", - "display": "250 mg capsule", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" - }, - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "D-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - } - }, - { - "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", - "resource": { - "resourceType": "Medication", - "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", - "code": { - "coding": [ - { - "code": "2669", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - } - }, - { - "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", - "resource": { - "resourceType": "MedicationRequest", - "id": "98deab99-5806-4bb3-8bce-36c7527df86a", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 4, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "medicationReference": { - "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - }, - "basedOn": [ - { - "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 8, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ { - "code": "Titrate to BP less than 180" + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/bbd29a79-df0d-389c-829f-72843cc746e5", + "type": "Procedure" } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "TESTI", - "display": "Testicle(Testis)" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } ] - }, - "sequence": 2, - "timing": { + }, + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:bbd29a79-df0d-389c-829f-72843cc746e5", + "resource": { + "resourceType": "Procedure", + "id": "bbd29a79-df0d-389c-829f-72843cc746e5", "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 160, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 3, - "boundsPeriod": { - "start": "2022-11-04T10:30:00+02:15", - "end": "2022-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "Procedure/bbd29a79-df0d-389c-829f-72843cc746e5" } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json index 5724c6517..dbebd06fe 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-01-expected.json @@ -1,3499 +1,5107 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O25^RDE_O25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:05.599Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:38:25.581Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + }, + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + ], + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O25^RDE_O25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "mo", + "system": "http://unitsofmeasure.org", + "code": "mo" + } + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } ], - "text": "Inportant Person" - } + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", - "resource": { - "resourceType": "RelatedPerson", - "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", - "identifier": [ - { - "value": "1516", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "55121", - "type": { - "coding": [ - { - "code": "FI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Facility ID" - } + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - }, - { - "value": "G-SSN-12", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Beneficiary Identifier" - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "BRO", - "display": "brother", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "1619 SOUTH UNIVERSITY" - ], - "city": "MADISON", - "state": "WI", - "postalCode": "53703", - "country": "US" - } - ], - "telecom": [ - { - "value": "8484", - "system": "email", - "use": "home" - }, - { - "value": "717171", - "system": "phone", - "use": "home" - }, - { - "value": "021212", - "system": "other", - "use": "work" - } - ], - "name": [ - { - "family": "RADIANT", - "given": [ - "LUCY" - ] - } - ], - "gender": "male", - "birthDate": "2001-04-12", - "communication": [ - { - "language": { - "coding": [ - { - "code": "de", - "display": "German", - "system": "urn:ietf:bcp:47" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "resource": { + "resourceType": "Observation", + "id": "a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "basedOn": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/a4167c6e-3a1a-c4ef-afd5-db48bca51de1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:34581a2c-e458-f879-0f49-09c801d2b493", + "resource": { + "resourceType": "Organization", + "id": "34581a2c-e458-f879-0f49-09c801d2b493", + "name": "Healthcare Centre" + }, + "request": { + "method": "PUT", + "url": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "resource": { + "resourceType": "Location", + "id": "e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "name": "Lane 4", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + }, + "request": { + "method": "PUT", + "url": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:82384359-d1f7-86c1-9469-aeba9eb379e5", + "resource": { + "resourceType": "Location", + "id": "82384359-d1f7-86c1-9469-aeba9eb379e5", + "partOf": { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + }, + "name": "136", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "resource": { + "resourceType": "Location", + "id": "0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "partOf": { + "reference": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + }, + "name": "B", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0019add7-1ccd-0b5a-24b7-aee0be6790dd" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "resource": { + "resourceType": "Location", + "id": "8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c3f5369-ec0a-1da3-db69-98462e5c3a09" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/additional-task-code", + "code": "refill-authorization-request", + "display": "Pharmacy/Treatment Refill Authorization Request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" + { + "fullUrl": "urn:uuid:8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "resource": { + "resourceType": "Account", + "id": "8ad2f1f3-89ff-81ea-98ad-44d755fe98fe", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/8ad2f1f3-89ff-81ea-98ad-44d755fe98fe" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" + }, + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } - ] - }, - "sequence": 1, - "timing": { + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", "code": { - "coding": [ - { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - } + }, + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ - { - "code": "Titrate to BP less than 180" - } - ] + "unit": "Capsule" }, - { - "coding": [ + "authorizingPrescription": [ { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ] + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "coding": [ + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "text": "+Text instruction latest", - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } + }, + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + } + }, + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T10:30:00+02:15", - "end": "2019-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } - }, - { - "maxDosePerPeriod": { - "numerator": { - "value": 100, - "unit": "mg" - }, - "denominator": { - "value": 1, - "unit": "mo", - "system": "http://unitsofmeasure.org", - "code": "mo" - } - } - } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", - "resource": { - "resourceType": "Task", - "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json index c17071fa7..8a38761eb 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDE_O25/RDE-O25-02-expected.json @@ -1,3913 +1,4516 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O25", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDE^O25^RDE_O25" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:56.944Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDE^O25^RDE_O25" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O25", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDE^O25^RDE_O25" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:39:03.438Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDE_O25.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDE^O25^RDE_O25" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } ] - } }, - { - "name": { - "family": "Ben2" - } + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + } + }, + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "IV Infusion" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + }, + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + } + }, + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ + { + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + }, + { + "reference": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + } + }, + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "resource": { + "resourceType": "ResearchStudy", + "id": "16f5c983-f4f6-d905-94ea-688e4ef9ab17", + "status": "active", + "identifier": [ + { + "value": "RSID1234" + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/16f5c983-f4f6-d905-94ea-688e4ef9ab17" + } + }, + { + "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", + "resource": { + "resourceType": "Task", + "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/additional-task-code", + "code": "refill-authorization-request", + "display": "Pharmacy/Treatment Refill Authorization Request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + "request": { + "method": "PUT", + "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" + } + }, + { + "fullUrl": "urn:uuid:353d619a-1229-ecfa-eaaa-ad21aae48068", + "resource": { + "resourceType": "Account", + "id": "353d619a-1229-ecfa-eaaa-ad21aae48068", + "identifier": [ + { + "value": "AI167", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/752cc909-436e-942e-7ede-fb2d51522918" + } + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + }, + { + "fullUrl": "urn:uuid:752cc909-436e-942e-7ede-fb2d51522918", + "resource": { + "resourceType": "Organization", + "id": "752cc909-436e-942e-7ede-fb2d51522918", + "identifier": [ + { + "value": "test", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test" + }, + { + "value": "falcon.iupui.edu", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/752cc909-436e-942e-7ede-fb2d51522918" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ + { + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } + } + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ + { + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/353d619a-1229-ecfa-eaaa-ad21aae48068" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, + { + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" + } + ], + "performingOrganization": { + "reference": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + }, + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + } + }, + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + }, + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "name": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "family": "Mellie", + "given": [ + "John" + ] } - ], - "text": "consultant" + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" + } + }, + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ], - "text": "admitter" + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" + } + }, + { + "fullUrl": "urn:uuid:3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "resource": { + "resourceType": "Organization", + "id": "3b0fa4d6-84b9-6c3e-c81d-231c9f16330a", + "name": "Good Health Hospital", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } - ] - } - }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } - } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/3b0fa4d6-84b9-6c3e-c81d-231c9f16330a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" + } + }, + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" - }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", + "resource": { + "resourceType": "MedicationRequest", + "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 3 times daily.", + "text": "Remind the patient to schedule follow up appointment+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "INHAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IO", + "display": "Intraocular" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 60, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 2, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "IV Infusion" - } + { + "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "resource": { + "resourceType": "Organization", + "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", + "name": "FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" + } + }, + { + "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", + "resource": { + "resourceType": "Practitioner", + "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", + "identifier": [ { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "value": "1552" } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", + "resource": { + "resourceType": "PractitionerRole", + "id": "87315732-187e-7965-60ae-330d707429dd", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", + "resource": { + "resourceType": "Organization", + "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy", + "system": "http://example.com/v2-to-fhir-converter/Identifier/X" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 + { + "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", + "resource": { + "resourceType": "Medication", + "id": "bef0245d-479b-d766-6f14-a704bed9f117", + "code": { + "coding": [ + { + "code": "01220200105", + "display": "250 mg capsule", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" + }, + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "D-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + }, + "request": { + "method": "PUT", + "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 + { + "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", + "resource": { + "resourceType": "Medication", + "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", + "code": { + "coding": [ + { + "code": "2669", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + }, + "request": { + "method": "PUT", + "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", + "resource": { + "resourceType": "MedicationRequest", + "id": "98deab99-5806-4bb3-8bce-36c7527df86a", + "identifier": [ + { + "value": "1422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, { - "code": "Titrate to BP less than 180" + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } } - ] + ], + "status": "active", + "authoredOn": "2022-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 4, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" + } + }, + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" }, - { - "coding": [ + "medicationReference": { + "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" + }, + "basedOn": [ { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" } - ] + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "coding": [ + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + "doseAndRate": [ + { + "doseQuantity": { + "value": 8, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "Test", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 2, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 160, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 3, + "boundsPeriod": { + "start": "2022-11-04T13:45:00+05:30", + "end": "2022-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat", + "supportingInformation": [ + { + "reference": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T10:30:00+02:15", - "end": "2019-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" } - ], - "priority": "stat" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:5806cafc-b4fc-77ec-2437-52970f5f4a98", - "resource": { - "resourceType": "Task", - "id": "5806cafc-b4fc-77ec-2437-52970f5f4a98", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "Task/5806cafc-b4fc-77ec-2437-52970f5f4a98" - } - }, - { - "fullUrl": "urn:uuid:7c3b2f36-f464-f008-892b-345dafbd5c6e", - "resource": { - "resourceType": "MedicationRequest", - "id": "7c3b2f36-f464-f008-892b-345dafbd5c6e", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 3 times daily.", - "text": "Remind the patient to schedule follow up appointment+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "INHAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IO", - "display": "Intraocular" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 60, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 2, - "boundsPeriod": { - "start": "2022-11-04T10:30:00+02:15", - "end": "2022-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" + { + "fullUrl": "urn:uuid:e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "resource": { + "resourceType": "ResearchStudy", + "id": "e7458b60-3e5c-b300-d784-8c4705a7c4d9", + "status": "active", + "identifier": [ + { + "value": "SSID-1", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "phase": { + "coding": [ + { + "code": "1", + "display": "Phase_ID1", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70396" + } + ] } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "ResearchStudy/e7458b60-3e5c-b300-d784-8c4705a7c4d9" } - ], - "priority": "stat" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - }, - { - "fullUrl": "urn:uuid:5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "resource": { - "resourceType": "Organization", - "id": "5a4aa537-6cc5-91c4-7f06-2753c44619b5", - "name": "FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" + { + "fullUrl": "urn:uuid:f3484f07-7a60-db29-1d1b-0577b0069e15", + "resource": { + "resourceType": "Task", + "id": "f3484f07-7a60-db29-1d1b-0577b0069e15", + "intent": "order", + "status": "requested", + "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", + "code": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/additional-task-code", + "code": "refill-authorization-request", + "display": "Pharmacy/Treatment Refill Authorization Request" + } + ], + "text": "Pharmacy/treatment refill authorization request" + }, + "focus": { + "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + }, + "for": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] + }, + "request": { + "method": "PUT", + "url": "Task/f3484f07-7a60-db29-1d1b-0577b0069e15" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/5a4aa537-6cc5-91c4-7f06-2753c44619b5" - } - }, - { - "fullUrl": "urn:uuid:124c2f28-0d27-86b5-6b74-f039f51f6830", - "resource": { - "resourceType": "Practitioner", - "id": "124c2f28-0d27-86b5-6b74-f039f51f6830", - "identifier": [ - { - "value": "1552" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } - }, - { - "fullUrl": "urn:uuid:87315732-187e-7965-60ae-330d707429dd", - "resource": { - "resourceType": "PractitionerRole", - "id": "87315732-187e-7965-60ae-330d707429dd", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "resource": { + "resourceType": "Account", + "id": "ce04b188-4d90-7a2a-faca-d5dc62ec53ca", + "identifier": [ + { + "value": "AI168", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS" + } + ], + "status": "active" + }, + "request": { + "method": "PUT", + "url": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" } - ], - "practitioner": { - "reference": "Practitioner/124c2f28-0d27-86b5-6b74-f039f51f6830" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - } - }, - { - "fullUrl": "urn:uuid:5620848f-1abd-a507-ac64-e045d7fb8a63", - "resource": { - "resourceType": "Organization", - "id": "5620848f-1abd-a507-ac64-e045d7fb8a63", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy", - "system": "http://example.com/v2-to-fhir-converter/Identifier/X" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/5620848f-1abd-a507-ac64-e045d7fb8a63" - } - }, - { - "fullUrl": "urn:uuid:bef0245d-479b-d766-6f14-a704bed9f117", - "resource": { - "resourceType": "Medication", - "id": "bef0245d-479b-d766-6f14-a704bed9f117", - "code": { - "coding": [ - { - "code": "01220200105", - "display": "250 mg capsule", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/GPI" - }, - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "D-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/bef0245d-479b-d766-6f14-a704bed9f117" - } - }, - { - "fullUrl": "urn:uuid:a33407df-9bcf-a6d4-94e5-da2022da4b64", - "resource": { - "resourceType": "Medication", - "id": "a33407df-9bcf-a6d4-94e5-da2022da4b64", - "code": { - "coding": [ - { - "code": "2669", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - } - }, - { - "fullUrl": "urn:uuid:98deab99-5806-4bb3-8bce-36c7527df86a", - "resource": { - "resourceType": "MedicationRequest", - "id": "98deab99-5806-4bb3-8bce-36c7527df86a", - "identifier": [ - { - "value": "1422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2022-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 4, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/87315732-187e-7965-60ae-330d707429dd" - }, - "medicationReference": { - "reference": "Medication/a33407df-9bcf-a6d4-94e5-da2022da4b64" - }, - "basedOn": [ - { - "reference": "MedicationRequest/7c3b2f36-f464-f008-892b-345dafbd5c6e" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 8, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:04416b40-122a-dff9-33f8-50643b805a97", + "resource": { + "resourceType": "ChargeItem", + "id": "04416b40-122a-dff9-33f8-50643b805a97", + "status": "unknown", + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "626.2" + } + ] + }, + "quantity": { + "value": 1 + }, + "priceOverride": { + "value": 120, + "currency": "USD" + }, + "reason": [ { - "code": "Titrate to BP less than 180" + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + }, + { + "reference": "Account/ce04b188-4d90-7a2a-faca-d5dc62ec53ca" + } + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ + { + "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + } + ], + "service": [ + { + "reference": "Procedure/bbd29a79-df0d-389c-829f-72843cc746e5", + "type": "Procedure" } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "Test", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } ] - }, - "sequence": 2, - "timing": { + }, + "request": { + "method": "PUT", + "url": "ChargeItem/04416b40-122a-dff9-33f8-50643b805a97" + } + }, + { + "fullUrl": "urn:uuid:6edf05ac-4023-ee6a-c529-e29ff94fbde6", + "resource": { + "resourceType": "Practitioner", + "id": "6edf05ac-4023-ee6a-c529-e29ff94fbde6" + }, + "request": { + "method": "PUT", + "url": "Practitioner/6edf05ac-4023-ee6a-c529-e29ff94fbde6" + } + }, + { + "fullUrl": "urn:uuid:bbd29a79-df0d-389c-829f-72843cc746e5", + "resource": { + "resourceType": "Procedure", + "id": "bbd29a79-df0d-389c-829f-72843cc746e5", "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 160, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 3, - "boundsPeriod": { - "start": "2022-11-04T10:30:00+02:15", - "end": "2022-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" + "coding": [ + { + "code": "99011", + "display": "first op visit" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "Procedure/bbd29a79-df0d-389c-829f-72843cc746e5" } - ], - "priority": "stat" - }, - "request": { - "method": "PUT", - "url": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" - } - }, - { - "fullUrl": "urn:uuid:f3484f07-7a60-db29-1d1b-0577b0069e15", - "resource": { - "resourceType": "Task", - "id": "f3484f07-7a60-db29-1d1b-0577b0069e15", - "intent": "order", - "status": "requested", - "description": "Task resource is created for RDE^O25 message to capture the intent that it is Refill Authorization Request message. Since this intent is not listed in MedicationRequest resource", - "code": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/task-type-code", - "code": "refill-authorization-request", - "display": "Pharmacy/treatment refill authorization request" - } - ], - "text": "Pharmacy/treatment refill authorization request" - }, - "focus": { - "reference": "MedicationRequest/98deab99-5806-4bb3-8bce-36c7527df86a" - }, - "for": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - "request": { - "method": "PUT", - "url": "Task/f3484f07-7a60-db29-1d1b-0577b0069e15" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json index 4c8dddd99..7372ada78 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-01-expected.json @@ -1,2892 +1,4446 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDS^O13^RDS_O13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "resource": { - "resourceType": "Provenance", - "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:58.748Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:39:49.567Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDS^O13^RDS_O13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + }, + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" }, - { - "url": "breed", - "valueCodeableConcept": { + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "location": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "resource": { + "resourceType": "Location", + "id": "b48de5a7-00ae-ea14-a5c7-e32e76717fff", + "partOf": { + "reference": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + }, + "name": "Eastlane", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + } + }, + { + "fullUrl": "urn:uuid:bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "resource": { + "resourceType": "Location", + "id": "bb00e49d-df4e-8e0c-4aa9-c565d9c8524f", + "partOf": { + "reference": "Location/b48de5a7-00ae-ea14-a5c7-e32e76717fff" + }, + "name": "OMU B", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + } + }, + { + "fullUrl": "urn:uuid:3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "resource": { + "resourceType": "Location", + "id": "3e6f3dce-b30a-40d4-0dc8-42d83bbffed3", + "partOf": { + "reference": "Location/bb00e49d-df4e-8e0c-4aa9-c565d9c8524f" + }, + "name": "Bed 03", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3e6f3dce-b30a-40d4-0dc8-42d83bbffed3" + } + }, + { + "fullUrl": "urn:uuid:4717178e-0563-2aed-80b6-e78cee78685f", + "resource": { + "resourceType": "Location", + "id": "4717178e-0563-2aed-80b6-e78cee78685f", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + } + }, + { + "fullUrl": "urn:uuid:9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "resource": { + "resourceType": "Location", + "id": "9eb3879e-ebae-13bc-a58c-bf1760bddd24", + "partOf": { + "reference": "Location/4717178e-0563-2aed-80b6-e78cee78685f" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + } + }, + { + "fullUrl": "urn:uuid:70844c90-e5c8-5d0c-bfe8-bc926c083487", + "resource": { + "resourceType": "Location", + "id": "70844c90-e5c8-5d0c-bfe8-bc926c083487", + "partOf": { + "reference": "Location/9eb3879e-ebae-13bc-a58c-bf1760bddd24" + }, + "name": "Floor5", + "mode": "instance", + "description": "Eastlane--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/70844c90-e5c8-5d0c-bfe8-bc926c083487" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine", + "supportingInformation": [ + { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + }, + { + "reference": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + }, + { + "reference": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:671cd07b-e021-ef1b-ff40-b60602db87b2", + "resource": { + "resourceType": "Organization", + "id": "671cd07b-e021-ef1b-ff40-b60602db87b2", + "name": "N Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + { + "fullUrl": "urn:uuid:aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "resource": { + "resourceType": "Location", + "id": "aa608b9b-e232-5f5e-c727-4bff6e5ef7a4", + "name": "Maryland street", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/671cd07b-e021-ef1b-ff40-b60602db87b2" + } + }, + "request": { + "method": "PUT", + "url": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + } + }, + { + "fullUrl": "urn:uuid:d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "resource": { + "resourceType": "Location", + "id": "d5dcfe22-4c1a-9945-1742-e774c40d7d65", + "partOf": { + "reference": "Location/aa608b9b-e232-5f5e-c727-4bff6e5ef7a4" + }, + "name": "136", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + } + }, + { + "fullUrl": "urn:uuid:b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "resource": { + "resourceType": "Location", + "id": "b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a", + "partOf": { + "reference": "Location/d5dcfe22-4c1a-9945-1742-e774c40d7d65" + }, + "name": "B", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b592d5c9-b0ac-fbc3-b10b-d5a5d50aed3a" + } + }, + { + "fullUrl": "urn:uuid:9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "resource": { + "resourceType": "Location", + "id": "9d09b184-f5c7-b84e-e9be-64dd4c9370f1", + "name": "CommunityHospital", + "mode": "instance", + "description": "Maryland street--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9d09b184-f5c7-b84e-e9be-64dd4c9370f1" + } + }, + { + "fullUrl": "urn:uuid:e7598f04-7119-f7a0-b0b7-c788548f491a", + "resource": { + "resourceType": "Device", + "id": "e7598f04-7119-f7a0-b0b7-c788548f491a", + "identifier": [ + { + "value": "PDORC-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/e7598f04-7119-f7a0-b0b7-c788548f491a" + } + }, + { + "fullUrl": "urn:uuid:1b232964-2b1d-a517-7d84-56e759ed0429", + "resource": { + "resourceType": "PractitionerRole", + "id": "1b232964-2b1d-a517-7d84-56e759ed0429", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1b232964-2b1d-a517-7d84-56e759ed0429" + } + }, + { + "fullUrl": "urn:uuid:6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "resource": { + "resourceType": "Practitioner", + "id": "6a9b1747-4ada-4ce5-e4cf-948106bcdef3", + "identifier": [ + { + "value": "58" + } + ], + "name": [ + { + "family": "Jackson" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6a9b1747-4ada-4ce5-e4cf-948106bcdef3" + } + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + }, + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + } + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" + } + }, + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" + } + }, + { + "fullUrl": "urn:uuid:9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "resource": { + "resourceType": "Organization", + "id": "9a62bcb3-1a0e-c4f0-929e-262e5b715edd", + "name": "Mayo Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/9a62bcb3-1a0e-c4f0-929e-262e5b715edd" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine", + "supportingInformation": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" + }, + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } + }, + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + } + }, + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + } + }, + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" + } + }, + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + }, + { + "maxDosePerPeriod": { + "numerator": { + "value": 100, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "O" + } + } + } + ], + "supportingInformation": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + ] + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } + }, + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "resource": { + "resourceType": "Observation", + "id": "a4167c6e-3a1a-c4ef-afd5-db48bca51de1", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "basedOn": [ + { + "reference": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "160" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "120" + } + ] + }, + "referenceRange": [ + { + "text": "100-120" + } + ] + } + ], + "effectiveDateTime": "1999-08-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/a4167c6e-3a1a-c4ef-afd5-db48bca51de1" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:34581a2c-e458-f879-0f49-09c801d2b493", + "resource": { + "resourceType": "Organization", + "id": "34581a2c-e458-f879-0f49-09c801d2b493", + "name": "Healthcare Centre" + }, + "request": { + "method": "PUT", + "url": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + { + "fullUrl": "urn:uuid:e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "resource": { + "resourceType": "Location", + "id": "e11b0549-fa7d-c857-0a6c-ca22a55d7935", + "name": "Lane 4", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/34581a2c-e458-f879-0f49-09c801d2b493" + } + }, + "request": { + "method": "PUT", + "url": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + { + "fullUrl": "urn:uuid:82384359-d1f7-86c1-9469-aeba9eb379e5", + "resource": { + "resourceType": "Location", + "id": "82384359-d1f7-86c1-9469-aeba9eb379e5", + "partOf": { + "reference": "Location/e11b0549-fa7d-c857-0a6c-ca22a55d7935" + }, + "name": "136", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + } + }, + { + "fullUrl": "urn:uuid:0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "resource": { + "resourceType": "Location", + "id": "0019add7-1ccd-0b5a-24b7-aee0be6790dd", + "partOf": { + "reference": "Location/82384359-d1f7-86c1-9469-aeba9eb379e5" + }, + "name": "B", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/0019add7-1ccd-0b5a-24b7-aee0be6790dd" + } + }, + { + "fullUrl": "urn:uuid:8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "resource": { + "resourceType": "Location", + "id": "8c3f5369-ec0a-1da3-db69-98462e5c3a09", + "name": "CommunityHospital", + "mode": "instance", + "description": "Lane 4--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/8c3f5369-ec0a-1da3-db69-98462e5c3a09" + } + }, + { + "fullUrl": "urn:uuid:efc256b2-6f47-d905-3279-bea236bf89bf", + "resource": { + "resourceType": "ChargeItem", + "id": "efc256b2-6f47-d905-3279-bea236bf89bf", + "status": "unknown", + "identifier": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "TID", + "display": "ChargeItem Transaction ID" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "occurrenceDateTime": "2019-11-22", + "enteredDate": "2019-11-22", + "code": { + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "quantity": { + "value": 2 + }, + "priceOverride": { + "value": 100, + "currency": "USD" + }, + "reason": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "29857009", + "display": "Chest pain", + "system": "http://snomed.info/sct" + } + ] + }, + { + "coding": [ + { + "code": "68235000", + "display": "Nasal congestion", + "system": "http://snomed.info/sct" + } + ] } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "account": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "supportingInformation": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "resource": { - "resourceType": "MedicationRequest", - "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1, - "performer": { - "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseRange": { - "low": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "high": { - "value": 2, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "tab" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ + ], + "costCenter": { + "reference": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" + } + } + ], + "enterer": { + "reference": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + }, + "service": [ + { + "reference": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b", + "type": "Procedure" + }, { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "reference": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "type": "MedicationDispense" } - ] + ], + "performingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + }, + "requestingOrganization": { + "reference": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } + "productReference": { + "reference": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" } - } + }, + "request": { + "method": "PUT", + "url": "ChargeItem/efc256b2-6f47-d905-3279-bea236bf89bf" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] + { + "fullUrl": "urn:uuid:4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "resource": { + "resourceType": "Organization", + "id": "4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b", + "identifier": [ + { + "value": "RAD-1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Radiology Deptt" + }, + "request": { + "method": "PUT", + "url": "Organization/4082dc60-f9b6-5d4a-1ef2-5a40f7454e4b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" - } - ] + { + "fullUrl": "urn:uuid:3ec3c243-2f18-287a-4275-a062f0131a03", + "resource": { + "resourceType": "Practitioner", + "id": "3ec3c243-2f18-287a-4275-a062f0131a03", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3ec3c243-2f18-287a-4275-a062f0131a03" } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", - "resource": { - "resourceType": "Organization", - "id": "b406d79a-60db-a776-64f2-2112eb3404da", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - { - "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "resource": { - "resourceType": "Medication", - "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - } - }, - { - "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "resource": { - "resourceType": "Medication", - "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - }, - { - "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", - "resource": { - "resourceType": "Medication", - "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - } - }, - { - "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "resource": { - "resourceType": "MedicationRequest", - "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN12345", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1 - }, - "reasonCode": [ - { - "coding": [ - { - "code": "3355" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - }, - "basedOn": [ - { - "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } + { + "fullUrl": "urn:uuid:e43414a7-79a4-70bb-e4d0-245f330edfa6", + "resource": { + "resourceType": "Practitioner", + "id": "e43414a7-79a4-70bb-e4d0-245f330edfa6", + "identifier": [ + { + "value": "9941339116", + "system": "urn:oid:2.16.840.1.113883.4.6", + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Mellie", + "given": [ + "John" + ] + } ] - }, - "sequence": 1, - "timing": { + }, + "request": { + "method": "PUT", + "url": "Practitioner/e43414a7-79a4-70bb-e4d0-245f330edfa6" + } + }, + { + "fullUrl": "urn:uuid:fed47417-6454-131d-8879-aed8cafcc78b", + "resource": { + "resourceType": "Procedure", + "id": "fed47417-6454-131d-8879-aed8cafcc78b", "code": { - "coding": [ + "coding": [ + { + "code": "71045", + "display": "Xray exam chest 1 view", + "system": "http://www.ama-assn.org/go/cpt" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/fed47417-6454-131d-8879-aed8cafcc78b" + } + }, + { + "fullUrl": "urn:uuid:2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "resource": { + "resourceType": "MedicationDispense", + "id": "2547c20b-a2b7-58ce-3f14-b40573fa7e83", + "quantity": { + "value": 5, + "unit": "Capsule" + }, + "authorizingPrescription": [ { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "identifier": { + "value": "PN-12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + } + }, + "type": "MedicationRequest" } - ] + ], + "status": "unknown", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } + "medicationCodeableConcept": { + "coding": [ + { + "code": "0182-1061-05", + "display": "ASPIRIN EC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] } - } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/2547c20b-a2b7-58ce-3f14-b40573fa7e83" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" - } - }, - { - "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "resource": { - "resourceType": "PractitionerRole", - "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - } - }, - { - "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "resource": { - "resourceType": "Medication", - "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - }, - { - "code": "418739006", - "display": "Doxycycline 150 mg oral tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385055001", - "display": "Tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - } - }, - { - "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "resource": { - "resourceType": "MedicationDispense", - "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Tablet" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ] - } }, - { - "maxDosePerPeriod": { - "numerator": { - "value": 100, - "unit": "mg" - }, - "denominator": { - "value": 1, - "unit": "O" - } - } + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" } - ] }, - "request": { - "method": "PUT", - "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:379abbe1-0596-62f8-5218-4f988127cd70", + "resource": { + "resourceType": "Organization", + "id": "379abbe1-0596-62f8-5218-4f988127cd70", + "name": "GOOD HEALTH HOSPITAL", + "identifier": [ + { + "value": "123456789" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/379abbe1-0596-62f8-5218-4f988127cd70" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:00+02:15", - "end": "2020-01-15T16:00:00+02:15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "resource": { - "resourceType": "Location", - "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "identifier": [ - { - "value": "UNITY", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "Unity", - "address": { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - }, - "request": { - "method": "PUT", - "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + { + "fullUrl": "urn:uuid:2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "resource": { + "resourceType": "Device", + "id": "2676707e-6e0a-3a9d-9b51-1b035b7f5f1f", + "identifier": [ + { + "value": "Item-12345", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "modelNumber": "Model-12345", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "Device/2676707e-6e0a-3a9d-9b51-1b035b7f5f1f" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json index 1f4c7bf97..25c484ce6 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/RDS_O13/RDS-O13-02-expected.json @@ -1,3648 +1,3647 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "O13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "RDS^O13^RDS_O13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "resource": { - "resourceType": "Provenance", - "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:45.121Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } - ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "RDS^O13^RDS_O13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" - } - ] - }, - "request": { - "method": "PUT", - "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "O13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "RDS^O13^RDS_O13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" + } + }, + { + "fullUrl": "urn:uuid:7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "resource": { + "resourceType": "Provenance", + "id": "7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:40:22.812Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: RDS_O13.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "RDS^O13^RDS_O13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Provenance/7ef3ede5-7daf-eba5-9d3a-c0f3a068af0a" } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W" - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } - ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2135-2", - "display": "Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } - ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W" + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } ], - "text": "Inportant Person" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2135-2", + "display": "Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ] - }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" - } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + } + }, + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" + } + }, + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" + } + }, + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" + } + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" + } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "IMP", - "display": "inpatient encounter", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + } + }, + { + "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "resource": { + "resourceType": "MedicationRequest", + "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1, + "performer": { + "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "high": { + "value": 2, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "tab" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + }, + { + "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "resource": { + "resourceType": "Organization", + "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", + "name": "LAKE FOREST HOSPITAL IP", + "address": [ + { + "line": [ + "1000 N WESTMORELAND RD" + ], + "city": "LAKE FOREST", + "state": "IL", + "postalCode": "60045-1659" + } + ], + "contact": [ + { + "telecom": [ + { + "value": "(847)234-5600", + "use": "work", + "system": "phone" + } + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" + } + }, + { + "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", + "resource": { + "resourceType": "Practitioner", + "id": "8283d3b2-3478-7700-f270-11b6b0545784", + "identifier": [ + { + "value": "OP-14" + } + ], + "name": [ + { + "family": "Jane", + "given": [ + "Warn" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + } + }, + { + "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", + "resource": { + "resourceType": "PractitionerRole", + "id": "3eb1c646-4698-e14e-21de-296de85f665a", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + } + }, + { + "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", + "resource": { + "resourceType": "Practitioner", + "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", + "identifier": [ + { + "value": "1542" + } + ], + "name": [ + { + "family": "Mr. Yardy" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + }, + "request": { + "method": "PUT", + "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" + } + }, + { + "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", + "resource": { + "resourceType": "PractitionerRole", + "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", + "code": [ + { + "coding": [ + { + "code": "IP", + "display": "Initiating Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] - }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + } + }, + { + "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", + "resource": { + "resourceType": "Organization", + "id": "b406d79a-60db-a776-64f2-2112eb3404da", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" + } + }, + { + "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "resource": { + "resourceType": "Medication", + "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" + } + }, + { + "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "resource": { + "resourceType": "Medication", + "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "denominator": { + "value": 1 + } + } + }, + "request": { + "method": "PUT", + "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + }, + { + "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", + "resource": { + "resourceType": "Medication", + "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "ingredient": [ + { + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + } + }, + { + "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "resource": { + "resourceType": "MedicationRequest", + "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "PN12345", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] + } + }, + "dispenseRequest": { + "quantity": { + "value": 6, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "numberOfRepeatsAllowed": 1 + }, + "reasonCode": [ + { + "coding": [ + { + "code": "3355" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" + }, + "basedOn": [ + { + "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "TID", + "display": "three times a day at institution-specified times", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" + } + }, + { + "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "resource": { + "resourceType": "PractitionerRole", + "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" + } + }, + { + "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "resource": { + "resourceType": "Medication", + "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", + "code": { + "coding": [ + { + "code": "01151327", + "display": "Doxycycline", + "system": "http://hl7.org/fhir/sid/ndc" + }, + { + "code": "418739006", + "display": "Doxycycline 150 mg oral tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385055001", + "display": "Tablet", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "itemReference": { + "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + } + }, + { + "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "resource": { + "resourceType": "MedicationDispense", + "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385055001", + "unit": "Tablet", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "note": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "text": "After Food" } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "performer": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "actor": { + "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "resource": { - "resourceType": "MedicationRequest", - "id": "fe3ab6c9-0823-aa36-c4ce-39bd8212313f", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1, - "performer": { - "reference": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseRange": { - "low": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "high": { - "value": 2, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", + "type": { + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Tablet" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "PO", + "display": "oral", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } } - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient to schedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "tab" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" + } + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - }, - { - "fullUrl": "urn:uuid:fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "resource": { - "resourceType": "Organization", - "id": "fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b", - "name": "LAKE FOREST HOSPITAL IP", - "address": [ - { - "line": [ - "1000 N WESTMORELAND RD" - ], - "city": "LAKE FOREST", - "state": "IL", - "postalCode": "60045-1659" - } - ], - "contact": [ - { - "telecom": [ - { - "value": "(847)234-5600", - "use": "work", - "system": "phone" - } - ] + { + "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "resource": { + "resourceType": "Practitioner", + "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", + "identifier": [ + { + "value": "9941339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - { - "fullUrl": "urn:uuid:8283d3b2-3478-7700-f270-11b6b0545784", - "resource": { - "resourceType": "Practitioner", - "id": "8283d3b2-3478-7700-f270-11b6b0545784", - "identifier": [ - { - "value": "OP-14" - } - ], - "name": [ - { - "family": "Jane", - "given": [ - "Warn" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - } - }, - { - "fullUrl": "urn:uuid:3eb1c646-4698-e14e-21de-296de85f665a", - "resource": { - "resourceType": "PractitionerRole", - "id": "3eb1c646-4698-e14e-21de-296de85f665a", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" - } - ] - } - ], - "practitioner": { - "reference": "Practitioner/8283d3b2-3478-7700-f270-11b6b0545784" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - } - }, - { - "fullUrl": "urn:uuid:ab822316-53e2-f3d1-770d-1054e980cdf2", - "resource": { - "resourceType": "Practitioner", - "id": "ab822316-53e2-f3d1-770d-1054e980cdf2", - "identifier": [ - { - "value": "1542" - } - ], - "name": [ - { - "family": "Mr. Yardy" - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } - }, - { - "fullUrl": "urn:uuid:70760c64-049f-8c58-3d01-45c1b7b23b26", - "resource": { - "resourceType": "PractitionerRole", - "id": "70760c64-049f-8c58-3d01-45c1b7b23b26", - "code": [ - { - "coding": [ - { - "code": "action-by", - "display": "Action by", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "resource": { + "resourceType": "Location", + "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", + "identifier": [ + { + "value": "UNITY", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "Unity", + "address": { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" } - ] + }, + "request": { + "method": "PUT", + "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" } - ], - "practitioner": { - "reference": "Practitioner/ab822316-53e2-f3d1-770d-1054e980cdf2" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - } - }, - { - "fullUrl": "urn:uuid:b406d79a-60db-a776-64f2-2112eb3404da", - "resource": { - "resourceType": "Organization", - "id": "b406d79a-60db-a776-64f2-2112eb3404da", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/b406d79a-60db-a776-64f2-2112eb3404da" - } - }, - { - "fullUrl": "urn:uuid:334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "resource": { - "resourceType": "Medication", - "id": "334166c1-5fa9-1b5f-3e2a-91f7ece74623", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/334166c1-5fa9-1b5f-3e2a-91f7ece74623" - } - }, - { - "fullUrl": "urn:uuid:8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "resource": { - "resourceType": "Medication", - "id": "8ffea737-622d-d6c2-a4fd-4f7f3572b205", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - }, - { - "fullUrl": "urn:uuid:dfd1eca5-b169-4810-91e3-740ed6816f96", - "resource": { - "resourceType": "Medication", - "id": "dfd1eca5-b169-4810-91e3-740ed6816f96", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - } - }, - { - "fullUrl": "urn:uuid:64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "resource": { - "resourceType": "MedicationRequest", - "id": "64ef35d7-b2c7-855b-7178-b890ea66c8e9", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN12345", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 6, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "numberOfRepeatsAllowed": 1 - }, - "reasonCode": [ - { - "coding": [ - { - "code": "3355" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/dfd1eca5-b169-4810-91e3-740ed6816f96" - }, - "basedOn": [ - { - "reference": "MedicationRequest/fe3ab6c9-0823-aa36-c4ce-39bd8212313f" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 1, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } - ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ + { + "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "resource": { + "resourceType": "MedicationRequest", + "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", + "identifier": [ { - "code": "TID", - "display": "three times a day at institution-specified times", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "original-order", + "substitution": { + "allowedCodeableConcept": { + "coding": [ + { + "code": "G", + "system": "http://terminology.hl7.org/CodeSystem/v2-0161" + } + ] } - ] }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } - } - } + "dispenseRequest": { + "quantity": { + "value": 10, + "unit": "capsule" + }, + "numberOfRepeatsAllowed": 12, + "dispenseInterval": { + "value": 5, + "code": "d", + "system": "http://unitsofmeasure.org", + "unit": "days" + }, + "performer": { + "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" + } + }, + "reasonCode": [ + { + "coding": [ + { + "code": "mg" + } + ] + } + ], + "requester": { + "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "medicationReference": { + "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" + }, + "dosageInstruction": [ + { + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "capsule" + }, + "rateQuantity": { + "value": 25, + "unit": "$" + } + } + ], + "patientInstruction": "1 tablet by oral route 2 times daily.", + "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", + "maxDosePerPeriod": { + "numerator": { + "value": 2, + "unit": "cap" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "TESTI", + "display": "Testicle(Testis)" + } + ] + }, + "route": { + "coding": [ + { + "code": "IP", + "display": "Intraperitoneal" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "boundsDuration": { + "value": 3, + "unit": "day", + "code": "D", + "system": "http://unitsofmeasure.org" + } + } + } + } + ], + "priority": "routine" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/64ef35d7-b2c7-855b-7178-b890ea66c8e9" - } - }, - { - "fullUrl": "urn:uuid:5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "resource": { - "resourceType": "PractitionerRole", - "id": "5ba8a300-2a55-32d3-bd87-01c3df75fadd", - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/5ba8a300-2a55-32d3-bd87-01c3df75fadd" - } - }, - { - "fullUrl": "urn:uuid:279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "resource": { - "resourceType": "Medication", - "id": "279c879b-ee3d-e0b0-ca66-92891aa0d9e3", - "code": { - "coding": [ - { - "code": "01151327", - "display": "Doxycycline", - "system": "http://hl7.org/fhir/sid/ndc" - }, - { - "code": "418739006", - "display": "Doxycycline 150 mg oral tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385055001", - "display": "Tablet", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "itemReference": { - "reference": "Medication/8ffea737-622d-d6c2-a4fd-4f7f3572b205" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - } - }, - { - "fullUrl": "urn:uuid:000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "resource": { - "resourceType": "MedicationDispense", - "id": "000900d3-0cd4-c0be-76d3-63f5ee51ba00", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, - "code": "385055001", - "unit": "Tablet", - "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", - "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/279c879b-ee3d-e0b0-ca66-92891aa0d9e3" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Tablet" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "PO", - "display": "oral", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } + { + "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", + "resource": { + "resourceType": "Organization", + "id": "55136227-c2c7-63df-ae4a-254cb055c40f", + "identifier": [ + { + "value": "Health Care Dispense Pharmacy" + } + ], + "name": "Dispense", + "address": [ + { + "line": [ + "Maryland Heights", + "Keysville" + ] + } + ], + "telecom": [ + { + "value": "8765935243", + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" } - ] }, - "request": { - "method": "PUT", - "url": "MedicationDispense/000900d3-0cd4-c0be-76d3-63f5ee51ba00" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "resource": { + "resourceType": "Medication", + "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", + "code": { + "coding": [ + { + "code": "00047040230", + "display": "Ampicillin 250 mg caps", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "form": { + "coding": [ + { + "code": "DF-5", + "display": "Dosage Form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 4, + "unit": "mg/hr" + } + }, + "itemReference": { + "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "resource": { - "resourceType": "Practitioner", - "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a", - "identifier": [ - { - "value": "9941339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:00+02:15", - "end": "2020-01-15T16:00:00+02:15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a" - } - }, - { - "fullUrl": "urn:uuid:896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "resource": { - "resourceType": "Location", - "id": "896d6f84-3737-b1f5-a6e2-2eb84bb9b098", - "identifier": [ - { - "value": "UNITY", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "Unity", - "address": { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - }, - "request": { - "method": "PUT", - "url": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - } - }, - { - "fullUrl": "urn:uuid:1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "resource": { - "resourceType": "MedicationRequest", - "id": "1dbb1f11-fb42-d773-10ed-907a2d3caa08", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "original-order", - "substitution": { - "allowedCodeableConcept": { - "coding": [ - { - "code": "G", - "system": "http://terminology.hl7.org/CodeSystem/v2-0161" - } - ] - } - }, - "dispenseRequest": { - "quantity": { - "value": 10, - "unit": "capsule" - }, - "numberOfRepeatsAllowed": 12, - "dispenseInterval": { - "value": 5, - "code": "d", - "system": "http://unitsofmeasure.org", - "unit": "days" - }, - "performer": { - "reference": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - "reasonCode": [ - { - "coding": [ - { - "code": "mg" - } - ] - } - ], - "requester": { - "reference": "PractitionerRole/3eb1c646-4698-e14e-21de-296de85f665a" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "medicationReference": { - "reference": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 2, - "unit": "capsule" - }, - "rateQuantity": { - "value": 25, - "unit": "$" - } - } - ], - "patientInstruction": "1 tablet by oral route 2 times daily.", - "text": "Remind the patient toschedule follow up appointment with the provider.+Its a condition text", - "maxDosePerPeriod": { - "numerator": { - "value": 2, - "unit": "cap" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "TESTI", - "display": "Testicle(Testis)" - } - ] - }, - "route": { - "coding": [ - { - "code": "IP", - "display": "Intraperitoneal" - } - ] - }, - "sequence": 1, - "timing": { + { + "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", + "resource": { + "resourceType": "Medication", + "id": "6170b7bd-a175-35d6-a819-f98a80830833", "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] }, - "repeat": { - "boundsDuration": { - "value": 3, - "unit": "day", - "code": "D", - "system": "http://unitsofmeasure.org" - } + "amount": { + "numerator": { + "value": 3, + "code": "BG", + "unit": "Bag", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + "denominator": { + "value": 1 + } } - } + }, + "request": { + "method": "PUT", + "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" } - ], - "priority": "routine" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - }, - { - "fullUrl": "urn:uuid:55136227-c2c7-63df-ae4a-254cb055c40f", - "resource": { - "resourceType": "Organization", - "id": "55136227-c2c7-63df-ae4a-254cb055c40f", - "identifier": [ - { - "value": "Health Care Dispense Pharmacy" - } - ], - "name": "Dispense", - "address": [ - { - "line": [ - "Maryland Heights", - "Keysville" - ] - } - ], - "telecom": [ - { - "value": "8765935243", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/55136227-c2c7-63df-ae4a-254cb055c40f" - } - }, - { - "fullUrl": "urn:uuid:552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "resource": { - "resourceType": "Medication", - "id": "552d0ca0-bf5a-72bb-5081-ba69a45630cf", - "code": { - "coding": [ - { - "code": "00047040230", - "display": "Ampicillin 250 mg caps", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "form": { - "coding": [ - { - "code": "DF-5", - "display": "Dosage Form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 4, - "unit": "mg/hr" - } - }, - "itemReference": { - "reference": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } + { + "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "resource": { + "resourceType": "Medication", + "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ], + "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" + }, + "form": { + "coding": [ + { + "code": "128", + "display": "Dosage form", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/552d0ca0-bf5a-72bb-5081-ba69a45630cf" - } - }, - { - "fullUrl": "urn:uuid:6170b7bd-a175-35d6-a819-f98a80830833", - "resource": { - "resourceType": "Medication", - "id": "6170b7bd-a175-35d6-a819-f98a80830833", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 3, - "code": "BG", - "unit": "Bag", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/6170b7bd-a175-35d6-a819-f98a80830833" - } - }, - { - "fullUrl": "urn:uuid:f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "resource": { - "resourceType": "Medication", - "id": "f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG : NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ], - "text": "niCARdipine (CARDENE) in NaCl IV infusion 40 mg/200 mL (0.2 mg/mL)" - }, - "form": { - "coding": [ - { - "code": "128", - "display": "Dosage form", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 - } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + { + "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", + "resource": { + "resourceType": "Organization", + "id": "c8157e48-d519-6f15-20bb-50407d361fcc", + "identifier": [ + { + "value": "LF_CPM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "name": "LFH CPM CAROUSEL PHARMACY", + "address": [ + { + "line": [ + "Filbert Street", + "Oaks Drive" + ] + } + ], + "telecom": [ + { + "value": "8256487985", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - } - }, - { - "fullUrl": "urn:uuid:c8157e48-d519-6f15-20bb-50407d361fcc", - "resource": { - "resourceType": "Organization", - "id": "c8157e48-d519-6f15-20bb-50407d361fcc", - "identifier": [ - { - "value": "LF_CPM", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - } - ], - "name": "LFH CPM CAROUSEL PHARMACY", - "address": [ - { - "line": [ - "Filbert Street", - "Oaks Drive" - ] - } - ], - "telecom": [ - { - "value": "8256487985", - "system": "phone" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - { - "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", - "resource": { - "resourceType": "MedicationRequest", - "id": "3b50863f-db50-f2bb-1363-647ac32cf021", - "identifier": [ - { - "value": "1163422591", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-EPC", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "PN15", - "system": "http://example.com/v2-to-fhir-converter/Identifier/L", - "type": { - "coding": [ - { - "code": "PRN", - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "display": "Prescription Number" - } - ] - } - } - ], - "status": "active", - "authoredOn": "2019-11-04T06:27:26+02:15", - "intent": "filler-order", - "dispenseRequest": { - "quantity": { - "value": 3, - "unit": "Bag" - }, - "initialFill": { - "quantity": { - "value": 39, - "unit": "Bag" - } - }, - "numberOfRepeatsAllowed": 12, - "performer": { - "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" - } - }, - "requester": { - "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - }, - "recorder": { - "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" - }, - "medicationReference": { - "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" - }, - "basedOn": [ - { - "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "doseAndRate": [ - { - "doseQuantity": { - "value": 5, - "unit": "mg/hr" - }, - "rateQuantity": { - "value": 23, - "unit": "mL/hr" - } - } - ], - "additionalInstruction": [ - { - "coding": [ + { + "fullUrl": "urn:uuid:3b50863f-db50-f2bb-1363-647ac32cf021", + "resource": { + "resourceType": "MedicationRequest", + "id": "3b50863f-db50-f2bb-1363-647ac32cf021", + "identifier": [ + { + "value": "1163422591", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPC", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, { - "code": "Titrate to BP less than 180" + "value": "PN15", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PRN", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "display": "Prescription Number" + } + ] + } + } + ], + "status": "active", + "authoredOn": "2019-11-04T09:42:26+05:30", + "intent": "filler-order", + "dispenseRequest": { + "quantity": { + "value": 3, + "unit": "Bag" + }, + "initialFill": { + "quantity": { + "value": 39, + "unit": "Bag" + } + }, + "numberOfRepeatsAllowed": 12, + "performer": { + "reference": "Organization/c8157e48-d519-6f15-20bb-50407d361fcc" } - ] }, - { - "coding": [ + "requester": { + "reference": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + }, + "recorder": { + "reference": "PractitionerRole/70760c64-049f-8c58-3d01-45c1b7b23b26" + }, + "medicationReference": { + "reference": "Medication/f24b7e3a-9e87-7fb9-bceb-e849d0a1fb10" + }, + "basedOn": [ { - "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + "reference": "MedicationRequest/1dbb1f11-fb42-d773-10ed-907a2d3caa08" } - ] + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" }, - { - "coding": [ + "dosageInstruction": [ { - "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg/hr" + }, + "rateQuantity": { + "value": 23, + "unit": "mL/hr" + } + } + ], + "additionalInstruction": [ + { + "coding": [ + { + "code": "Titrate to BP less than 180" + } + ] + }, + { + "coding": [ + { + "code": "Starting dose is 5 mg/hr. Titrate by 2.5 mg/hr increments every 5 minutes as needed to a maximum dose of 15 mg/hr. Call Physician if ineffective." + } + ] + }, + { + "coding": [ + { + "code": "Nicardipine is light sensitivie. Store in carton/overwrap until ready to use." + } + ] + } + ], + "text": "+Text instruction latest", + "maxDosePerPeriod": { + "numerator": { + "value": 19 + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "site": { + "coding": [ + { + "code": "HAND", + "display": "HAND" + } + ] + }, + "route": { + "coding": [ + { + "code": "IV", + "display": "Intravenous" + } + ] + }, + "sequence": 1, + "timing": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 180, + "periodUnit": "min", + "when": [ + "PCM" + ], + "offset": 6, + "boundsPeriod": { + "start": "2019-11-04T13:45:00+05:30", + "end": "2019-11-04T14:45:00+05:30" + }, + "count": 2, + "duration": 1, + "durationUnit": "a" + } + }, + "asNeededCodeableConcept": { + "text": "Its a condition text" + } + } + ], + "priority": "stat" + }, + "request": { + "method": "PUT", + "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" + } + }, + { + "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", + "resource": { + "resourceType": "Practitioner", + "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", + "name": [ + { + "family": "TEST ONE", + "given": [ + "KEITH", + "BELL" + ] } - ] - } - ], - "text": "+Text instruction latest", - "maxDosePerPeriod": { - "numerator": { - "value": 19 - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "site": { - "coding": [ - { - "code": "HAND", - "display": "HAND" - } - ] - }, - "route": { - "coding": [ - { - "code": "IV", - "display": "Intravenous" - } ] - }, - "sequence": 1, - "timing": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" - } - ] - }, - "repeat": { - "period": 180, - "periodUnit": "min", - "when": [ - "PCM" - ], - "offset": 6, - "boundsPeriod": { - "start": "2019-11-04T10:30:00+02:15", - "end": "2019-11-04T11:30:00+02:15" - }, - "count": 2, - "duration": 1, - "durationUnit": "a" - } - }, - "asNeededCodeableConcept": { - "text": "Its a condition text" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" } - ], - "priority": "stat" }, - "request": { - "method": "PUT", - "url": "MedicationRequest/3b50863f-db50-f2bb-1363-647ac32cf021" - } - }, - { - "fullUrl": "urn:uuid:638574f1-317e-62ce-6d88-f82d87d5f4f8", - "resource": { - "resourceType": "Practitioner", - "id": "638574f1-317e-62ce-6d88-f82d87d5f4f8", - "name": [ - { - "family": "TEST ONE", - "given": [ - "KEITH", - "BELL" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - } - }, - { - "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "resource": { - "resourceType": "PractitionerRole", - "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PractitionerRole", - "display": "Ordering Provider" + { + "fullUrl": "urn:uuid:03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "resource": { + "resourceType": "PractitionerRole", + "id": "03fa7a7b-85d6-1441-9daf-e98ac7796dd2", + "code": [ + { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" + }, + "organization": { + "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/638574f1-317e-62ce-6d88-f82d87d5f4f8" - }, - "organization": { - "reference": "Organization/fd9422ea-c777-5e23-c4a1-f4cd7ac2c00b" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" - } - }, - { - "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "resource": { - "resourceType": "Medication", - "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", - "code": { - "coding": [ - { - "code": "0143963401", - "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "amount": { - "numerator": { - "value": 4, - "unit": "Bag" - }, - "denominator": { - "value": 1 - } - } - }, - "request": { - "method": "PUT", - "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } - }, - { - "fullUrl": "urn:uuid:e13b21dc-37ff-acf6-0e4e-a4744d3299a0", - "resource": { - "resourceType": "Medication", - "id": "e13b21dc-37ff-acf6-0e4e-a4744d3299a0", - "code": { - "coding": [ - { - "code": "308191", - "display": "amoxicillin 500 MG Oral Capsule", - "system": "http://www.nlm.nih.gov/research/umls/rxnorm" - }, - { - "code": "323510009", - "display": "Amoxicillin 500 mg oral capsule", - "system": "http://snomed.info/sct" - } - ] - }, - "form": { - "coding": [ - { - "code": "385049006", - "display": "Capsule", - "system": "http://snomed.info/sct" - } - ] - }, - "ingredient": [ - { - "strength": { - "numerator": { - "value": 5, - "unit": "mg/hr" - }, - "denominator": { - "value": 1 + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/03fa7a7b-85d6-1441-9daf-e98ac7796dd2" + } + }, + { + "fullUrl": "urn:uuid:0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "resource": { + "resourceType": "Medication", + "id": "0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67", + "code": { + "coding": [ + { + "code": "0143963401", + "display": "200 ML BAG NICARDIPINE IN NACL (ISO-OS) 40 MG/200 ML IV PGBK", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "amount": { + "numerator": { + "value": 4, + "unit": "Bag" + }, + "denominator": { + "value": 1 + } } - }, - "itemReference": { - "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" - } + }, + "request": { + "method": "PUT", + "url": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" } - ] }, - "request": { - "method": "PUT", - "url": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" - } - }, - { - "fullUrl": "urn:uuid:0cd1106d-1307-4f0c-1ef7-0a35165bdbed", - "resource": { - "resourceType": "MedicationDispense", - "id": "0cd1106d-1307-4f0c-1ef7-0a35165bdbed", - "whenHandedOver": "2020-12-12", - "quantity": { - "value": 10, - "code": "385049006", - "unit": "Capsule", - "system": "http://snomed.info/sct" - }, - "authorizingPrescription": [ - { - "identifier": { - "value": "PN12345", + { + "fullUrl": "urn:uuid:e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "resource": { + "resourceType": "Medication", + "id": "e13b21dc-37ff-acf6-0e4e-a4744d3299a0", + "code": { + "coding": [ + { + "code": "308191", + "display": "amoxicillin 500 MG Oral Capsule", + "system": "http://www.nlm.nih.gov/research/umls/rxnorm" + }, + { + "code": "323510009", + "display": "Amoxicillin 500 mg oral capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "form": { + "coding": [ + { + "code": "385049006", + "display": "Capsule", + "system": "http://snomed.info/sct" + } + ] + }, + "ingredient": [ + { + "strength": { + "numerator": { + "value": 5, + "unit": "mg/hr" + }, + "denominator": { + "value": 1 + } + }, + "itemReference": { + "reference": "Medication/0085ec88-8165-d2c0-a7ff-e3f0fd8c4a67" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + } + }, + { + "fullUrl": "urn:uuid:0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "resource": { + "resourceType": "MedicationDispense", + "id": "0cd1106d-1307-4f0c-1ef7-0a35165bdbed", + "whenHandedOver": "2020-12-12", + "quantity": { + "value": 10, + "code": "385049006", + "unit": "Capsule", + "system": "http://snomed.info/sct" + }, + "authorizingPrescription": [ + { + "identifier": { + "value": "PN12345", + "type": { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/identifier-type-code", + "code": "PRN", + "display": "Prescription Number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + "type": "MedicationRequest" + } + ], + "note": [ + { + "text": "After Food" + } + ], + "performer": [ + { + "actor": { + "reference": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } + } + ], + "location": { + "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" + }, + "status": "unknown", "type": { - "coding": [ - { - "system": "http://example.com/v2-to-fhir-converter/identifier-type-code", - "code": "PRN", - "display": "Prescription Number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/Identifier/L" - }, - "type": "MedicationRequest" - } - ], - "note": [ - { - "text": "After Food" - } - ], - "performer": [ - { - "actor": { - "reference": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" - } - } - ], - "location": { - "reference": "Location/896d6f84-3737-b1f5-a6e2-2eb84bb9b098" - }, - "status": "unknown", - "type": { - "coding": [ - { - "code": "R", - "display": "Refill - Full Fill", - "system": "http://terminology.hl7.org/CodeSystem/v2-0484" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "medicationReference": { - "reference": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" - }, - "context": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "dosageInstruction": [ - { - "maxDosePerPeriod": { - "numerator": { - "value": 1, - "unit": "Capsule" - }, - "denominator": { - "value": 1, - "unit": "d", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "route": { - "coding": [ - { - "code": "ADB", - "display": "Abdomen", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" - } + "coding": [ + { + "code": "R", + "display": "Refill - Full Fill", + "system": "http://terminology.hl7.org/CodeSystem/v2-0484" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "medicationReference": { + "reference": "Medication/e13b21dc-37ff-acf6-0e4e-a4744d3299a0" + }, + "context": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "dosageInstruction": [ + { + "maxDosePerPeriod": { + "numerator": { + "value": 1, + "unit": "Capsule" + }, + "denominator": { + "value": 1, + "unit": "d", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "route": { + "coding": [ + { + "code": "ADB", + "display": "Abdomen", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70162" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "MedicationDispense/0cd1106d-1307-4f0c-1ef7-0a35165bdbed" } - ] }, - "request": { - "method": "PUT", - "url": "MedicationDispense/0cd1106d-1307-4f0c-1ef7-0a35165bdbed" - } - }, - { - "fullUrl": "urn:uuid:aaabbc3b-a186-0461-6456-9974f494563b", - "resource": { - "resourceType": "Practitioner", - "id": "aaabbc3b-a186-0461-6456-9974f494563b", - "identifier": [ - { - "value": "9141339108", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:aaabbc3b-a186-0461-6456-9974f494563b", + "resource": { + "resourceType": "Practitioner", + "id": "aaabbc3b-a186-0461-6456-9974f494563b", + "identifier": [ + { + "value": "9141339108", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Anny", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15T19:15:00+05:30", + "end": "2020-01-15T19:15:00+05:30" + } + } ] - } - } - ], - "name": [ - { - "family": "Anny", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15T16:00:00+02:15", - "end": "2020-01-15T16:00:00+02:15" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + }, + "request": { + "method": "PUT", + "url": "Practitioner/aaabbc3b-a186-0461-6456-9974f494563b" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-01-expected.json new file mode 100644 index 000000000..481d770e7 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-01-expected.json @@ -0,0 +1,3647 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2022-01-25T16:20:00Z", + "identifier": { + "value": "MSG00112" + }, + "id": "18ab6a2c-1a68-398a-d31b-f691e06a7a5e", + "entry": [ + { + "fullUrl": "urn:uuid:12539add-4703-00c1-62ec-2cdb0b63ca8a", + "resource": { + "resourceType": "MessageHeader", + "id": "12539add-4703-00c1-62ec-2cdb0b63ca8a", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "I12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "REF^I12^REF_I12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/12539add-4703-00c1-62ec-2cdb0b63ca8a" + } + }, + { + "fullUrl": "urn:uuid:7beed73b-5c63-2f47-d793-8e393f68b681", + "resource": { + "resourceType": "Provenance", + "id": "7beed73b-5c63-2f47-d793-8e393f68b681", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:49:49.173Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: REF_I12.

" + }, + "occurredDateTime": "2022-01-25T16:20:00Z", + "recorded": "2022-01-25T16:20:00Z", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "REF^I12^REF_I12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + } + ], + "target": [ + { + "reference": "Bundle/18ab6a2c-1a68-398a-d31b-f691e06a7a5e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7beed73b-5c63-2f47-d793-8e393f68b681" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:65739ce9-1766-bce1-da73-8bc2ba0385ce", + "resource": { + "resourceType": "Organization", + "id": "65739ce9-1766-bce1-da73-8bc2ba0385ce", + "identifier": [ + { + "value": "RHHFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/RHHFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/65739ce9-1766-bce1-da73-8bc2ba0385ce" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:59be583f-56b6-faf0-52ba-ed27ec2132a1", + "resource": { + "resourceType": "Organization", + "id": "59be583f-56b6-faf0-52ba-ed27ec2132a1", + "name": "23 RHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + }, + { + "fullUrl": "urn:uuid:358a3a4c-698d-24b2-099b-a151a23619ea", + "resource": { + "resourceType": "Device", + "id": "358a3a4c-698d-24b2-099b-a151a23619ea", + "identifier": [ + { + "value": "GHH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:80ff74d2-6469-90ca-3a77-3574d4c04598", + "resource": { + "resourceType": "Organization", + "id": "80ff74d2-6469-90ca-3a77-3574d4c04598", + "name": "Radiant Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + } + }, + { + "fullUrl": "urn:uuid:e5175c8f-a538-de38-de67-e60dd1974cd5", + "resource": { + "resourceType": "Practitioner", + "id": "e5175c8f-a538-de38-de67-e60dd1974cd5", + "identifier": [ + { + "value": "12131", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "McWilliams", + "given": [ + "Paul", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + } + }, + { + "fullUrl": "urn:uuid:7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "resource": { + "resourceType": "ServiceRequest", + "id": "7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "226839", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPIC" + }, + { + "value": "11001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EXTID" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "Med", + "display": "Medical", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70281" + } + ] + } + ], + "authoredOn": "2022-01-25", + "performer": [ + { + "reference": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + }, + { + "reference": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + }, + { + "reference": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "O", + "display": "Outpatient", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70284" + } + ] + } + ], + "note": [ + { + "text": "Referral to Specialist" + }, + { + "text": "Lab test" + } + ], + "occurrencePeriod": { + "start": "2022-01-25", + "end": "2022-02-10" + }, + "priority": "routine", + "reasonCode": [ + { + "coding": [ + { + "code": "O", + "display": "Provider Ordered", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70336" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f" + } + }, + { + "fullUrl": "urn:uuid:46765d70-64d5-efcc-85eb-e193815b0869", + "resource": { + "resourceType": "Organization", + "id": "46765d70-64d5-efcc-85eb-e193815b0869", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + } + }, + { + "fullUrl": "urn:uuid:60ac8214-50fb-b39b-8481-1e7ed7376b91", + "resource": { + "resourceType": "ClaimResponse", + "id": "60ac8214-50fb-b39b-8481-1e7ed7376b91", + "identifier": [ + { + "value": "HL71001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-03-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 175 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-03-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/60ac8214-50fb-b39b-8481-1e7ed7376b91" + } + }, + { + "fullUrl": "urn:uuid:61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "resource": { + "resourceType": "Organization", + "id": "61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/61dd51ff-9cba-201f-8455-e33b8f0fa28b" + } + }, + { + "fullUrl": "urn:uuid:dbb5e10e-38f3-c1c9-7b46-314b72600224", + "resource": { + "resourceType": "ClaimResponse", + "id": "dbb5e10e-38f3-c1c9-7b46-314b72600224", + "identifier": [ + { + "value": "HL72001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-02-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 200 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-02-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/dbb5e10e-38f3-c1c9-7b46-314b72600224" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:56779f55-71e5-4933-f29e-b0105da7dce2", + "resource": { + "resourceType": "Location", + "id": "56779f55-71e5-4933-f29e-b0105da7dce2", + "name": "GENERAL FACILITY", + "mode": "instance", + "description": "GENERAL FACILITY--GHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + }, + { + "fullUrl": "urn:uuid:0ff51001-d32b-6524-e347-200aa293343d", + "resource": { + "resourceType": "Practitioner", + "id": "0ff51001-d32b-6524-e347-200aa293343d", + "identifier": [ + { + "value": "PLN1001", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-01-12" + } + } + ], + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "POWELL", + "given": [ + "ROBERT" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + } + }, + { + "fullUrl": "urn:uuid:2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "resource": { + "resourceType": "Organization", + "id": "2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "name": "GOOD HEALTH HOSPITAL", + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-7889", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + { + "fullUrl": "urn:uuid:e2c956ec-0fec-19c6-ec84-91181e279d6b", + "resource": { + "resourceType": "PractitionerRole", + "id": "e2c956ec-0fec-19c6-ec84-91181e279d6b", + "code": [ + { + "coding": [ + { + "code": "RP", + "display": "Referring Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-01-12", + "end": "2024-01-12" + }, + "location": [ + { + "reference": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + ], + "practitioner": { + "reference": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + }, + "organization": { + "reference": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + { + "fullUrl": "urn:uuid:80e01bb0-7b6f-5486-f099-86382c021ee0", + "resource": { + "resourceType": "Location", + "id": "80e01bb0-7b6f-5486-f099-86382c021ee0", + "name": "GI FACILITY", + "mode": "instance", + "description": "GI FACILITY--RHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + }, + { + "fullUrl": "urn:uuid:9829051d-24ef-208a-c2ff-6073e176feab", + "resource": { + "resourceType": "Practitioner", + "id": "9829051d-24ef-208a-c2ff-6073e176feab", + "identifier": [ + { + "value": "PLN5010", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-10-12" + } + } + ], + "address": [ + { + "line": [ + "2000 PARK AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-5678", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "McWILLIAMS", + "given": [ + "PAUL" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + } + }, + { + "fullUrl": "urn:uuid:3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "resource": { + "resourceType": "Organization", + "id": "3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "name": "RADIANT HEALTH HOSPITAL", + "address": [ + { + "line": [ + "555 HEALTHCARE AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(426)545-9881", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + { + "fullUrl": "urn:uuid:51be9b51-6b32-13cf-3375-c6e493fccca1", + "resource": { + "resourceType": "PractitionerRole", + "id": "51be9b51-6b32-13cf-3375-c6e493fccca1", + "code": [ + { + "coding": [ + { + "code": "RT", + "display": "Referred To Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-10-12", + "end": "2024-10-12" + }, + "location": [ + { + "reference": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + ], + "practitioner": { + "reference": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + }, + "organization": { + "reference": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "resource": { + "resourceType": "RelatedPerson", + "id": "78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/78fca696-5142-59aa-cf2b-c4a4bd7c69cc" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "resource": { + "resourceType": "Condition", + "id": "98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Ulcer of Intestine" + }, + "onsetDateTime": "2022-01-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "diagnosis": [ + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + } + ], + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10Z" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "789.09", + "display": "Abdominal pain other specified site", + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:1539107c-c58c-2197-899f-cb161b5f2102", + "resource": { + "resourceType": "Condition", + "id": "1539107c-c58c-2197-899f-cb161b5f2102", + "identifier": [ + { + "value": "DG1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33Z", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:e1fefb31-b9f2-e893-5c9f-4bfa3a2f5192", + "resource": { + "resourceType": "ServiceRequest", + "id": "e1fefb31-b9f2-e893-5c9f-4bfa3a2f5192", + "status": "active", + "intent": "order", + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2022-01-20T11:26:00+02:15" + } + } + }, + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + }, + "note": [ + { + "text": "Lab Test for Ulcer " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/e1fefb31-b9f2-e893-5c9f-4bfa3a2f5192" + } + }, + { + "fullUrl": "urn:uuid:bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "resource": { + "resourceType": "Practitioner", + "id": "bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "PATH", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + { + "fullUrl": "urn:uuid:627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "resource": { + "resourceType": "PractitionerRole", + "id": "627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + } + }, + { + "fullUrl": "urn:uuid:c40b8af0-c2c5-df5e-7f19-4708caac087f", + "resource": { + "resourceType": "Practitioner", + "id": "c40b8af0-c2c5-df5e-7f19-4708caac087f", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "MARK" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + { + "fullUrl": "urn:uuid:c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "resource": { + "resourceType": "PractitionerRole", + "id": "c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "location": [ + { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + ], + "practitioner": { + "reference": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + }, + { + "fullUrl": "urn:uuid:0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "resource": { + "resourceType": "Location", + "id": "0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "name": "LABUnit02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + }, + { + "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "resource": { + "resourceType": "Location", + "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "partOf": { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + }, + "name": "Room02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "126cf106-e908-04ea-ec21-99de662bb513", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + ], + "effectiveDateTime": "2022-01-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/e1fefb31-b9f2-e893-5c9f-4bfa3a2f5192" + } + ], + "result": [ + { + "reference": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + ] + }, + "fullUrl": "urn:uuid:126cf106-e908-04ea-ec21-99de662bb513", + "request": { + "method": "PUT", + "url": "DiagnosticReport/126cf106-e908-04ea-ec21-99de662bb513" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:c8050d40-fa22-89b2-0814-4af42260af7f", + "resource": { + "resourceType": "Organization", + "id": "c8050d40-fa22-89b2-0814-4af42260af7f", + "name": "FairOaks Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + { + "fullUrl": "urn:uuid:11b40153-aabe-1f6d-664d-2dc27674590d", + "resource": { + "resourceType": "Observation", + "id": "11b40153-aabe-1f6d-664d-2dc27674590d", + "status": "final", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "valueString": "Positive", + "effectiveDateTime": "2022-01-20", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + }, + { + "reference": "PractitionerRole/1eedde30-5cfd-6ac7-a56b-6feb1be5d204" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/e1fefb31-b9f2-e893-5c9f-4bfa3a2f5192" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Positive.Infection indicates presence of ulcer" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + }, + { + "fullUrl": "urn:uuid:1eedde30-5cfd-6ac7-a56b-6feb1be5d204", + "resource": { + "resourceType": "PractitionerRole", + "id": "1eedde30-5cfd-6ac7-a56b-6feb1be5d204", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + }, + "practitioner": { + "reference": "Practitioner/e7fc1fa4-8d6c-7295-1770-b6d81f5d393d" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/1eedde30-5cfd-6ac7-a56b-6feb1be5d204" + } + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + } + }, + { + "fullUrl": "urn:uuid:e7fc1fa4-8d6c-7295-1770-b6d81f5d393d", + "resource": { + "resourceType": "Practitioner", + "id": "e7fc1fa4-8d6c-7295-1770-b6d81f5d393d", + "identifier": [ + { + "value": "112233421", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e7fc1fa4-8d6c-7295-1770-b6d81f5d393d" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "resource": { + "resourceType": "Location", + "id": "6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "partOf": { + "reference": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "fullUrl": "urn:uuid:2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "resource": { + "resourceType": "Location", + "id": "2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "partOf": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + } + }, + { + "fullUrl": "urn:uuid:4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "resource": { + "resourceType": "Location", + "id": "4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "partOf": { + "reference": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + }, + "name": "BED1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4deea28f-3bf0-39ed-f26f-3af8ff87ba77" + } + }, + { + "fullUrl": "urn:uuid:e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "resource": { + "resourceType": "Location", + "id": "e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "name": "FACILITY1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + } + }, + { + "fullUrl": "urn:uuid:4b3128bd-df73-2831-f801-9f0b1ac78930", + "resource": { + "resourceType": "Location", + "id": "4b3128bd-df73-2831-f801-9f0b1ac78930", + "partOf": { + "reference": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + } + }, + { + "fullUrl": "urn:uuid:b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "resource": { + "resourceType": "Location", + "id": "b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "partOf": { + "reference": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + } + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-02-expected.json new file mode 100644 index 000000000..6aa7abfbe --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I12/REF-I12-02-expected.json @@ -0,0 +1,3906 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2022-01-25T16:20:00+02:15", + "identifier": { + "value": "MSG00012" + }, + "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", + "entry": [ + { + "fullUrl": "urn:uuid:ff82b360-c65c-998a-5131-7337d916532b", + "resource": { + "resourceType": "MessageHeader", + "id": "ff82b360-c65c-998a-5131-7337d916532b", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "I12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "REF^I12^REF_I12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/ff82b360-c65c-998a-5131-7337d916532b" + } + }, + { + "fullUrl": "urn:uuid:7beed73b-5c63-2f47-d793-8e393f68b681", + "resource": { + "resourceType": "Provenance", + "id": "7beed73b-5c63-2f47-d793-8e393f68b681", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:50:33.43Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: REF_I12.

" + }, + "occurredDateTime": "2022-01-25T16:20:00+02:15", + "recorded": "2022-01-25T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "REF^I12^REF_I12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + } + ], + "target": [ + { + "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7beed73b-5c63-2f47-d793-8e393f68b681" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:65739ce9-1766-bce1-da73-8bc2ba0385ce", + "resource": { + "resourceType": "Organization", + "id": "65739ce9-1766-bce1-da73-8bc2ba0385ce", + "identifier": [ + { + "value": "RHHFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/RHHFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/65739ce9-1766-bce1-da73-8bc2ba0385ce" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:59be583f-56b6-faf0-52ba-ed27ec2132a1", + "resource": { + "resourceType": "Organization", + "id": "59be583f-56b6-faf0-52ba-ed27ec2132a1", + "name": "23 RHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + }, + { + "fullUrl": "urn:uuid:358a3a4c-698d-24b2-099b-a151a23619ea", + "resource": { + "resourceType": "Device", + "id": "358a3a4c-698d-24b2-099b-a151a23619ea", + "identifier": [ + { + "value": "GHH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:80ff74d2-6469-90ca-3a77-3574d4c04598", + "resource": { + "resourceType": "Organization", + "id": "80ff74d2-6469-90ca-3a77-3574d4c04598", + "name": "Radiant Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + } + }, + { + "fullUrl": "urn:uuid:e5175c8f-a538-de38-de67-e60dd1974cd5", + "resource": { + "resourceType": "Practitioner", + "id": "e5175c8f-a538-de38-de67-e60dd1974cd5", + "identifier": [ + { + "value": "12131", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "McWilliams", + "given": [ + "Paul", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + } + }, + { + "fullUrl": "urn:uuid:7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "resource": { + "resourceType": "ServiceRequest", + "id": "7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "status": "on-hold", + "intent": "order", + "identifier": [ + { + "value": "226839", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPIC" + }, + { + "value": "11001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EXTID" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "Med", + "display": "Medical", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70281" + } + ] + } + ], + "authoredOn": "2022-01-25", + "performer": [ + { + "reference": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + }, + { + "reference": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + }, + { + "reference": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "O", + "display": "Outpatient", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70284" + } + ] + } + ], + "note": [ + { + "text": "Referral to Specialist" + }, + { + "text": "Lab test" + } + ], + "occurrencePeriod": { + "start": "2022-01-25", + "end": "2022-02-10" + }, + "priority": "routine", + "reasonCode": [ + { + "coding": [ + { + "code": "O", + "display": "Provider Ordered", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70336" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f" + } + }, + { + "fullUrl": "urn:uuid:46765d70-64d5-efcc-85eb-e193815b0869", + "resource": { + "resourceType": "Organization", + "id": "46765d70-64d5-efcc-85eb-e193815b0869", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + } + }, + { + "fullUrl": "urn:uuid:60ac8214-50fb-b39b-8481-1e7ed7376b91", + "resource": { + "resourceType": "ClaimResponse", + "id": "60ac8214-50fb-b39b-8481-1e7ed7376b91", + "identifier": [ + { + "value": "HL71001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-03-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 175 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-03-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/60ac8214-50fb-b39b-8481-1e7ed7376b91" + } + }, + { + "fullUrl": "urn:uuid:61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "resource": { + "resourceType": "Organization", + "id": "61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/61dd51ff-9cba-201f-8455-e33b8f0fa28b" + } + }, + { + "fullUrl": "urn:uuid:dbb5e10e-38f3-c1c9-7b46-314b72600224", + "resource": { + "resourceType": "ClaimResponse", + "id": "dbb5e10e-38f3-c1c9-7b46-314b72600224", + "identifier": [ + { + "value": "HL72001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-02-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 200 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-02-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/dbb5e10e-38f3-c1c9-7b46-314b72600224" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:56779f55-71e5-4933-f29e-b0105da7dce2", + "resource": { + "resourceType": "Location", + "id": "56779f55-71e5-4933-f29e-b0105da7dce2", + "name": "GENERAL FACILITY", + "mode": "instance", + "description": "GENERAL FACILITY--GHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + }, + { + "fullUrl": "urn:uuid:0ff51001-d32b-6524-e347-200aa293343d", + "resource": { + "resourceType": "Practitioner", + "id": "0ff51001-d32b-6524-e347-200aa293343d", + "identifier": [ + { + "value": "PLN1001", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-01-12" + } + } + ], + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "POWELL", + "given": [ + "ROBERT" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + } + }, + { + "fullUrl": "urn:uuid:2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "resource": { + "resourceType": "Organization", + "id": "2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "name": "GOOD HEALTH HOSPITAL", + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-7889", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + { + "fullUrl": "urn:uuid:e2c956ec-0fec-19c6-ec84-91181e279d6b", + "resource": { + "resourceType": "PractitionerRole", + "id": "e2c956ec-0fec-19c6-ec84-91181e279d6b", + "code": [ + { + "coding": [ + { + "code": "RP", + "display": "Referring Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-01-12", + "end": "2024-01-12" + }, + "location": [ + { + "reference": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + ], + "practitioner": { + "reference": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + }, + "organization": { + "reference": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + { + "fullUrl": "urn:uuid:80e01bb0-7b6f-5486-f099-86382c021ee0", + "resource": { + "resourceType": "Location", + "id": "80e01bb0-7b6f-5486-f099-86382c021ee0", + "name": "GI FACILITY", + "mode": "instance", + "description": "GI FACILITY--RHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + }, + { + "fullUrl": "urn:uuid:9829051d-24ef-208a-c2ff-6073e176feab", + "resource": { + "resourceType": "Practitioner", + "id": "9829051d-24ef-208a-c2ff-6073e176feab", + "identifier": [ + { + "value": "PLN5010", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-10-12" + } + } + ], + "address": [ + { + "line": [ + "2000 PARK AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-5678", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "McWILLIAMS", + "given": [ + "PAUL" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + } + }, + { + "fullUrl": "urn:uuid:3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "resource": { + "resourceType": "Organization", + "id": "3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "name": "RADIANT HEALTH HOSPITAL", + "address": [ + { + "line": [ + "555 HEALTHCARE AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(426)545-9881", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + { + "fullUrl": "urn:uuid:51be9b51-6b32-13cf-3375-c6e493fccca1", + "resource": { + "resourceType": "PractitionerRole", + "id": "51be9b51-6b32-13cf-3375-c6e493fccca1", + "code": [ + { + "coding": [ + { + "code": "RT", + "display": "Referred To Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-10-12", + "end": "2024-10-12" + }, + "location": [ + { + "reference": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + ], + "practitioner": { + "reference": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + }, + "organization": { + "reference": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/46749e7e-ddd5-a30c-2017-f63330154145" + }, + "onHold": false, + "period": { + "start": "2016-01-01" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:46749e7e-ddd5-a30c-2017-f63330154145", + "resource": { + "resourceType": "RelatedPerson", + "id": "46749e7e-ddd5-a30c-2017-f63330154145", + "identifier": [ + { + "value": "1516" + }, + { + "value": "19290207" + }, + { + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/46749e7e-ddd5-a30c-2017-f63330154145" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "resource": { + "resourceType": "RelatedPerson", + "id": "78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/78fca696-5142-59aa-cf2b-c4a4bd7c69cc" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "resource": { + "resourceType": "Condition", + "id": "98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Ulcer of Intestine" + }, + "onsetDateTime": "2022-01-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "diagnosis": [ + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + } + ], + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10Z" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "789.09", + "display": "Abdominal pain other specified site", + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:1539107c-c58c-2197-899f-cb161b5f2102", + "resource": { + "resourceType": "Condition", + "id": "1539107c-c58c-2197-899f-cb161b5f2102", + "identifier": [ + { + "value": "DG1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33Z", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:907a87a3-6252-255c-d4c9-10093c2a382e", + "resource": { + "resourceType": "ServiceRequest", + "id": "907a87a3-6252-255c-d4c9-10093c2a382e", + "status": "active", + "intent": "order", + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2022-01-20T11:26:00+02:15" + } + } + }, + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + }, + "note": [ + { + "text": "Lab Test for Ulcer " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/907a87a3-6252-255c-d4c9-10093c2a382e" + } + }, + { + "fullUrl": "urn:uuid:bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "resource": { + "resourceType": "Practitioner", + "id": "bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "PATH", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + { + "fullUrl": "urn:uuid:627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "resource": { + "resourceType": "PractitionerRole", + "id": "627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + } + }, + { + "fullUrl": "urn:uuid:c40b8af0-c2c5-df5e-7f19-4708caac087f", + "resource": { + "resourceType": "Practitioner", + "id": "c40b8af0-c2c5-df5e-7f19-4708caac087f", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "MARK" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + { + "fullUrl": "urn:uuid:c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "resource": { + "resourceType": "PractitionerRole", + "id": "c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "location": [ + { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + ], + "practitioner": { + "reference": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + }, + { + "fullUrl": "urn:uuid:0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "resource": { + "resourceType": "Location", + "id": "0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "name": "LABUnit02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + }, + { + "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "resource": { + "resourceType": "Location", + "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "partOf": { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + }, + "name": "Room02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "126cf106-e908-04ea-ec21-99de662bb513", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + ], + "effectiveDateTime": "2022-01-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/907a87a3-6252-255c-d4c9-10093c2a382e" + } + ], + "result": [ + { + "reference": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + ] + }, + "fullUrl": "urn:uuid:126cf106-e908-04ea-ec21-99de662bb513", + "request": { + "method": "PUT", + "url": "DiagnosticReport/126cf106-e908-04ea-ec21-99de662bb513" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:c8050d40-fa22-89b2-0814-4af42260af7f", + "resource": { + "resourceType": "Organization", + "id": "c8050d40-fa22-89b2-0814-4af42260af7f", + "name": "FairOaks Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + { + "fullUrl": "urn:uuid:11b40153-aabe-1f6d-664d-2dc27674590d", + "resource": { + "resourceType": "Observation", + "id": "11b40153-aabe-1f6d-664d-2dc27674590d", + "status": "final", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "valueString": "Positive", + "effectiveDateTime": "2022-01-20", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/907a87a3-6252-255c-d4c9-10093c2a382e" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Positive.Infection indicates presence of ulcer" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/907a87a3-6252-255c-d4c9-10093c2a382e" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + }, + { + "fullUrl": "urn:uuid:ef308499-985b-7318-c312-ce396f940af2", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef308499-985b-7318-c312-ce396f940af2", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "note": [ + { + "text": "Lab Test for ECG " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + ], + "result": [ + { + "reference": "Observation/8cba7656-b8bb-a1ec-5feb-b38b91c0e500" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:8cba7656-b8bb-a1ec-5feb-b38b91c0e500", + "resource": { + "resourceType": "Observation", + "id": "8cba7656-b8bb-a1ec-5feb-b38b91c0e500", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "Fluctuation in pulserate" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8cba7656-b8bb-a1ec-5feb-b38b91c0e500" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "resource": { + "resourceType": "Location", + "id": "6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "partOf": { + "reference": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "fullUrl": "urn:uuid:2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "resource": { + "resourceType": "Location", + "id": "2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "partOf": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + } + }, + { + "fullUrl": "urn:uuid:4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "resource": { + "resourceType": "Location", + "id": "4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "partOf": { + "reference": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + }, + "name": "BED1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4deea28f-3bf0-39ed-f26f-3af8ff87ba77" + } + }, + { + "fullUrl": "urn:uuid:e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "resource": { + "resourceType": "Location", + "id": "e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "name": "FACILITY1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + } + }, + { + "fullUrl": "urn:uuid:4b3128bd-df73-2831-f801-9f0b1ac78930", + "resource": { + "resourceType": "Location", + "id": "4b3128bd-df73-2831-f801-9f0b1ac78930", + "partOf": { + "reference": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + } + }, + { + "fullUrl": "urn:uuid:b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "resource": { + "resourceType": "Location", + "id": "b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "partOf": { + "reference": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + } + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-01-expected.json new file mode 100644 index 000000000..905f04afb --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-01-expected.json @@ -0,0 +1,3586 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2022-01-25T16:20:00Z", + "identifier": { + "value": "MSG00112" + }, + "id": "18ab6a2c-1a68-398a-d31b-f691e06a7a5e", + "entry": [ + { + "fullUrl": "urn:uuid:12539add-4703-00c1-62ec-2cdb0b63ca8a", + "resource": { + "resourceType": "MessageHeader", + "id": "12539add-4703-00c1-62ec-2cdb0b63ca8a", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "I14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "REF^I14^REF_I14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/12539add-4703-00c1-62ec-2cdb0b63ca8a" + } + }, + { + "fullUrl": "urn:uuid:7beed73b-5c63-2f47-d793-8e393f68b681", + "resource": { + "resourceType": "Provenance", + "id": "7beed73b-5c63-2f47-d793-8e393f68b681", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:51:27.48Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: REF_I14.

" + }, + "occurredDateTime": "2022-01-25T16:20:00Z", + "recorded": "2022-01-25T16:20:00Z", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "REF^I14^REF_I14" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + } + ], + "target": [ + { + "reference": "Bundle/18ab6a2c-1a68-398a-d31b-f691e06a7a5e" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7beed73b-5c63-2f47-d793-8e393f68b681" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:65739ce9-1766-bce1-da73-8bc2ba0385ce", + "resource": { + "resourceType": "Organization", + "id": "65739ce9-1766-bce1-da73-8bc2ba0385ce", + "identifier": [ + { + "value": "RHHFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/RHHFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/65739ce9-1766-bce1-da73-8bc2ba0385ce" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:59be583f-56b6-faf0-52ba-ed27ec2132a1", + "resource": { + "resourceType": "Organization", + "id": "59be583f-56b6-faf0-52ba-ed27ec2132a1", + "name": "23 RHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + }, + { + "fullUrl": "urn:uuid:358a3a4c-698d-24b2-099b-a151a23619ea", + "resource": { + "resourceType": "Device", + "id": "358a3a4c-698d-24b2-099b-a151a23619ea", + "identifier": [ + { + "value": "GHH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:80ff74d2-6469-90ca-3a77-3574d4c04598", + "resource": { + "resourceType": "Organization", + "id": "80ff74d2-6469-90ca-3a77-3574d4c04598", + "name": "Radiant Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + } + }, + { + "fullUrl": "urn:uuid:e5175c8f-a538-de38-de67-e60dd1974cd5", + "resource": { + "resourceType": "Practitioner", + "id": "e5175c8f-a538-de38-de67-e60dd1974cd5", + "identifier": [ + { + "value": "12131", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "McWilliams", + "given": [ + "Paul", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + } + }, + { + "fullUrl": "urn:uuid:7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "resource": { + "resourceType": "ServiceRequest", + "id": "7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f", + "status": "entered-in-error", + "intent": "order", + "identifier": [ + { + "value": "226839", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPIC" + }, + { + "value": "11001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EXTID" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "Med", + "display": "Medical", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70281" + } + ] + } + ], + "authoredOn": "2022-01-25", + "performer": [ + { + "reference": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + }, + { + "reference": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + }, + { + "reference": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "O", + "display": "Outpatient", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70284" + } + ] + } + ], + "note": [ + { + "text": "Referral to Specialist" + }, + { + "text": "Lab test" + } + ], + "occurrencePeriod": { + "start": "2022-01-25", + "end": "2022-02-10" + }, + "priority": "routine", + "reasonCode": [ + { + "coding": [ + { + "code": "O", + "display": "Provider Ordered", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70336" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/7b0b2ae9-0381-7dd9-e7a7-c4bd1ac4dd1f" + } + }, + { + "fullUrl": "urn:uuid:46765d70-64d5-efcc-85eb-e193815b0869", + "resource": { + "resourceType": "Organization", + "id": "46765d70-64d5-efcc-85eb-e193815b0869", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + } + }, + { + "fullUrl": "urn:uuid:60ac8214-50fb-b39b-8481-1e7ed7376b91", + "resource": { + "resourceType": "ClaimResponse", + "id": "60ac8214-50fb-b39b-8481-1e7ed7376b91", + "identifier": [ + { + "value": "HL71001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-03-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 175 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-03-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/60ac8214-50fb-b39b-8481-1e7ed7376b91" + } + }, + { + "fullUrl": "urn:uuid:61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "resource": { + "resourceType": "Organization", + "id": "61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/61dd51ff-9cba-201f-8455-e33b8f0fa28b" + } + }, + { + "fullUrl": "urn:uuid:dbb5e10e-38f3-c1c9-7b46-314b72600224", + "resource": { + "resourceType": "ClaimResponse", + "id": "dbb5e10e-38f3-c1c9-7b46-314b72600224", + "identifier": [ + { + "value": "HL72001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-02-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 200 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-02-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/dbb5e10e-38f3-c1c9-7b46-314b72600224" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:56779f55-71e5-4933-f29e-b0105da7dce2", + "resource": { + "resourceType": "Location", + "id": "56779f55-71e5-4933-f29e-b0105da7dce2", + "name": "GENERAL FACILITY", + "mode": "instance", + "description": "GENERAL FACILITY--GHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + }, + { + "fullUrl": "urn:uuid:0ff51001-d32b-6524-e347-200aa293343d", + "resource": { + "resourceType": "Practitioner", + "id": "0ff51001-d32b-6524-e347-200aa293343d", + "identifier": [ + { + "value": "PLN1001", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-01-12" + } + } + ], + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "POWELL", + "given": [ + "ROBERT" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + } + }, + { + "fullUrl": "urn:uuid:2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "resource": { + "resourceType": "Organization", + "id": "2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "name": "GOOD HEALTH HOSPITAL", + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-7889", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + { + "fullUrl": "urn:uuid:e2c956ec-0fec-19c6-ec84-91181e279d6b", + "resource": { + "resourceType": "PractitionerRole", + "id": "e2c956ec-0fec-19c6-ec84-91181e279d6b", + "code": [ + { + "coding": [ + { + "code": "RP", + "display": "Referring Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-01-12", + "end": "2024-01-12" + }, + "location": [ + { + "reference": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + ], + "practitioner": { + "reference": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + }, + "organization": { + "reference": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + { + "fullUrl": "urn:uuid:80e01bb0-7b6f-5486-f099-86382c021ee0", + "resource": { + "resourceType": "Location", + "id": "80e01bb0-7b6f-5486-f099-86382c021ee0", + "name": "GI FACILITY", + "mode": "instance", + "description": "GI FACILITY--RHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + }, + { + "fullUrl": "urn:uuid:9829051d-24ef-208a-c2ff-6073e176feab", + "resource": { + "resourceType": "Practitioner", + "id": "9829051d-24ef-208a-c2ff-6073e176feab", + "identifier": [ + { + "value": "PLN5010", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-10-12" + } + } + ], + "address": [ + { + "line": [ + "2000 PARK AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-5678", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "McWILLIAMS", + "given": [ + "PAUL" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + } + }, + { + "fullUrl": "urn:uuid:3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "resource": { + "resourceType": "Organization", + "id": "3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "name": "RADIANT HEALTH HOSPITAL", + "address": [ + { + "line": [ + "555 HEALTHCARE AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(426)545-9881", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + { + "fullUrl": "urn:uuid:51be9b51-6b32-13cf-3375-c6e493fccca1", + "resource": { + "resourceType": "PractitionerRole", + "id": "51be9b51-6b32-13cf-3375-c6e493fccca1", + "code": [ + { + "coding": [ + { + "code": "RT", + "display": "Referred To Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-10-12", + "end": "2024-10-12" + }, + "location": [ + { + "reference": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + ], + "practitioner": { + "reference": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + }, + "organization": { + "reference": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "52ec3248-d648-ffa7-bf59-dd09f09a3a6a", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/52ec3248-d648-ffa7-bf59-dd09f09a3a6a" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "resource": { + "resourceType": "RelatedPerson", + "id": "78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/78fca696-5142-59aa-cf2b-c4a4bd7c69cc" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "resource": { + "resourceType": "Practitioner", + "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e", + "identifier": [ + { + "value": "10535", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "MR", + "display": "Medical record number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Goldbergn", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + }, + { + "fullUrl": "urn:uuid:1e053838-5797-87be-de94-00f1a32db2f8", + "resource": { + "resourceType": "Location", + "id": "1e053838-5797-87be-de94-00f1a32db2f8", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax", + "VA" + ], + "postalCode": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "N", + "display": "No", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "Y", + "display": "Yes", + "system": "http://terminology.hl7.org/CodeSystem/v2-0136" + } + ] + } + } + ], + "valueString": "vehicle acident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "performer": [ + { + "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/1e053838-5797-87be-de94-00f1a32db2f8" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "resource": { + "resourceType": "Condition", + "id": "98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Ulcer of Intestine" + }, + "onsetDateTime": "2022-01-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "diagnosis": [ + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + } + ], + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10Z" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "789.09", + "display": "Abdominal pain other specified site", + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:1539107c-c58c-2197-899f-cb161b5f2102", + "resource": { + "resourceType": "Condition", + "id": "1539107c-c58c-2197-899f-cb161b5f2102", + "identifier": [ + { + "value": "DG1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33Z", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:2913f225-29fd-0667-125c-005e17c16ab2", + "resource": { + "resourceType": "ServiceRequest", + "id": "2913f225-29fd-0667-125c-005e17c16ab2", + "status": "active", + "intent": "order", + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2022-01-20T11:26:00+02:15" + } + } + }, + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum1", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + }, + "note": [ + { + "text": "Lab Test for Ulcer1 " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2913f225-29fd-0667-125c-005e17c16ab2" + } + }, + { + "fullUrl": "urn:uuid:bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "resource": { + "resourceType": "Practitioner", + "id": "bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "PATH", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + { + "fullUrl": "urn:uuid:627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "resource": { + "resourceType": "PractitionerRole", + "id": "627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + } + }, + { + "fullUrl": "urn:uuid:c40b8af0-c2c5-df5e-7f19-4708caac087f", + "resource": { + "resourceType": "Practitioner", + "id": "c40b8af0-c2c5-df5e-7f19-4708caac087f", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "MARK" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + { + "fullUrl": "urn:uuid:c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "resource": { + "resourceType": "PractitionerRole", + "id": "c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "location": [ + { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + ], + "practitioner": { + "reference": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + }, + { + "fullUrl": "urn:uuid:0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "resource": { + "resourceType": "Location", + "id": "0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "name": "LABUnit02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + }, + { + "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "resource": { + "resourceType": "Location", + "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "partOf": { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + }, + "name": "Room02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "827d45a1-fadc-1c87-30e2-877f946dbd57", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + ], + "effectiveDateTime": "2022-01-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum1", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/2913f225-29fd-0667-125c-005e17c16ab2" + } + ], + "result": [ + { + "reference": "Observation/b37bf2af-8404-d8a2-843e-8b7800a17606" + } + ] + }, + "fullUrl": "urn:uuid:827d45a1-fadc-1c87-30e2-877f946dbd57", + "request": { + "method": "PUT", + "url": "DiagnosticReport/827d45a1-fadc-1c87-30e2-877f946dbd57" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:c8050d40-fa22-89b2-0814-4af42260af7f", + "resource": { + "resourceType": "Organization", + "id": "c8050d40-fa22-89b2-0814-4af42260af7f", + "name": "FairOaks Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + { + "fullUrl": "urn:uuid:b37bf2af-8404-d8a2-843e-8b7800a17606", + "resource": { + "resourceType": "Observation", + "id": "b37bf2af-8404-d8a2-843e-8b7800a17606", + "status": "final", + "code": { + "coding": [ + { + "code": "22311-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "valueString": "Positive", + "effectiveDateTime": "2022-01-20", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + }, + { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/2913f225-29fd-0667-125c-005e17c16ab2" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Lab test" + } + ], + "device": { + "reference": "Device/bb5f3a1b-5ef2-91ed-bdc4-39008d021a85" + } + }, + "request": { + "method": "PUT", + "url": "Observation/b37bf2af-8404-d8a2-843e-8b7800a17606" + } + }, + { + "fullUrl": "urn:uuid:52a163eb-90ba-48c4-82f3-d13ad2665faf", + "resource": { + "resourceType": "Organization", + "id": "52a163eb-90ba-48c4-82f3-d13ad2665faf", + "name": "Good Health Hospital", + "identifier": [ + { + "value": "4544", + "type": { + "coding": [ + { + "code": "XX", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/52a163eb-90ba-48c4-82f3-d13ad2665faf" + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + } + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + } + }, + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + } + }, + { + "fullUrl": "urn:uuid:bb5f3a1b-5ef2-91ed-bdc4-39008d021a85", + "resource": { + "resourceType": "Device", + "id": "bb5f3a1b-5ef2-91ed-bdc4-39008d021a85", + "identifier": [ + { + "value": "SampleDevice" + }, + { + "value": "00643169001763", + "system": "urn:oid:2.51.1.1", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "manufactureDate": "2014-04-01", + "expirationDate": "2022-07-12", + "lotNumber": "123ABC", + "serialNumber": "21A11F4855" + }, + "request": { + "method": "PUT", + "url": "Device/bb5f3a1b-5ef2-91ed-bdc4-39008d021a85" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "resource": { + "resourceType": "Location", + "id": "6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "partOf": { + "reference": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "fullUrl": "urn:uuid:2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "resource": { + "resourceType": "Location", + "id": "2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "partOf": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + } + }, + { + "fullUrl": "urn:uuid:4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "resource": { + "resourceType": "Location", + "id": "4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "partOf": { + "reference": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + }, + "name": "BED1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4deea28f-3bf0-39ed-f26f-3af8ff87ba77" + } + }, + { + "fullUrl": "urn:uuid:e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "resource": { + "resourceType": "Location", + "id": "e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "name": "FACILITY1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + } + }, + { + "fullUrl": "urn:uuid:4b3128bd-df73-2831-f801-9f0b1ac78930", + "resource": { + "resourceType": "Location", + "id": "4b3128bd-df73-2831-f801-9f0b1ac78930", + "partOf": { + "reference": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + } + }, + { + "fullUrl": "urn:uuid:b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "resource": { + "resourceType": "Location", + "id": "b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "partOf": { + "reference": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + } + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-02-expected.json new file mode 100644 index 000000000..adc1105c2 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/REF_I14/REF-I14-02-expected.json @@ -0,0 +1,3799 @@ +{ + "resourceType": "Bundle", + "type": "batch", + "timestamp": "2021-01-15T16:20:00+02:15", + "identifier": { + "value": "MSG00014" + }, + "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", + "entry": [ + { + "fullUrl": "urn:uuid:0bcfd553-45fe-e480-31fe-c872804ed69a", + "resource": { + "resourceType": "MessageHeader", + "id": "0bcfd553-45fe-e480-31fe-c872804ed69a", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "I14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "REF^I14^REF_I12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/0bcfd553-45fe-e480-31fe-c872804ed69a" + } + }, + { + "fullUrl": "urn:uuid:7beed73b-5c63-2f47-d793-8e393f68b681", + "resource": { + "resourceType": "Provenance", + "id": "7beed73b-5c63-2f47-d793-8e393f68b681", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:52:28.155Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: REF_I14.

" + }, + "occurredDateTime": "2021-01-15T16:20:00+02:15", + "recorded": "2021-01-15T16:20:00+02:15", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "REF^I14^REF_I12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + } + ], + "target": [ + { + "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + } + ] + }, + "request": { + "method": "PUT", + "url": "Provenance/7beed73b-5c63-2f47-d793-8e393f68b681" + } + }, + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + } + }, + { + "fullUrl": "urn:uuid:65739ce9-1766-bce1-da73-8bc2ba0385ce", + "resource": { + "resourceType": "Organization", + "id": "65739ce9-1766-bce1-da73-8bc2ba0385ce", + "identifier": [ + { + "value": "RHHFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/RHHFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + }, + "address": [ + { + "country": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/65739ce9-1766-bce1-da73-8bc2ba0385ce" + } + }, + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + { + "fullUrl": "urn:uuid:59be583f-56b6-faf0-52ba-ed27ec2132a1", + "resource": { + "resourceType": "Organization", + "id": "59be583f-56b6-faf0-52ba-ed27ec2132a1", + "name": "23 RHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/59be583f-56b6-faf0-52ba-ed27ec2132a1" + } + }, + { + "fullUrl": "urn:uuid:358a3a4c-698d-24b2-099b-a151a23619ea", + "resource": { + "resourceType": "Device", + "id": "358a3a4c-698d-24b2-099b-a151a23619ea", + "identifier": [ + { + "value": "GHH" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/358a3a4c-698d-24b2-099b-a151a23619ea" + } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion Health", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3.52854", + "note": [ + { + "text": "RAP234 Text" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" + } + }, + { + "fullUrl": "urn:uuid:80ff74d2-6469-90ca-3a77-3574d4c04598", + "resource": { + "resourceType": "Organization", + "id": "80ff74d2-6469-90ca-3a77-3574d4c04598", + "name": "Radiant Health Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + } + }, + { + "fullUrl": "urn:uuid:e5175c8f-a538-de38-de67-e60dd1974cd5", + "resource": { + "resourceType": "Practitioner", + "id": "e5175c8f-a538-de38-de67-e60dd1974cd5", + "identifier": [ + { + "value": "12131", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "McWilliams", + "given": [ + "Paul", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ], + "use": "official" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + } + }, + { + "fullUrl": "urn:uuid:0dde495c-51b7-d47f-febd-19d8e4e764db", + "resource": { + "resourceType": "ServiceRequest", + "id": "0dde495c-51b7-d47f-febd-19d8e4e764db", + "status": "entered-in-error", + "intent": "order", + "identifier": [ + { + "value": "226839", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EPIC" + }, + { + "value": "11001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/EXTID" + } + ], + "category": [ + { + "coding": [ + { + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-service-request-category-codes", + "code": "patient-referral-request", + "display": "Patient Referral Request" + } + ] + }, + { + "coding": [ + { + "code": "Med", + "display": "Medical", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70281" + } + ] + } + ], + "authoredOn": "2022-01-25", + "performer": [ + { + "reference": "Organization/80ff74d2-6469-90ca-3a77-3574d4c04598" + }, + { + "reference": "Practitioner/e5175c8f-a538-de38-de67-e60dd1974cd5" + }, + { + "reference": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + ], + "locationCode": [ + { + "coding": [ + { + "code": "I", + "display": "Inpatient", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70284" + } + ] + } + ], + "note": [ + { + "text": "Referral to Specialist" + }, + { + "text": "Laboratoy test" + } + ], + "occurrencePeriod": { + "start": "2022-01-25", + "end": "2022-02-10" + }, + "priority": "routine", + "reasonCode": [ + { + "coding": [ + { + "code": "O", + "display": "Provider Ordered", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70336" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/0dde495c-51b7-d47f-febd-19d8e4e764db" + } + }, + { + "fullUrl": "urn:uuid:46765d70-64d5-efcc-85eb-e193815b0869", + "resource": { + "resourceType": "Organization", + "id": "46765d70-64d5-efcc-85eb-e193815b0869", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/46765d70-64d5-efcc-85eb-e193815b0869" + } + }, + { + "fullUrl": "urn:uuid:60ac8214-50fb-b39b-8481-1e7ed7376b91", + "resource": { + "resourceType": "ClaimResponse", + "id": "60ac8214-50fb-b39b-8481-1e7ed7376b91", + "identifier": [ + { + "value": "HL71001111111111" + } + ], + "status": "active", + "use": "preauthorization", + "created": "2022-02-10", + "outcome": "complete", + "item": [ + { + "itemSequence": 1, + "adjudication": [ + { + "value": 1, + "category": { + "coding": [ + { + "code": "RNT", + "display": "Requested Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + }, + { + "value": 1, + "category": { + "coding": [ + { + "code": "ANT", + "display": "Authorized Number of Treatments", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-adjudication" + } + ] + } + } + ] + } + ], + "total": [ + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 175 + } + }, + { + "category": { + "coding": [ + { + "code": "benefit", + "display": "Benefit Amount", + "system": "http://terminology.hl7.org/CodeSystem/adjudication" + } + ] + }, + "amount": { + "value": 200 + } + } + ], + "preAuthPeriod": { + "start": "2022-01-10", + "end": "2022-02-10" + }, + "processNote": [ + { + "text": "comment" + } + ], + "insurer": { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "type": { + "coding": [ + { + "code": "institutional", + "display": "Instutional", + "system": "http://terminology.hl7.org/CodeSystem/claim-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "ClaimResponse/60ac8214-50fb-b39b-8481-1e7ed7376b91" + } + }, + { + "fullUrl": "urn:uuid:61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "resource": { + "resourceType": "Organization", + "id": "61dd51ff-9cba-201f-8455-e33b8f0fa28b", + "name": "HIIC(MI State Code)" + }, + "request": { + "method": "PUT", + "url": "Organization/61dd51ff-9cba-201f-8455-e33b8f0fa28b" + } + }, + { + "fullUrl": "urn:uuid:d5fe6802-a680-e762-8f43-9659340b00ac", + "resource": { + "resourceType": "Patient", + "id": "d5fe6802-a680-e762-8f43-9659340b00ac", + "identifier": [ + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "GOOD HEALTH HOSPITAL", + "display": "GOOD HEALTH HOSPITAL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/ADT1" + }, + { + "value": "123456789" + }, + { + "value": "220917255", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DL", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/T05349638" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III" + ] + }, + { + "family": "SMITH", + "given": [ + "JOHN" + ] + } + ], + "birthDate": "1961-06-15", + "gender": "male", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "EN", + "display": "ENGLISH", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70296" + } + ] + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "meta": { + "lastUpdated": "2021-01-10T01:50:14+03:15" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "Davis" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1009", + "display": "Baptist", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "name": { + "family": "DOE", + "given": [ + "MARY" + ] + }, + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone", + "use": "home" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "gender": "female" + } + ] + }, + "request": { + "method": "PUT", + "url": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + { + "fullUrl": "urn:uuid:56779f55-71e5-4933-f29e-b0105da7dce2", + "resource": { + "resourceType": "Location", + "id": "56779f55-71e5-4933-f29e-b0105da7dce2", + "name": "GENERAL FACILITY", + "mode": "instance", + "description": "GENERAL FACILITY--GHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + }, + { + "fullUrl": "urn:uuid:0ff51001-d32b-6524-e347-200aa293343d", + "resource": { + "resourceType": "Practitioner", + "id": "0ff51001-d32b-6524-e347-200aa293343d", + "identifier": [ + { + "value": "PLN1001", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-01-12" + } + } + ], + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-1234", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "POWELL", + "given": [ + "ROBERT" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + } + }, + { + "fullUrl": "urn:uuid:2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "resource": { + "resourceType": "Organization", + "id": "2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4", + "name": "GOOD HEALTH HOSPITAL", + "address": [ + { + "line": [ + "1031 HEALTHCARE DRIVE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-7889", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + { + "fullUrl": "urn:uuid:e2c956ec-0fec-19c6-ec84-91181e279d6b", + "resource": { + "resourceType": "PractitionerRole", + "id": "e2c956ec-0fec-19c6-ec84-91181e279d6b", + "code": [ + { + "coding": [ + { + "code": "RP", + "display": "Referring Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-01-12", + "end": "2024-01-12" + }, + "location": [ + { + "reference": "Location/56779f55-71e5-4933-f29e-b0105da7dce2" + } + ], + "practitioner": { + "reference": "Practitioner/0ff51001-d32b-6524-e347-200aa293343d" + }, + "organization": { + "reference": "Organization/2d7d77cd-0ca7-13a5-c9ed-6e70b739adb4" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/e2c956ec-0fec-19c6-ec84-91181e279d6b" + } + }, + { + "fullUrl": "urn:uuid:80e01bb0-7b6f-5486-f099-86382c021ee0", + "resource": { + "resourceType": "Location", + "id": "80e01bb0-7b6f-5486-f099-86382c021ee0", + "name": "GI FACILITY", + "mode": "instance", + "description": "GI FACILITY--RHH MEDICAL CENTER", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + }, + { + "fullUrl": "urn:uuid:9829051d-24ef-208a-c2ff-6073e176feab", + "resource": { + "resourceType": "Practitioner", + "id": "9829051d-24ef-208a-c2ff-6073e176feab", + "identifier": [ + { + "value": "PLN5010", + "type": { + "coding": [ + { + "code": "SL", + "display": "State license number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "period": { + "end": "2024-10-12" + } + } + ], + "address": [ + { + "line": [ + "2000 PARK AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(626)555-5678", + "use": "work", + "system": "phone" + } + ], + "name": [ + { + "family": "McWILLIAMS", + "given": [ + "PAUL" + ], + "suffix": [ + "MD" + ], + "prefix": [ + "DR" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + } + }, + { + "fullUrl": "urn:uuid:3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "resource": { + "resourceType": "Organization", + "id": "3aaaa5e2-17a8-41de-24e5-61ae935fd401", + "name": "RADIANT HEALTH HOSPITAL", + "address": [ + { + "line": [ + "555 HEALTHCARE AVENUE" + ], + "city": "ANN ARBOR", + "state": "MI", + "postalCode": "99999" + } + ], + "telecom": [ + { + "value": "(426)545-9881", + "use": "work", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + { + "fullUrl": "urn:uuid:51be9b51-6b32-13cf-3375-c6e493fccca1", + "resource": { + "resourceType": "PractitionerRole", + "id": "51be9b51-6b32-13cf-3375-c6e493fccca1", + "code": [ + { + "coding": [ + { + "code": "RT", + "display": "Referred To Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "period": { + "start": "2020-10-12", + "end": "2024-10-12" + }, + "location": [ + { + "reference": "Location/80e01bb0-7b6f-5486-f099-86382c021ee0" + } + ], + "practitioner": { + "reference": "Practitioner/9829051d-24ef-208a-c2ff-6073e176feab" + }, + "organization": { + "reference": "Organization/3aaaa5e2-17a8-41de-24e5-61ae935fd401" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/51be9b51-6b32-13cf-3375-c6e493fccca1" + } + }, + { + "fullUrl": "urn:uuid:4d89d103-815b-6284-c821-c995368a2aeb", + "resource": { + "resourceType": "Account", + "id": "4d89d103-815b-6284-c821-c995368a2aeb", + "identifier": [ + { + "value": "PACCT110" + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/46749e7e-ddd5-a30c-2017-f63330154145" + }, + "onHold": false, + "period": { + "start": "2016-01-01" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + }, + { + "fullUrl": "urn:uuid:46749e7e-ddd5-a30c-2017-f63330154145", + "resource": { + "resourceType": "RelatedPerson", + "id": "46749e7e-ddd5-a30c-2017-f63330154145", + "identifier": [ + { + "value": "1516" + }, + { + "value": "19290207" + }, + { + "value": "2245367687", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MOT", + "display": "MOT" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "(608)251-7777", + "system": "phone", + "use": "home" + }, + { + "value": "(608)2517777", + "system": "phone", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "female", + "birthDate": "2001-04-12", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/46749e7e-ddd5-a30c-2017-f63330154145" + } + }, + { + "fullUrl": "urn:uuid:9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "resource": { + "resourceType": "Organization", + "id": "9cfda40d-ffa1-3bb5-2627-0c0cb5825847", + "name": "Bull Run Family Practice", + "contact": [ + { + "name": { + "family": "Smith", + "given": [ + "John", + "L" + ] + }, + "telecom": [ + { + "value": "5426387999", + "system": "phone" + } + ], + "address": { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/9cfda40d-ffa1-3bb5-2627-0c0cb5825847" + } + }, + { + "fullUrl": "urn:uuid:78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "resource": { + "resourceType": "RelatedPerson", + "id": "78fca696-5142-59aa-cf2b-c4a4bd7c69cc", + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "display": "mother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-01-01", + "end": "2021-02-01" + }, + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + }, + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(555) 555-2004", + "system": "phone" + }, + { + "value": "(555)555-2005", + "system": "phone", + "use": "work" + }, + { + "value": "5426387999", + "system": "phone" + }, + { + "value": "5493275904", + "system": "phone" + }, + { + "value": "5492308914", + "system": "phone" + } + ], + "name": [ + { + "family": "DOE", + "given": [ + "MARY" + ] + }, + { + "family": "Smith", + "given": [ + "John", + "L" + ] + } + ], + "gender": "female", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/78fca696-5142-59aa-cf2b-c4a4bd7c69cc" + } + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "Grp-12345", + "name": "BCBS HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1998-11-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "548851236L", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MB-12345", + "type": { + "coding": [ + { + "code": "MB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Member Number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.5" + } + ], + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + }, + "subscriber": { + "reference": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Roger", + "given": [ + "Dann" + ] + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "Org-12345", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1" + } + ], + "name": "Blue Cross Blue Shield of Texas" + }, + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + }, + { + "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42", + "resource": { + "resourceType": "Organization", + "id": "0f21af2c-9880-54cb-14a5-5493a766da42", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "identifier": [ + { + "value": "Tel-12345", + "type": { + "coding": [ + { + "code": "EN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employer number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.2" + } + ], + "name": "Telstra", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "(555)555-1234", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "(555)123-5678", + "system": "phone" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42" + } + }, + { + "fullUrl": "urn:uuid:86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "resource": { + "resourceType": "RelatedPerson", + "id": "86ff0da6-ff14-ac7d-679e-94ac8e8c3a55", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "EI-12345", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "telecom": [ + { + "value": "(555)123-1234", + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English" + } + ] + }, + "preferred": true + } + ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/86ff0da6-ff14-ac7d-679e-94ac8e8c3a55" + } + }, + { + "fullUrl": "urn:uuid:75e06d0e-7031-24eb-2f51-ec738de69cec", + "resource": { + "resourceType": "Practitioner", + "id": "75e06d0e-7031-24eb-2f51-ec738de69cec", + "identifier": [ + { + "value": "Dr Goldberg" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/75e06d0e-7031-24eb-2f51-ec738de69cec" + } + }, + { + "fullUrl": "urn:uuid:6cfea978-07a0-ded2-7310-1263d0dd3e0c", + "resource": { + "resourceType": "Location", + "id": "6cfea978-07a0-ded2-7310-1263d0dd3e0c", + "name": "Route 50 intersection", + "address": { + "line": [ + "Route 50", + "Fairfax" + ], + "city": "VA", + "state": "20324" + } + }, + "request": { + "method": "PUT", + "url": "Location/6cfea978-07a0-ded2-7310-1263d0dd3e0c" + } + }, + { + "fullUrl": "urn:uuid:dfddbc26-7d75-05d7-d8e3-70e545afef70", + "resource": { + "resourceType": "Observation", + "id": "dfddbc26-7d75-05d7-d8e3-70e545afef70", + "identifier": [ + { + "value": "5348" + } + ], + "status": "final", + "code": { + "coding": [ + { + "code": "injury-incident", + "display": "Injury Incident Description Narrative", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/observation-code" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "AJRI", + "display": "Accident Job Related Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "534249", + "display": "534249" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "ADI", + "display": "Accident Death Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "7878000", + "display": "7878000" + } + ] + } + }, + { + "code": { + "coding": [ + { + "code": "PNI", + "display": "Police Notified Indicator", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/accident-indicator" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "546930", + "display": "546930" + } + ] + } + } + ], + "valueString": "vehicle accident", + "effectiveDateTime": "2014-03-17", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "performer": [ + { + "reference": "Practitioner/75e06d0e-7031-24eb-2f51-ec738de69cec" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/vrdr/StructureDefinition/Observation-Location", + "valueReference": { + "reference": "Location/6cfea978-07a0-ded2-7310-1263d0dd3e0c" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/dfddbc26-7d75-05d7-d8e3-70e545afef70" + } + }, + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + } + }, + { + "fullUrl": "urn:uuid:98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "resource": { + "resourceType": "Condition", + "id": "98b5d1f9-c308-2a89-f0b7-9fa6b800153f", + "code": { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ], + "text": "Ulcer of Intestine" + }, + "onsetDateTime": "2022-01-01T12:30:09Z", + "identifier": [ + { + "value": "DG1002" + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T13:30:15Z" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + }, + { + "fullUrl": "urn:uuid:19f93d0c-778a-6a5d-4816-504675827c1e", + "resource": { + "resourceType": "Encounter", + "id": "19f93d0c-778a-6a5d-4816-504675827c1e", + "diagnosis": [ + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + }, + "use": { + "coding": [ + { + "code": "DD", + "display": "Discharge Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + }, + { + "condition": { + "reference": "Condition/98b5d1f9-c308-2a89-f0b7-9fa6b800153f" + } + } + ], + "account": [ + { + "reference": "Account/4d89d103-815b-6284-c821-c995368a2aeb" + } + ], + "class": { + "code": "IMP", + "display": "inpatient encounter", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + } + ], + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T16:00:10Z" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "789.09", + "display": "Abdominal pain other specified site", + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + } + }, + { + "fullUrl": "urn:uuid:1539107c-c58c-2197-899f-cb161b5f2102", + "resource": { + "resourceType": "Condition", + "id": "1539107c-c58c-2197-899f-cb161b5f2102", + "identifier": [ + { + "value": "DG1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Condition/1539107c-c58c-2197-899f-cb161b5f2102" + } + }, + { + "fullUrl": "urn:uuid:800f5a47-6496-6175-9370-2d3b09c28688", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "800f5a47-6496-6175-9370-2d3b09c28688", + "category": [ + "medication" + ], + "type": "allergy", + "code": { + "coding": [ + { + "code": "XYZallergen" + } + ] + }, + "reaction": [ + { + "manifestation": [ + { + "text": "moderate" + } + ], + "onset": "2021-01-21" + } + ], + "criticality": "low", + "clinicalStatus": { + "coding": [ + { + "code": "active", + "display": "Active", + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" + } + ] + }, + "patient": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "AllergyIntolerance/800f5a47-6496-6175-9370-2d3b09c28688" + } + }, + { + "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765", + "resource": { + "resourceType": "Practitioner", + "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "ANES", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + } + }, + { + "fullUrl": "urn:uuid:48aa596d-3522-99c3-49f7-7c3f46f7e201", + "resource": { + "resourceType": "Practitioner", + "id": "48aa596d-3522-99c3-49f7-7c3f46f7e201", + "identifier": [ + { + "value": "2210" + } + ], + "name": [ + { + "family": "SURGEON", + "given": [ + "ROBERT", + "M" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + } + }, + { + "fullUrl": "urn:uuid:7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "resource": { + "resourceType": "Location", + "id": "7d8bce1f-0d52-bf1b-d9d8-01528c67a864", + "name": "OT", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + } + }, + { + "fullUrl": "urn:uuid:f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "resource": { + "resourceType": "Location", + "id": "f9abfa40-6028-663e-c46c-d7ba2e2c2c0d", + "partOf": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "name": "201", + "mode": "instance", + "description": "OT--201", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f9abfa40-6028-663e-c46c-d7ba2e2c2c0d" + } + }, + { + "fullUrl": "urn:uuid:d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "resource": { + "resourceType": "Procedure", + "id": "d1b54d81-5db5-59a3-820b-cc2de9328e4e", + "status": "unknown", + "identifier": [ + { + "value": "PR1001" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + }, + { + "fullUrl": "urn:uuid:67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "resource": { + "resourceType": "Procedure", + "id": "67788ddb-a883-0905-ea3a-f5cc486b7ea0", + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Biopsy of colon, which was part of colonoscopy" + }, + "status": "unknown", + "performedDateTime": "2021-09-07T11:22:33Z", + "category": { + "coding": [ + { + "code": "D", + "display": "Diagnostic Procedure", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230" + } + ] + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765" + }, + "function": { + "coding": [ + { + "code": "anesthesiologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Anesthesiologist" + } + ], + "text": "Anesthesiologist" + } + }, + { + "actor": { + "reference": "Practitioner/48aa596d-3522-99c3-49f7-7c3f46f7e201" + }, + "function": { + "coding": [ + { + "code": "surgeon", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/performer-role", + "display": "Surgeon" + } + ], + "text": "Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "code": "K63.3", + "display": "Ulcer of Intestine", + "system": "http://hl7.org/fhir/sid/icd-10" + } + ] + } + ], + "identifier": [ + { + "value": "PR1006" + } + ], + "location": { + "reference": "Location/7d8bce1f-0d52-bf1b-d9d8-01528c67a864" + }, + "partOf": [ + { + "reference": "Procedure/d1b54d81-5db5-59a3-820b-cc2de9328e4e" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + } + }, + "request": { + "method": "PUT", + "url": "Procedure/67788ddb-a883-0905-ea3a-f5cc486b7ea0" + } + }, + { + "fullUrl": "urn:uuid:b2e3cb0f-bee1-d015-d226-ff71bd5e0b22", + "resource": { + "resourceType": "ServiceRequest", + "id": "b2e3cb0f-bee1-d015-d226-ff71bd5e0b22", + "status": "active", + "intent": "order", + "quantityQuantity": { + "value": 1 + }, + "occurrenceTiming": { + "repeat": { + "boundsPeriod": { + "start": "2022-01-20T11:26:00+02:15" + } + } + }, + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "requester": { + "reference": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + }, + "note": [ + { + "text": "Lab Test for Ulcer " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/b2e3cb0f-bee1-d015-d226-ff71bd5e0b22" + } + }, + { + "fullUrl": "urn:uuid:bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "resource": { + "resourceType": "Practitioner", + "id": "bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "PATH", + "given": [ + "MARK", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + { + "fullUrl": "urn:uuid:627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "resource": { + "resourceType": "PractitionerRole", + "id": "627e2fe2-3df3-0ac2-50c1-7752d7742c0d", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/bbabfd91-4ed9-cd15-6c06-b9b10bb44a5b" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/627e2fe2-3df3-0ac2-50c1-7752d7742c0d" + } + }, + { + "fullUrl": "urn:uuid:c40b8af0-c2c5-df5e-7f19-4708caac087f", + "resource": { + "resourceType": "Practitioner", + "id": "c40b8af0-c2c5-df5e-7f19-4708caac087f", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "MARK" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + { + "fullUrl": "urn:uuid:c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "resource": { + "resourceType": "PractitionerRole", + "id": "c34feac7-d3b1-37e4-500e-5fea0af7a38b", + "location": [ + { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + ], + "practitioner": { + "reference": "Practitioner/c40b8af0-c2c5-df5e-7f19-4708caac087f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + }, + { + "fullUrl": "urn:uuid:0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "resource": { + "resourceType": "Location", + "id": "0ebc48bb-f3c1-0098-8ce5-56ee68d52654", + "name": "LABUnit02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + } + }, + { + "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "resource": { + "resourceType": "Location", + "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba", + "partOf": { + "reference": "Location/0ebc48bb-f3c1-0098-8ce5-56ee68d52654" + }, + "name": "Room02", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba" + } + }, + { + "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "resource": { + "resourceType": "Location", + "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821", + "name": "GHH", + "mode": "instance", + "description": "005454--MARK--LABUnit02--Room02--GHH", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821" + } + }, + { + "resource": { + "resourceType": "DiagnosticReport", + "id": "126cf106-e908-04ea-ec21-99de662bb513", + "resultsInterpreter": [ + { + "reference": "PractitionerRole/c34feac7-d3b1-37e4-500e-5fea0af7a38b" + } + ], + "effectiveDateTime": "2022-01-20T12:00:00+02:15", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "status": "registered", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/b2e3cb0f-bee1-d015-d226-ff71bd5e0b22" + } + ], + "result": [ + { + "reference": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + ] + }, + "fullUrl": "urn:uuid:126cf106-e908-04ea-ec21-99de662bb513", + "request": { + "method": "PUT", + "url": "DiagnosticReport/126cf106-e908-04ea-ec21-99de662bb513" + } + }, + { + "fullUrl": "urn:uuid:c617f6ba-843a-e58a-f573-72f341e608d3", + "resource": { + "resourceType": "Practitioner", + "id": "c617f6ba-843a-e58a-f573-72f341e608d3", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "Research Park" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + } + }, + { + "fullUrl": "urn:uuid:c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "resource": { + "resourceType": "PractitionerRole", + "id": "c30de4cb-ad91-c3b8-b7d6-918c0effbbda", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/c617f6ba-843a-e58a-f573-72f341e608d3" + }, + "organization": { + "reference": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + }, + { + "fullUrl": "urn:uuid:c8050d40-fa22-89b2-0814-4af42260af7f", + "resource": { + "resourceType": "Organization", + "id": "c8050d40-fa22-89b2-0814-4af42260af7f", + "name": "FairOaks Hospital" + }, + "request": { + "method": "PUT", + "url": "Organization/c8050d40-fa22-89b2-0814-4af42260af7f" + } + }, + { + "fullUrl": "urn:uuid:11b40153-aabe-1f6d-664d-2dc27674590d", + "resource": { + "resourceType": "Observation", + "id": "11b40153-aabe-1f6d-664d-2dc27674590d", + "status": "final", + "code": { + "coding": [ + { + "code": "22310-7", + "display": "Helicobacter pylori Ab[Presence] in Serum", + "system": "http://loinc.org" + } + ] + }, + "valueString": "Positive", + "effectiveDateTime": "2022-01-20", + "performer": [ + { + "reference": "PractitionerRole/c30de4cb-ad91-c3b8-b7d6-918c0effbbda" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/b2e3cb0f-bee1-d015-d226-ff71bd5e0b22" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "note": [ + { + "text": "Test Positive.Infection indicates presence of ulcer" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/11b40153-aabe-1f6d-664d-2dc27674590d" + } + }, + { + "fullUrl": "urn:uuid:c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "resource": { + "resourceType": "DiagnosticReport", + "id": "c6c56e40-a853-e69a-a1f0-68eb31fd10b0", + "code": { + "coding": [ + { + "code": "3DHISTECH_PREVIEWCAM", + "display": "3DHISTECH Preview Camera Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "code": "S_IMAGE", + "display": "Supplemental Image", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/IHELAW" + } + ] + }, + "status": "unknown", + "presentedForm": [ + { + "contentType": "image/jpeg", + "data": "VGhpcyBpcyBhIEJhc2U2NCBzdHJpbmc=" + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/b2e3cb0f-bee1-d015-d226-ff71bd5e0b22" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/c6c56e40-a853-e69a-a1f0-68eb31fd10b0" + } + }, + { + "fullUrl": "urn:uuid:ef308499-985b-7318-c312-ce396f940af2", + "resource": { + "resourceType": "ServiceRequest", + "id": "ef308499-985b-7318-c312-ce396f940af2", + "status": "active", + "intent": "order", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "encounter": { + "reference": "Encounter/19f93d0c-778a-6a5d-4816-504675827c1e" + }, + "note": [ + { + "text": "Lab Test for ECG " + } + ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + }, + { + "fullUrl": "urn:uuid:a361cb66-96d6-9c04-fd14-3a599184f451", + "resource": { + "resourceType": "DiagnosticReport", + "id": "a361cb66-96d6-9c04-fd14-3a599184f451", + "identifier": [ + { + "value": "5ca95f51971d414bbcb4be9ca88e9846", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "40bcbe96bcbf8cda8b07403263b92cb4", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "code": { + "coding": [ + { + "code": "SCAN", + "display": "Scan Slide", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/3DHISTECH" + } + ] + }, + "status": "unknown", + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + ], + "result": [ + { + "reference": "Observation/8cba7656-b8bb-a1ec-5feb-b38b91c0e500" + } + ] + }, + "request": { + "method": "PUT", + "url": "DiagnosticReport/a361cb66-96d6-9c04-fd14-3a599184f451" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + } + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:960162f4-e8c5-e229-eb52-e6f3f6224edc", + "resource": { + "resourceType": "Device", + "id": "960162f4-e8c5-e229-eb52-e6f3f6224edc", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-89fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + } + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } + }, + { + "fullUrl": "urn:uuid:8cba7656-b8bb-a1ec-5feb-b38b91c0e500", + "resource": { + "resourceType": "Observation", + "id": "8cba7656-b8bb-a1ec-5feb-b38b91c0e500", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/960162f4-e8c5-e229-eb52-e6f3f6224edc" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/d5fe6802-a680-e762-8f43-9659340b00ac" + }, + "basedOn": [ + { + "reference": "ServiceRequest/ef308499-985b-7318-c312-ce396f940af2" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "Fluctuation in pulserate" + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/8cba7656-b8bb-a1ec-5feb-b38b91c0e500" + } + }, + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "fullUrl": "urn:uuid:43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "resource": { + "resourceType": "Practitioner", + "id": "43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "REFSRC", + "given": [ + "ROBIN", + "B" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/43abcbc7-4a4f-99f7-0ac9-06d5d45f2df5" + } + }, + { + "fullUrl": "urn:uuid:6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "resource": { + "resourceType": "Location", + "id": "6f85cbf3-9b87-a975-6c7d-3bd83dc3e272", + "partOf": { + "reference": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + }, + "name": "SPROOM", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + } + }, + { + "fullUrl": "urn:uuid:2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "resource": { + "resourceType": "Location", + "id": "2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c", + "partOf": { + "reference": "Location/6f85cbf3-9b87-a975-6c7d-3bd83dc3e272" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + } + }, + { + "fullUrl": "urn:uuid:4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "resource": { + "resourceType": "Location", + "id": "4deea28f-3bf0-39ed-f26f-3af8ff87ba77", + "partOf": { + "reference": "Location/2722efa8-9c1c-af2d-a7d9-f786cdd2ed3c" + }, + "name": "BED1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4deea28f-3bf0-39ed-f26f-3af8ff87ba77" + } + }, + { + "fullUrl": "urn:uuid:e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "resource": { + "resourceType": "Location", + "id": "e2b1be1f-f55c-d517-b426-e0d1a444e6f0", + "name": "FACILITY1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + } + }, + { + "fullUrl": "urn:uuid:4b3128bd-df73-2831-f801-9f0b1ac78930", + "resource": { + "resourceType": "Location", + "id": "4b3128bd-df73-2831-f801-9f0b1ac78930", + "partOf": { + "reference": "Location/e2b1be1f-f55c-d517-b426-e0d1a444e6f0" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + } + }, + { + "fullUrl": "urn:uuid:b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "resource": { + "resourceType": "Location", + "id": "b662aeaa-5f80-30bc-ea69-bfc02edd6fc2", + "partOf": { + "reference": "Location/4b3128bd-df73-2831-f801-9f0b1ac78930" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "SPROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/b662aeaa-5f80-30bc-ea69-bfc02edd6fc2" + } + }, + { + "fullUrl": "urn:uuid:30faa287-a7a7-24b8-1e99-e6e958d70b82", + "resource": { + "resourceType": "Location", + "id": "30faa287-a7a7-24b8-1e99-e6e958d70b82", + "partOf": { + "reference": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + }, + "name": "WAITINGROOM", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + } + }, + { + "fullUrl": "urn:uuid:885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "resource": { + "resourceType": "Location", + "id": "885198c1-9b6f-f5f5-ed68-5550970e1ad7", + "partOf": { + "reference": "Location/30faa287-a7a7-24b8-1e99-e6e958d70b82" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/885198c1-9b6f-f5f5-ed68-5550970e1ad7" + } + }, + { + "fullUrl": "urn:uuid:2ddedc1b-1224-cccb-cc32-5de31e153d55", + "resource": { + "resourceType": "Location", + "id": "2ddedc1b-1224-cccb-cc32-5de31e153d55", + "name": "FACILITY1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + } + }, + { + "fullUrl": "urn:uuid:674d0d21-31a1-222d-a257-8e591d5bf31a", + "resource": { + "resourceType": "Location", + "id": "674d0d21-31a1-222d-a257-8e591d5bf31a", + "partOf": { + "reference": "Location/2ddedc1b-1224-cccb-cc32-5de31e153d55" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + } + }, + { + "fullUrl": "urn:uuid:a636e63f-9983-a4ea-7e00-c414197696be", + "resource": { + "resourceType": "Location", + "id": "a636e63f-9983-a4ea-7e00-c414197696be", + "partOf": { + "reference": "Location/674d0d21-31a1-222d-a257-8e591d5bf31a" + }, + "name": "FLOOR0", + "mode": "instance", + "description": "WAITINGROOM--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1--FLOOR0", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a636e63f-9983-a4ea-7e00-c414197696be" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" + } + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + } + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + } + ] + } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json index f7c7f1b87..4aee3eec2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json @@ -1,2100 +1,2101 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-14T11:20:00+02:15", + "timestamp": "2021-09-14T14:35:00+05:30", "identifier": { - "value": "MSG00012" + "value": "MSG00012" }, "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", "entry": [ - { - "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", - "resource": { - "resourceType": "MessageHeader", - "id": "84fede5c-45a5-87f6-e613-122c708147b1", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", + "resource": { + "resourceType": "MessageHeader", + "id": "84fede5c-45a5-87f6-e613-122c708147b1", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S12^SIU_S12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S12^SIU_S12" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:43.232Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" - }, - "occurredDateTime": "2021-09-14T11:20:00+02:15", - "recorded": "2021-09-14T11:20:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:57:30.275Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + }, + "occurredDateTime": "2021-09-14T14:35:00+05:30", + "recorded": "2021-09-14T14:35:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S12^SIU_S12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S12^SIU_S12" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "comment": "Appointment booked for emergency procedure", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment booked for emergency procedure", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", - "resource": { - "resourceType": "Practitioner", - "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", - "identifier": [ - { - "value": "0210" - } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ] + { + "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1", + "resource": { + "resourceType": "Practitioner", + "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1", + "identifier": [ + { + "value": "0210" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } - }, - { - "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "resource": { - "resourceType": "Practitioner", - "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", - "identifier": [ - { - "value": "0310" - } - ], - "name": [ - { - "family": "REFER", - "given": [ - "LINDA", - "C" - ] + { + "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "resource": { + "resourceType": "Practitioner", + "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9", + "identifier": [ + { + "value": "0310" + } + ], + "name": [ + { + "family": "REFER", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", - "resource": { - "resourceType": "Practitioner", - "id": "6c138e7c-e841-af07-8948-d01692bd2739", - "identifier": [ - { - "value": "03410" + { + "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739", + "resource": { + "resourceType": "Practitioner", + "id": "6c138e7c-e841-af07-8948-d01692bd2739", + "identifier": [ + { + "value": "03410" + } + ], + "name": [ + { + "family": "ADMIT", + "given": [ + "LINDA", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" } - ], - "name": [ - { - "family": "ADMIT", - "given": [ - "LINDA", - "C" - ] + }, + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" + { + "fullUrl": "urn:uuid:2d2a3226-c568-67d5-b72d-197016a744fe", + "resource": { + "resourceType": "Location", + "id": "2d2a3226-c568-67d5-b72d-197016a744fe", + "name": "GENOPD", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" } - ], - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:2d2a3226-c568-67d5-b72d-197016a744fe", - "resource": { - "resourceType": "Location", - "id": "2d2a3226-c568-67d5-b72d-197016a744fe", - "name": "GENOPD", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" - } - }, - { - "fullUrl": "urn:uuid:c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", - "resource": { - "resourceType": "Location", - "id": "c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", - "partOf": { - "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" - }, - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", + "resource": { + "resourceType": "Location", + "id": "c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50", + "partOf": { + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + }, + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50" } - ], - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/c2ba7ba9-dc4c-5a59-15ed-c6a2d0ab4e50" - } - }, - { - "fullUrl": "urn:uuid:7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", - "resource": { - "resourceType": "Location", - "id": "7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", - "name": "FACILITY1", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" - } - }, - { - "fullUrl": "urn:uuid:60f9253f-2278-912d-b0cb-29905def8a31", - "resource": { - "resourceType": "Location", - "id": "60f9253f-2278-912d-b0cb-29905def8a31", - "partOf": { - "reference": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/60f9253f-2278-912d-b0cb-29905def8a31" - } - }, - { - "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "resource": { - "resourceType": "Encounter", - "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", - "class": { - "code": "AMB", - "display": "ambulatory", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "in-progress", - "location": [ - { - "status": "active", - "location": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } + { + "fullUrl": "urn:uuid:7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", + "resource": { + "resourceType": "Location", + "id": "7edad451-f30a-7bc0-f8b6-8bd61c32fcb1", + "name": "FACILITY1", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" - } + "request": { + "method": "PUT", + "url": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:60f9253f-2278-912d-b0cb-29905def8a31", + "resource": { + "resourceType": "Location", + "id": "60f9253f-2278-912d-b0cb-29905def8a31", + "partOf": { + "reference": "Location/7edad451-f30a-7bc0-f8b6-8bd61c32fcb1" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/60f9253f-2278-912d-b0cb-29905def8a31" + } + }, + { + "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "resource": { + "resourceType": "Encounter", + "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995", + "class": { + "code": "AMB", + "display": "ambulatory", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "in-progress", + "location": [ + { + "status": "active", + "location": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/2d2a3226-c568-67d5-b72d-197016a744fe" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" - } - }, - { - "type": [ - { - "coding": [ + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1" + } + }, { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739" - } - } - ], - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - } - ], - "period": { - "start": "2021-01-15T16:00:10+02:15" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "116290004", - "display": "Acute abdominal pain", - "system": "http://snomed.info/sct" - } - ] - } - ], - "text": { - "status": "generated", - "div": "

Visit Description:

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "A", - "display": "Ambulance", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ], - "diagnosis": [ - { - "condition": { - "reference": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" - }, - "use": { - "coding": [ - { - "code": "AD", - "display": "Admission Diagnosis", - "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" - } + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + } + ], + "period": { + "start": "2021-01-15T19:15:10+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "116290004", + "display": "Acute abdominal pain", + "system": "http://snomed.info/sct" + } + ] + } + ], + "text": { + "status": "generated", + "div": "

Visit Description:

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "A", + "display": "Ambulance", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ], + "diagnosis": [ + { + "condition": { + "reference": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" + }, + "use": { + "coding": [ + { + "code": "AD", + "display": "Admission Diagnosis", + "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role" + } + ] + }, + "rank": 1 + } ] - }, - "rank": 1 + }, + "request": { + "method": "PUT", + "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:41e75a04-7180-c2c5-d139-5abc95b2fe05", - "resource": { - "resourceType": "Observation", - "id": "41e75a04-7180-c2c5-d139-5abc95b2fe05", - "status": "final", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "Heart rate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 72, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "60-120" - } - ], - "effectiveDateTime": "2021-09-14", - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/41e75a04-7180-c2c5-d139-5abc95b2fe05" - } - }, - { - "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", - "resource": { - "resourceType": "Practitioner", - "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", - "identifier": [ - { - "value": "005454" - } - ], - "name": [ - { - "family": "DIAG", - "given": [ - "ROBIN", - "B" - ] + { + "fullUrl": "urn:uuid:41e75a04-7180-c2c5-d139-5abc95b2fe05", + "resource": { + "resourceType": "Observation", + "id": "41e75a04-7180-c2c5-d139-5abc95b2fe05", + "status": "final", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "Heart rate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 72, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "60-120" + } + ], + "effectiveDateTime": "2021-09-14", + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/41e75a04-7180-c2c5-d139-5abc95b2fe05" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - } - }, - { - "fullUrl": "urn:uuid:ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", - "resource": { - "resourceType": "Condition", - "id": "ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", - "code": { - "coding": [ - { - "code": "64766004", - "display": "Ulcerative colitis(disorder)", - "system": "http://snomed.info/sct" - } - ], - "text": "Ulcerative Colitis" - }, - "onsetDateTime": "2021-08-25T11:40:25+04:20", - "identifier": [ - { - "value": "DI20", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51", + "resource": { + "resourceType": "Practitioner", + "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51", + "identifier": [ + { + "value": "005454" + } + ], + "name": [ + { + "family": "DIAG", + "given": [ + "ROBIN", + "B" + ] + } ] - } - } - ], - "asserter": { - "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", - "valueDateTime": "2020-05-01T13:30:15+02:15" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", - "valueReference": { - "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } + "request": { + "method": "PUT", + "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" } - ] }, - "request": { - "method": "PUT", - "url": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" - } - }, - { - "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "resource": { - "resourceType": "Condition", - "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", - "identifier": [ - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "CLIP", - "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", + "resource": { + "resourceType": "Condition", + "id": "ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb", + "code": { + "coding": [ + { + "code": "64766004", + "display": "Ulcerative colitis(disorder)", + "system": "http://snomed.info/sct" + } + ], + "text": "Ulcerative Colitis" + }, + "onsetDateTime": "2021-08-25T12:50:25+05:30", + "identifier": [ + { + "value": "DI20", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "asserter": { + "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51" + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", + "valueDateTime": "2020-05-01T16:45:15+05:30" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo", + "valueReference": { + "reference": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "resource": { + "resourceType": "Condition", + "id": "f799c7a6-94d4-720d-3e21-88bafc1c80e9", + "identifier": [ + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "CLIP", + "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" + "request": { + "method": "PUT", + "url": "Condition/f799c7a6-94d4-720d-3e21-88bafc1c80e9" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] }, - { - "value": "5002" - } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json index fa61b179b..c02e5e080 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-10T11:30:00+02:15", + "timestamp": "2021-08-10T14:45:00+05:30", "identifier": { - "value": "MSG00012" + "value": "MSG00012" }, "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715", "entry": [ - { - "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", - "resource": { - "resourceType": "MessageHeader", - "id": "84fede5c-45a5-87f6-e613-122c708147b1", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1", + "resource": { + "resourceType": "MessageHeader", + "id": "84fede5c-45a5-87f6-e613-122c708147b1", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S12^SIU_S12" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S12^SIU_S12" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:19.635Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" - }, - "occurredDateTime": "2021-08-10T11:30:00+02:15", - "recorded": "2021-08-10T11:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:58:01.078Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.

" + }, + "occurredDateTime": "2021-08-10T14:45:00+05:30", + "recorded": "2021-08-10T14:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S12^SIU_S12" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S12^SIU_S12" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment for annual checkup", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json index 602b00add..b20977906 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json @@ -1,1444 +1,1443 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-20T11:26:00+02:15", + "timestamp": "2021-09-20T14:41:00+05:30", "identifier": { - "value": "MSG00013" + "value": "MSG00013" }, "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", "entry": [ - { - "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "resource": { - "resourceType": "MessageHeader", - "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "resource": { + "resourceType": "MessageHeader", + "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S13^SIU_S13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S13^SIU_S13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:25.182Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" - }, - "occurredDateTime": "2021-09-20T11:26:00+02:15", - "recorded": "2021-09-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:59:06.738Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + }, + "occurredDateTime": "2021-09-20T14:41:00+05:30", + "recorded": "2021-09-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S13^SIU_S13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S13^SIU_S13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json index a964cb5f0..ee1cc9d14 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:30:00+02:15", + "timestamp": "2021-08-18T14:45:00+05:30", "identifier": { - "value": "MSG00013" + "value": "MSG00013" }, "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15", "entry": [ - { - "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "resource": { - "resourceType": "MessageHeader", - "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "resource": { + "resourceType": "MessageHeader", + "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S13", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S13^SIU_S13" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S13", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S13^SIU_S13" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:30.771Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" - }, - "occurredDateTime": "2021-08-18T11:30:00+02:15", - "recorded": "2021-08-18T11:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T08:59:52.393Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.

" + }, + "occurredDateTime": "2021-08-18T14:45:00+05:30", + "recorded": "2021-08-18T14:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S13^SIU_S13" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S13^SIU_S13" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-20T11:30:00+02:15", - "end": "2021-08-20T12:30:00+02:15", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-20T14:45:00+05:30", + "end": "2021-08-20T15:45:00+05:30", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json index 235180650..31c65474e 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json @@ -1,1444 +1,1443 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-20T11:26:00+02:15", + "timestamp": "2021-09-20T14:41:00+05:30", "identifier": { - "value": "MSG00014" + "value": "MSG00014" }, "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", "entry": [ - { - "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "resource": { - "resourceType": "MessageHeader", - "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "resource": { + "resourceType": "MessageHeader", + "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S14^SIU_S14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S14^SIU_S14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:27.74Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" - }, - "occurredDateTime": "2021-09-20T11:26:00+02:15", - "recorded": "2021-09-20T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:00:33.545Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + }, + "occurredDateTime": "2021-09-20T14:41:00+05:30", + "recorded": "2021-09-20T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S14^SIU_S14" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S14^SIU_S14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "accepted" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "accepted" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "active", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient bowel preparation for the procedure" }, - { - "text": "Patient instructions - light meal or liquid diet a day before procedure" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "active", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient bowel preparation for the procedure" + }, + { + "text": "Patient instructions - light meal or liquid diet a day before procedure" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Check if this particular equipment is available" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Check if this particular equipment is available" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:18e734c1-7258-6297-f8aa-fbcf2188c7bb", - "resource": { - "resourceType": "Location", - "id": "18e734c1-7258-6297-f8aa-fbcf2188c7bb", - "name": "055", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:18e734c1-7258-6297-f8aa-fbcf2188c7bb", + "resource": { + "resourceType": "Location", + "id": "18e734c1-7258-6297-f8aa-fbcf2188c7bb", + "name": "055", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - } - }, - { - "fullUrl": "urn:uuid:96860c54-dfeb-5e05-abe0-9e5d518e5865", - "resource": { - "resourceType": "Location", - "id": "96860c54-dfeb-5e05-abe0-9e5d518e5865", - "partOf": { - "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" - }, - "name": "Room02", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:96860c54-dfeb-5e05-abe0-9e5d518e5865", + "resource": { + "resourceType": "Location", + "id": "96860c54-dfeb-5e05-abe0-9e5d518e5865", + "partOf": { + "reference": "Location/18e734c1-7258-6297-f8aa-fbcf2188c7bb" + }, + "name": "Room02", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/96860c54-dfeb-5e05-abe0-9e5d518e5865" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/96860c54-dfeb-5e05-abe0-9e5d518e5865" - } - }, - { - "fullUrl": "urn:uuid:36e00a7a-d432-5856-498d-a698f70a8f15", - "resource": { - "resourceType": "Location", - "id": "36e00a7a-d432-5856-498d-a698f70a8f15", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room02--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:36e00a7a-d432-5856-498d-a698f70a8f15", + "resource": { + "resourceType": "Location", + "id": "36e00a7a-d432-5856-498d-a698f70a8f15", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room02--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location ready and disinfected before procedure" + ] + }, + "request": { + "method": "PUT", + "url": "Location/36e00a7a-d432-5856-498d-a698f70a8f15" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location ready and disinfected before procedure" - ] }, - "request": { - "method": "PUT", - "url": "Location/36e00a7a-d432-5856-498d-a698f70a8f15" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json index 52a33d6b5..38c15971b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-17T11:30:00+02:15", + "timestamp": "2021-08-17T14:45:00+05:30", "identifier": { - "value": "MSG00014" + "value": "MSG00014" }, "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51", "entry": [ - { - "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "resource": { - "resourceType": "MessageHeader", - "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "resource": { + "resourceType": "MessageHeader", + "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S14", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S14^SIU_S14" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S14", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S14^SIU_S14" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:23.157Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" - }, - "occurredDateTime": "2021-08-17T11:30:00+02:15", - "recorded": "2021-08-17T11:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:01:10.488Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.

" + }, + "occurredDateTime": "2021-08-17T14:45:00+05:30", + "recorded": "2021-08-17T14:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S14^SIU_S14" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S14^SIU_S14" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "booked", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "booked", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:b66d2815-7fb1-5d31-cba4-786795453f66", + "resource": { + "resourceType": "Location", + "id": "b66d2815-7fb1-5d31-cba4-786795453f66", + "name": "LabUnit102", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + } + }, + { + "fullUrl": "urn:uuid:03162b68-aea3-37a0-0d98-94e29ee09823", + "resource": { + "resourceType": "Location", + "id": "03162b68-aea3-37a0-0d98-94e29ee09823", + "partOf": { + "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/03162b68-aea3-37a0-0d98-94e29ee09823" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:b448ecd3-a552-3ac7-08ab-a52774f67b11", + "resource": { + "resourceType": "Location", + "id": "b448ecd3-a552-3ac7-08ab-a52774f67b11", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit102--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/b448ecd3-a552-3ac7-08ab-a52774f67b11" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "active", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:b66d2815-7fb1-5d31-cba4-786795453f66", - "resource": { - "resourceType": "Location", - "id": "b66d2815-7fb1-5d31-cba4-786795453f66", - "name": "LabUnit102", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - } - }, - { - "fullUrl": "urn:uuid:03162b68-aea3-37a0-0d98-94e29ee09823", - "resource": { - "resourceType": "Location", - "id": "03162b68-aea3-37a0-0d98-94e29ee09823", - "partOf": { - "reference": "Location/b66d2815-7fb1-5d31-cba4-786795453f66" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/03162b68-aea3-37a0-0d98-94e29ee09823" - } - }, - { - "fullUrl": "urn:uuid:b448ecd3-a552-3ac7-08ab-a52774f67b11", - "resource": { - "resourceType": "Location", - "id": "b448ecd3-a552-3ac7-08ab-a52774f67b11", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit102--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/b448ecd3-a552-3ac7-08ab-a52774f67b11" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "active", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json index ac9819745..a20ba2716 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json @@ -1,1444 +1,1443 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-23T11:26:00+02:15", + "timestamp": "2021-09-23T14:41:00+05:30", "identifier": { - "value": "MSG00015" + "value": "MSG00015" }, "id": "d7447df6-4738-6328-ce18-4b3764840611", "entry": [ - { - "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "resource": { - "resourceType": "MessageHeader", - "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "resource": { + "resourceType": "MessageHeader", + "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S15^SIU_S15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S15^SIU_S15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:22.808Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" - }, - "occurredDateTime": "2021-09-23T11:26:00+02:15", - "recorded": "2021-09-23T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:01:48.394Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + }, + "occurredDateTime": "2021-09-23T14:41:00+05:30", + "recorded": "2021-09-23T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S15^SIU_S15" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S15^SIU_S15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment cancelled" }, - { - "text": "Patient instructions - Appointment cancelled" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment cancelled" + }, + { + "text": "Patient instructions - Appointment cancelled" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment is available for other Practitioner as the appointment is cancelled" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment is available for other Practitioner as the appointment is cancelled" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available as appointment is cancelled" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available as appointment is cancelled" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json index 359bebf8a..0a19e95b9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T10:30:00+02:15", + "timestamp": "2021-08-18T13:45:00+05:30", "identifier": { - "value": "MSG00015" + "value": "MSG00015" }, "id": "d7447df6-4738-6328-ce18-4b3764840611", "entry": [ - { - "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "resource": { - "resourceType": "MessageHeader", - "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "resource": { + "resourceType": "MessageHeader", + "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S15", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S15^SIU_S15" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S15", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S15^SIU_S15" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:11.237Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" - }, - "occurredDateTime": "2021-08-18T10:30:00+02:15", - "recorded": "2021-08-18T10:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:02:22.03Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.

" + }, + "occurredDateTime": "2021-08-18T13:45:00+05:30", + "recorded": "2021-08-18T13:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S15^SIU_S15" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S15^SIU_S15" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup cancelled as GP is not available on Aug 18.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment for annual checkup cancelled as GP is not available on Aug 18.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "draft", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "draft", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "draft", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "draft", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json index 67ada4a8a..5cb751c71 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json @@ -1,1444 +1,1443 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "1989-08-18T11:26:00+02:15", + "timestamp": "1989-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00016" + "value": "MSG00016" }, "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", "entry": [ - { - "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", - "resource": { - "resourceType": "MessageHeader", - "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", + "resource": { + "resourceType": "MessageHeader", + "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S16^SIU_S16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S16^SIU_S16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:01.319Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" - }, - "occurredDateTime": "1989-08-18T11:26:00+02:15", - "recorded": "1989-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:03:09.654Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + }, + "occurredDateTime": "1989-08-18T14:41:00+05:30", + "recorded": "1989-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S16^SIU_S16" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S16^SIU_S16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment discontinued due to equipment malfunction" }, - { - "text": "Patient instructions - Appointment discontinued due to equipment malfunction" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment discontinued due to equipment malfunction" + }, + { + "text": "Patient instructions - Appointment discontinued due to equipment malfunction" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment malfunction" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment malfunction" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is discontinued" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is discontinued" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json index 59158704d..bc3e42e92 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-10T12:00:00+02:15", + "timestamp": "2021-08-10T15:15:00+05:30", "identifier": { - "value": "MSG00016" + "value": "MSG00016" }, "id": "30435f80-02b6-8e6a-011f-03792aa30b3e", "entry": [ - { - "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", - "resource": { - "resourceType": "MessageHeader", - "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114", + "resource": { + "resourceType": "MessageHeader", + "id": "01f8408f-d203-67a6-59cb-836f0c2f0114", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S16", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S16^SIU_S16" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S16", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S16^SIU_S16" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:18.566Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" - }, - "occurredDateTime": "2021-08-10T12:00:00+02:15", - "recorded": "2021-08-10T12:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:03:40.746Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.

" + }, + "occurredDateTime": "2021-08-10T15:15:00+05:30", + "recorded": "2021-08-10T15:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S16^SIU_S16" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S16^SIU_S16" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "cancelled", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "cancelled", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup discontinued due to power failure at the facility.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment for annual checkup discontinued due to power failure at the facility.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json index f1e96be76..b30fc4fa9 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json @@ -1,1444 +1,1443 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-23T11:26:00+02:15", + "timestamp": "2021-09-23T14:41:00+05:30", "identifier": { - "value": "MSG00017" + "value": "MSG00017" }, "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", "entry": [ - { - "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "resource": { - "resourceType": "MessageHeader", - "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "resource": { + "resourceType": "MessageHeader", + "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S17", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S17^SIU_S17" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S17", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S17^SIU_S17" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:05.167Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" - }, - "occurredDateTime": "2021-09-23T11:26:00+02:15", - "recorded": "2021-09-23T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:04:15.27Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + }, + "occurredDateTime": "2021-09-23T14:41:00+05:30", + "recorded": "2021-09-23T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S17^SIU_S17" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S17^SIU_S17" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "entered-in-error", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "entered-in-error", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "entered-in-error", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] - }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] - } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Appointment deleted" }, - { - "text": "Patient instructions - Appointment deleted" + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "entered-in-error", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Appointment deleted" + }, + { + "text": "Patient instructions - Appointment deleted" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment available" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment available" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for next slot as appointment is deleted" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for next slot as appointment is deleted" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json index 46d85ba6f..92d8aba2b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-10T10:30:00+02:15", + "timestamp": "2021-08-10T13:45:00+05:30", "identifier": { - "value": "MSG00017" + "value": "MSG00017" }, "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194", "entry": [ - { - "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "resource": { - "resourceType": "MessageHeader", - "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "resource": { + "resourceType": "MessageHeader", + "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S17", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S17^SIU_S17" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S17", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S17^SIU_S17" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:48.815Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" - }, - "occurredDateTime": "2021-08-10T10:30:00+02:15", - "recorded": "2021-08-10T10:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:04:50.14Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.

" + }, + "occurredDateTime": "2021-08-10T13:45:00+05:30", + "recorded": "2021-08-10T13:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S17^SIU_S17" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S17^SIU_S17" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "entered-in-error", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "entered-in-error", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Appointment for annual checkup deleted as it was assigned to wrong patient.", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Appointment for annual checkup deleted as it was assigned to wrong patient.", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID566", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID566", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "entered-in-error", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Fasting for Blood sugar before appointment" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "entered-in-error", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment booked for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "entered-in-error", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Fasting for Blood sugar before appointment" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "entered-in-error", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment booked for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json index 1ecb24821..442708c9a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json @@ -1,1441 +1,1440 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-09-24T10:00:00+02:15", + "timestamp": "2021-09-24T13:15:00+05:30", "identifier": { - "value": "MSG00026" + "value": "MSG00026" }, "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", "entry": [ - { - "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "resource": { - "resourceType": "MessageHeader", - "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "resource": { + "resourceType": "MessageHeader", + "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S26^SIU_S26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S26^SIU_S26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:24.139Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" - }, - "occurredDateTime": "2021-09-24T10:00:00+02:15", - "recorded": "2021-09-24T10:00:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:05:26.573Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + }, + "occurredDateTime": "2021-09-24T13:15:00+05:30", + "recorded": "2021-09-24T13:15:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S26^SIU_S26" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S26^SIU_S26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "appointmentType": { - "coding": [ - { - "code": "EMERGENCY", - "display": "Emergency appointment", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-09-24T09:30:00+02:15", - "end": "2021-09-24T10:20:00+02:15", - "minutesDuration": 1, - "status": "noshow", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - }, - "type": [ - { - "coding": [ - { - "code": "101", - "display": "Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - }, - { - "actor": { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - }, - "type": [ - { - "coding": [ - { - "code": "010", - "display": "Gastroenterologist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "appointmentType": { + "coding": [ + { + "code": "EMERGENCY", + "display": "Emergency appointment", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-09-24T12:45:00+05:30", + "end": "2021-09-24T13:35:00+05:30", + "minutesDuration": 1, + "status": "noshow", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ] - } - ], - "period": { - "start": "2021-09-24T09:30:00+02:15" - }, - "status": "declined" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + ], + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + "type": [ + { + "coding": [ + { + "code": "101", + "display": "Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + }, + { + "actor": { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + }, + "type": [ + { + "coding": [ + { + "code": "010", + "display": "Gastroenterologist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "period": { + "start": "2021-09-24T12:45:00+05:30" + }, + "status": "declined" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" + } + ] + }, + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" - }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" - } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" + } + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + } + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" + } }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + }, + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" + } + }, + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "resource": { - "resourceType": "ServiceRequest", - "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", - "status": "revoked", - "intent": "filler-order", - "orderDetail": [ - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - { - "coding": [ - { - "code": "5001", - "display": "EVIS X12 Video Colonoscope", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ] + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "occurrencePeriod": { - "start": "2021-09-24T09:30:00+02:15" - }, - "code": { - "coding": [ - { - "code": "76164006", - "display": "Biopsy of colon (procedure)", - "system": "http://snomed.info/sct" - }, - { - "code": "1212", - "display": "Biopsy" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Nursing staff instructions - Patient did not show up for the appointment" - } - ], - "performer": [ - { - "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "resource": { + "resourceType": "ServiceRequest", + "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b", + "status": "revoked", + "intent": "filler-order", + "orderDetail": [ + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + }, + { + "coding": [ + { + "code": "5001", + "display": "EVIS X12 Video Colonoscope", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "occurrencePeriod": { + "start": "2021-09-24T12:45:00+05:30" + }, + "code": { + "coding": [ + { + "code": "76164006", + "display": "Biopsy of colon (procedure)", + "system": "http://snomed.info/sct" + }, + { + "code": "1212", + "display": "Biopsy" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Nursing staff instructions - Patient did not show up for the appointment" + } + ], + "performer": [ + { + "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" + }, + { + "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" + } + ], + "locationReference": [ + { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + } + ] }, - { - "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" - } - ], - "locationReference": [ - { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + "request": { + "method": "PUT", + "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b" - } - }, - { - "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "resource": { - "resourceType": "Device", - "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", - "identifier": [ - { - "value": "5001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + { + "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "resource": { + "resourceType": "Device", + "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00", + "identifier": [ + { + "value": "5001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + }, + { + "value": "5002" + } + ], + "deviceName": [ + { + "name": "EVIS X12 Video Colonoscope", + "type": "model-name" + } + ], + "status": "active", + "note": [ + { + "text": "Equipment available" + } + ] }, - { - "value": "5002" + "request": { + "method": "PUT", + "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" } - ], - "deviceName": [ - { - "name": "EVIS X12 Video Colonoscope", - "type": "model-name" - } - ], - "status": "active", - "note": [ - { - "text": "Equipment available" - } - ] }, - "request": { - "method": "PUT", - "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00" - } - }, - { - "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "resource": { - "resourceType": "Location", - "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", - "name": "055", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "resource": { + "resourceType": "Location", + "id": "a0594ee2-fcaa-cab0-e434-8c015b6b539d", + "name": "055", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] }, - "request": { - "method": "PUT", - "url": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - } - }, - { - "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", - "resource": { - "resourceType": "Location", - "id": "20316097-b9df-6e97-45d1-6baee31015eb", - "partOf": { - "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" - }, - "name": "Room01", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:20316097-b9df-6e97-45d1-6baee31015eb", + "resource": { + "resourceType": "Location", + "id": "20316097-b9df-6e97-45d1-6baee31015eb", + "partOf": { + "reference": "Location/a0594ee2-fcaa-cab0-e434-8c015b6b539d" + }, + "name": "Room01", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] }, - "request": { - "method": "PUT", - "url": "Location/20316097-b9df-6e97-45d1-6baee31015eb" - } - }, - { - "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "resource": { - "resourceType": "Location", - "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", - "name": "GH Clinic", - "mode": "instance", - "description": "055--Room01--GH Clinic", - "type": [ - { - "coding": [ - { - "code": "C", - "display": "Clinic", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType" - } - ] + { + "fullUrl": "urn:uuid:5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "resource": { + "resourceType": "Location", + "id": "5ec8a1b6-0c32-d67f-eebb-746378dbf712", + "name": "GH Clinic", + "mode": "instance", + "description": "055--Room01--GH Clinic", + "type": [ + { + "coding": [ + { + "code": "C", + "display": "Clinic", + "system": "http://terminology.hl7.org/CodeSystem/v2-0305" + } + ] + } + ], + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available as patient did not show up" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" } - ], - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available as patient did not show up" - ] }, - "request": { - "method": "PUT", - "url": "Location/5ec8a1b6-0c32-d67f-eebb-746378dbf712" - } - }, - { - "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "resource": { - "resourceType": "Practitioner", - "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", - "identifier": [ - { - "value": "1210" - } - ], - "name": [ - { - "family": "GE", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "resource": { + "resourceType": "Practitioner", + "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb", + "identifier": [ + { + "value": "1210" + } + ], + "name": [ + { + "family": "GE", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json index 1459f033c..aacec1f5a 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json @@ -1,1712 +1,1711 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:30:00+02:15", + "timestamp": "2021-08-18T14:45:00+05:30", "identifier": { - "value": "MSG00026" + "value": "MSG00026" }, "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5", "entry": [ - { - "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "resource": { - "resourceType": "MessageHeader", - "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "resource": { + "resourceType": "MessageHeader", + "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "S26", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "SIU^S26^SIU_S26" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "S26", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "SIU^S26^SIU_S26" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9" - } - }, - { - "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "resource": { - "resourceType": "Provenance", - "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:33.182Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" - }, - "occurredDateTime": "2021-08-18T11:30:00+02:15", - "recorded": "2021-08-18T11:30:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "resource": { + "resourceType": "Provenance", + "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T09:05:57.629Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.

" + }, + "occurredDateTime": "2021-08-18T14:45:00+05:30", + "recorded": "2021-08-18T14:45:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "SIU^S26^SIU_S26" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/12428005-5692-7537-f572-e47a16418f26" + } + } + ], + "target": [ + { + "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "SIU^S26^SIU_S26" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/12428005-5692-7537-f572-e47a16418f26" - } - } - ], - "target": [ - { - "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5" + }, + "request": { + "method": "PUT", + "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", - "resource": { - "resourceType": "Device", - "id": "12428005-5692-7537-f572-e47a16418f26", - "identifier": [ - { - "value": "SCHApp" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/12428005-5692-7537-f572-e47a16418f26" - } - }, - { - "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "resource": { - "resourceType": "Appointment", - "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", - "identifier": [ - { - "value": "12345", - "type": { - "coding": [ - { - "code": "PLAC", - "display": "Placer Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26", + "resource": { + "resourceType": "Device", + "id": "12428005-5692-7537-f572-e47a16418f26", + "identifier": [ + { + "value": "SCHApp" + } ] - } }, - { - "value": "36996", - "type": { - "coding": [ - { - "code": "FILL", - "display": "Filler Identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/12428005-5692-7537-f572-e47a16418f26" } - ], - "appointmentType": { - "coding": [ - { - "code": "CHECKUP", - "display": "A routine check-up, such as an annual physical", - "system": "http://terminology.hl7.org/CodeSystem/v2-0276" - } - ] - }, - "priority": 2, - "start": "2021-08-18T11:30:00+02:15", - "end": "2021-08-18T12:30:00+02:15", - "minutesDuration": 70, - "status": "noshow", - "supportingInformation": [ - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - }, - { - "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "resource": { + "resourceType": "Appointment", + "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2", + "identifier": [ + { + "value": "12345", + "type": { + "coding": [ + { + "code": "PLAC", + "display": "Placer Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "36996", + "type": { + "coding": [ + { + "code": "FILL", + "display": "Filler Identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "appointmentType": { + "coding": [ + { + "code": "CHECKUP", + "display": "A routine check-up, such as an annual physical", + "system": "http://terminology.hl7.org/CodeSystem/v2-0276" + } + ] + }, + "priority": 2, + "start": "2021-08-18T14:45:00+05:30", + "end": "2021-08-18T15:45:00+05:30", + "minutesDuration": 70, + "status": "noshow", + "supportingInformation": [ + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" + }, + { + "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + } + ], + "comment": "Patient did not show up for the annual checkup ", + "participant": [ + { + "actor": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "status": "accepted" + }, + { + "actor": { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "Lab Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + }, + "type": [ + { + "coding": [ + { + "code": "019", + "display": "Phlebotomist", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + "type": [ + { + "coding": [ + { + "code": "015", + "display": "Imaging Equipment", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + }, + "type": [ + { + "coding": [ + { + "code": "021", + "display": "Radiology Technician", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + }, + { + "actor": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "status": "tentative" + }, + { + "actor": { + "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" + }, + "type": [ + { + "coding": [ + { + "code": "011", + "display": "General Practitioner", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + } + ] + } + ], + "status": "tentative" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + }, + { + "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + } + ] }, - { - "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" + "request": { + "method": "PUT", + "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" } - ], - "comment": "Patient did not show up for the annual checkup ", - "participant": [ - { - "actor": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "status": "accepted" - }, - { - "actor": { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "Lab Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + }, + { + "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", + "resource": { + "resourceType": "Organization", + "id": "df03b003-6818-1abd-209e-0889025aad16", + "identifier": [ + { + "value": "NPIID", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NPIID" + }, + { + "value": "urn:oid:2.16.840.1.113883.4.6", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "status": "tentative" + ] }, - { - "actor": { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - }, - "type": [ - { - "coding": [ - { - "code": "019", - "display": "Phlebotomist", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" + } + }, + { + "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", + "resource": { + "resourceType": "Practitioner", + "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", + "address": [ + { + "line": [ + "115 MAINSTREET" + ], + "city": "GOODTOWN", + "state": "KY", + "postalCode": "42010", + "country": "USA" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - }, - "type": [ - { - "coding": [ - { - "code": "015", - "display": "Imaging Equipment", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "telecom": [ + { + "value": "(608)271-9000", + "system": "phone" } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "status": "tentative" - }, - { - "actor": { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - }, - "type": [ - { - "coding": [ - { - "code": "021", - "display": "Radiology Technician", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + ], + "identifier": [ + { + "value": "9941339109", + "system": "urn:oid:2.16.840.1.113883.4.6", + "assigner": { + "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" + }, + "type": { + "coding": [ + { + "code": "NPI", + "display": "National provider identifier", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } } - ] - } - ], - "status": "tentative" - }, - { - "actor": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "status": "tentative" + ], + "name": [ + { + "family": "Smith", + "given": [ + "Adam", + "Mellie" + ], + "suffix": [ + "Jr", + "MD", + "GP" + ], + "prefix": [ + "Dr" + ], + "use": "official", + "period": { + "start": "2010-01-15", + "end": "2020-01-15" + } + } + ] }, - { - "actor": { - "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" - }, - "type": [ - { - "coding": [ - { - "code": "011", - "display": "General Practitioner", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" + "request": { + "method": "PUT", + "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" + } + }, + { + "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", + "resource": { + "resourceType": "PractitionerRole", + "id": "36effb10-f605-f388-c06c-90d22b315bd0", + "code": [ + { + "coding": [ + { + "code": "placer-contact", + "display": "Placer Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + }, + { + "coding": [ + { + "code": "filler-contact", + "display": "Filler Contact", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + } + ] + } + ], + "location": [ + { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] + ], + "practitioner": { + "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" } - ], - "status": "tentative" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" }, - { - "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" + "request": { + "method": "PUT", + "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" } - ] }, - "request": { - "method": "PUT", - "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2" - } - }, - { - "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16", - "resource": { - "resourceType": "Organization", - "id": "df03b003-6818-1abd-209e-0889025aad16", - "identifier": [ - { - "value": "NPIID", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID" + { + "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", + "resource": { + "resourceType": "Location", + "id": "01972772-633a-aae6-c377-70073d6923d3", + "name": "FACILITY2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:2.16.840.1.113883.4.6", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/01972772-633a-aae6-c377-70073d6923d3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/df03b003-6818-1abd-209e-0889025aad16" - } - }, - { - "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7", - "resource": { - "resourceType": "Practitioner", - "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7", - "address": [ - { - "line": [ - "115 MAINSTREET" - ], - "city": "GOODTOWN", - "state": "KY", - "postalCode": "42010", - "country": "USA" + { + "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "resource": { + "resourceType": "Location", + "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", + "partOf": { + "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" } - ], - "telecom": [ - { - "value": "(608)271-9000", - "system": "phone" + }, + { + "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", + "resource": { + "resourceType": "Location", + "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", + "partOf": { + "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" + }, + "name": "FLOOR2", + "mode": "instance", + "description": "FACILITY2--BUILDING2--FLOOR2", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" } - ], - "identifier": [ - { - "value": "9941339109", - "system": "urn:oid:2.16.840.1.113883.4.6", - "assigner": { - "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16" - }, - "type": { - "coding": [ - { - "code": "NPI", - "display": "National provider identifier", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", + "resource": { + "resourceType": "Practitioner", + "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", + "telecom": [ + { + "value": "(610)271-9000", + "system": "phone" + } + ], + "identifier": [ + { + "value": "9" + } + ], + "name": [ + { + "family": "DENT", + "given": [ + "COREY" + ] + } ] - } - } - ], - "name": [ - { - "family": "Smith", - "given": [ - "Adam", - "Mellie" - ], - "suffix": [ - "Jr", - "MD", - "GP" - ], - "prefix": [ - "Dr" - ], - "use": "official", - "period": { - "start": "2010-01-15", - "end": "2020-01-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - { - "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0", - "resource": { - "resourceType": "PractitionerRole", - "id": "36effb10-f605-f388-c06c-90d22b315bd0", - "code": [ - { - "coding": [ - { - "code": "placer-contact", - "display": "Placer Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", + "resource": { + "resourceType": "PractitionerRole", + "id": "f3c93626-c639-1507-76f0-945d762c11a8", + "code": [ + { + "coding": [ + { + "code": "EP", + "display": "Entering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + } + ], + "practitioner": { + "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" } - ] }, - { - "coding": [ - { - "code": "filler-contact", - "display": "Filler Contact", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" - } - ] - } - ], - "location": [ - { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" + "request": { + "method": "PUT", + "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" } - ], - "practitioner": { - "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0" - } - }, - { - "fullUrl": "urn:uuid:01972772-633a-aae6-c377-70073d6923d3", - "resource": { - "resourceType": "Location", - "id": "01972772-633a-aae6-c377-70073d6923d3", - "name": "FACILITY2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/01972772-633a-aae6-c377-70073d6923d3" - } - }, - { - "fullUrl": "urn:uuid:3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "resource": { - "resourceType": "Location", - "id": "3cb60c1b-51ab-5a44-f10e-88ba527a7703", - "partOf": { - "reference": "Location/01972772-633a-aae6-c377-70073d6923d3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - } - }, - { - "fullUrl": "urn:uuid:16c4c7c7-906b-cb78-3752-fd23e6b86947", - "resource": { - "resourceType": "Location", - "id": "16c4c7c7-906b-cb78-3752-fd23e6b86947", - "partOf": { - "reference": "Location/3cb60c1b-51ab-5a44-f10e-88ba527a7703" - }, - "name": "FLOOR2", - "mode": "instance", - "description": "FACILITY2--BUILDING2--FLOOR2", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/16c4c7c7-906b-cb78-3752-fd23e6b86947" - } - }, - { - "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25", - "resource": { - "resourceType": "Practitioner", - "id": "fb95e0b1-227c-8068-3e51-86c2df312f25", - "telecom": [ - { - "value": "(610)271-9000", - "system": "phone" - } - ], - "identifier": [ - { - "value": "9" - } - ], - "name": [ - { - "family": "DENT", - "given": [ - "COREY" - ] + { + "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "resource": { + "resourceType": "Location", + "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", + "name": "FACILITY3", + "identifier": [ + { + "value": "urn:oid:1.23", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } - }, - { - "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8", - "resource": { - "resourceType": "PractitionerRole", - "id": "f3c93626-c639-1507-76f0-945d762c11a8", - "code": [ - { - "coding": [ - { - "code": "enterer", - "display": "Enterer", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", + "resource": { + "resourceType": "Location", + "id": "4286827a-3781-736c-4371-875b4224039d", + "partOf": { + "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "name": "BUILDING2", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] - } - ], - "location": [ - { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" + }, + "request": { + "method": "PUT", + "url": "Location/4286827a-3781-736c-4371-875b4224039d" } - ], - "practitioner": { - "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8" - } - }, - { - "fullUrl": "urn:uuid:8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "resource": { - "resourceType": "Location", - "id": "8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3", - "name": "FACILITY3", - "identifier": [ - { - "value": "urn:oid:1.23", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", + "resource": { + "resourceType": "Location", + "id": "eff1b356-b5a1-cb8a-abad-02924820576b", + "partOf": { + "reference": "Location/4286827a-3781-736c-4371-875b4224039d" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" } - ], - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - } - }, - { - "fullUrl": "urn:uuid:4286827a-3781-736c-4371-875b4224039d", - "resource": { - "resourceType": "Location", - "id": "4286827a-3781-736c-4371-875b4224039d", - "partOf": { - "reference": "Location/8ee5edb4-b4f6-5efb-f49c-b4aacaf6b2e3" - }, - "name": "BUILDING2", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/4286827a-3781-736c-4371-875b4224039d" - } - }, - { - "fullUrl": "urn:uuid:eff1b356-b5a1-cb8a-abad-02924820576b", - "resource": { - "resourceType": "Location", - "id": "eff1b356-b5a1-cb8a-abad-02924820576b", - "partOf": { - "reference": "Location/4286827a-3781-736c-4371-875b4224039d" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/eff1b356-b5a1-cb8a-abad-02924820576b" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "elbert", - "given": [ - "Son" - ] - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "resource": { + "resourceType": "RelatedPerson", + "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "relationship": [ + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "text": "TextInEnglish" - }, - "preferred": true + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", + "resource": { + "resourceType": "ServiceRequest", + "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "58410-2", + "display": "CBC Panel-Blood by Automated Count", + "system": "http://loinc.org" + } + ] }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "note": [ + { + "text": "Lab Staff Instructions - Patient did not show up" + } + ], + "performer": [ + { + "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + }, + { + "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + } + ], + "locationReference": [ + { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" + } + }, + { + "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", + "resource": { + "resourceType": "Device", + "id": "dd77839c-6623-a021-29ef-c04fd35460ca", + "identifier": [ + { + "value": "123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "ABC Cell Counter", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment available for lab test" + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + } + }, + { + "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", + "resource": { + "resourceType": "Location", + "id": "576394b6-fb8c-a305-1717-a99715b08fad", + "name": "LabUnit101", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + } + }, + { + "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", + "resource": { + "resourceType": "Location", + "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", + "partOf": { + "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" + }, + "name": "Lab Room 01", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for lab test" + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] + "request": { + "method": "PUT", + "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } + { + "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", + "resource": { + "resourceType": "Location", + "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", + "name": "GHH Hospital", + "mode": "instance", + "description": "LabUnit101--Lab Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for lab test" ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "request": { + "method": "PUT", + "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "resource": { + "resourceType": "Practitioner", + "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", + "identifier": [ + { + "value": "400" + } + ], + "name": [ + { + "family": "PB", + "given": [ + "Tim", + "G" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", + "resource": { + "resourceType": "ServiceRequest", + "id": "2b1743c0-089d-d354-0cbe-e548478fd580", + "status": "revoked", + "intent": "filler-order", + "code": { + "coding": [ + { + "code": "42272-5", + "display": "XR Chest PA and Lateral", + "system": "http://loinc.org" + } + ] + }, + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "note": [ + { + "text": "Radiology Staff Instructions - Patient did not show up" + } + ], + "performer": [ + { + "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + }, + { + "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + } + ], + "locationReference": [ + { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + } ] - } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" - }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", + "resource": { + "resourceType": "Device", + "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", + "identifier": [ + { + "value": "1001", + "system": "http://example.com/v2-to-fhir-converter/Identifier/L" + } + ], + "deviceName": [ + { + "name": "XYZ X-Ray Machine", + "type": "model-name" + } + ], + "note": [ + { + "text": "Equipment available for imaging" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "resource": { - "resourceType": "RelatedPerson", - "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } + { + "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", + "resource": { + "resourceType": "Location", + "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", + "name": "DiagnosticUnit201", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for imaging" ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "relationship": [ - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a" - } - }, - { - "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5", - "resource": { - "resourceType": "ServiceRequest", - "id": "8ad3476e-03c9-158e-12d8-20de3070fce5", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "58410-2", - "display": "CBC Panel-Blood by Automated Count", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Lab Staff Instructions - Patient did not show up" - } - ], - "performer": [ - { - "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" + { + "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "resource": { + "resourceType": "Location", + "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", + "partOf": { + "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" + }, + "name": "Imaging Room 01", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for imaging" + ] }, - { - "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" + "request": { + "method": "PUT", + "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" } - ], - "locationReference": [ - { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5" - } - }, - { - "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca", - "resource": { - "resourceType": "Device", - "id": "dd77839c-6623-a021-29ef-c04fd35460ca", - "identifier": [ - { - "value": "123", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "ABC Cell Counter", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment available for lab test" + { + "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", + "resource": { + "resourceType": "Location", + "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", + "name": "GHH Hospital", + "mode": "instance", + "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for imaging" + ] + }, + "request": { + "method": "PUT", + "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca" - } - }, - { - "fullUrl": "urn:uuid:576394b6-fb8c-a305-1717-a99715b08fad", - "resource": { - "resourceType": "Location", - "id": "576394b6-fb8c-a305-1717-a99715b08fad", - "name": "LabUnit101", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - } - }, - { - "fullUrl": "urn:uuid:60ce86bf-3d7a-f365-c674-f078bfaf8079", - "resource": { - "resourceType": "Location", - "id": "60ce86bf-3d7a-f365-c674-f078bfaf8079", - "partOf": { - "reference": "Location/576394b6-fb8c-a305-1717-a99715b08fad" - }, - "name": "Lab Room 01", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for lab test" - ] - }, - "request": { - "method": "PUT", - "url": "Location/60ce86bf-3d7a-f365-c674-f078bfaf8079" - } - }, - { - "fullUrl": "urn:uuid:8f132856-3e6c-3534-d5e7-61c63937f4a4", - "resource": { - "resourceType": "Location", - "id": "8f132856-3e6c-3534-d5e7-61c63937f4a4", - "name": "GHH Hospital", - "mode": "instance", - "description": "LabUnit101--Lab Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for lab test" - ] }, - "request": { - "method": "PUT", - "url": "Location/8f132856-3e6c-3534-d5e7-61c63937f4a4" - } - }, - { - "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "resource": { - "resourceType": "Practitioner", - "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8", - "identifier": [ - { - "value": "400" - } - ], - "name": [ - { - "family": "PB", - "given": [ - "Tim", - "G" - ] + { + "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", + "resource": { + "resourceType": "Practitioner", + "id": "89f153f4-91d2-b658-0242-612129d35f06", + "identifier": [ + { + "value": "500" + } + ], + "name": [ + { + "family": "RT", + "given": [ + "Robert", + "C" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8" - } - }, - { - "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580", - "resource": { - "resourceType": "ServiceRequest", - "id": "2b1743c0-089d-d354-0cbe-e548478fd580", - "status": "revoked", - "intent": "filler-order", - "code": { - "coding": [ - { - "code": "42272-5", - "display": "XR Chest PA and Lateral", - "system": "http://loinc.org" - } - ] - }, - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "note": [ - { - "text": "Radiology Staff Instructions - Patient did not show up" - } - ], - "performer": [ - { - "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" + { + "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", + "resource": { + "resourceType": "Location", + "id": "d08212b3-e62a-a958-6629-39eb24df75c1", + "name": "OPD12", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "alias": [ + "Location available for checkup" + ] }, - { - "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" + "request": { + "method": "PUT", + "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" } - ], - "locationReference": [ - { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - ] }, - "request": { - "method": "PUT", - "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580" - } - }, - { - "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90", - "resource": { - "resourceType": "Device", - "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90", - "identifier": [ - { - "value": "1001", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L" - } - ], - "deviceName": [ - { - "name": "XYZ X-Ray Machine", - "type": "model-name" - } - ], - "note": [ - { - "text": "Equipment available for imaging" + { + "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", + "resource": { + "resourceType": "Location", + "id": "1ebd36d1-d544-518c-c30a-155818435d8e", + "partOf": { + "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" + }, + "name": "Room 55", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" } - ] - }, - "request": { - "method": "PUT", - "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90" - } - }, - { - "fullUrl": "urn:uuid:ff1ddaa2-1071-13d9-1233-2effcca12185", - "resource": { - "resourceType": "Location", - "id": "ff1ddaa2-1071-13d9-1233-2effcca12185", - "name": "DiagnosticUnit201", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for imaging" - ] }, - "request": { - "method": "PUT", - "url": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - } - }, - { - "fullUrl": "urn:uuid:f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "resource": { - "resourceType": "Location", - "id": "f4ad2d3a-bb42-b8f3-b73f-e77f447628d7", - "partOf": { - "reference": "Location/ff1ddaa2-1071-13d9-1233-2effcca12185" - }, - "name": "Imaging Room 01", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/f4ad2d3a-bb42-b8f3-b73f-e77f447628d7" - } - }, - { - "fullUrl": "urn:uuid:0517cee2-adf8-0fcf-1a73-80da976f99ee", - "resource": { - "resourceType": "Location", - "id": "0517cee2-adf8-0fcf-1a73-80da976f99ee", - "name": "GHH Hospital", - "mode": "instance", - "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for imaging" - ] - }, - "request": { - "method": "PUT", - "url": "Location/0517cee2-adf8-0fcf-1a73-80da976f99ee" - } - }, - { - "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06", - "resource": { - "resourceType": "Practitioner", - "id": "89f153f4-91d2-b658-0242-612129d35f06", - "identifier": [ - { - "value": "500" - } - ], - "name": [ - { - "family": "RT", - "given": [ - "Robert", - "C" - ] + { + "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", + "resource": { + "resourceType": "Location", + "id": "5fa17549-1951-fdad-db5f-d2eb94351497", + "name": "GHH Hospital", + "mode": "instance", + "description": "OPD12--Room 55--GHH Hospital", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "alias": [ + "Location available for checkup" + ] + }, + "request": { + "method": "PUT", + "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06" - } - }, - { - "fullUrl": "urn:uuid:d08212b3-e62a-a958-6629-39eb24df75c1", - "resource": { - "resourceType": "Location", - "id": "d08212b3-e62a-a958-6629-39eb24df75c1", - "name": "OPD12", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - } - }, - { - "fullUrl": "urn:uuid:1ebd36d1-d544-518c-c30a-155818435d8e", - "resource": { - "resourceType": "Location", - "id": "1ebd36d1-d544-518c-c30a-155818435d8e", - "partOf": { - "reference": "Location/d08212b3-e62a-a958-6629-39eb24df75c1" - }, - "name": "Room 55", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "alias": [ - "Location available for checkup" - ] - }, - "request": { - "method": "PUT", - "url": "Location/1ebd36d1-d544-518c-c30a-155818435d8e" - } - }, - { - "fullUrl": "urn:uuid:5fa17549-1951-fdad-db5f-d2eb94351497", - "resource": { - "resourceType": "Location", - "id": "5fa17549-1951-fdad-db5f-d2eb94351497", - "name": "GHH Hospital", - "mode": "instance", - "description": "OPD12--Room 55--GHH Hospital", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "alias": [ - "Location available for checkup" - ] }, - "request": { - "method": "PUT", - "url": "Location/5fa17549-1951-fdad-db5f-d2eb94351497" - } - }, - { - "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "resource": { - "resourceType": "Practitioner", - "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", - "identifier": [ - { - "value": "600" - } - ], - "name": [ - { - "family": "GP", - "given": [ - "Linda", - "R" - ] + { + "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "resource": { + "resourceType": "Practitioner", + "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b", + "identifier": [ + { + "value": "600" + } + ], + "name": [ + { + "family": "GP", + "given": [ + "Linda", + "R" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json index ae3bbe035..5fb3ad2fc 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json @@ -112,7 +112,7 @@ "identifier": [ { "value": "X68", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-X68" + "system": "http://example.com/v2-to-fhir-converter/Identifier/X68" } ] }, @@ -129,7 +129,7 @@ "identifier": [ { "value": "NIST Test Iz Reg", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Test-Iz-Reg" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-Test-Iz-Reg" } ] }, @@ -155,7 +155,7 @@ } ] }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-MPI" } ], "name": [ @@ -533,7 +533,7 @@ "identifier": [ { "value": "57422", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-1" } ], "name": [ @@ -559,7 +559,7 @@ "identifier": [ { "value": "IZ-783274", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NDA", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NDA", "type": { "coding": [ { @@ -680,7 +680,7 @@ "identifier": [ { "value": "IZ-783274", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NDA", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NDA", "type": { "coding": [ { @@ -712,9 +712,9 @@ { "coding": [ { - "code": "ordering-provider", + "code": "OP", "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" } ] } @@ -754,7 +754,7 @@ "identifier": [ { "value": "7832-1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1" + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-1" } ], "name": [ diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json index 50cdad97f..e16cedf73 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-01-expected.json @@ -1,4291 +1,4761 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:55.687Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:54:17.811Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ], - "version": [ - { - "value": "2.4.3.52854" + }, + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } + ], + "version": [ + { + "value": "2.4.3.52854" + } + ], + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } + ], + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + ], + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] + }, + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" + }, + "generalPractitioner": [ + { + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + }, + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:4a430522-2a0e-3e39-878a-49e1182a4d08", + "resource": { + "resourceType": "RelatedPerson", + "id": "4a430522-2a0e-3e39-878a-49e1182a4d08", + "identifier": [ + { + "value": "1516", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "55121", + "type": { + "coding": [ + { + "code": "FI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Facility ID" + } + ] + } + }, + { + "value": "G-SSN-12", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Beneficiary Identifier" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "BRO", + "display": "brother", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "1619 SOUTH UNIVERSITY" + ], + "city": "MADISON", + "state": "WI", + "postalCode": "53703", + "country": "US" + } + ], + "telecom": [ + { + "value": "8484", + "system": "email", + "use": "home" + }, + { + "value": "717171", + "system": "phone", + "use": "home" + }, + { + "value": "021212", + "system": "other", + "use": "work" + } + ], + "name": [ + { + "family": "RADIANT", + "given": [ + "LUCY" + ] + } + ], + "gender": "male", + "birthDate": "2001-04-12", + "communication": [ + { + "language": { + "coding": [ + { + "code": "de", + "display": "German", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "RelatedPerson/4a430522-2a0e-3e39-878a-49e1182a4d08" + } + }, + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + } + }, + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + }, + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + } + }, + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] + }, + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" + }, + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } + ] }, - { - "value": "7777", - "system": "phone", - "use": "work" + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "1111", - "system": "other", - "use": "work" + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + } + }, + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } + ] }, - { - "value": "89898989", - "use": "work", - "system": "email" + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "TextInEnglish" - }, - "preferred": true + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } + ] }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] + }, + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + }, + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + } + }, + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + }, + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" ], - "text": "Beagle" - } + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" ], - "text": "United States of America" - } + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + } + }, + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" ], - "text": "Canada" - } + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" + } + }, + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" ], - "text": "Bhutan" - } + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" + }, + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" } - ] } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" }, - { - "value": "00121", - "system": "fax" + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } - ] - } - }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" - ] - } }, - { - "name": { - "family": "Ben2" - } + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + }, + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" } - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ + { + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + } + ], + "type": [ + { + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] + } + ], + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + ], + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } + ], + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } + ], + "period": { + "start": "2015-02-08T15:54:19+05:30" + }, + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true - } - ] + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" - } - ] - } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" - } - ] - }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" - } - ] - }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" - } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] - } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "type": [ - { - "coding": [ + }, + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "type": [ - { - "coding": [ + ], + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "type": [ - { - "coding": [ + ], + "costToBeneficiary": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } } - ], - "text": "admitter" - } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "type": [ - { - "coding": [ + ], + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ], - "text": "Participation" + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + }, + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } + "name": "Blue Cross Blue Shield of Texas" }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } ], - "suffix": [ - "II", - "MD" + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } ], - "prefix": [ - "DR" + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - } + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + } + }, + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + } + }, + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" - }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + }, + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] + }, + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] }, - { - "line": [ - "ST-2" - ] + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" + }, + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" + } }, - { - "value": "88888888", - "system": "phone" + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + } + }, + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ] }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + } + }, + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } + ] }, - { - "value": "444444", - "system": "phone" + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" + }, + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" + } }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } + ] }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + }, + { + "reference": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } + ], + "note": [ + { + "text": "No Antibodies Detected", + "time": "2020-10-10T18:15:00+05:30", + "authorReference": { + "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + }, + { + "fullUrl": "urn:uuid:69919204-f9b6-2966-d568-fa1c1405ca79", + "resource": { + "resourceType": "PractitionerRole", + "id": "69919204-f9b6-2966-d568-fa1c1405ca79", + "code": [ + { + "coding": [ + { + "code": "AD", + "display": "Admitting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + ], + "organization": { + "reference": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" }, - { - "url": "text", - "valueString": "White" + "practitioner": { + "reference": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/69919204-f9b6-2966-d568-fa1c1405ca79" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4a47872d-8caf-a176-37c5-61d9e7f2d328", + "resource": { + "resourceType": "Practitioner", + "id": "4a47872d-8caf-a176-37c5-61d9e7f2d328", + "identifier": [ + { + "value": "10535" + } + ], + "name": [ + { + "family": "van Beethoven", + "given": [ + "Ludwig", + "A" + ], + "suffix": [ + "III", + "PHD" + ], + "prefix": [ + "Dr" + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/4a47872d-8caf-a176-37c5-61d9e7f2d328" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" + { + "fullUrl": "urn:uuid:a5f89225-9b37-737d-9b70-c9cf83668801", + "resource": { + "resourceType": "Organization", + "id": "a5f89225-9b37-737d-9b70-c9cf83668801", + "name": "Good Health Hospital" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/a5f89225-9b37-737d-9b70-c9cf83668801" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "resource": { + "resourceType": "Practitioner", + "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", + "identifier": [ + { + "value": "MLEE" + } + ], + "name": [ + { + "family": "ATTEND", + "given": [ + "AARON", + "A" + ], + "suffix": [ + "MD" + ] + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" - ], - "suffix": [ - "III", - "MD" + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "prefix": [ - "Dr." + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } ], - "use": "usual", - "period": { - "start": "1925-10-12" - } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } - } - ], - "name": "Blue Cross Blue Shield of Texas" - }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } + { + "fullUrl": "urn:uuid:b078ac32-02fb-9749-1cb5-6c7766185ea9", + "resource": { + "resourceType": "ServiceRequest", + "id": "b078ac32-02fb-9749-1cb5-6c7766185ea9", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + }, + "supportingInfo": [ + { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + }, + { + "reference": "Device/32424199-272b-4aaa-6709-07bd28380c84" + } + ], + "note": [ + { + "text": "Please follow the text instructions" + } + ], + "asNeededCodeableConcept": { + "text": "This is condition text" + }, + "quantityQuantity": { + "value": 54, + "unit": "lbs" + }, + "occurrenceTiming": { + "code": { + "coding": [ + { + "code": "P", + "display": "Post (after)", + "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + } + ] + }, + "repeat": { + "period": 12, + "periodUnit": "min", + "when": [ + "PC" + ], + "offset": 2, + "boundsPeriod": { + "start": "2021-10-10T05:30:00+05:30", + "end": "2021-11-10T05:30:00+05:30" + }, + "duration": 2, + "durationUnit": "h", + "count": 5 + } + }, + "priority": "asap" }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + }, + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } - ] - }, - "preferred": true + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" + { + "fullUrl": "urn:uuid:62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "resource": { + "resourceType": "Organization", + "id": "62996c83-212a-97b1-8d88-2ba81c9dfaf7", + "name": "General Medical Center" }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" + { + "fullUrl": "urn:uuid:f788aadd-443f-ec74-4f40-5f3d712041a2", + "resource": { + "resourceType": "Location", + "id": "f788aadd-443f-ec74-4f40-5f3d712041a2", + "name": "Street-5", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "managingOrganization": { + "reference": "Organization/62996c83-212a-97b1-8d88-2ba81c9dfaf7" + } }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "resource": { + "resourceType": "Location", + "id": "1418fa31-f48a-9edf-f4c0-a8a2972d319a", + "partOf": { + "reference": "Location/f788aadd-443f-ec74-4f40-5f3d712041a2" + }, + "name": "136", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + }, + "request": { + "method": "PUT", + "url": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:d944504d-f772-1e20-6b74-44ce62896188", + "resource": { + "resourceType": "Location", + "id": "d944504d-f772-1e20-6b74-44ce62896188", + "partOf": { + "reference": "Location/1418fa31-f48a-9edf-f4c0-a8a2972d319a" + }, + "name": "B", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] - } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "resource": { - "resourceType": "Device", - "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/d944504d-f772-1e20-6b74-44ce62896188" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:e811271f-41a0-6b14-b188-acc29aee24d2", + "resource": { + "resourceType": "Location", + "id": "e811271f-41a0-6b14-b188-acc29aee24d2", + "name": "CommunityHospital", + "mode": "instance", + "description": "Street-5--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/e811271f-41a0-6b14-b188-acc29aee24d2" } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" + { + "fullUrl": "urn:uuid:32424199-272b-4aaa-6709-07bd28380c84", + "resource": { + "resourceType": "Device", + "id": "32424199-272b-4aaa-6709-07bd28380c84", + "identifier": [ + { + "value": "PD-10.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PD-10.2" + } + ] + }, + "request": { + "method": "PUT", + "url": "Device/32424199-272b-4aaa-6709-07bd28380c84" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + }, + { + "fullUrl": "urn:uuid:57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "resource": { + "resourceType": "PractitionerRole", + "id": "57734a17-e169-0f2f-c1f1-8b5e7dac7987", + "code": [ + { + "coding": [ + { + "code": "CP", + "display": "Consulting Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "location": [ + { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + } + ], + "organization": { + "reference": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" + }, + "specialty": [ + { + "coding": [ + { + "code": "PPT" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" } - ] }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ], - "note": [ - { - "text": "No Antibodies Detected", - "time": "2020-10-10T15:00:00+02:15", - "authorReference": { - "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "resource": { - "resourceType": "Practitioner", - "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2", - "identifier": [ - { - "value": "MLEE" + "request": { + "method": "PUT", + "url": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" } - ], - "name": [ - { - "family": "ATTEND", - "given": [ - "AARON", - "A" - ], - "suffix": [ - "MD" - ] - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2" - } - }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "resource": { + "resourceType": "DocumentReference", + "author": [ + { + "reference": "PractitionerRole/57734a17-e169-0f2f-c1f1-8b5e7dac7987" + } ] - } } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" - } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", - "resource": { - "resourceType": "Immunization", - "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } + { + "fullUrl": "urn:uuid:f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "resource": { + "resourceType": "Practitioner", + "id": "f0c4f9be-2b96-83b9-da1a-65f0ca40d62e", + "identifier": [ + { + "value": "432" + } + ], + "name": [ + { + "family": "Jartckson" + } ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } + "request": { + "method": "PUT", + "url": "Practitioner/f0c4f9be-2b96-83b9-da1a-65f0ca40d62e" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2021-08-18", - "vaccineCode": { - "coding": [ - { - "code": "49281021588", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2021-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + }, + { + "fullUrl": "urn:uuid:cc9987df-1394-0261-ab58-4d981eeb8e8a", + "resource": { + "resourceType": "Location", + "id": "cc9987df-1394-0261-ab58-4d981eeb8e8a", + "name": "Eureka Springs", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" } - ] }, - "request": { - "method": "PUT", - "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - }, - { - "fullUrl": "urn:uuid:b078ac32-02fb-9749-1cb5-6c7766185ea9", - "resource": { - "resourceType": "ServiceRequest", - "id": "b078ac32-02fb-9749-1cb5-6c7766185ea9", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "resource": { + "resourceType": "Location", + "id": "b7a4b3e0-33f5-999d-cb59-d5edf65dfe20", + "partOf": { + "reference": "Location/cc9987df-1394-0261-ab58-4d981eeb8e8a" + }, + "name": "136", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - }, - "note": [ - { - "text": "Please follow the text instructions" + "request": { + "method": "PUT", + "url": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" } - ], - "asNeededCodeableConcept": { - "text": "This is condition text" - }, - "quantityQuantity": { - "value": 54, - "unit": "lbs" - }, - "occurrenceTiming": { - "code": { - "coding": [ - { - "code": "P", - "display": "Post (after)", - "system": "http://terminology.hl7.org/CodeSystem/v2-0335" + }, + { + "fullUrl": "urn:uuid:dcc546fd-dd44-532c-b59e-46df55ae0377", + "resource": { + "resourceType": "Location", + "id": "dcc546fd-dd44-532c-b59e-46df55ae0377", + "partOf": { + "reference": "Location/b7a4b3e0-33f5-999d-cb59-d5edf65dfe20" + }, + "name": "B", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "repeat": { - "period": 12, - "periodUnit": "min", - "when": [ - "PC" - ], - "offset": 2, - "boundsPeriod": { - "start": "2021-10-09T16:00:00-08:00", - "end": "2021-11-09T16:00:00-08:00" - }, - "duration": 2, - "durationUnit": "h", - "count": 5 + "request": { + "method": "PUT", + "url": "Location/dcc546fd-dd44-532c-b59e-46df55ae0377" } - }, - "priority": "asap" }, - "request": { - "method": "PUT", - "url": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" - } - }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:94cec819-f263-b7dd-784c-78db10075c94", + "resource": { + "resourceType": "Location", + "id": "94cec819-f263-b7dd-784c-78db10075c94", + "name": "CommunityHospital", + "mode": "instance", + "description": "Eureka Springs--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/94cec819-f263-b7dd-784c-78db10075c94" } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } - }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + { + "fullUrl": "urn:uuid:fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "resource": { + "resourceType": "Organization", + "id": "fdd8bdba-e217-ead4-074f-9e4c1ef60c0f", + "name": "Mayo12 Memorial" + }, + "request": { + "method": "PUT", + "url": "Organization/fdd8bdba-e217-ead4-074f-9e4c1ef60c0f" } - ], - "name": "Sanofi Pasteur" }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - }, - { - "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", - "resource": { - "resourceType": "Observation", - "id": "37a16973-f481-a452-cd1f-35386801f806", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" - } - }, - { - "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "resource": { - "resourceType": "Observation", - "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2021-08-18", - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + "basedOn": [ + { + "reference": "ServiceRequest/b078ac32-02fb-9749-1cb5-6c7766185ea9" + } ], - "text": "Final" - } + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json index d48c78f4e..e93ba66b2 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-V04-02-expected.json @@ -1,4458 +1,4460 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2021-08-18T11:26:00+02:15", + "timestamp": "2021-08-18T14:41:00+05:30", "identifier": { - "value": "MSG00001" + "value": "MSG00001" }, "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f", "entry": [ - { - "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", - "resource": { - "resourceType": "MessageHeader", - "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", - "source": { - "name": "24GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.20", - "version": "2.4.3.52854", - "software": "Rhapsody" - }, - "destination": [ - { - "name": "25GHH", - "endpoint": "urn:oid:2.16.840.1.114884.10.23", - "receiver": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } + { + "fullUrl": "urn:uuid:b13e166f-ef87-b9d8-670d-5227496f6d4f", + "resource": { + "resourceType": "MessageHeader", + "id": "b13e166f-ef87-b9d8-670d-5227496f6d4f", + "source": { + "name": "24GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.20", + "version": "2.4.3.52854", + "software": "Rhapsody" + }, + "destination": [ + { + "name": "25GHH", + "endpoint": "urn:oid:2.16.840.1.114884.10.23", + "receiver": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + } + } + ], + "meta": { + "security": [ + { + "display": "SECURITY" + } + ], + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "language": "en-US", + "sender": { + "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" + }, + "responsible": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" } - ], - "meta": { - "security": [ - { - "display": "SECURITY", - "system": "http://example.com/v2-to-fhirconverter/security-label" - } - ], - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "language": "en-US", - "sender": { - "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - }, - "responsible": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/b13e166f-ef87-b9d8-670d-5227496f6d4f" - } - }, - { - "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", - "resource": { - "resourceType": "Provenance", - "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:35:40.84Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2021-08-18T11:26:00+02:15", - "recorded": "2021-08-18T11:26:00+02:15", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:0e3398a6-ab60-d32b-cf54-420d218f2e12", + "resource": { + "resourceType": "Provenance", + "id": "0e3398a6-ab60-d32b-cf54-420d218f2e12", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:54:55.859Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2021-08-18T14:41:00+05:30", + "recorded": "2021-08-18T14:41:00+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "entity": [ + { + "role": "source", + "what": { + "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" + } + } + ], + "target": [ + { + "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + } ] - }, - "who": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "entity": [ - { - "role": "source", - "what": { - "reference": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - } - ], - "target": [ - { - "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f" + }, + "request": { + "method": "PUT", + "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/0e3398a6-ab60-d32b-cf54-420d218f2e12" - } - }, - { - "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", - "resource": { - "resourceType": "Organization", - "id": "4356fb81-6ecd-2d70-57b1-47812638e785", - "identifier": [ - { - "value": "GHHSFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility" - }, - { - "value": "urn:oid:2.16.840.1.122848.1.30", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785", + "resource": { + "resourceType": "Organization", + "id": "4356fb81-6ecd-2d70-57b1-47812638e785", + "identifier": [ + { + "value": "GHHSFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHSFacility" + }, + { + "value": "urn:oid:2.16.840.1.122848.1.30", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785" - } - }, - { - "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", - "resource": { - "resourceType": "Organization", - "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", - "identifier": [ - { - "value": "GHHRFacility", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility" - }, - { - "value": "urn:oid:2.16.840.1.1122848.1.32", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5", + "resource": { + "resourceType": "Organization", + "id": "62781ad6-3896-cb63-0178-ead0c4a432b5", + "identifier": [ + { + "value": "GHHRFacility", + "system": "http://example.com/v2-to-fhir-converter/Identifier/GHHRFacility" + }, + { + "value": "urn:oid:2.16.840.1.1122848.1.32", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } + ], + "partOf": { + "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" + }, + "address": [ + { + "country": "USA" + } ] - } - } - ], - "partOf": { - "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - }, - "address": [ - { - "country": "USA" + }, + "request": { + "method": "PUT", + "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5" - } - }, - { - "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", - "resource": { - "resourceType": "Organization", - "id": "33532a82-d220-4c0d-1abe-53e48951c201", - "name": "22 GHH Inc." - }, - "request": { - "method": "PUT", - "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" - } - }, - { - "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", - "resource": { - "resourceType": "Organization", - "id": "527280c1-34d1-c639-e9ba-61986d28e266", - "name": "23 GHH Inc." }, - "request": { - "method": "PUT", - "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" - } - }, - { - "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "resource": { - "resourceType": "Device", - "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", - "identifier": [ - { - "value": "IMMAPP" + { + "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201", + "resource": { + "resourceType": "Organization", + "id": "33532a82-d220-4c0d-1abe-53e48951c201", + "name": "22 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201" } - ] }, - "request": { - "method": "PUT", - "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" - } - }, - { - "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", - "resource": { - "resourceType": "Device", - "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", - "manufacturer": "Orion", - "deviceName": [ - { - "name": "Rhapsody", - "type": "manufacturer-name" - } - ], - "version": [ - { - "value": "2.4.3.52854" - } - ], - "modelNumber": "2.4.3", - "note": [ - { - "text": "Testactivity" + { + "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266", + "resource": { + "resourceType": "Organization", + "id": "527280c1-34d1-c639-e9ba-61986d28e266", + "name": "23 GHH Inc." + }, + "request": { + "method": "PUT", + "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266" } - ] }, - "request": { - "method": "PUT", - "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" - } - }, - { - "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", - "resource": { - "resourceType": "Patient", - "id": "9e909e52-61a1-be50-1878-a12ef8c36346", - "identifier": [ - { - "value": "1234567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test", - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "PATID1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "value": "123456789", - "type": { - "coding": [ - { - "code": "SS", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Social Security number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA" - }, - { - "value": "PATID567", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2" - }, - { - "value": "PSSN123121234", - "type": { - "coding": [ - { - "code": "SB", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - }, - { - "value": "DLN-123", - "type": { - "coding": [ - { - "code": "DL" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", - "period": { - "end": "2001-01-23" - } - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" - }, - { - "value": "MI-12345", - "type": { - "coding": [ - { - "code": "MI", - "display": "Military ID number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-military" - }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "resource": { + "resourceType": "Device", + "id": "0d316167-6bb9-0e3f-d00b-0d11f1c51cf2", + "identifier": [ + { + "value": "IMMAPP" + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "name": [ - { - "family": "EVERYMAN", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official", - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } - }, - { - "family": "elbert", - "given": [ - "Son" - ] }, - { - "family": "Jack", - "given": [ - "ADAM", - "A", - "Addsm" - ], - "suffix": [ - "III", - "MD", - "PF" - ], - "prefix": [ - "Dr." - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } + "request": { + "method": "PUT", + "url": "Device/0d316167-6bb9-0e3f-d00b-0d11f1c51cf2" } - ], - "birthDate": "1988-08-18", - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1988-08-18T11:26:00+02:15" - } - ] - }, - "gender": "male", - "address": [ - { - "line": [ - "1000", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" - } - } - ], - "telecom": [ - { - "value": "2222", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18, - "use": "home" - }, - { - "value": "12121212", - "system": "phone", - "use": "home" - }, - { - "value": "7777", - "system": "phone", - "use": "work" - }, - { - "value": "1111", - "system": "other", - "use": "work" - }, - { - "value": "89898989", - "use": "work", - "system": "email" - } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47", - "version": "v2" - }, - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47", - "version": "v2.1" - } + }, + { + "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5", + "resource": { + "resourceType": "Device", + "id": "4b549918-a84d-cdaf-e150-c773a5d306e5", + "manufacturer": "Orion", + "deviceName": [ + { + "name": "Rhapsody", + "type": "manufacturer-name" + } ], - "text": "TextInEnglish" - }, - "preferred": true - } - ], - "maritalStatus": { - "coding": [ - { - "code": "M", - "display": "Married", - "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" - } - ] - }, - "multipleBirthInteger": 2, - "deceasedDateTime": "2008-08-25T11:16:30+01:15", - "meta": { - "lastUpdated": "2005-01-10T01:50:14+03:15" - }, - "generalPractitioner": [ - { - "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - }, - { - "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "White+Asian" - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", - "valueString": "SMITH--Angela--L" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "text": "St. Francis Community Hospital of Lower South Side" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", - "valueCodeableConcept": { - "coding": [ - { - "code": "1002", - "display": "African Religions", - "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" - } - ] - } - }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Non Hispanic or Latino", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Non Hispanic or Latino" - } - ] - }, - { - "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", - "valueCodeableConcept": { - "coding": [ - { - "code": "Vet123", - "display": "retired", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" - } + "version": [ + { + "value": "2.4.3.52854" + } ], - "text": "retired" - } - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", - "extension": [ - { - "url": "species", - "valueCodeableConcept": { - "coding": [ - { - "code": "125097000", - "display": "Goat", - "system": "http://snomed.info/sct" - } - ], - "text": "Goat" - } - }, - { - "url": "breed", - "valueCodeableConcept": { - "coding": [ - { - "code": "4880003", - "display": "Beagle", - "system": "http://snomed.info/sct" - } - ], - "text": "Beagle" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "US", - "display": "United States of America", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "United States of America" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "CA", - "display": "Canada", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Canada" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "code": "BT", - "display": "Bhutan", - "system": "urn:iso:std:iso:3166" - } - ], - "text": "Bhutan" - } - } - ] - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString": "Methodist Church" + "modelNumber": "2.4.3", + "note": [ + { + "text": "Testactivity" + } + ] }, - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", - "valueCodeableConcept": { - "coding": [ - { - "code": "VIP", - "display": "Very Important Person", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", - "version": "v1.1" - }, - { - "code": "IMP", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", - "version": "v1.2" - } - ], - "text": "Inportant Person" - } + "request": { + "method": "PUT", + "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5" } - ], - "contact": [ - { - "organization": { - "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "name": { - "family": "Evan", - "given": [ - "ADAM", - "A" + }, + { + "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346", + "resource": { + "resourceType": "Patient", + "id": "9e909e52-61a1-be50-1878-a12ef8c36346", + "identifier": [ + { + "value": "1234567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/test", + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "PATID1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" + } + }, + { + "value": "123456789", + "type": { + "coding": [ + { + "code": "SS", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Social Security number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/USSSA" + }, + { + "value": "PATID567", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test2" + }, + { + "value": "PSSN123121234", + "type": { + "coding": [ + { + "code": "SB", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + }, + { + "value": "DLN-123", + "type": { + "coding": [ + { + "code": "DL" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US", + "period": { + "end": "2001-01-23" + } + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "MI-12345", + "type": { + "coding": [ + { + "code": "MI", + "display": "Military ID number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-military" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "suffix": [ - "III", - "MD" + "name": [ + { + "family": "EVERYMAN", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official", + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + }, + { + "family": "elbert", + "given": [ + "Son" + ] + }, + { + "family": "Jack", + "given": [ + "ADAM", + "A", + "Addsm" + ], + "suffix": [ + "III", + "MD", + "PF" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + } ], - "prefix": [ - "Dr." + "birthDate": "1988-08-18", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1988-08-18T14:41:00+05:30" + } + ] + }, + "gender": "male", + "address": [ + { + "line": [ + "1000", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } ], - "use": "usual" - }, - "address": { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" + "telecom": [ + { + "value": "2222", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18, + "use": "home" + }, + { + "value": "12121212", + "system": "phone", + "use": "home" + }, + { + "value": "7777", + "system": "phone", + "use": "work" + }, + { + "value": "1111", + "system": "other", + "use": "work" + }, + { + "value": "89898989", + "use": "work", + "system": "email" + } ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47", + "version": "v2" + }, + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47", + "version": "v2.1" + } + ], + "text": "TextInEnglish" + }, + "preferred": true + } + ], + "maritalStatus": { + "coding": [ + { + "code": "M", + "display": "Married", + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" + } + ] }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 + "multipleBirthInteger": 2, + "deceasedDateTime": "2008-08-25T15:31:30+05:30", + "meta": { + "lastUpdated": "2005-01-10T04:05:14+05:30" }, - { - "value": "444444", - "system": "phone" - } - ], - "relationship": [ - { - "coding": [ + "generalPractitioner": [ { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + "reference": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" + }, + { + "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White+Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", + "valueString": "SMITH--Angela--L" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "text": "St. Francis Community Hospital of Lower South Side" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-religion", + "valueCodeableConcept": { + "coding": [ + { + "code": "1002", + "display": "African Religions", + "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Non Hispanic or Latino", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Non Hispanic or Latino" + } + ] + }, + { + "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus", + "valueCodeableConcept": { + "coding": [ + { + "code": "Vet123", + "display": "retired", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART" + } + ], + "text": "retired" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-animal", + "extension": [ + { + "url": "species", + "valueCodeableConcept": { + "coding": [ + { + "code": "125097000", + "display": "Goat", + "system": "http://snomed.info/sct" + } + ], + "text": "Goat" + } + }, + { + "url": "breed", + "valueCodeableConcept": { + "coding": [ + { + "code": "4880003", + "display": "Beagle", + "system": "http://snomed.info/sct" + } + ], + "text": "Beagle" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "US", + "display": "United States of America", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "United States of America" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "CA", + "display": "Canada", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Canada" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality", + "extension": [ + { + "url": "code", + "valueCodeableConcept": { + "coding": [ + { + "code": "BT", + "display": "Bhutan", + "system": "urn:iso:std:iso:3166" + } + ], + "text": "Bhutan" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "Methodist Church" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-importance", + "valueCodeableConcept": { + "coding": [ + { + "code": "VIP", + "display": "Very Important Person", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L", + "version": "v1.1" + }, + { + "code": "IMP", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM", + "version": "v1.2" + } + ], + "text": "Inportant Person" + } + } + ], + "contact": [ + { + "organization": { + "reference": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" + } + }, + { + "name": { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + "address": { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" + }, + "gender": "female" } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "gender": "female" - } - ] - }, - "request": { - "method": "PUT", - "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - }, - { - "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "resource": { - "resourceType": "Account", - "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", - "identifier": [ - { - "value": "4000776", - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Visit number" - } ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "status": "active", - "subject": [ - { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } - ], - "guarantor": [ - { - "party": { - "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - }, - "onHold": false, - "period": { - "start": "2001-04-10", - "end": "2001-04-15" - } - } - ], - "coverage": [ - { - "coverage": { - "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } + }, + "request": { + "method": "PUT", + "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ] }, - "request": { - "method": "PUT", - "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - }, - { - "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", - "resource": { - "resourceType": "Organization", - "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", - "identifier": [ - { - "value": "AccMgr", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "resource": { + "resourceType": "Account", + "id": "4ad7c7d0-b69a-0653-9ea9-0979b8a66b39", + "identifier": [ + { + "value": "4000776", + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Visit number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } + ], + "status": "active", + "subject": [ + { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + ], + "guarantor": [ + { + "party": { + "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" + }, + "onHold": false, + "period": { + "start": "2001-04-10", + "end": "2001-04-15" + } + } + ], + "coverage": [ + { + "coverage": { + "reference": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" - } - }, - { - "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", - "resource": { - "resourceType": "Organization", - "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", - "name": "Jupiter Hospital", - "contact": [ - { - "telecom": [ - { - "value": "000352", - "system": "phone" - }, - { - "value": "00121", - "system": "fax" - } - ], - "purpose": { - "coding": [ - { - "code": "Urgent requirement" - } + { + "fullUrl": "urn:uuid:816e4ec3-f5a6-5969-08c8-a71ef576263e", + "resource": { + "resourceType": "Organization", + "id": "816e4ec3-f5a6-5969-08c8-a71ef576263e", + "identifier": [ + { + "value": "AccMgr", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "name": { - "family": "Ben", - "given": [ - "Charles" + "request": { + "method": "PUT", + "url": "Organization/816e4ec3-f5a6-5969-08c8-a71ef576263e" + } + }, + { + "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f", + "resource": { + "resourceType": "Organization", + "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f", + "name": "Jupiter Hospital", + "contact": [ + { + "telecom": [ + { + "value": "000352", + "system": "phone" + }, + { + "value": "00121", + "system": "fax" + } + ], + "purpose": { + "coding": [ + { + "code": "Urgent requirement" + } + ] + } + }, + { + "name": { + "family": "Ben", + "given": [ + "Charles" + ] + } + }, + { + "name": { + "family": "Ben2" + } + } ] - } }, - { - "name": { - "family": "Ben2" - } + "request": { + "method": "PUT", + "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f" - } - }, - { - "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", - "resource": { - "resourceType": "Organization", - "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", - "identifier": [ - { - "value": "test1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1" - }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488", + "resource": { + "resourceType": "Organization", + "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488", + "identifier": [ + { + "value": "test1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/test1" + }, + { + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488" - } - }, - { - "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", - "resource": { - "resourceType": "Organization", - "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", - "name": "LINDAS TEST ORGANIZATION", - "identifier": [ - { - "value": "SIISCLIENT818" + { + "fullUrl": "urn:uuid:719266ca-c272-9569-a797-c0b3fe3b2c91", + "resource": { + "resourceType": "Organization", + "id": "719266ca-c272-9569-a797-c0b3fe3b2c91", + "name": "LINDAS TEST ORGANIZATION", + "identifier": [ + { + "value": "SIISCLIENT818" + } + ] + }, + "request": { + "method": "PUT", + "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/719266ca-c272-9569-a797-c0b3fe3b2c91" - } - }, - { - "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", - "resource": { - "resourceType": "Practitioner", - "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", - "identifier": [ - { - "value": "88", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE", - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d", + "resource": { + "resourceType": "Practitioner", + "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d", + "identifier": [ + { + "value": "88", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE", + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippo", + "given": [ + "rold", + "H" + ], + "suffix": [ + "V", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippo", - "given": [ - "rold", - "H" - ], - "suffix": [ - "V", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d" - } - }, - { - "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", - "resource": { - "resourceType": "Organization", - "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", - "identifier": [ - { - "value": "t", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0", + "resource": { + "resourceType": "Organization", + "id": "11967e28-8dd4-a112-0fdc-377866bf12a0", + "identifier": [ + { + "value": "t", + "system": "http://example.com/v2-to-fhir-converter/Identifier/t" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - } - }, - { - "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "resource": { - "resourceType": "Organization", - "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", - "identifier": [ - { - "value": "AccMng", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng" - }, - { - "value": "1.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "resource": { + "resourceType": "Organization", + "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e", + "identifier": [ + { + "value": "AccMng", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMng" + }, + { + "value": "1.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - } - }, - { - "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "resource": { - "resourceType": "Organization", - "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", - "identifier": [ - { - "value": "PERSONNELt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "resource": { + "resourceType": "Organization", + "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9", + "identifier": [ + { + "value": "PERSONNELt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSONNELt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - } - }, - { - "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", - "resource": { - "resourceType": "Practitioner", - "id": "f6775f99-5279-be04-bf81-0906c81f7443", - "identifier": [ - { - "value": "1122334", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443", + "resource": { + "resourceType": "Practitioner", + "id": "f6775f99-5279-be04-bf81-0906c81f7443", + "identifier": [ + { + "value": "1122334", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Alaz", + "given": [ + "Mohammed", + "Mahi" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Alaz", - "given": [ - "Mohammed", - "Mahi" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } - }, - { - "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", - "resource": { - "resourceType": "Organization", - "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", - "identifier": [ - { - "value": "TEST", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST" - }, - { - "value": "23.2", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257", + "resource": { + "resourceType": "Organization", + "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257", + "identifier": [ + { + "value": "TEST", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TEST" + }, + { + "value": "23.2", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - } - }, - { - "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", - "resource": { - "resourceType": "Practitioner", - "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", - "identifier": [ - { - "value": "C006", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" - }, - "type": { - "coding": [ - { - "code": "BA", - "display": "Bank Account Number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44", + "resource": { + "resourceType": "Practitioner", + "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44", + "identifier": [ + { + "value": "C006", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257" + }, + "type": { + "coding": [ + { + "code": "BA", + "display": "Bank Account Number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Woolfson", + "given": [ + "Kathleen" + ], + "prefix": [ + "Dr" + ], + "use": "anonymous" + } ] - } - } - ], - "name": [ - { - "family": "Woolfson", - "given": [ - "Kathleen" - ], - "prefix": [ - "Dr" - ], - "use": "anonymous" + }, + "request": { + "method": "PUT", + "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } - }, - { - "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", - "resource": { - "resourceType": "Practitioner", - "id": "94d0558e-593c-7585-5525-68541f8b1064", - "identifier": [ - { - "value": "C008", - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:94d0558e-593c-7585-5525-68541f8b1064", + "resource": { + "resourceType": "Practitioner", + "id": "94d0558e-593c-7585-5525-68541f8b1064", + "identifier": [ + { + "value": "C008", + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Condoc", + "given": [ + "leen" + ], + "prefix": [ + "Dr" + ], + "use": "temp" + } ] - } - } - ], - "name": [ - { - "family": "Condoc", - "given": [ - "leen" - ], - "prefix": [ - "Dr" - ], - "use": "temp" + }, + "request": { + "method": "PUT", + "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } - }, - { - "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", - "resource": { - "resourceType": "Practitioner", - "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", - "identifier": [ - { - "value": "37", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr", - "type": { - "coding": [ - { - "code": "ANC", - "display": "Account number Creditor", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e", + "resource": { + "resourceType": "Practitioner", + "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e", + "identifier": [ + { + "value": "37", + "system": "http://example.com/v2-to-fhir-converter/Identifier/AccMgr", + "type": { + "coding": [ + { + "code": "ANC", + "display": "Account number Creditor", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "DISNEY", + "given": [ + "WALT" + ] + } ] - } - } - ], - "name": [ - { - "family": "DISNEY", - "given": [ - "WALT" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } - }, - { - "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "resource": { - "resourceType": "Organization", - "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", - "identifier": [ - { - "value": "T123", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123" - }, - { - "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "system": "urn:ietf:rfc:3986", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "resource": { + "resourceType": "Organization", + "id": "a6c4db5e-d3be-c9a5-8f86-a1d3341211b6", + "identifier": [ + { + "value": "T123", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T123" + }, + { + "value": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "system": "urn:ietf:rfc:3986", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - }, - { - "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "resource": { - "resourceType": "Practitioner", - "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", - "identifier": [ - { - "value": "Othhel", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD" + { + "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "resource": { + "resourceType": "Practitioner", + "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d", + "identifier": [ + { + "value": "Othhel", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD" + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "resource": { - "resourceType": "Organization", - "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", - "identifier": [ - { - "value": "TE", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE" - }, - { - "value": "Provider Master.Community Health and Hospitals", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "type": { - "coding": [ - { - "code": "DNS", - "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "resource": { + "resourceType": "Organization", + "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6", + "identifier": [ + { + "value": "TE", + "system": "http://example.com/v2-to-fhir-converter/Identifier/TE" + }, + { + "value": "Provider Master.Community Health and Hospitals", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "type": { + "coding": [ + { + "code": "DNS", + "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - } - }, - { - "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", - "resource": { - "resourceType": "Practitioner", - "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", - "identifier": [ - { - "value": "12188", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS", - "assigner": { - "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" - }, - "type": { - "coding": [ - { - "code": "DN", - "display": "Doctor number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701", + "resource": { + "resourceType": "Practitioner", + "id": "36e3aaa4-569a-7d9d-037f-27235ed05701", + "identifier": [ + { + "value": "12188", + "system": "http://example.com/v2-to-fhir-converter/Identifier/DNS", + "assigner": { + "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6" + }, + "type": { + "coding": [ + { + "code": "DN", + "display": "Doctor number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Hippocrates", + "given": [ + "Harold", + "H" + ], + "suffix": [ + "IV", + "MD" + ], + "prefix": [ + "Dr" + ] + } ] - } - } - ], - "name": [ - { - "family": "Hippocrates", - "given": [ - "Harold", - "H" - ], - "suffix": [ - "IV", - "MD" - ], - "prefix": [ - "Dr" - ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - }, - { - "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "resource": { - "resourceType": "Location", - "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", - "partOf": { - "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - }, - "name": "HUH AE OMU", - "identifier": [ - { - "value": "urn:oid:9.8", - "system": "urn:ietf:rfc:3986" - } - ], - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "resource": { + "resourceType": "Location", + "id": "7e8c8f5b-e366-6646-d2c0-e943bd9d1145", + "partOf": { + "reference": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" + }, + "name": "HUH AE OMU", + "identifier": [ + { + "value": "urn:oid:9.8", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" } - } }, - "request": { - "method": "PUT", - "url": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } - }, - { - "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", - "resource": { - "resourceType": "Location", - "id": "21db7463-3dcf-df06-09f7-657d2a3149da", - "partOf": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "name": "OMU B", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:21db7463-3dcf-df06-09f7-657d2a3149da", + "resource": { + "resourceType": "Location", + "id": "21db7463-3dcf-df06-09f7-657d2a3149da", + "partOf": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "name": "OMU B", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" } - } }, - "request": { - "method": "PUT", - "url": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - } - }, - { - "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "resource": { - "resourceType": "Location", - "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", - "partOf": { - "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" - }, - "name": "Bed 03", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "resource": { + "resourceType": "Location", + "id": "8c9f471c-25cf-4f9d-a67a-da6dccc64c88", + "partOf": { + "reference": "Location/21db7463-3dcf-df06-09f7-657d2a3149da" + }, + "name": "Bed 03", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" } - } }, - "request": { - "method": "PUT", - "url": "Location/8c9f471c-25cf-4f9d-a67a-da6dccc64c88" - } - }, - { - "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", - "resource": { - "resourceType": "Location", - "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", - "name": "HOMERTON UNIVER", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:35c140b2-668e-8d32-7516-6ec7d7edecc7", + "resource": { + "resourceType": "Location", + "id": "35c140b2-668e-8d32-7516-6ec7d7edecc7", + "name": "HOMERTON UNIVER", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" } - } }, - "request": { - "method": "PUT", - "url": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - } - }, - { - "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", - "resource": { - "resourceType": "Location", - "id": "7fce0afa-27f7-3408-86ef-838840491ff0", - "partOf": { - "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" - }, - "name": "Homerton UH", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:7fce0afa-27f7-3408-86ef-838840491ff0", + "resource": { + "resourceType": "Location", + "id": "7fce0afa-27f7-3408-86ef-838840491ff0", + "partOf": { + "reference": "Location/35c140b2-668e-8d32-7516-6ec7d7edecc7" + }, + "name": "Homerton UH", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" } - } }, - "request": { - "method": "PUT", - "url": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - } - }, - { - "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", - "resource": { - "resourceType": "Location", - "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", - "partOf": { - "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" - }, - "name": "Floor5", - "mode": "instance", - "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - }, - "address": { - "line": [ - "0007", - "Hospital Lane", - "Ste. 123", - "Near Highway" - ], - "city": "Ann Arbor ", - "state": "MI", - "postalCode": "99999", - "country": "USA", - "type": "postal", - "district": "W", - "period": { - "start": "2000-01-10", - "end": "2000-01-20" + { + "fullUrl": "urn:uuid:ff93044f-a48c-31c6-e7bd-f400aff947e3", + "resource": { + "resourceType": "Location", + "id": "ff93044f-a48c-31c6-e7bd-f400aff947e3", + "partOf": { + "reference": "Location/7fce0afa-27f7-3408-86ef-838840491ff0" + }, + "name": "Floor5", + "mode": "instance", + "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + }, + "address": { + "line": [ + "0007", + "Hospital Lane", + "Ste. 123", + "Near Highway" + ], + "city": "Ann Arbor ", + "state": "MI", + "postalCode": "99999", + "country": "USA", + "type": "postal", + "district": "W", + "period": { + "start": "2000-01-10", + "end": "2000-01-20" + } + } + }, + "request": { + "method": "PUT", + "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" } - } - }, - "request": { - "method": "PUT", - "url": "Location/ff93044f-a48c-31c6-e7bd-f400aff947e3" - } - }, - { - "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", - "resource": { - "resourceType": "Location", - "id": "76bb5678-ca71-a235-147f-5385b651dcd3", - "name": "4 East, room 136, bed B 4E", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } - }, - { - "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "resource": { - "resourceType": "Location", - "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", - "partOf": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - }, - "name": "136", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - } - }, - { - "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "resource": { - "resourceType": "Location", - "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", - "partOf": { - "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" - }, - "name": "B", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" - } - }, - { - "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "resource": { - "resourceType": "Location", - "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", - "name": "CommunityHospital", - "mode": "instance", - "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" - } - }, - { - "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "resource": { - "resourceType": "Location", - "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", - "name": "Homes", - "identifier": [ - { - "value": "22", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK" + { + "fullUrl": "urn:uuid:76bb5678-ca71-a235-147f-5385b651dcd3", + "resource": { + "resourceType": "Location", + "id": "76bb5678-ca71-a235-147f-5385b651dcd3", + "name": "4 East, room 136, bed B 4E", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" } - ], - "physicalType": { - "coding": [ - { - "code": "si", - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" - } - }, - { - "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", - "resource": { - "resourceType": "Location", - "id": "9be961d3-d02a-b454-1991-fa701628c823", - "name": "POC", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } - }, - { - "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "resource": { - "resourceType": "Location", - "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", - "partOf": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - }, - "name": "Room-2", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - } - }, - { - "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "resource": { - "resourceType": "Location", - "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", - "partOf": { - "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" - }, - "name": "Bed-103", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" - } - }, - { - "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "resource": { - "resourceType": "Location", - "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", - "name": "Greenland", - "mode": "instance", - "description": "POC--Room-2--Bed-103--C--Greenland", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" - } - }, - { - "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "resource": { - "resourceType": "Location", - "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", - "name": "Nursing home", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - } - }, - { - "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", - "resource": { - "resourceType": "Location", - "id": "033948d7-f808-69f7-e150-e34433d7e74e", - "name": "Rosewood", - "mode": "instance", - "description": "Nursing home--Rosewood", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" - } - }, - { - "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", - "resource": { - "resourceType": "Location", - "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", - "name": "ROOM1", - "identifier": [ - { - "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", - "system": "urn:ietf:rfc:3986" + { + "fullUrl": "urn:uuid:a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "resource": { + "resourceType": "Location", + "id": "a81cf64e-818a-d05c-e288-6eca8ec91ab4", + "partOf": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + }, + "name": "136", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" } - ], - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "ro" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } - }, - { - "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", - "resource": { - "resourceType": "Location", - "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", - "partOf": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - }, - "name": "BED1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bd" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" - } - }, - { - "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", - "resource": { - "resourceType": "Location", - "id": "1bc31588-100d-f6d4-556a-66ea92a026da", - "name": "FACILITY1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "si" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - } - }, - { - "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "resource": { - "resourceType": "Location", - "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", - "partOf": { - "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" - }, - "name": "BUILDING1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "bu" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - } - }, - { - "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", - "resource": { - "resourceType": "Location", - "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", - "partOf": { - "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" - }, - "name": "FLOOR1", - "mode": "instance", - "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", - "physicalType": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code": "lvl" - } - ] - } - }, - "request": { - "method": "PUT", - "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" - } - }, - { - "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", - "resource": { - "resourceType": "Organization", - "id": "08314073-410a-3dc7-512c-0f2d206fb59d", - "identifier": [ - { - "value": "Etest", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest" + { + "fullUrl": "urn:uuid:7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "resource": { + "resourceType": "Location", + "id": "7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0", + "partOf": { + "reference": "Location/a81cf64e-818a-d05c-e288-6eca8ec91ab4" + }, + "name": "B", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] + } }, - { - "value": "2.16.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Location/7b9cc9f8-b3c0-b0c4-b1eb-d52b6c0ccab0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } - }, - { - "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "resource": { - "resourceType": "EpisodeOfCare", - "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", - "status": "active", - "identifier": [ - { - "value": "EOC124", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" - } + { + "fullUrl": "urn:uuid:3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "resource": { + "resourceType": "Location", + "id": "3cb09fa6-cc83-83f0-a8e4-2e09ec138b20", + "name": "CommunityHospital", + "mode": "instance", + "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/3cb09fa6-cc83-83f0-a8e4-2e09ec138b20" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" - } - }, - { - "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", - "resource": { - "resourceType": "Encounter", - "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", - "class": { - "code": "PRENC", - "display": "pre-admission", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - }, - "status": "planned", - "location": [ - { - "status": "planned", - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - } + { + "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "resource": { + "resourceType": "Location", + "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460", + "name": "Homes", + "identifier": [ + { + "value": "22", + "system": "http://example.com/v2-to-fhir-converter/Identifier/FDK" + } + ], + "physicalType": { + "coding": [ + { + "code": "si", + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" - } + "request": { + "method": "PUT", + "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + { + "fullUrl": "urn:uuid:9be961d3-d02a-b454-1991-fa701628c823", + "resource": { + "resourceType": "Location", + "id": "9be961d3-d02a-b454-1991-fa701628c823", + "name": "POC", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - { - "status": "planned", - "location": { - "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" - } + "request": { + "method": "PUT", + "url": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, + { + "fullUrl": "urn:uuid:1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "resource": { + "resourceType": "Location", + "id": "1399b4cb-a4d1-3331-1d1a-6936cec4347a", + "partOf": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + }, + "name": "Room-2", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] + } }, - { - "status": "completed", - "location": { - "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", - "valueBoolean": true + "request": { + "method": "PUT", + "url": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + } + }, + { + "fullUrl": "urn:uuid:8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "resource": { + "resourceType": "Location", + "id": "8d9d8b7c-8443-1b9c-6317-3837aef34f9f", + "partOf": { + "reference": "Location/1399b4cb-a4d1-3331-1d1a-6936cec4347a" + }, + "name": "Bed-103", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - { - "status": "planned", - "location": { - "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" - } + "request": { + "method": "PUT", + "url": "Location/8d9d8b7c-8443-1b9c-6317-3837aef34f9f" } - ], - "type": [ - { - "coding": [ - { - "code": "E", - "display": "Emergency", - "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + }, + { + "fullUrl": "urn:uuid:ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "resource": { + "resourceType": "Location", + "id": "ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4", + "name": "Greenland", + "mode": "instance", + "description": "POC--Room-2--Bed-103--C--Greenland", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] + }, + "request": { + "method": "PUT", + "url": "Location/ec64ffd3-99e4-b7b0-d99d-78e3fc39e5b4" } - ], - "hospitalization": { - "preAdmissionIdentifier": { - "value": "1234567", - "type": { - "coding": [ - { - "code": "ANON", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Anonymous identifier" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } + }, + { + "fullUrl": "urn:uuid:91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "resource": { + "resourceType": "Location", + "id": "91ba2e87-a4f9-aa57-068a-4f18e2b520a3", + "name": "Nursing home", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] + } }, - "reAdmission": { - "coding": [ - { - "code": "R", - "display": "Re-admission", - "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + "request": { + "method": "PUT", + "url": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + } + }, + { + "fullUrl": "urn:uuid:033948d7-f808-69f7-e150-e34433d7e74e", + "resource": { + "resourceType": "Location", + "id": "033948d7-f808-69f7-e150-e34433d7e74e", + "name": "Rosewood", + "mode": "instance", + "description": "Nursing home--Rosewood", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ] }, - "admitSource": { - "coding": [ - { - "code": "NHS Provider-General (inc.A&E-this Hosp)" + "request": { + "method": "PUT", + "url": "Location/033948d7-f808-69f7-e150-e34433d7e74e" + } + }, + { + "fullUrl": "urn:uuid:7242d3ed-13e3-8da7-802d-1902c77245ab", + "resource": { + "resourceType": "Location", + "id": "7242d3ed-13e3-8da7-802d-1902c77245ab", + "name": "ROOM1", + "identifier": [ + { + "value": "urn:oid:2.16.840.1.113883.4.642.1.1108", + "system": "urn:ietf:rfc:3986" + } + ], + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "ro" + } + ] } - ] }, - "dischargeDisposition": { - "coding": [ - { - "code": "Admitted as Inpatient", - "display": "Sample", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + "request": { + "method": "PUT", + "url": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } + }, + { + "fullUrl": "urn:uuid:47be8e12-1cd6-f250-d854-0e5c73452a35", + "resource": { + "resourceType": "Location", + "id": "47be8e12-1cd6-f250-d854-0e5c73452a35", + "partOf": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + }, + "name": "BED1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bd" + } + ] } - ] }, - "dietPreference": [ - { - "coding": [ - { - "code": "Vegan", - "display": "Vegetarian" - } - ] - } - ], - "destination": { - "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + "request": { + "method": "PUT", + "url": "Location/47be8e12-1cd6-f250-d854-0e5c73452a35" } - }, - "episodeOfCare": [ - { - "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + }, + { + "fullUrl": "urn:uuid:1bc31588-100d-f6d4-556a-66ea92a026da", + "resource": { + "resourceType": "Location", + "id": "1bc31588-100d-f6d4-556a-66ea92a026da", + "name": "FACILITY1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + }, + "request": { + "method": "PUT", + "url": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" } - ], - "participant": [ - { - "type": [ - { - "coding": [ - { - "code": "ATND", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", - "display": "attender" - } - ] + }, + { + "fullUrl": "urn:uuid:f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "resource": { + "resourceType": "Location", + "id": "f11d29a4-f2b1-cb4d-cdda-1c63370d3168", + "partOf": { + "reference": "Location/1bc31588-100d-f6d4-556a-66ea92a026da" + }, + "name": "BUILDING1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "bu" + } + ] } - ], - "individual": { - "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" - } }, - { - "type": [ - { - "coding": [ - { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" - } - ], - "text": "referrer" + "request": { + "method": "PUT", + "url": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + } + }, + { + "fullUrl": "urn:uuid:2581ba96-39c5-2882-a68d-94d04ab33b5f", + "resource": { + "resourceType": "Location", + "id": "2581ba96-39c5-2882-a68d-94d04ab33b5f", + "partOf": { + "reference": "Location/f11d29a4-f2b1-cb4d-cdda-1c63370d3168" + }, + "name": "FLOOR1", + "mode": "instance", + "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "lvl" + } + ] } - ], - "individual": { - "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Location/2581ba96-39c5-2882-a68d-94d04ab33b5f" + } + }, + { + "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d", + "resource": { + "resourceType": "Organization", + "id": "08314073-410a-3dc7-512c-0f2d206fb59d", + "identifier": [ + { + "value": "Etest", + "system": "http://example.com/v2-to-fhir-converter/Identifier/Etest" + }, { - "code": "CON", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "2.16.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } } - ], - "text": "consultant" - } - ], - "individual": { - "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" - } + ] }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } + }, + { + "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "resource": { + "resourceType": "EpisodeOfCare", + "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb", + "status": "active", + "identifier": [ { - "code": "ADM", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "value": "EOC124", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d" + } } - ], - "text": "admitter" + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" } - ], - "individual": { - "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" - } }, - { - "type": [ - { - "coding": [ + "request": { + "method": "PUT", + "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } + }, + { + "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e", + "resource": { + "resourceType": "Encounter", + "id": "4b192760-03d2-aec4-b0a6-fde323912e1e", + "class": { + "code": "PRENC", + "display": "pre-admission", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + }, + "status": "planned", + "location": [ + { + "status": "planned", + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + } + }, + { + "status": "completed", + "location": { + "reference": "Location/76bb5678-ca71-a235-147f-5385b651dcd3" + } + }, + { + "status": "planned", + "location": { + "reference": "Location/9be961d3-d02a-b454-1991-fa701628c823" + } + }, { - "code": "PART", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "status": "completed", + "location": { + "reference": "Location/91ba2e87-a4f9-aa57-068a-4f18e2b520a3" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location", + "valueBoolean": true + } + ] + }, + { + "status": "planned", + "location": { + "reference": "Location/7242d3ed-13e3-8da7-802d-1902c77245ab" + } } - ], - "text": "Participation" - } - ], - "individual": { - "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" - } - }, - { - "type": [ - { - "coding": [ + ], + "type": [ { - "code": "REF", - "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + "coding": [ + { + "code": "E", + "display": "Emergency", + "system": "http://terminology.hl7.org/CodeSystem/v2-0007" + } + ] } - ], - "text": "referrer" - } - ], - "individual": { - "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" - } - } - ], - "serviceType": { - "coding": [ - { - "code": "SUR" - } - ] - }, - "identifier": [ - { - "value": "40007716", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" - }, - "type": { - "coding": [ - { - "code": "VN", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } ], - "text": "visit number" - } - }, - { - "value": "50", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "assigner": { - "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" - } - } - ], - "period": { - "start": "2015-02-08T11:34:19+01:10" - }, - "reasonCode": [ - { - "coding": [ - { - "code": "140004", - "display": "Chronic pharyngitis", - "system": "http://snomed.info/sct" - } - ] - } - ], - "length": { - "value": 2, - "unit": "d", - "system": "http://unitsofmeasure.org/" - }, - "meta": { - "security": [ - { - "code": "N", - "display": "normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" - } - ] - }, - "text": { - "status": "generated", - "div": "

Visit Description: Health Checkup

" - }, - "priority": { - "coding": [ - { - "code": "UR", - "display": "urgent", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.2" - }, - { - "code": "EL", - "display": "elective", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", - "version": "V1.3" - } - ] - }, - "account": [ - { - "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", - "valueCoding": { - "code": "C", - "display": "Car", - "system": "http://terminology.hl7.org/CodeSystem/v2-0430" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - } - }, - { - "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", - "resource": { - "resourceType": "Organization", - "id": "4daacabc-aa82-39ea-ba95-253719088e5b", - "name": "TestOrg", - "identifier": [ - { - "value": "Org12", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "contact": [ - { - "name": { - "family": "Green", - "given": [ - "John", - "A" + "hospitalization": { + "preAdmissionIdentifier": { + "value": "1234567", + "type": { + "coding": [ + { + "code": "ANON", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Anonymous identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + "reAdmission": { + "coding": [ + { + "code": "R", + "display": "Re-admission", + "system": "http://terminology.hl7.org/CodeSystem/v2-0092" + } + ] + }, + "admitSource": { + "coding": [ + { + "code": "NHS Provider-General (inc.A&E-this Hosp)" + } + ] + }, + "dischargeDisposition": { + "coding": [ + { + "code": "Admitted as Inpatient", + "display": "Sample", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR" + } + ] + }, + "dietPreference": [ + { + "coding": [ + { + "code": "Vegan", + "display": "Vegetarian" + } + ] + } + ], + "destination": { + "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460" + } + }, + "episodeOfCare": [ + { + "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb" + } ], - "suffix": [ - "II", - "MD" + "participant": [ + { + "type": [ + { + "coding": [ + { + "code": "ATND", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "display": "attender" + } + ] + } + ], + "individual": { + "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "CON", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "consultant" + } + ], + "individual": { + "reference": "Practitioner/94d0558e-593c-7585-5525-68541f8b1064" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "ADM", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "admitter" + } + ], + "individual": { + "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "PART", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "Participation" + } + ], + "individual": { + "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d" + } + }, + { + "type": [ + { + "coding": [ + { + "code": "REF", + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" + } + ], + "text": "referrer" + } + ], + "individual": { + "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701" + } + } ], - "prefix": [ - "DR" + "serviceType": { + "coding": [ + { + "code": "SUR" + } + ] + }, + "identifier": [ + { + "value": "40007716", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e" + }, + "type": { + "coding": [ + { + "code": "VN", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ], + "text": "visit number" + } + }, + { + "value": "50", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "assigner": { + "reference": "Organization/a6c4db5e-d3be-c9a5-8f86-a1d3341211b6" + } + } ], - "use": "usual", "period": { - "start": "1924-10-12" - } - }, - "telecom": [ - { - "value": "898989898", - "system": "fax" + "start": "2015-02-08T15:54:19+05:30" }, - { - "value": "88888888", - "system": "phone" - } - ], - "address": { - "line": [ - "Street1", - "Palkstreet" + "reasonCode": [ + { + "coding": [ + { + "code": "140004", + "display": "Chronic pharyngitis", + "system": "http://snomed.info/sct" + } + ] + } + ], + "length": { + "value": 2, + "unit": "d", + "system": "http://unitsofmeasure.org/" + }, + "meta": { + "security": [ + { + "code": "N", + "display": "normal", + "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" + } + ] + }, + "text": { + "status": "generated", + "div": "

Visit Description: Health Checkup

" + }, + "priority": { + "coding": [ + { + "code": "UR", + "display": "urgent", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.2" + }, + { + "code": "EL", + "display": "elective", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority", + "version": "V1.3" + } + ] + }, + "account": [ + { + "reference": "Account/4ad7c7d0-b69a-0653-9ea9-0979b8a66b39" + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival", + "valueCoding": { + "code": "C", + "display": "Car", + "system": "http://terminology.hl7.org/CodeSystem/v2-0430" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" - } - }, - { - "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", - "resource": { - "resourceType": "RelatedPerson", - "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", - "identifier": [ - { - "value": "1212121", - "type": { - "coding": [ - { - "code": "AND", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Account number debitor" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "12345567", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - }, - { - "value": "I-123", - "type": { - "coding": [ - { - "code": "BA", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Account Number" - } - ] - } - }, - { - "value": "I-222", - "type": { - "coding": [ - { - "code": "DI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Diner’s Club card" - } + { + "fullUrl": "urn:uuid:4daacabc-aa82-39ea-ba95-253719088e5b", + "resource": { + "resourceType": "Organization", + "id": "4daacabc-aa82-39ea-ba95-253719088e5b", + "name": "TestOrg", + "identifier": [ + { + "value": "Org12", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "contact": [ + { + "name": { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + "telecom": [ + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + } + ], + "address": { + "line": [ + "Street1", + "Palkstreet" + ] + } + } ] - } }, - { - "value": "Security no-23", - "system": "http://hl7.org/fhir/sid/us-ssn" + "request": { + "method": "PUT", + "url": "Organization/4daacabc-aa82-39ea-ba95-253719088e5b" } - ], - "relationship": [ - { - "coding": [ - { - "code": "C", - "display": "Emergency Contact", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131", - "version": "9.0" + }, + { + "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0", + "resource": { + "resourceType": "RelatedPerson", + "id": "abdee378-0d3b-337f-a31e-83e002ce92a0", + "identifier": [ + { + "value": "1212121", + "type": { + "coding": [ + { + "code": "AND", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Account number debitor" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "12345567", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + }, + { + "value": "I-123", + "type": { + "coding": [ + { + "code": "BA", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Account Number" + } + ] + } + }, + { + "value": "I-222", + "type": { + "coding": [ + { + "code": "DI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Diner’s Club card" + } + ] + } + }, + { + "value": "Security no-23", + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "C", + "display": "Emergency Contact", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "version": "9.0" + }, + { + "code": "CHILD", + "display": "child", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "version": "10.0" + } + ] + }, + { + "coding": [ + { + "code": "O", + "display": "Other", + "system": "http://terminology.hl7.org/CodeSystem/v2-0131" + } + ] + }, + { + "coding": [ + { + "code": "MTH", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "period": { + "start": "2021-08-18", + "end": "2021-12-18" }, - { - "code": "CHILD", - "display": "child", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "version": "10.0" - } - ] - }, - { - "coding": [ - { - "code": "O", - "display": "Other", - "system": "http://terminology.hl7.org/CodeSystem/v2-0131" - } - ] - }, - { - "coding": [ - { - "code": "MTH", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "period": { - "start": "2021-08-18", - "end": "2021-12-18" - }, - "address": [ - { - "line": [ - "2222", - "HOME", - "STREET", - "Highway" - ], - "city": "GREENSBORO", - "state": "NC", - "postalCode": "27401-1020", - "country": "US", - "use": "billing", - "district": "test", - "period": { - "start": "2000-01-10", - "end": "2005-01-11" - } - }, - { - "line": [ - "111", - "Duck ST" - ], - "city": "Fowl" - }, - { - "line": [ - "Street1", - "Palkstreet" - ] - }, - { - "line": [ - "ST-2" - ] - } - ], - "telecom": [ - { - "value": "5555", - "use": "work", - "system": "email", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "121111", - "use": "home", - "system": "phone" - }, - { - "value": "878777", - "use": "home", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 18 - }, - { - "value": "6666666", - "system": "pager", - "use": "work" - }, - { - "value": "898989898", - "system": "fax" - }, - { - "value": "88888888", - "system": "phone" - }, - { - "value": "777", - "use": "work", - "system": "phone", - "period": { - "start": "2001-01-10", - "end": "2002-01-10" - }, - "rank": 1 - }, - { - "value": "444444", - "system": "phone" - } - ], - "name": [ - { - "family": "Evan", - "given": [ - "ADAM", - "A" - ], - "suffix": [ - "III", - "MD" - ], - "prefix": [ - "Dr." - ], - "use": "usual" - }, - { - "family": "Green", - "given": [ - "John", - "A" - ], - "suffix": [ - "II", - "MD" - ], - "prefix": [ - "DR" - ], - "use": "usual", - "period": { - "start": "1924-10-12" - } - }, - { - "family": "Josh", - "given": [ - "stanley" - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1962-01-10", - "communication": [ - { - "language": { - "coding": [ - { - "code": "ar", - "display": "Arabic", - "system": "urn:ietf:bcp:47" - } - ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2106-3", - "display": "White", - "system": "urn:oid:2.16.840.1.113883.6.238" - } + "address": [ + { + "line": [ + "2222", + "HOME", + "STREET", + "Highway" + ], + "city": "GREENSBORO", + "state": "NC", + "postalCode": "27401-1020", + "country": "US", + "use": "billing", + "district": "test", + "period": { + "start": "2000-01-10", + "end": "2005-01-11" + } + }, + { + "line": [ + "111", + "Duck ST" + ], + "city": "Fowl" + }, + { + "line": [ + "Street1", + "Palkstreet" + ] + }, + { + "line": [ + "ST-2" + ] + } + ], + "telecom": [ + { + "value": "5555", + "use": "work", + "system": "email", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "121111", + "use": "home", + "system": "phone" + }, + { + "value": "878777", + "use": "home", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 18 + }, + { + "value": "6666666", + "system": "pager", + "use": "work" + }, + { + "value": "898989898", + "system": "fax" + }, + { + "value": "88888888", + "system": "phone" + }, + { + "value": "777", + "use": "work", + "system": "phone", + "period": { + "start": "2001-01-10", + "end": "2002-01-10" + }, + "rank": 1 + }, + { + "value": "444444", + "system": "phone" + } + ], + "name": [ + { + "family": "Evan", + "given": [ + "ADAM", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual" + }, + { + "family": "Green", + "given": [ + "John", + "A" + ], + "suffix": [ + "II", + "MD" + ], + "prefix": [ + "DR" + ], + "use": "usual", + "period": { + "start": "1924-10-12" + } + }, + { + "family": "Josh", + "given": [ + "stanley" + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1962-01-10", + "communication": [ + { + "language": { + "coding": [ + { + "code": "ar", + "display": "Arabic", + "system": "urn:ietf:bcp:47" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" }, - { - "url": "text", - "valueString": "White" - } - ] - } - ] - }, - "request": { - "method": "PUT", - "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" - } - }, - { - "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", - "resource": { - "resourceType": "Organization", - "id": "e76154d7-9084-80e4-6274-c929d7c39880", - "identifier": [ - { - "value": "T1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1" - }, - { - "value": "2.16.840.1.113883.19", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2106-3", + "display": "White", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "White" + } + ] + } ] - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" - } - }, - { - "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "resource": { - "resourceType": "Organization", - "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", - "identifier": [ - { - "value": "NTH", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH" }, - { - "value": "rt23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" - } - }, - { - "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "resource": { - "resourceType": "Coverage", - "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", - "class": [ - { - "value": "BAV", - "name": "Blue Advantage HMO", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "plan", - "display": "Plan" - } + { + "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880", + "resource": { + "resourceType": "Organization", + "id": "e76154d7-9084-80e4-6274-c929d7c39880", + "identifier": [ + { + "value": "T1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/T1" + }, + { + "value": "2.16.840.1.113883.19", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "value": "PUBSUMB", - "name": "SelfPay", - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/coverage-class", - "code": "group", - "display": "Group" - } - ] - } + "request": { + "method": "PUT", + "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880" } - ], - "network": "Blue Advantage HMO", - "period": { - "start": "1989-10-01", - "end": "2050-10-01" - }, - "type": { - "coding": [ - { - "code": "HMO", - "display": "health maintenance organization policy", - "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" - } - ] - }, - "identifier": [ - { - "value": "PN-145", - "type": { - "coding": [ - { - "code": "PLN", - "display": "Policy Number", - "system": "http://example.com/CodeSystem/additional-identifier" - } - ] - }, - "system": "http://www.examplehealthplan.com/fhir/policyidentifier" - }, - { - "value": "Medicare-12345", - "type": { - "coding": [ - { - "code": "MC", - "display": "Patient's Medicare number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "http://hl7.org/fhir/sid/us-medicare" - }, - { - "value": "MCN-008", - "type": { - "coding": [ - { - "code": "MA", - "display": "Patient Medicaid number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + }, + { + "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "resource": { + "resourceType": "Organization", + "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99", + "identifier": [ + { + "value": "NTH", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NTH" + }, + { + "value": "rt23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid" }, - { - "value": "PNM1234", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } - ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - }, - "period": { - "start": "1924-10-11", - "end": "1924-10-12" - } - } - ], - "costToBeneficiary": [ - { - "type": { - "coding": [ - { - "code": "DC", - "display": "direct unit cost", - "system": "http://terminology.hl7.org/CodeSystem/v2-0205" - } - ] - }, - "valueMoney": { - "value": 150, - "currency": "USD" - } - } - ], - "subscriberId": "HMO-12345", - "status": "active", - "beneficiary": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "payor": [ - { - "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + "request": { + "method": "PUT", + "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99" } - ], - "policyHolder": { - "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - }, - "subscriber": { - "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - }, - "relationship": { - "coding": [ - { - "code": "spouse", - "display": "Spouse", - "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" - } - ] - } }, - "request": { - "method": "PUT", - "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" - } - }, - { - "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", - "resource": { - "resourceType": "Organization", - "id": "04a2a5f2-c971-1e42-e788-250ea487a889", - "address": [ - { - "line": [ - "1979 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "contact": [ - { - "name": { - "family": "Henry", - "given": [ - "Rony", - "A" + { + "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "resource": { + "resourceType": "Coverage", + "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4", + "class": [ + { + "value": "BAV", + "name": "Blue Advantage HMO", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "plan", + "display": "Plan" + } + ] + } + }, + { + "value": "PUBSUMB", + "name": "SelfPay", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/coverage-class", + "code": "group", + "display": "Group" + } + ] + } + } ], - "suffix": [ - "III", - "MD" + "network": "Blue Advantage HMO", + "period": { + "start": "1989-10-01", + "end": "2050-10-01" + }, + "type": { + "coding": [ + { + "code": "HMO", + "display": "health maintenance organization policy", + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" + } + ] + }, + "identifier": [ + { + "value": "PN-145", + "type": { + "coding": [ + { + "code": "PLN", + "display": "Policy Number", + "system": "http://example.com/CodeSystem/additional-identifier" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/policy-id" + }, + { + "value": "Medicare-12345", + "type": { + "coding": [ + { + "code": "MC", + "display": "Patient's Medicare number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-medicare" + }, + { + "value": "MCN-008", + "type": { + "coding": [ + { + "code": "MA", + "display": "Patient Medicaid number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/sid/us-medicaid" + }, + { + "value": "PNM1234", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" + }, + "period": { + "start": "1924-10-11", + "end": "1924-10-12" + } + } ], - "prefix": [ - "Dr." + "costToBeneficiary": [ + { + "type": { + "coding": [ + { + "code": "DC", + "display": "direct unit cost", + "system": "http://terminology.hl7.org/CodeSystem/v2-0205" + } + ] + }, + "valueMoney": { + "value": 150, + "currency": "USD" + } + } ], - "use": "usual", - "period": { - "start": "1925-10-12" + "subscriberId": "HMO-12345", + "status": "active", + "beneficiary": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "payor": [ + { + "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" + } + ], + "policyHolder": { + "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" + }, + "subscriber": { + "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" + }, + "relationship": { + "coding": [ + { + "code": "spouse", + "display": "Spouse", + "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship" + } + ] } - } - } - ], - "telecom": [ - { - "value": "(555)555-5555", - "system": "phone" - } - ], - "identifier": [ - { - "value": "IC-1.31", - "type": { - "coding": [ - { - "code": "NIIP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National Insurance Payor Identifier (Payor)" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.1", - "period": { - "start": "1929-10-11", - "end": "1929-10-12" - } + }, + "request": { + "method": "PUT", + "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4" } - ], - "name": "Blue Cross Blue Shield of Texas" }, - "request": { - "method": "PUT", - "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" - } - }, - { - "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", - "resource": { - "resourceType": "Organization", - "id": "4829e288-ac03-22cc-c65e-922004275fd0", - "address": [ - { - "line": [ - "2000 MILKY WAY" - ], - "city": "VERONA", - "state": "WI", - "postalCode": "53593", - "country": "US" - } - ], - "name": "Sam P. Hil", - "contact": [ - { - "name": { - "family": "Richard", - "given": [ - "Paul" - ] - }, - "telecom": [ - { - "value": "254622222", - "system": "phone" - } - ] - } - ], - "telecom": [ - { - "value": "555777888", - "system": "fax" + { + "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889", + "resource": { + "resourceType": "Organization", + "id": "04a2a5f2-c971-1e42-e788-250ea487a889", + "address": [ + { + "line": [ + "1979 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "contact": [ + { + "name": { + "family": "Henry", + "given": [ + "Rony", + "A" + ], + "suffix": [ + "III", + "MD" + ], + "prefix": [ + "Dr." + ], + "use": "usual", + "period": { + "start": "1925-10-12" + } + } + } + ], + "telecom": [ + { + "value": "(555)555-5555", + "system": "phone" + } + ], + "identifier": [ + { + "value": "IC-1.31", + "type": { + "coding": [ + { + "code": "NIIP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National Insurance Payor Identifier (Payor)" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.1", + "period": { + "start": "1929-10-11", + "end": "1929-10-12" + } + } + ], + "name": "Blue Cross Blue Shield of Texas" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" - } - }, - { - "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "resource": { - "resourceType": "RelatedPerson", - "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", - "identifier": [ - { - "value": "HMO-12345", - "type": { - "coding": [ - { - "code": "NI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "National unique individual identifier" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.3" - }, - { - "value": "1117", - "type": { - "coding": [ - { - "code": "EI", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Employee number" - } - ] - }, - "system": "urn:oid:2.16.840.1.113883.1.4" - }, - { - "value": "1118", - "type": { - "coding": [ - { - "code": "BC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Bank Card Number" - } - ] - } - }, - { - "value": "425-57-9745", - "type": { - "coding": [ - { - "code": "SS", - "display": "Social Security number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0", + "resource": { + "resourceType": "Organization", + "id": "4829e288-ac03-22cc-c65e-922004275fd0", + "address": [ + { + "line": [ + "2000 MILKY WAY" + ], + "city": "VERONA", + "state": "WI", + "postalCode": "53593", + "country": "US" + } + ], + "name": "Sam P. Hil", + "contact": [ + { + "name": { + "family": "Richard", + "given": [ + "Paul" + ] + }, + "telecom": [ + { + "value": "254622222", + "system": "phone" + } + ] + } + ], + "telecom": [ + { + "value": "555777888", + "system": "fax" + }, + { + "system": "phone" + } ] - }, - "system": "http://hl7.org/fhir/sid/us-ssn" - } - ], - "relationship": [ - { - "coding": [ - { - "code": "SPS", - "display": "spouse", - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" - } - ] - } - ], - "address": [ - { - "line": [ - "3857 Velvet Treasure Terrace" - ], - "city": "Midnight", - "state": "NC", - "postalCode": "27878", - "country": "US" - } - ], - "name": [ - { - "family": "Doe", - "given": [ - "Rosallie", - "John" - ], - "suffix": [ - "III", - "Bachelors" - ], - "prefix": [ - "Mrs." - ], - "use": "official" - } - ], - "gender": "female", - "birthDate": "1975-02-28", - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "telecom": [ - { - "value": "0005245", - "use": "work", - "system": "email" }, - { - "system": "phone" + "request": { + "method": "PUT", + "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0" } - ], - "communication": [ - { - "language": { - "coding": [ - { - "code": "en", - "display": "English", - "system": "urn:ietf:bcp:47" - } + }, + { + "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "resource": { + "resourceType": "RelatedPerson", + "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777", + "identifier": [ + { + "value": "HMO-12345", + "type": { + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.3" + }, + { + "value": "1117", + "type": { + "coding": [ + { + "code": "EI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Employee number" + } + ] + }, + "system": "urn:oid:2.16.840.1.113883.1.4" + }, + { + "value": "1118", + "type": { + "coding": [ + { + "code": "BC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Bank Card Number" + } + ] + } + }, + { + "value": "425-57-9745", + "type": { + "coding": [ + { + "code": "SS", + "display": "Social Security number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + }, + "system": "http://hl7.org/fhir/sid/us-ssn" + } + ], + "relationship": [ + { + "coding": [ + { + "code": "SPS", + "display": "spouse", + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode" + } + ] + } + ], + "address": [ + { + "line": [ + "3857 Velvet Treasure Terrace" + ], + "city": "Midnight", + "state": "NC", + "postalCode": "27878", + "country": "US" + } + ], + "name": [ + { + "family": "Doe", + "given": [ + "Rosallie", + "John" + ], + "suffix": [ + "III", + "Bachelors" + ], + "prefix": [ + "Mrs." + ], + "use": "official" + } + ], + "gender": "female", + "birthDate": "1975-02-28", + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "telecom": [ + { + "value": "0005245", + "use": "work", + "system": "email" + }, + { + "system": "phone" + } + ], + "communication": [ + { + "language": { + "coding": [ + { + "code": "en", + "display": "English", + "system": "urn:ietf:bcp:47" + } + ] + }, + "preferred": true + } ] - }, - "preferred": true + }, + "request": { + "method": "PUT", + "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" } - ] }, - "request": { - "method": "PUT", - "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777" - } - }, - { - "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "resource": { - "resourceType": "Organization", - "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", - "identifier": [ - { - "value": "PM", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM" - }, - { - "value": "2.6.1", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "resource": { + "resourceType": "Organization", + "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b", + "identifier": [ + { + "value": "PM", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PM" + }, + { + "value": "2.6.1", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b" - } - }, - { - "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "resource": { - "resourceType": "Organization", - "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", - "identifier": [ - { - "value": "PERSt", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt" - }, - { - "value": "1.23", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "type": { - "coding": [ - { - "code": "HCD", - "display": "The CEN Healthcare Coding Scheme Designator", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "resource": { + "resourceType": "Organization", + "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7", + "identifier": [ + { + "value": "PERSt", + "system": "http://example.com/v2-to-fhir-converter/Identifier/PERSt" + }, + { + "value": "1.23", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "type": { + "coding": [ + { + "code": "HCD", + "display": "The CEN Healthcare Coding Scheme Designator", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" } - ] }, - "request": { - "method": "PUT", - "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - } - }, - { - "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "resource": { - "resourceType": "Practitioner", - "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", - "identifier": [ - { - "value": "1134", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD", - "assigner": { - "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" - }, - "type": { - "coding": [ - { - "code": "BR", - "display": "Birth registry number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "resource": { + "resourceType": "Practitioner", + "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1", + "identifier": [ + { + "value": "1134", + "system": "http://example.com/v2-to-fhir-converter/Identifier/HCD", + "assigner": { + "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7" + }, + "type": { + "coding": [ + { + "code": "BR", + "display": "Birth registry number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Aly", + "given": [ + "Zafar", + "Mahendra" + ], + "suffix": [ + "JR", + "MD", + "Al" + ], + "prefix": [ + "Dr." + ], + "period": { + "start": "1924-10-10", + "end": "1924-10-15" + } + } ] - } - } - ], - "name": [ - { - "family": "Aly", - "given": [ - "Zafar", - "Mahendra" - ], - "suffix": [ - "JR", - "MD", - "Al" - ], - "prefix": [ - "Dr." - ], - "period": { - "start": "1924-10-10", - "end": "1924-10-15" - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } - }, - { - "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", - "resource": { - "resourceType": "PractitionerRole", - "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e", + "resource": { + "resourceType": "PractitionerRole", + "id": "88a53755-c972-6904-b4ce-8884b84ddc2e", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" } - ], - "practitioner": { - "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - } - }, - { - "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", - "resource": { - "resourceType": "Practitioner", - "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", - "identifier": [ - { - "value": "2234" - } - ], - "name": [ - { - "family": "Pauly", - "given": [ - "Berrie", - "Raud" - ] + { + "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577", + "resource": { + "resourceType": "Practitioner", + "id": "3e0952c6-eea0-8938-96f8-07c224bf1577", + "identifier": [ + { + "value": "2234" + } + ], + "name": [ + { + "family": "Pauly", + "given": [ + "Berrie", + "Raud" + ] + } + ] + }, + "request": { + "method": "PUT", + "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } - }, - { - "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", - "resource": { - "resourceType": "PractitionerRole", - "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", - "code": [ - { - "coding": [ - { - "code": "ResponsibleObserver", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c", + "resource": { + "resourceType": "PractitionerRole", + "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c", + "code": [ + { + "coding": [ + { + "code": "RO", + "display": "Responsible Observer", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" } - ], - "practitioner": { - "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" - } - }, - { - "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "resource": { - "resourceType": "Device", - "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", - "identifier": [ - { - "value": "EI12.3", - "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", - "type": { - "coding": [ - { - "code": "GUID", - "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } + { + "fullUrl": "urn:uuid:87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "resource": { + "resourceType": "Device", + "id": "87d13d2d-749d-04e0-64f3-808e78b9e4e5", + "identifier": [ + { + "value": "EI12.3", + "system": "urn:uuid:426d2726-51fc-00fe-a946-8596e80a80eb", + "type": { + "coding": [ + { + "code": "GUID", + "display": "The DCE Universal Unique Identifier, in accordance with RFC 4122. Recommended format is 32 hexadecimal digits separated by hyphens, in the digit grouping 8-4-4-4-12", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + }, + { + "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", + "type": { + "coding": [ + { + "code": "ISO", + "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + } + } ] - } }, - { - "system": "urn:oid:1.3.6.1.4.1.44750.1.2.2", - "type": { - "coding": [ - { - "code": "ISO", - "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters", - "system": "http://terminology.hl7.org/CodeSystem/v2-0301" - } - ] - } + "request": { + "method": "PUT", + "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" } - ] }, - "request": { - "method": "PUT", - "url": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - } - }, - { - "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", - "resource": { - "resourceType": "Practitioner", - "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", - "identifier": [ - { - "type": { - "coding": [ - { - "code": "MD-25" - } + { + "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2", + "resource": { + "resourceType": "Practitioner", + "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2", + "identifier": [ + { + "type": { + "coding": [ + { + "code": "MD-25" + } + ] + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - } - }, - { - "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "resource": { - "resourceType": "PractitionerRole", - "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", - "code": [ - { - "coding": [ - { - "code": "LabMedicalDirector", - "system": "http://example.com/v2-to-fhir-converter/Codesystem/PractitionerRole" + { + "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "resource": { + "resourceType": "PractitionerRole", + "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3", + "code": [ + { + "coding": [ + { + "code": "MDIR", + "display": "Medical Director", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" + }, + "organization": { + "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ] - } - ], - "practitioner": { - "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2" - }, - "organization": { - "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - "request": { - "method": "PUT", - "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" - } - }, - { - "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "resource": { - "resourceType": "Organization", - "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", - "name": "FairOaks Hspital", - "address": [ - { - "line": [ - "Research Park", - "Fairfax" - ], - "city": "VA", - "state": "22031", - "postalCode": "USA" - } - ] - }, - "request": { - "method": "PUT", - "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" - } - }, - { - "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "resource": { - "resourceType": "Observation", - "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", - "identifier": [ - { - "value": "EI21", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII" }, - { - "type": { - "coding": [ - { - "code": "FILL" - } - ] - } + "request": { + "method": "PUT", + "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" } - ], - "status": "unknown", - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "component": [ - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } - ] - }, - "valueQuantity": { - "value": 60, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "8867-4", - "display": "heartrate", - "system": "http://loinc.org" - } + }, + { + "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "resource": { + "resourceType": "Organization", + "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25", + "name": "FairOaks Hspital", + "address": [ + { + "line": [ + "Research Park", + "Fairfax" + ], + "city": "VA", + "state": "22031", + "postalCode": "USA" + } ] - }, - "valueQuantity": { - "value": 120, - "code": "beats/min", - "system": "urn:iso:std:iso:3986" - }, - "referenceRange": [ - { - "text": "70-80" - } - ] - } - ], - "effectiveDateTime": "1999-07-02", - "method": { - "coding": [ - { - "code": "OBS", - "display": "This is test method", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" - } - ] - }, - "device": { - "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" - }, - "bodySite": { - "coding": [ - { - "code": "BU", - "display": "Observation site", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" - } - ] - }, - "performer": [ - { - "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" - }, - { - "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" }, - { - "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + "request": { + "method": "PUT", + "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25" } - ], - "interpretation": [ - { - "coding": [ - { - "code": "A", - "display": "Abnormal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - }, - { - "coding": [ - { - "code": "B", - "display": "Better", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ] - } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "S", - "display": "Partial", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Partial" - } - } - ] }, - "request": { - "method": "PUT", - "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" - } - }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "resource": { + "resourceType": "Observation", + "id": "6586ece7-7d50-e6c0-b0f9-2da3a2c26174", + "identifier": [ + { + "value": "EI21", + "system": "http://example.com/v2-to-fhir-converter/Identifier/OII" + }, + { + "type": { + "coding": [ + { + "code": "FILL" + } + ] + } + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "component": [ + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 60, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + }, + { + "code": { + "coding": [ + { + "code": "8867-4", + "display": "heartrate", + "system": "http://loinc.org" + } + ] + }, + "valueQuantity": { + "value": 120, + "code": "beats/min", + "system": "urn:iso:std:iso:3986" + }, + "referenceRange": [ + { + "text": "70-80" + } + ] + } + ], + "effectiveDateTime": "1999-07-02", + "method": { + "coding": [ + { + "code": "OBS", + "display": "This is test method", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4" + } + ] + }, + "device": { + "reference": "Device/87d13d2d-749d-04e0-64f3-808e78b9e4e5" + }, + "bodySite": { + "coding": [ + { + "code": "BU", + "display": "Observation site", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5" + } + ] + }, + "performer": [ + { + "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e" + }, + { + "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c" + }, + { + "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3" + } + ], + "interpretation": [ + { + "coding": [ + { + "code": "A", + "display": "Abnormal", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + }, + { + "coding": [ + { + "code": "B", + "display": "Better", + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" + } + ] + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "S", + "display": "Partial", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Partial" + } + } ] - } - } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Observation/6586ece7-7d50-e6c0-b0f9-2da3a2c26174" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", - "resource": { - "resourceType": "Immunization", - "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } ] - } }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } + }, + { + "fullUrl": "urn:uuid:e76daa35-ff10-5d98-daf6-94c18f0623db", + "resource": { + "resourceType": "Immunization", + "id": "e76daa35-ff10-5d98-daf6-94c18f0623db", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2021-08-18", + "vaccineCode": { + "coding": [ + { + "code": "49281021588", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2021-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "location": { + "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2021-08-18", - "vaccineCode": { - "coding": [ - { - "code": "49281021588", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2021-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "location": { - "reference": "Location/7e8c8f5b-e366-6646-d2c0-e943bd9d1145" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] + "request": { + "method": "PUT", + "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" } - ] }, - "request": { - "method": "PUT", - "url": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - }, - { - "fullUrl": "urn:uuid:c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", - "resource": { - "resourceType": "ServiceRequest", - "id": "c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "resource": { + "resourceType": "ServiceRequest", + "id": "c3cdfd6f-f62c-885b-f34f-ee3facaf1d37", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" + } }, - { - "value": "13696", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" - } - }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - ] + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } - }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" } - ], - "name": "Sanofi Pasteur" }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - }, - { - "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", - "resource": { - "resourceType": "Observation", - "id": "37a16973-f481-a452-cd1f-35386801f806", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:37a16973-f481-a452-cd1f-35386801f806", + "resource": { + "resourceType": "Observation", + "id": "37a16973-f481-a452-cd1f-35386801f806", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" - } - }, - { - "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "resource": { - "resourceType": "Observation", - "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2021-08-18", - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" - } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } ], - "text": "Final" - } - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" - } - }, - { - "fullUrl": "urn:uuid:9dc51316-3b86-fe81-dad0-6018e526d43e", - "resource": { - "resourceType": "Immunization", - "id": "9dc51316-3b86-fe81-dad0-6018e526d43e", - "identifier": [ - { - "value": "38760", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ] - } - } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2014-10-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed", - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] + }, + "request": { + "method": "PUT", + "url": "Observation/37a16973-f481-a452-cd1f-35386801f806" } - ] }, - "request": { - "method": "PUT", - "url": "Immunization/9dc51316-3b86-fe81-dad0-6018e526d43e" - } - }, - { - "fullUrl": "urn:uuid:97a02aa1-5d37-07ce-9424-b4d2bfcdef49", - "resource": { - "resourceType": "ServiceRequest", - "id": "97a02aa1-5d37-07ce-9424-b4d2bfcdef49", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "38760", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "resource": { + "resourceType": "Observation", + "id": "6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2021-08-18", + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/e76daa35-ff10-5d98-daf6-94c18f0623db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/c3cdfd6f-f62c-885b-f34f-ee3facaf1d37" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ] - } + }, + "request": { + "method": "PUT", + "url": "Observation/6ff9d3d9-273b-9ffc-0ebb-2f7c35bfdea0" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/97a02aa1-5d37-07ce-9424-b4d2bfcdef49" - } - }, - { - "fullUrl": "urn:uuid:729d7e70-12fb-da13-46eb-3818c172ae2f", - "resource": { - "resourceType": "Immunization", - "id": "729d7e70-12fb-da13-46eb-3818c172ae2f", - "identifier": [ - { - "value": "35508", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:9dc51316-3b86-fe81-dad0-6018e526d43e", + "resource": { + "resourceType": "Immunization", + "id": "9dc51316-3b86-fe81-dad0-6018e526d43e", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2014-10-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed", + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } ] - } + }, + "request": { + "method": "PUT", + "url": "Immunization/9dc51316-3b86-fe81-dad0-6018e526d43e" } - ], - "patient": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "encounter": { - "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" - }, - "occurrenceDateTime": "2013-11-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" }, - "request": { - "method": "PUT", - "url": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" - } - }, - { - "fullUrl": "urn:uuid:9732220b-4f71-14f7-8f19-de460a1a515b", - "resource": { - "resourceType": "ServiceRequest", - "id": "9732220b-4f71-14f7-8f19-de460a1a515b", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "35508", - "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "resource": { + "resourceType": "ServiceRequest", + "id": "97a02aa1-5d37-07ce-9424-b4d2bfcdef49", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/97a02aa1-5d37-07ce-9424-b4d2bfcdef49" } - ], - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" - } - }, - { - "fullUrl": "urn:uuid:cfd5887f-8b44-e556-cb3f-b0559624aedc", - "resource": { - "resourceType": "Observation", - "id": "cfd5887f-8b44-e556-cb3f-b0559624aedc", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Vaccine Funding Source", - "system": "http://loinc.org" - }, - { - "code": "30963-3" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "effectiveDateTime": "2021-08-18", - "subject": { - "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" - }, - "partOf": [ - { - "reference": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + { + "fullUrl": "urn:uuid:729d7e70-12fb-da13-46eb-3818c172ae2f", + "resource": { + "resourceType": "Immunization", + "id": "729d7e70-12fb-da13-46eb-3818c172ae2f", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "encounter": { + "reference": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e" + }, + "occurrenceDateTime": "2013-11-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" } - ], - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + }, + { + "fullUrl": "urn:uuid:9732220b-4f71-14f7-8f19-de460a1a515b", + "resource": { + "resourceType": "ServiceRequest", + "id": "9732220b-4f71-14f7-8f19-de460a1a515b", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } ], - "text": "Final" - } + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/cfd5887f-8b44-e556-cb3f-b0559624aedc" + { + "fullUrl": "urn:uuid:cfd5887f-8b44-e556-cb3f-b0559624aedc", + "resource": { + "resourceType": "Observation", + "id": "cfd5887f-8b44-e556-cb3f-b0559624aedc", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" + }, + { + "code": "30963-3" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "effectiveDateTime": "2021-08-18", + "subject": { + "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346" + }, + "partOf": [ + { + "reference": "Immunization/729d7e70-12fb-da13-46eb-3818c172ae2f" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/9732220b-4f71-14f7-8f19-de460a1a515b" + } + ], + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/cfd5887f-8b44-e556-cb3f-b0559624aedc" + } } - } ] } \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json index fd5f0e6d3..e610ca82b 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json @@ -1,928 +1,928 @@ { "resourceType": "Bundle", "type": "batch", - "timestamp": "2015-06-24T08:47:27.655-05:00", + "timestamp": "2015-06-24T19:17:27.655+05:30", "identifier": { - "value": "NIST-IZ-AD-2.1_Send_V04_Z22" + "value": "NIST-IZ-AD-2.1_Send_V04_Z22" }, "id": "3364f83f-1a00-2742-2d21-2244f2ba834d", "entry": [ - { - "fullUrl": "urn:uuid:aefd5bbc-563b-7d19-5096-4b5754c338c1", - "resource": { - "resourceType": "MessageHeader", - "id": "aefd5bbc-563b-7d19-5096-4b5754c338c1", - "source": { - "name": "NISTEHRAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" + { + "fullUrl": "urn:uuid:aefd5bbc-563b-7d19-5096-4b5754c338c1", + "resource": { + "resourceType": "MessageHeader", + "id": "aefd5bbc-563b-7d19-5096-4b5754c338c1", + "source": { + "name": "NISTEHRAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + }, + "destination": [ + { + "name": "NISTIISAPP", + "_endpoint": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "receiver": { + "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + } + } + ], + "meta": { + "tag": [ + { + "code": "P", + "system": "http://terminology.hl7.org/CodeSystem/v2-0103" + } + ] + }, + "eventCoding": { + "code": "V04", + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "display": "VXU^V04^VXU_V04" + }, + "sender": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + }, + "responsible": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" } - ] - } - }, - "destination": [ - { - "name": "NISTIISAPP", - "_endpoint": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", - "valueCode": "unknown" - } - ] - }, - "receiver": { - "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - } + }, + "request": { + "method": "PUT", + "url": "MessageHeader/aefd5bbc-563b-7d19-5096-4b5754c338c1" } - ], - "meta": { - "tag": [ - { - "code": "P", - "system": "http://terminology.hl7.org/CodeSystem/v2-0103" - } - ] - }, - "eventCoding": { - "code": "V04", - "system": "http://terminology.hl7.org/CodeSystem/v2-0003", - "display": "VXU^V04^VXU_V04" - }, - "sender": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - }, - "responsible": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } }, - "request": { - "method": "PUT", - "url": "MessageHeader/aefd5bbc-563b-7d19-5096-4b5754c338c1" - } - }, - { - "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", - "resource": { - "resourceType": "Provenance", - "id": "87847f45-4a99-9d88-c439-65574d8fd20b", - "text": { - "status": "generated", - "div": "

Resource bundle generated on 2022-03-25T08:36:34.675Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" - }, - "occurredDateTime": "2015-06-24T08:47:27.655-05:00", - "recorded": "2015-06-24T08:47:27.655-05:00", - "agent": [ - { - "type": { - "coding": [ - { - "code": "author", - "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" - } + { + "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b", + "resource": { + "resourceType": "Provenance", + "id": "87847f45-4a99-9d88-c439-65574d8fd20b", + "text": { + "status": "generated", + "div": "

Resource bundle generated on 2022-03-28T07:53:52.434Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.

" + }, + "occurredDateTime": "2015-06-24T19:17:27.655+05:30", + "recorded": "2015-06-24T19:17:27.655+05:30", + "agent": [ + { + "type": { + "coding": [ + { + "code": "author", + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + }, + "who": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + } + } + ], + "activity": { + "coding": [ + { + "display": "VXU^V04^VXU_V04" + } + ] + }, + "target": [ + { + "reference": "Bundle/3364f83f-1a00-2742-2d21-2244f2ba834d" + } ] - }, - "who": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } - } - ], - "activity": { - "coding": [ - { - "display": "VXU^V04^VXU_V04" - } - ] - }, - "target": [ - { - "reference": "Bundle/3364f83f-1a00-2742-2d21-2244f2ba834d" + }, + "request": { + "method": "PUT", + "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" } - ] }, - "request": { - "method": "PUT", - "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b" - } - }, - { - "fullUrl": "urn:uuid:8a0eacde-8a9d-6c26-af93-755bbf26dedc", - "resource": { - "resourceType": "Organization", - "id": "8a0eacde-8a9d-6c26-af93-755bbf26dedc", - "identifier": [ - { - "value": "NISTEHRFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTEHRFAC" + { + "fullUrl": "urn:uuid:8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "resource": { + "resourceType": "Organization", + "id": "8a0eacde-8a9d-6c26-af93-755bbf26dedc", + "identifier": [ + { + "value": "NISTEHRFAC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NISTEHRFAC" + } + ], + "partOf": { + "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" + }, + "name": "NISTEHRFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" } - ], - "partOf": { - "reference": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - }, - "name": "NISTEHRFAC" }, - "request": { - "method": "PUT", - "url": "Organization/8a0eacde-8a9d-6c26-af93-755bbf26dedc" - } - }, - { - "fullUrl": "urn:uuid:421aa904-409c-709f-ad7d-f1a7673d884f", - "resource": { - "resourceType": "Organization", - "id": "421aa904-409c-709f-ad7d-f1a7673d884f", - "identifier": [ - { - "value": "NISTIISFAC", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NISTIISFAC" + { + "fullUrl": "urn:uuid:421aa904-409c-709f-ad7d-f1a7673d884f", + "resource": { + "resourceType": "Organization", + "id": "421aa904-409c-709f-ad7d-f1a7673d884f", + "identifier": [ + { + "value": "NISTIISFAC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NISTIISFAC" + } + ], + "partOf": { + "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" + }, + "name": "NISTIISFAC" + }, + "request": { + "method": "PUT", + "url": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" } - ], - "partOf": { - "reference": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - }, - "name": "NISTIISFAC" }, - "request": { - "method": "PUT", - "url": "Organization/421aa904-409c-709f-ad7d-f1a7673d884f" - } - }, - { - "fullUrl": "urn:uuid:8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", - "resource": { - "resourceType": "Patient", - "id": "8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", - "identifier": [ - { - "value": "90012", - "type": { - "coding": [ - { - "code": "MR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203", - "display": "Medical record number" - } + { + "fullUrl": "urn:uuid:8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", + "resource": { + "resourceType": "Patient", + "id": "8dc947ee-0db3-5fa2-04bb-16fd7680cfbe", + "identifier": [ + { + "value": "90012", + "type": { + "coding": [ + { + "code": "MR", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "Medical record number" + } + ] + }, + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-MPI-1" + } + ], + "name": [ + { + "family": "Wong", + "given": [ + "Elise" + ], + "use": "official" + } + ], + "birthDate": "1983-06-15", + "gender": "female", + "address": [ + { + "line": [ + "9200 Wellington Trail" + ], + "city": "Bozeman", + "state": "MT", + "postalCode": "59715", + "country": "USA" + } + ], + "telecom": [ + { + "use": "home", + "system": "phone" + } + ], + "multipleBirthInteger": 1, + "deceasedBoolean": false, + "active": true, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2028-9", + "display": "Asian", + "system": "urn:oid:2.16.840.1.113883.6.238" + } + }, + { + "url": "text", + "valueString": "Asian" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC" + } + }, + { + "url": "text", + "valueString": "2186-5" + } + ] + } ] - }, - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-MPI-1" - } - ], - "name": [ - { - "family": "Wong", - "given": [ - "Elise" - ], - "use": "official" - } - ], - "birthDate": "1983-06-15", - "gender": "female", - "address": [ - { - "line": [ - "9200 Wellington Trail" - ], - "city": "Bozeman", - "state": "MT", - "postalCode": "59715", - "country": "USA" - } - ], - "telecom": [ - { - "use": "home", - "system": "phone" - } - ], - "multipleBirthInteger": 1, - "deceasedBoolean": false, - "active": true, - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2028-9", - "display": "Asian", - "system": "urn:oid:2.16.840.1.113883.6.238" - } - }, - { - "url": "text", - "valueString": "Asian" - } - ] }, - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", - "extension": [ - { - "url": "ombCategory", - "valueCoding": { - "code": "2186-5", - "display": "Not Hispanic or Latino", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC" - } - }, - { - "url": "text", - "valueString": "2186-5" - } - ] + "request": { + "method": "PUT", + "url": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" } - ] }, - "request": { - "method": "PUT", - "url": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } - }, - { - "fullUrl": "urn:uuid:89c802dd-30ec-8f4e-c374-059cfde1c975", - "resource": { - "resourceType": "Observation", - "id": "89c802dd-30ec-8f4e-c374-059cfde1c975", - "status": "final", - "code": { - "coding": [ - { - "code": "30963-3", - "display": "Vaccine Funding Source", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:89c802dd-30ec-8f4e-c374-059cfde1c975", + "resource": { + "resourceType": "Observation", + "id": "89c802dd-30ec-8f4e-c374-059cfde1c975", + "status": "final", + "code": { + "coding": [ + { + "code": "30963-3", + "display": "Vaccine Funding Source", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/89c802dd-30ec-8f4e-c374-059cfde1c975" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/89c802dd-30ec-8f4e-c374-059cfde1c975" - } - }, - { - "fullUrl": "urn:uuid:195cc57b-4ab5-49fd-4e1d-53f79651bf13", - "resource": { - "resourceType": "Observation", - "id": "195cc57b-4ab5-49fd-4e1d-53f79651bf13", - "status": "final", - "code": { - "coding": [ - { - "code": "64994-7", - "display": "Vaccine Funding Program Eligibility", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "method": { - "coding": [ - { - "code": "VXC40", - "display": "per immunization", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } - ], - "text": "Final" - } + { + "fullUrl": "urn:uuid:195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "resource": { + "resourceType": "Observation", + "id": "195cc57b-4ab5-49fd-4e1d-53f79651bf13", + "status": "final", + "code": { + "coding": [ + { + "code": "64994-7", + "display": "Vaccine Funding Program Eligibility", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "method": { + "coding": [ + { + "code": "VXC40", + "display": "per immunization", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ] + }, + "request": { + "method": "PUT", + "url": "Observation/195cc57b-4ab5-49fd-4e1d-53f79651bf13" } - ] }, - "request": { - "method": "PUT", - "url": "Observation/195cc57b-4ab5-49fd-4e1d-53f79651bf13" - } - }, - { - "fullUrl": "urn:uuid:ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", - "resource": { - "resourceType": "Observation", - "id": "ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", - "status": "final", - "code": { - "coding": [ - { - "code": "69764-9", - "display": "Document Type", - "system": "http://loinc.org" - } - ] - }, - "valueCodeableConcept": { - "coding": [ - { - "code": "253088698300028811170411", - "display": "Tetanus/Diphtheria (Td) Vaccine VIS", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" - } - ] - }, - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + { + "fullUrl": "urn:uuid:ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", + "resource": { + "resourceType": "Observation", + "id": "ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2", + "status": "final", + "code": { + "coding": [ + { + "code": "69764-9", + "display": "Document Type", + "system": "http://loinc.org" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "code": "253088698300028811170411", + "display": "Tetanus/Diphtheria (Td) Vaccine VIS", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/cdcgs1vis" + } + ] + }, + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } ], - "text": "Final" - } - } - ], - "partOf": [ - { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2" - } - }, - { - "fullUrl": "urn:uuid:0878a797-17ce-3674-ac45-5f740963c772", - "resource": { - "resourceType": "Observation", - "id": "0878a797-17ce-3674-ac45-5f740963c772", - "status": "final", - "code": { - "coding": [ - { - "code": "29769-7", - "display": "Date Vis Presented", - "system": "http://loinc.org" - } - ] - }, - "valueDateTime": "2015-06-24", - "effectiveDateTime": "2015-06-24", - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "extension": [ - { - "url": "http://example.com/v2-to-fhir-converter/Observation_Status", - "valueCodeableConcept": { - "coding": [ - { - "code": "F", - "display": "Final", - "system": "http://terminology.hl7.org/CodeSystem/v2-0085" - } + "partOf": [ + { + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } ], - "text": "Final" - } - } - ], - "partOf": [ - { - "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - ], - "basedOn": [ - { - "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - ] - }, - "request": { - "method": "PUT", - "url": "Observation/0878a797-17ce-3674-ac45-5f740963c772" - } - }, - { - "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "resource": { - "resourceType": "Practitioner", - "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", - "identifier": [ - { - "value": "654", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "MD", - "display": "Medical License number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + "basedOn": [ + { + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } ] - } - } - ], - "name": [ - { - "family": "Thomas", - "given": [ - "Wilma", - "Elizabeth" - ], - "use": "official" + }, + "request": { + "method": "PUT", + "url": "Observation/ad55c124-bb5c-99cb-cdc1-0f2735e6bbc2" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } - }, - { - "fullUrl": "urn:uuid:c0f2ddcb-f061-279f-d5e1-7b54b437e9db", - "resource": { - "resourceType": "Immunization", - "id": "c0f2ddcb-f061-279f-d5e1-7b54b437e9db", - "identifier": [ - { - "value": "4422", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:0878a797-17ce-3674-ac45-5f740963c772", + "resource": { + "resourceType": "Observation", + "id": "0878a797-17ce-3674-ac45-5f740963c772", + "status": "final", + "code": { + "coding": [ + { + "code": "29769-7", + "display": "Date Vis Presented", + "system": "http://loinc.org" + } + ] + }, + "valueDateTime": "2015-06-24", + "effectiveDateTime": "2015-06-24", + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "extension": [ + { + "url": "http://example.com/v2-to-fhir-converter/Observation_Status", + "valueCodeableConcept": { + "coding": [ + { + "code": "F", + "display": "Final", + "system": "http://terminology.hl7.org/CodeSystem/v2-0085" + } + ], + "text": "Final" + } + } + ], + "partOf": [ + { + "reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" + } + ], + "basedOn": [ + { + "reference": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" + } ] - } }, - { - "value": "13696", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Observation/0878a797-17ce-3674-ac45-5f740963c772" } - ], - "performer": [ - { - "function": { - "coding": [ - { - "code": "OP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Ordering Provider" - } + }, + { + "fullUrl": "urn:uuid:72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "resource": { + "resourceType": "Practitioner", + "id": "72b45e56-f6fc-c8af-bc2f-7f62d1a14e80", + "identifier": [ + { + "value": "654", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "MD", + "display": "Medical License number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Thomas", + "given": [ + "Wilma", + "Elizabeth" + ], + "use": "official" + } ] - }, - "actor": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - { - "function": { - "coding": [ - { - "code": "AP", - "system": "http://terminology.hl7.org/CodeSystem/v2-0443", - "display": "Administering Provider" - } - ] - }, - "actor": { - "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2015-06-24", - "vaccineCode": { - "coding": [ - { - "code": "49281-0215-88", - "display": "TENIVAC", - "system": "http://hl7.org/fhir/sid/ndc" - } - ] - }, - "doseQuantity": { - "value": 0.5, - "code": "mL", - "unit": "mL", - "system": "http://unitsofmeasure.org" - }, - "reportOrigin": { - "coding": [ - { - "code": "00", - "display": "New Record", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": true, - "lotNumber": "315841", - "expirationDate": "2015-12-16", - "status": "completed", - "manufacturer": { - "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - }, - "route": { - "coding": [ - { - "code": "C28161", - "display": "Intramuscular", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" - } - ] - }, - "site": { - "coding": [ - { - "code": "RD", - "display": "Right Deltoid", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" - } - ] - }, - "fundingSource": { - "coding": [ - { - "code": "PHC70", - "display": "Private", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" - } - ] - }, - "programEligibility": [ - { - "coding": [ - { - "code": "V01", - "display": "Not VFC Eligible", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" - } - ] + "request": { + "method": "PUT", + "url": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" } - ] }, - "request": { - "method": "PUT", - "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" - } - }, - { - "fullUrl": "urn:uuid:6aa18dc9-978e-a9e5-5533-ec8376372c0d", - "resource": { - "resourceType": "ServiceRequest", - "id": "6aa18dc9-978e-a9e5-5533-ec8376372c0d", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "4422", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "PLAC", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:c0f2ddcb-f061-279f-d5e1-7b54b437e9db", + "resource": { + "resourceType": "Immunization", + "id": "c0f2ddcb-f061-279f-d5e1-7b54b437e9db", + "identifier": [ + { + "value": "4422", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "performer": [ + { + "function": { + "coding": [ + { + "code": "OP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Ordering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + { + "function": { + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + }, + "actor": { + "reference": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2015-06-24", + "vaccineCode": { + "coding": [ + { + "code": "49281-0215-88", + "display": "TENIVAC", + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + }, + "doseQuantity": { + "value": 0.5, + "code": "mL", + "unit": "mL", + "system": "http://unitsofmeasure.org" + }, + "reportOrigin": { + "coding": [ + { + "code": "00", + "display": "New Record", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": true, + "lotNumber": "315841", + "expirationDate": "2015-12-16", + "status": "completed", + "manufacturer": { + "reference": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" + }, + "route": { + "coding": [ + { + "code": "C28161", + "display": "Intramuscular", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NCIT" + } + ] + }, + "site": { + "coding": [ + { + "code": "RD", + "display": "Right Deltoid", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70163" + } + ] + }, + "fundingSource": { + "coding": [ + { + "code": "PHC70", + "display": "Private", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCPHINVS" + } + ] + }, + "programEligibility": [ + { + "coding": [ + { + "code": "V01", + "display": "Not VFC Eligible", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70064" + } + ] + } ] - } }, - { - "value": "13696", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + "request": { + "method": "PUT", + "url": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db" } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "requester": { - "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" - } - }, - { - "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "resource": { - "resourceType": "PractitionerRole", - "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", - "code": [ - { - "coding": [ - { - "code": "ordering-provider", - "display": "Ordering Provider", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role" + { + "fullUrl": "urn:uuid:6aa18dc9-978e-a9e5-5533-ec8376372c0d", + "resource": { + "resourceType": "ServiceRequest", + "id": "6aa18dc9-978e-a9e5-5533-ec8376372c0d", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "4422", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "PLAC", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + }, + { + "value": "13696", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "requester": { + "reference": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" } - ] + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/6aa18dc9-978e-a9e5-5533-ec8376372c0d" } - ], - "practitioner": { - "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" - } }, - "request": { - "method": "PUT", - "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" - } - }, - { - "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", - "resource": { - "resourceType": "Organization", - "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", - "identifier": [ - { - "value": "PMC", - "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + { + "fullUrl": "urn:uuid:b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "resource": { + "resourceType": "PractitionerRole", + "id": "b3767cc9-98b2-33c7-a4d6-108af78e5e37", + "code": [ + { + "coding": [ + { + "code": "OP", + "display": "Ordering Provider", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443" + } + ] + } + ], + "practitioner": { + "reference": "Practitioner/72b45e56-f6fc-c8af-bc2f-7f62d1a14e80" + } + }, + "request": { + "method": "PUT", + "url": "PractitionerRole/b3767cc9-98b2-33c7-a4d6-108af78e5e37" } - ], - "name": "Sanofi Pasteur" }, - "request": { - "method": "PUT", - "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" - } - }, - { - "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "resource": { - "resourceType": "Practitioner", - "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", - "identifier": [ - { - "value": "7824", - "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-PI-1", - "type": { - "coding": [ - { - "code": "PRN", - "display": "Provider number", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } - } - ], - "name": [ - { - "family": "Jackson", - "given": [ - "Lily", - "Suzanne" - ], - "use": "official" + { + "fullUrl": "urn:uuid:1d6edd62-0051-4efa-bc0b-db345da54f10", + "resource": { + "resourceType": "Organization", + "id": "1d6edd62-0051-4efa-bc0b-db345da54f10", + "identifier": [ + { + "value": "PMC", + "system": "http://example.com/v2-to-fhir-converter/Identifier/MVX" + } + ], + "name": "Sanofi Pasteur" + }, + "request": { + "method": "PUT", + "url": "Organization/1d6edd62-0051-4efa-bc0b-db345da54f10" } - ] }, - "request": { - "method": "PUT", - "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" - } - }, - { - "fullUrl": "urn:uuid:c82d117c-dc9d-e431-dc92-6ca91243da07", - "resource": { - "resourceType": "Immunization", - "id": "c82d117c-dc9d-e431-dc92-6ca91243da07", - "identifier": [ - { - "value": "38760", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } + { + "fullUrl": "urn:uuid:9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "resource": { + "resourceType": "Practitioner", + "id": "9d113ef1-15cf-ec5c-6e04-230bf6b8bf71", + "identifier": [ + { + "value": "7824", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-PI-1", + "type": { + "coding": [ + { + "code": "PRN", + "display": "Provider number", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "name": [ + { + "family": "Jackson", + "given": [ + "Lily", + "Suzanne" + ], + "use": "official" + } ] - } + }, + "request": { + "method": "PUT", + "url": "Practitioner/9d113ef1-15cf-ec5c-6e04-230bf6b8bf71" } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2014-10-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" }, - "request": { - "method": "PUT", - "url": "Immunization/c82d117c-dc9d-e431-dc92-6ca91243da07" - } - }, - { - "fullUrl": "urn:uuid:3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", - "resource": { - "resourceType": "ServiceRequest", - "id": "3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "38760", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:c82d117c-dc9d-e431-dc92-6ca91243da07", + "resource": { + "resourceType": "Immunization", + "id": "c82d117c-dc9d-e431-dc92-6ca91243da07", + "identifier": [ + { + "value": "38760", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2014-10-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/c82d117c-dc9d-e431-dc92-6ca91243da07" } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae" - } - }, - { - "fullUrl": "urn:uuid:07ff92a4-c57e-8726-a03a-1241de54a9c3", - "resource": { - "resourceType": "Immunization", - "id": "07ff92a4-c57e-8726-a03a-1241de54a9c3", - "identifier": [ - { - "value": "35508", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", + "resource": { + "resourceType": "ServiceRequest", + "id": "3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "38760", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/3bcb3b50-3650-82e2-7dc1-8e50f7f5a5ae" } - ], - "patient": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - }, - "occurrenceDateTime": "2013-11-12", - "vaccineCode": { - "coding": [ - { - "code": "88", - "display": "influenza, unspecified formulation", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" - } - ] - }, - "doseQuantity": { - "value": 999 - }, - "reportOrigin": { - "coding": [ - { - "code": "01", - "display": "Historical Administration", - "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" - } - ] - }, - "primarySource": false, - "status": "completed" }, - "request": { - "method": "PUT", - "url": "Immunization/07ff92a4-c57e-8726-a03a-1241de54a9c3" - } - }, - { - "fullUrl": "urn:uuid:568bfd87-8b76-703a-b0d3-5449d0f37c58", - "resource": { - "resourceType": "ServiceRequest", - "id": "568bfd87-8b76-703a-b0d3-5449d0f37c58", - "status": "unknown", - "intent": "order", - "identifier": [ - { - "value": "35508", - "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-AA-IZ-2", - "type": { - "coding": [ - { - "code": "FILL", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - } + { + "fullUrl": "urn:uuid:07ff92a4-c57e-8726-a03a-1241de54a9c3", + "resource": { + "resourceType": "Immunization", + "id": "07ff92a4-c57e-8726-a03a-1241de54a9c3", + "identifier": [ + { + "value": "35508", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "patient": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + }, + "occurrenceDateTime": "2013-11-12", + "vaccineCode": { + "coding": [ + { + "code": "88", + "display": "influenza, unspecified formulation", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CVX" + } + ] + }, + "doseQuantity": { + "value": 999 + }, + "reportOrigin": { + "coding": [ + { + "code": "01", + "display": "Historical Administration", + "system": "http://example.com/v2-to-fhir-converter/CodeSystem/NIP001" + } + ] + }, + "primarySource": false, + "status": "completed" + }, + "request": { + "method": "PUT", + "url": "Immunization/07ff92a4-c57e-8726-a03a-1241de54a9c3" } - ], - "subject": { - "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" - } }, - "request": { - "method": "PUT", - "url": "ServiceRequest/568bfd87-8b76-703a-b0d3-5449d0f37c58" + { + "fullUrl": "urn:uuid:568bfd87-8b76-703a-b0d3-5449d0f37c58", + "resource": { + "resourceType": "ServiceRequest", + "id": "568bfd87-8b76-703a-b0d3-5449d0f37c58", + "status": "unknown", + "intent": "order", + "identifier": [ + { + "value": "35508", + "system": "http://example.com/v2-to-fhir-converter/Identifier/NIST-AA-IZ-2", + "type": { + "coding": [ + { + "code": "FILL", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203" + } + ] + } + } + ], + "subject": { + "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe" + } + }, + "request": { + "method": "PUT", + "url": "ServiceRequest/568bfd87-8b76-703a-b0d3-5449d0f37c58" + } } - } ] } \ No newline at end of file From 8690a9d9a096b667c1a7cfd0083d67ab32b41880 Mon Sep 17 00:00:00 2001 From: sowu880 <57981365+sowu880@users.noreply.github.com> Date: Tue, 29 Mar 2022 14:17:22 +0500 Subject: [PATCH 10/15] reset to local (#368) --- .../Filters/DateFilters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs index cd1b6f253..983bc4054 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs @@ -66,7 +66,7 @@ public static string AddHyphensDate(string input, string timeZoneHandling = "pre return dateTimeObject.ToFhirString(outputTimeZoneHandling); } - public static string FormatAsDateTime(string input, string timeZoneHandling = "preserve") + public static string FormatAsDateTime(string input, string timeZoneHandling = "local") { if (string.IsNullOrEmpty(input)) { From 46d5be64c20e61c2d909f79138a69a9066f2ab71 Mon Sep 17 00:00:00 2001 From: Qiwei Jin Date: Tue, 29 Mar 2022 17:26:30 +0800 Subject: [PATCH 11/15] Revert "reset to local (#368)" This reverts commit 8690a9d9a096b667c1a7cfd0083d67ab32b41880. --- .../Filters/DateFilters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs index 983bc4054..cd1b6f253 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/Filters/DateFilters.cs @@ -66,7 +66,7 @@ public static string AddHyphensDate(string input, string timeZoneHandling = "pre return dateTimeObject.ToFhirString(outputTimeZoneHandling); } - public static string FormatAsDateTime(string input, string timeZoneHandling = "local") + public static string FormatAsDateTime(string input, string timeZoneHandling = "preserve") { if (string.IsNullOrEmpty(input)) { From a4c843336b089f80a65ac619a2de99282bc70828 Mon Sep 17 00:00:00 2001 From: jasonheld-msft <83726335+jasonheld-msft@users.noreply.github.com> Date: Tue, 29 Mar 2022 03:28:38 -0600 Subject: [PATCH 12/15] Switch FormatAsDateTime timezone handling to preserve to maintain consistency (#358) Co-authored-by: sowu880 <57981365+sowu880@users.noreply.github.com> Co-authored-by: Qiwei Jin Co-authored-by: yankunhuang-pku <66581117+yankunhuang-pku@users.noreply.github.com> From 2a490b2ff3e028453044e5e6ae4b88669c06f62a Mon Sep 17 00:00:00 2001 From: sowu880 <57981365+sowu880@users.noreply.github.com> Date: Wed, 6 Apr 2022 11:54:37 +0500 Subject: [PATCH 13/15] Update Doc for Filters (#365) * Update README.md for JSON to FHIR (#324) * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update Filters-and-Tags.md * Update README.md * Update README.md * Update README.md * update * update * update doc * update doc Co-authored-by: ginalee-dotcom <68250213+ginalee-dotcom@users.noreply.github.com> Co-authored-by: yankunhuang-pku <66581117+yankunhuang-pku@users.noreply.github.com> --- README.md | 41 +++++++++++++++++++++++++++----------- docs/Filters-and-Tags.md | 43 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 68 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 434fe706c..2908f19cd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ FHIR Converter is an open source project that enables conversion of health data The first version of the FHIR Converter released to open source on Mar 6th, 2020. It used Handlebars template language and Javascript runtime. A new converter engine was released on Nov 13, 2020 that uses Liquid templating language and .Net runtime. -Currently, Microsoft supports two types of converter engines, Handlebars engine and Liquid engine, along with templates and filters. We recommend using Liquid converter for a better alignment with [Azure API for FHIR](https://azure.microsoft.com/en-us/services/azure-api-for-fhir/), [FHIR Server for Azure](https://github.com/microsoft/fhir-server), and [Microsoft Logic Apps](https://azure.microsoft.com/en-us/services/logic-apps/). +Currently, Microsoft supports two types of converter engines, Handlebars engine and Liquid engine, along with templates and filters. **We strongly recommend using the Liquid converter** for a better alignment with [Azure Healthcare APIs](https://docs.microsoft.com/azure/healthcare-apis/), [Azure API for FHIR](https://azure.microsoft.com/services/azure-api-for-fhir/), [FHIR Server for Azure](https://github.com/microsoft/fhir-server), and [Microsoft Logic Apps](https://azure.microsoft.com/services/logic-apps/). The following table shows the differences between two converter engines: @@ -12,16 +12,16 @@ The following table shows the differences between two converter engines: | ----- | ----- | ----- | | **Template language** | [Handlebars](https://handlebarsjs.com/) | [Liquid](https://shopify.github.io/liquid/) | | **Template authoring tool** | Self-hosted web-app | [VS Code extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-health-fhir-converter)| -| **Supported conversions** | 1. HL7v2 to FHIR
2. C-CDA to FHIR | 1. HL7v2 to FHIR
2. C-CDA to FHIR| -| **Available as** | 1. Self-deployed web service
(on-prem or on Azure)| 1. Command line tool
2. $convert-data operation in [FHIR Server for Azure](https://github.com/microsoft/fhir-server/blob/main/docs/ConvertDataOperation.md)
3. $convert-data operation in [Azure API for FHIR](https://docs.microsoft.com/en-us/azure/healthcare-apis/fhir/convert-data).| +| **Supported conversions** | 1. HL7v2 to FHIR
2. C-CDA to FHIR | 1. HL7v2 to FHIR
2. C-CDA to FHIR
3. JSON to FHIR **(new!)** | +| **Available as** | 1. Self-deployed web service
(on-prem or on Azure)| 1. Command line tool
2. $convert-data operation in [FHIR Server for Azure (OSS)](https://github.com/microsoft/fhir-server/blob/main/docs/ConvertDataOperation.md)
3. $convert-data operation in both [Azure API for FHIR](https://docs.microsoft.com/azure/healthcare-apis/azure-api-for-fhir/convert-data) and [Azure Healthcare APIs (preview)](https://docs.microsoft.com/azure/healthcare-apis/fhir/convert-data)| ⚠ Rest of this document is about the Liquid converter. For the Handlebars converter, please refer to the [Handlebars branch](https://github.com/microsoft/FHIR-Converter/tree/handlebars). -Currently, FHIR Converter supports two types of conversions, **HL7v2 to FHIR** and **C-CDA to FHIR**. The converter uses templates that define mappings between these different data formats. The templates are written in [Liquid](https://shopify.github.io/liquid/) templating language and make use of custom [filters](docs/Filters-and-Tags.md), which make it easy with work with HL7v2 messages and C-CDA documents. +Currently, FHIR Converter supports three types of conversions, **HL7v2 to FHIR**, **C-CDA to FHIR**, and **JSON to FHIR**. The converter uses templates that define mappings between these different data formats. The templates are written in [Liquid](https://shopify.github.io/liquid/) templating language and make use of custom [filters](docs/Filters-and-Tags.md). The converter comes with a few ready-to-use templates. If needed, you can create a new template, or modify existing templates to meet your specific conversion requirements. -FHIR Converter with DotLiquid engine transforms the input data into FHIR bundles that are persisted to a FHIR server. The converter is integrated into both [Azure API for FHIR](https://azure.microsoft.com/en-us/services/azure-api-for-fhir/) and [FHIR Server](https://github.com/microsoft/fhir-server) as a [$convert-data](https://docs.microsoft.com/en-us/azure/healthcare-apis/convert-data) operation. It is also available as a command line tool. +FHIR Converter with DotLiquid engine transforms the input data into FHIR bundles that are persisted to a FHIR server. The converter is integrated into both [Azure API for FHIR](https://docs.microsoft.com/azure/healthcare-apis/azure-api-for-fhir/) and [Azure Healthcare APIs (preview)](https://docs.microsoft.com/azure/healthcare-apis/), as well as in the open-source [FHIR Server](https://github.com/microsoft/fhir-server) as a [`$convert-data` operation](#using-convert-data-in-fhir-server). It is also available as a [command line tool](#using-command-line-tool). ## Using $convert-data in FHIR server @@ -29,19 +29,20 @@ The `$convert-data` operation is integrated into both Azure API for FHIR and FHI For more information on configuring and using `$convert-data` operation on your server, please refer to these documentation: -- [$convert-data for Azure API for FHIR](https://docs.microsoft.com/en-us/azure/healthcare-apis/fhir/convert-data) +- [$convert-data for Azure API for FHIR](https://docs.microsoft.com/azure/healthcare-apis/azure-api-for-fhir/convert-data) +- [$convert-data for Azure Healthcare APIs](https://docs.microsoft.com/azure/healthcare-apis/fhir/convert-data) - [$convert-data for FHIR Server](https://github.com/microsoft/fhir-server/blob/main/docs/ConvertDataOperation.md) ## Using Command line tool ### Supported parameters -The command line tool is another way of converting data, as well as managing templates. The tool converts a folder containing HL7v2 messages or C-CDA documents into FHIR resources. It accepts the following parameters in the command line: +The command line tool is another way of converting data, as well as managing templates. The tool converts a folder containing input messages (HL7v2, C-CDA, or JSON) into FHIR resources. It accepts the following parameters in the command line: | Option | Name | Optionality | Default | Description | | ----- | ----- | ----- |----- |----- | | -d | TemplateDirectory | Required | | Root directory of templates. | -| -r | RootTemplate | Required | | Name of root template.

Valid values for **HL7v2 to FHIR** conversion: "ADT_A01", "OML_O21", "ORU_R01", "VXU_V04".

Valid values for **C-CDA to FHIR** conversion: "CCD", "ConsultationNote", "DischargeSummary", "HistoryandPhysical", "OperativeNote", "ProcedureNote", "ProgressNote", "ReferralNote", "TransferSummary". | +| -r | RootTemplate | Required | | Name of root template.

**HL7v2 to FHIR**: "ADT_A01", "ADT_A02", "ADT_A03", "ADT_A04", "ADT_A05", "ADT_A08", "ADT_A11", "ADT_A13", "ADT_A14", "ADT_A15", "ADT_A16", "ADT_A25", "ADT_A26", "ADT_A27", "ADT_A28", "ADT_A29", "ADT_A31", "ADT_A47", "ADT_A60", "OML_O21", "ORU_R01", "ORM_O01", "VXU_V04", "SIU_S12", "SIU_S13", "SIU_S14", "SIU_S15", "SIU_S16", "SIU_S17", "SIU_S26", "MDM_T01", "MDM_T02"

**C-CDA to FHIR**: "CCD", "ConsultationNote", "DischargeSummary", "HistoryandPhysical", "OperativeNote", "ProcedureNote", "ProgressNote", "ReferralNote", "TransferSummary"

**JSON to FHIR**: "Stu3ChargeItem", "ExamplePatient"
(*These JSON templates are sample templates for use, not default templates that adhere to any pre-defined JSON message types. JSON does not have any standardized message types, unlike HL7v2 messages or C-CDA documents. Therefore, instead of "default" templates we provide you with some sample templates that you can use as a starting guide for you to modify and customize.*) | | -c | InputDataContent | Optional| | Input data content. Specify OutputDataFile to get the results. | | -n | InputDataFile | Optional| | Input data file. Specify OutputDataFile to get the results. | | -f | OutputDataFile | Optional | | Output data file. | @@ -53,21 +54,35 @@ The command line tool is another way of converting data, as well as managing tem ### Command line example -Build your executable file, `Microsoft.Health.Fhir.Liquid.Converter.Tool.exe`. +First, build the executable file, `Microsoft.Health.Fhir.Liquid.Converter.Tool.exe`, in your local directory. Have the input data, as well as the conversion templates, saved in separate folders. + +#### Converting data inside folders + +You can run the built .exe file in your terminal by running the following command line and specifying the directories: -For converting HL7v2 messages to FHIR resources in a folder: ``` >.\Microsoft.Health.Fhir.Liquid.Converter.Tool.exe convert -d myTemplateDirectory -r myRootTemplate -i myInputDataFolder -o myOutputDataFolder ``` -For converting C-CDA documents to FHIR resources in a folder: + +For example, you can run a command like below to convert all C-CDA sample documents inside the `SampleData\Ccda` folder using the default `CCD` template: + ``` ->.\Microsoft.Health.Fhir.Liquid.Converter.Tool.exe convert -d myTemplateDirectory -r myRootTemplate -i myInputDataFolder -o myOutputDataFolder +>.\Microsoft.Health.Fhir.Liquid.Converter.Tool.exe convert -d {path}\Templates\Ccda -r CCD -i {path}\SampleData\Ccda -o {path to your output folder} ``` After running the command line, there will be a series of "Processing..." lines being written in the terminal window. When the conversion is complete, you will see "Conversion completed!" message. +For example, if you were doing the C-CDA to FHIR conversion in a folder as in the command above, you will see something like this: + ![Conversion running on the terminal (screenshot)](docs/conversion-terminal-screenshot.png) +#### Converting individual files + +Instead of converting multiples messages and documents inside a folder, you can also convert single files using the parameters in the table above. For example, if you were to convert a C-CDA document into a FHIR resource using the `CCD` template: +``` +>.\Microsoft.Health.Fhir.Liquid.Converter.Tool.exe convert -n {path}\SampleData\Ccda\CCD.ccda -d {path}\Templates\Ccda -f {path to your output json file} -r CCD +``` + ## Using Templates The command line tool supports managing different versions of templates from Azure Container Registry (ACR). You can customize templates and store them in your ACR if default templates are not sufficient for meeting conversion requirements. After [ACR authentication](docs/TemplateManagementCLI.md#authentication), you can pull templates from ACR or push templates to ACR using our command line tool. @@ -99,6 +114,8 @@ For **HL7v2 to FHIR conversion**, [HL7v2 DotLiquid templates](data/Templates/Hl7 For **C-CDA to FHIR conversion**, [C-CDA DotLiquid templates](data/Templates/Ccda/Utils) generate FHIR resource IDs in two ways: 1) [ID generation template](data/Templates/Ccda/Utils/_GenerateId.liquid) helps generate Patient ID and Practitioner ID; 2) the resource IDs for other resources are generated from the resource object directly. +For **JSON to FHIR conversion**, there is no standardized JSON input message types unlike HL7v2 messages or C-CDA documents. Therefore, instead of default templates we provide you with some sample JSON DotLiquid templates that you can use as a starting guide for your custom JSON conversion templates. You can decide how to generate the resource IDs according to your own inputs, and use our sample templates as a reference. + The Converter introduces a concept of "base resource/base ID". Base resources are independent entities, like Patient, Organization, Device, etc, whose IDs are defined as base ID. Base IDs could be used to generate IDs for other resources that relate to them. It helps enrich the input for hash and thus reduce ID collision. For example, a Patient ID is used as part of hash input for an AllergyIntolerance ID, as this resource is closely related with a specific patient. diff --git a/docs/Filters-and-Tags.md b/docs/Filters-and-Tags.md index 319a46015..350174ae7 100644 --- a/docs/Filters-and-Tags.md +++ b/docs/Filters-and-Tags.md @@ -8,7 +8,7 @@ By default, Liquid provides a set of [standard filters](https://github.com/Shopi Besides these filters, FHIR Converter also provides some other filters that are useful in conversion, which are listed below. If these filters do not meet your needs, you can also write your own filters. -### Hl7 v2 specific filters +### Hl7v2 specific filters | Filter | Description | Syntax | |-|-|-| | get_first_segments | Returns first instance of the segments | `{% assign result = hl7v2Data \| get_first_segments: 'segment1\|segment2\|...' -%}` | @@ -34,6 +34,7 @@ If these filters do not meet your needs, you can also write your own filters. | unescape_special_chars | Returns string after removing escaping of special char | `{{ '\\E' \| unescape_special_chars }} #=> '\E'` | | match | Returns an array containing matches with a regular expression | `{% assign m = code \| match: '[0123456789.]+' -%}` | | to_json_string | Converts to JSON string | `{% assign msgJsonString = msg \| to_json_string -%}` | +| to_double | Converts string to double | `{{ "100.01" \| to_double }} ` | | base64_encode | Returns base64 encoded string | `{{ decodedData \| base64_encode }}` | | base64_decode | Returns base64 decoded string | `{{ encodedData \| base64_decode }}` | | sha1_hash | Returns SHA1 hash (in hex) of given string | `{{ inputData \| sha1_hash }}` | @@ -54,9 +55,43 @@ If these filters do not meet your needs, you can also write your own filters. ### DateTime filters | Filter | Description | Syntax | |-|-|-| -| add_hyphens_date | Adds hyphens to a date without hyphens | `{{ PID.7.Value \| add_hyphens_date }}` | -| format_as_date_time | Convert an YYYYMMDDHHmmssSSS string, e.g. 20040629175400000 to dateTime format, e.g. 2004-06-29T17:54:00.000z. A parameter could be set to handle time zone with "preserve", "utc" or "local". The default method is "local" | {{ PID.29.Value \| format_as_date_time: 'utc' }} | -| now | Provides current time in a specific format. The default format is "yyyy-MM-ddTHH:mm:ss.FFFZ" | {{ '' \| now: 'dddd, dd MMMM yyyy HH:mm:ss' }} | +| add_hyphens_date | Adds hyphens to a date or a partial date that does not have hyphens to make it into a valid FHIR format. The input date format is YYYY, YYYYMM, or YYYYMMDD. The output format is a valid FHIR date or a partial date format: YYYY, YYYY-MM, or YYYY-MM-DD. | `{{ PID.7.Value \| add_hyphens_date }}` | +| format_as_date_time | Converts valid HL7v2 and C-CDA datetime to a valid FHIR datetime format. The input datetime format is datetime or partial datetime without hyphens: YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ]. For example, the input 20040629175400000 will have the output 2004-06-29T17:54:00.000Z. Provides parameters to handle different time zones: preserve, utc, local. The default method is preserve. | `{{ PID.29.Value \| format_as_date_time: 'utc' }}` | +| now | Provides the current time in a specific format. The default format is yyyy-MM-ddTHH:mm:ss.FFFZ. | `{{ '' \| now: 'dddd, dd MMMM yyyy HH:mm:ss' }}` | +| add_seconds | Adds double seconds on a valid [FHIR datetime](http://hl7.org/fhir/R4/datatypes.html) (e.g.2021-01-01T00:00:00Z). Provides parameters to handle different time zones: preserve, utc, local. The default method is preserve. | `{{ "2021-01-01T00:00:00Z" \| add_seconds:100.1, 'utc' }}` | + +DateTime filters usage examples: + +- add_hyphens_date +``` + {{ "2001" | add_hyphens_date }} -> 2001 + {{ "200101" | add_hyphens_date }} -> 2001-01 + {{ "20010101" | add_hyphens_date }} -> 2001-01-01 +``` + +- format_as_date_time +``` + {{ "20110103143428-0800" | format_as_date_time }} -> 2011-01-03T14:34:28-08:00 + {{ "20110103143428-0800" | format_as_date_time: 'preserve' }} -> 2011-01-03T14:34:28-08:00 + {{ "20110103143428-0800" | format_as_date_time: 'utc' }} -> 2011-01-03T22:34:28Z +``` +>[Note] : `format_as_date_time` and `add_hyphens_date` are used to convert HL7v2 and C-CDA date and datetime format to FHIR. For other date or datetime's reformat, please refer to the standard filter [date](https://shopify.dev/api/liquid/filters/additional-filters#date). +- now +``` + {{ "" | now }} -> 2022-03-22T06:50:25.071Z // an example time + {{ "" | now: 'dddd, dd MMMM yyyy HH:mm:ss' }} -> Tuesday, 22 March 2022 06:52:15 + {{ "" | now: 'd' }} -> 3/22/2022 +``` +> [Note] : Input string will not affect the result. +- add_seconds +``` + {{ "1970-01-01T00:01:00.000+10:00" | add_seconds: -60, 'utc' }} -> 1969-12-31T14:00:00.000Z + {{ "1970-01-01T00:01:00Z" | add_seconds: 60.1230 }} -> 1970-01-01T00:02:00.123Z + {{ "1970-01-01T00:01:00+14:00" | add_seconds: 60, 'preserve' }} -> 1970-01-01T00:01:01+14:00 +``` + +> [Note] : If the input is a partial datetime without time zone, it will be set to the first day of the year and 00:00:00 clock time with local time zone as suffix. e.g. In the location with +08:00 time zone, the input string "201101031434" will be filled to "20110103143400+0800". The template {{ "201101031434" | format_as_date_time: 'utc'}} will output 2011-01-03T06:34:00Z when running at +08:00 location. + ### Collection filters | Filter | Description | Syntax | From 7963ba308d774f99059a8af57335682f4de3f331 Mon Sep 17 00:00:00 2001 From: yankunhuang-pku <66581117+yankunhuang-pku@users.noreply.github.com> Date: Wed, 6 Apr 2022 16:23:05 +0800 Subject: [PATCH 14/15] Remove blank lines (#374) --- docs/Filters-and-Tags.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/Filters-and-Tags.md b/docs/Filters-and-Tags.md index 67253fd7f..350174ae7 100644 --- a/docs/Filters-and-Tags.md +++ b/docs/Filters-and-Tags.md @@ -55,8 +55,6 @@ If these filters do not meet your needs, you can also write your own filters. ### DateTime filters | Filter | Description | Syntax | |-|-|-| - - | add_hyphens_date | Adds hyphens to a date or a partial date that does not have hyphens to make it into a valid FHIR format. The input date format is YYYY, YYYYMM, or YYYYMMDD. The output format is a valid FHIR date or a partial date format: YYYY, YYYY-MM, or YYYY-MM-DD. | `{{ PID.7.Value \| add_hyphens_date }}` | | format_as_date_time | Converts valid HL7v2 and C-CDA datetime to a valid FHIR datetime format. The input datetime format is datetime or partial datetime without hyphens: YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ]. For example, the input 20040629175400000 will have the output 2004-06-29T17:54:00.000Z. Provides parameters to handle different time zones: preserve, utc, local. The default method is preserve. | `{{ PID.29.Value \| format_as_date_time: 'utc' }}` | | now | Provides the current time in a specific format. The default format is yyyy-MM-ddTHH:mm:ss.FFFZ. | `{{ '' \| now: 'dddd, dd MMMM yyyy HH:mm:ss' }}` | From 06fc8921f19bf5985fe8facc0c7b7012a79cf9a3 Mon Sep 17 00:00:00 2001 From: yankunhuang-pku <66581117+yankunhuang-pku@users.noreply.github.com> Date: Wed, 6 Apr 2022 17:06:36 +0800 Subject: [PATCH 15/15] Update version (#375) --- release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.yml b/release.yml index 98f3f0543..14f88295f 100644 --- a/release.yml +++ b/release.yml @@ -17,7 +17,7 @@ variables: functionalTests: "**/*FunctionalTests/*.csproj" buildConfiguration: 'Release' major: 4 - minor: 5 + minor: 6 patch: 0 buildnum: $[counter(format('{0}.{1}.{2}',variables['major'],variables['minor'], variables['patch']), 1)] version: $(major).$(minor).$(patch).$(buildnum)